Skip to content

Commit 6cc2f72

Browse files
committed
Update dropdown focus styles
1 parent cdd895b commit 6cc2f72

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

warehouse/static/sass/blocks/_dropdown.scss

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,15 @@
7878
text-align: left;
7979
position: relative;
8080

81-
&:hover {
82-
background-color: $base-grey;
83-
color: $text-color;
81+
&:hover,
82+
&:focus {
83+
background-color: mix($white, $primary-color-light, 90%);
84+
color: $primary-color-dark;
8485
text-decoration: none;
8586
}
8687

8788
&:focus {
88-
@include link-focus;
89+
border-bottom-color: $primary-color-light;
8990
}
9091

9192
.fa {
@@ -121,10 +122,15 @@
121122
text-decoration: none;
122123
}
123124

124-
&:hover {
125+
&:hover,
126+
&:focus {
125127
background-color: darken($header-background-color, 1.5);
126128
color: $white;
127129
}
130+
131+
&:focus {
132+
border-bottom-color: $primary-color-light;
133+
}
128134
}
129135
}
130136

0 commit comments

Comments
 (0)