style(trip): give Stats/Cycling panel toggles a square bordered style
Border + 4px radius instead of borderless text, matching the visual weight of the filter pills without the full pill roundness. Active state gets teal border + accent-light background like other active controls. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr
This commit is contained in:
@@ -966,9 +966,10 @@ body::after {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.trip-panel-toggle {
|
.trip-panel-toggle {
|
||||||
background: none;
|
background: transparent;
|
||||||
border: none;
|
border: 1px solid var(--color-border);
|
||||||
padding: 0;
|
border-radius: var(--radius-sm);
|
||||||
|
padding: var(--space-1) var(--space-3);
|
||||||
font-family: var(--font-ui);
|
font-family: var(--font-ui);
|
||||||
font-size: var(--text-sm);
|
font-size: var(--text-sm);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@@ -976,12 +977,19 @@ body::after {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--space-1);
|
gap: var(--space-2);
|
||||||
transition: color 0.15s;
|
transition: color 0.15s, border-color 0.15s, background 0.15s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trip-panel-toggle:hover { color: var(--color-ink); }
|
.trip-panel-toggle:hover {
|
||||||
.trip-panel-toggle.is-active { color: var(--color-accent); }
|
color: var(--color-ink);
|
||||||
|
border-color: var(--color-ink-muted);
|
||||||
|
}
|
||||||
|
.trip-panel-toggle.is-active {
|
||||||
|
color: var(--color-accent);
|
||||||
|
border-color: var(--color-accent);
|
||||||
|
background: var(--color-accent-light);
|
||||||
|
}
|
||||||
|
|
||||||
.trip-panel-caret {
|
.trip-panel-caret {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
Reference in New Issue
Block a user