Commit 354a12c3 authored by Clement Ho's avatar Clement Ho

Merge branch 'winh-filter-dropdowns-keyboard-selection' into 'master'

Restore droplab item style for keyboard navigation

Closes #37218

See merge request !13921
parents 22d6e69e 37c76cec
......@@ -734,6 +734,11 @@
overflow: hidden;
}
@mixin dropdown-item-hover {
background-color: $dropdown-item-hover-bg;
color: $gl-text-color;
}
// TODO: change global style and remove mixin
@mixin new-style-dropdown($selector: '') {
#{$selector}.dropdown-menu,
......@@ -760,6 +765,10 @@
padding: 8px 16px;
}
&.droplab-item-active button {
@include dropdown-item-hover;
}
a,
button,
.menu-item {
......@@ -779,6 +788,8 @@
&:hover,
&:active,
&:focus {
@include dropdown-item-hover;
background-color: $dropdown-item-hover-bg;
color: $gl-text-color;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment