Merge branch 'winh-filter-dropdowns-keyboard-selection' into 'master'
Restore droplab item style for keyboard navigation Closes #37218 See merge request !13921
This commit is contained in:
commit
354a12c3d1
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue