fix: onboarding gamepad focus styles + sounds
- glass-button gets orange glow on focus-visible (was suppressed) - Input fields get orange border on focus-visible - Restore link made focusable (tabindex, role, keydown.enter) - Gamepad nav sounds play via existing fallback handler Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
eac6416569
commit
786a06da25
+12
-1
@@ -60,7 +60,6 @@
|
||||
}
|
||||
|
||||
/* Elements with existing styles: suppress the global glow, let their own styles handle it */
|
||||
.glass-button:focus-visible,
|
||||
.glass-card:focus-visible,
|
||||
.sidebar-nav-item:focus-visible,
|
||||
.path-action-button:focus-visible,
|
||||
@@ -70,6 +69,18 @@ input:focus-visible,
|
||||
textarea:focus-visible,
|
||||
select:focus-visible {
|
||||
box-shadow: unset;
|
||||
border-color: rgba(251, 146, 60, 0.4);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Glass button: orange glow on gamepad/keyboard focus */
|
||||
.glass-button:focus-visible {
|
||||
outline: none;
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(251, 146, 60, 0.5),
|
||||
0 0 16px rgba(251, 146, 60, 0.25),
|
||||
0 0 32px rgba(251, 146, 60, 0.1);
|
||||
border-color: rgba(251, 146, 60, 0.4);
|
||||
}
|
||||
|
||||
/* Mobile touch targets — ensure tappable elements meet 44px minimum */
|
||||
|
||||
Reference in New Issue
Block a user