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 {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: var(--space-1) var(--space-3);
|
||||
font-family: var(--font-ui);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 500;
|
||||
@@ -976,12 +977,19 @@ body::after {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1);
|
||||
transition: color 0.15s;
|
||||
gap: var(--space-2);
|
||||
transition: color 0.15s, border-color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.trip-panel-toggle:hover { color: var(--color-ink); }
|
||||
.trip-panel-toggle.is-active { color: var(--color-accent); }
|
||||
.trip-panel-toggle:hover {
|
||||
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 {
|
||||
display: inline-block;
|
||||
|
||||
Reference in New Issue
Block a user