web: a gear for Settings, Search leading the rail, real tabs
Settings drew a sun because the sprite was a circle with rays; it is a cog now. Search is a modal, so it leads the rail (and the narrow dock) instead of sitting under the destinations, which leaves Settings last. The section strip reads as a tab bar: flush cells on a bar, the selected tab filled with the panel surface and underlined, no chip borders.
This commit is contained in:
+18
-12
@@ -245,7 +245,9 @@ body {
|
||||
}
|
||||
.rail-item .icon,
|
||||
.rail-search .icon { color: currentColor; }
|
||||
.rail-search { margin-top: var(--space-xs); }
|
||||
/* Search opens a modal, so it leads the rail rather than squatting at the
|
||||
bottom next to the status; Settings is the last destination. */
|
||||
.rail-search { margin: var(--space-xs) 0 var(--space-s); }
|
||||
.rail-search[aria-expanded="true"] { background: var(--tint-selected); color: var(--color-text); }
|
||||
.rail-badge {
|
||||
margin-left: auto;
|
||||
@@ -345,10 +347,10 @@ body {
|
||||
.section-strip {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
gap: var(--space-3xs);
|
||||
align-items: stretch;
|
||||
gap: 0;
|
||||
min-width: 0;
|
||||
padding: 4px var(--space-xs);
|
||||
padding: 0 var(--space-xs);
|
||||
background: var(--color-surface);
|
||||
border-top: 1px solid var(--color-divider);
|
||||
overflow-x: auto;
|
||||
@@ -359,27 +361,31 @@ body {
|
||||
.section-strip::-webkit-scrollbar { display: none; }
|
||||
.section-strip:empty { display: none; }
|
||||
|
||||
/* Real tabs, not chips: flush cells on a bar, the selected one underlined and
|
||||
filled with the panel's own surface so it reads as connected to the content. */
|
||||
.strip-tab {
|
||||
position: relative;
|
||||
flex: 0 0 auto;
|
||||
min-height: var(--density-touch-target);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0 var(--space-xs);
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-control);
|
||||
padding: 0 var(--space-s);
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
color: var(--color-muted);
|
||||
font-size: 12px;
|
||||
font-size: 12.5px;
|
||||
font-weight: var(--weight-medium);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.strip-tab:hover { background: var(--tint-hover); color: var(--color-text); }
|
||||
.strip-tab[aria-selected="true"] {
|
||||
color: var(--color-text);
|
||||
background: var(--color-surface-2);
|
||||
border-color: var(--color-divider);
|
||||
box-shadow: inset 0 -2px 0 var(--color-accent);
|
||||
font-weight: var(--weight-semibold);
|
||||
background: var(--color-bg);
|
||||
box-shadow: inset 0 -2px 0 var(--color-accent);
|
||||
}
|
||||
.strip-tab:focus-visible { outline-offset: -3px; }
|
||||
|
||||
/* ---- Bottom destination bar (narrow) ----------------------------------- */
|
||||
|
||||
@@ -538,7 +544,7 @@ body {
|
||||
order: -1;
|
||||
border-top: 0;
|
||||
border-bottom: 1px solid var(--color-divider);
|
||||
background: var(--color-bg);
|
||||
background: var(--color-surface);
|
||||
padding: 0 var(--space-s);
|
||||
}
|
||||
.destination-dock { display: none; }
|
||||
|
||||
Reference in New Issue
Block a user