Skip to content

Commit

Permalink
fix: fixed focus style in navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
berezinant committed Sep 13, 2024
1 parent 989098c commit ccbcf75
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}

&:focus-visible {
outline: 4px solid var(--color-key-blue-05);
outline: var(--focus-outline);
}

.theme-dark & {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
}

&--input:focus-visible {
outline: 4px solid var(--color-key-blue-05);
outline: var(--focus-outline);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
&:focus-visible {
z-index: 1;

outline: 4px solid var(--color-key-blue-05);
outline: var(--focus-outline);
}

&_active {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

:root {
--color-background: var(--color-background-page);
--focus-outline: 4px solid var(--color-key-blue-05);
}

.theme-dark {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

font: var(--font-h4);

&:focus-visible {
outline: var(--focus-outline);
}

@media (width < $breakpoint-desktop-min) {
height: 52px;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
background-color: var(--color-w10);
}

&:focus-visible {
outline: var(--focus-outline);
}

@media (width < $breakpoint-desktop-min) {
width: 52px;
height: 52px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
}

.button:focus-visible {
outline: 4px solid var(--color-key-blue-05);
outline: var(--focus-outline);
}

.theme-dark .button {
Expand Down Expand Up @@ -305,7 +305,7 @@
}

.checkbox--input:focus-visible {
outline: 4px solid var(--color-key-blue-05);
outline: var(--focus-outline);
}
/*!
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
Expand Down Expand Up @@ -462,7 +462,7 @@

.dropdown--option:focus-visible {
z-index: 1;
outline: 4px solid var(--color-key-blue-05);
outline: var(--focus-outline);
}

.dropdown--option_active {
Expand Down Expand Up @@ -1890,6 +1890,7 @@

:root {
--color-background: var(--color-background-page);
--focus-outline: var(--focus-outline);
}

.theme-dark {
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit ccbcf75

Please sign in to comment.