fix: orange glass on nav bar tabs, revert sidebar to original style

mode-switcher-btn-active gets orange glass (bg, border, glow).
mode-switcher-btn:focus-visible gets orange ring on gamepad focus.
Sidebar nav-tab-active reverted to original white/black glass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian 2026-03-30 09:16:19 +01:00
parent 11f7434866
commit 9dd7539edc

View File

@ -65,7 +65,6 @@
.sidebar-nav-item:focus-visible, .sidebar-nav-item:focus-visible,
.path-action-button:focus-visible, .path-action-button:focus-visible,
.path-option-card:focus-visible, .path-option-card:focus-visible,
.mode-switcher-btn:focus-visible,
.kiosk-app-tile:focus-visible, .kiosk-app-tile:focus-visible,
input:focus-visible, input:focus-visible,
textarea:focus-visible, textarea:focus-visible,
@ -191,10 +190,10 @@ input[type="radio"]:active + * {
font-size: 0.75rem; font-size: 0.75rem;
font-weight: 500; font-weight: 500;
color: rgba(255, 255, 255, 0.45); color: rgba(255, 255, 255, 0.45);
transition: color 0.2s ease, background-color 0.2s ease; transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
border: none; border: 1px solid transparent;
background: transparent; background: transparent;
} }
@ -211,9 +210,22 @@ input[type="radio"]:active + * {
} }
.mode-switcher-btn-active { .mode-switcher-btn-active {
background: rgba(255, 255, 255, 0.15); background: rgba(251, 146, 60, 0.15);
color: rgba(255, 255, 255, 0.95); color: rgba(255, 255, 255, 0.95);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); box-shadow:
0 1px 4px rgba(0, 0, 0, 0.3),
0 0 8px rgba(251, 146, 60, 0.12),
inset 0 1px 0 rgba(251, 146, 60, 0.2);
border-color: rgba(251, 146, 60, 0.25);
}
.mode-switcher-btn:focus-visible {
background: rgba(251, 146, 60, 0.1);
color: rgba(255, 255, 255, 0.9);
box-shadow:
0 0 0 1px rgba(251, 146, 60, 0.4),
0 0 12px rgba(251, 146, 60, 0.2);
border-color: rgba(251, 146, 60, 0.3);
} }
/* Chat launcher button — sidebar (desktop) */ /* Chat launcher button — sidebar (desktop) */
@ -967,17 +979,15 @@ input[type="radio"]:active + * {
transform: translateY(1px); transform: translateY(1px);
} }
/* Active Navigation Tab Style — orange glass */ /* Active Navigation Tab Style — sidebar selected item */
.nav-tab-active { .nav-tab-active {
position: relative; position: relative;
background: rgba(251, 146, 60, 0.15) !important; background: rgba(0, 0, 0, 0.35) !important;
box-shadow: box-shadow:
0 6px 16px rgba(0, 0, 0, 0.5), 0 6px 16px rgba(0, 0, 0, 0.6),
0 0 12px rgba(251, 146, 60, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
inset 0 1px 0 rgba(251, 146, 60, 0.3) !important;
color: rgba(255, 255, 255, 1) !important; color: rgba(255, 255, 255, 1) !important;
font-weight: 600 !important; font-weight: 600 !important;
border: 1px solid rgba(251, 146, 60, 0.3) !important;
} }
.nav-tab-active::before { .nav-tab-active::before {
@ -986,7 +996,7 @@ input[type="radio"]:active + * {
inset: 0; inset: 0;
border-radius: inherit; border-radius: inherit;
padding: 2px; padding: 2px;
background: linear-gradient(135deg, rgba(251, 146, 60, 0.4), rgba(251, 146, 60, 0.05)); background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
-webkit-mask: -webkit-mask:
linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0); linear-gradient(#fff 0 0);
@ -995,17 +1005,14 @@ input[type="radio"]:active + * {
pointer-events: none; pointer-events: none;
} }
/* Sidebar nav items: grow + glow on gamepad focus */ /* Sidebar nav items: grow + glow on gamepad focus (same as containers) */
.sidebar-nav-item { .sidebar-nav-item {
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease; transition: transform 0.2s ease, box-shadow 0.2s ease;
} }
.sidebar-nav-item:focus-visible { .sidebar-nav-item:focus-visible {
outline: none !important; outline: none !important;
background: rgba(251, 146, 60, 0.12) !important; background: rgba(255, 255, 255, 0.1) !important;
color: white !important; color: white !important;
box-shadow:
0 0 0 1px rgba(251, 146, 60, 0.3),
0 0 12px rgba(251, 146, 60, 0.15) !important;
} }
} }