mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 10:44:23 +00:00
fix(studio): tidy the head row, the layouts tab and the theme panel
Every piece of the head row is one raised tile of one height: the format picker moved beside the tools, the assistant and help stand alone, the close button is square like the rest, and the beta mark is gone. The layouts tab lays the book's own and the built-in layouts out in sections and in the same grid as the designed pages. In the theme panel the accent dots sit in the sheet's corner, the three accents share one name, a font keeps its name ahead of its kind, a doubled rule is gone, and the inspector's empty hint is shorter.
This commit is contained in:
@@ -1447,24 +1447,6 @@
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
/* Small, quiet and set apart — a beta mark states a fact about the feature; it
|
||||
is not a call to action and should not read as one. */
|
||||
.trek-dash .st-beta {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 16px;
|
||||
padding: 0 6px;
|
||||
border-radius: 999px;
|
||||
font-size: 9.5px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.09em;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent);
|
||||
background: color-mix(in oklch, var(--accent) 13%, transparent);
|
||||
border: 1px solid color-mix(in oklch, var(--accent) 26%, transparent);
|
||||
flex: none;
|
||||
}
|
||||
|
||||
/* ----------------- custom trim ----------------- */
|
||||
.trek-dash .st-menu-sep {
|
||||
height: 1px;
|
||||
@@ -1918,9 +1900,9 @@
|
||||
* The book's own layouts sit above the built-in ones, with the save button
|
||||
* closing their group, so what a click keeps and where it goes read as one.
|
||||
*/
|
||||
.trek-dash .st-saved-layouts { display: flex; flex-direction: column; margin-bottom: 14px; }
|
||||
.trek-dash .st-saved-layouts { display: flex; flex-direction: column; }
|
||||
.trek-dash .st-saved-layouts .st-hint { margin: 0 0 4px; }
|
||||
.trek-dash .st-saved-layouts .st-thumbs:empty { display: none; }
|
||||
.trek-dash .st-saved-layouts .st-add-page { margin-top: 8px; }
|
||||
.trek-dash .st-saved-layouts .st-add-page:disabled { opacity: .5; cursor: default; }
|
||||
.trek-dash .st-saved-layouts .st-add-page:disabled:hover { background: none; border-color: var(--line-2); color: var(--ink-3); }
|
||||
.trek-dash .st-saved-layouts .st-builtin-label { margin-top: 18px; }
|
||||
|
||||
Reference in New Issue
Block a user