Commit 37c76cec authored by winh's avatar winh Committed by Winnie Hellmann

Restore droplab item style for keyboard navigation

parent 6ec15726
...@@ -733,6 +733,11 @@ ...@@ -733,6 +733,11 @@
overflow: hidden; overflow: hidden;
} }
@mixin dropdown-item-hover {
background-color: $dropdown-item-hover-bg;
color: $gl-text-color;
}
// TODO: change global style and remove mixin // TODO: change global style and remove mixin
@mixin new-style-dropdown($selector: '') { @mixin new-style-dropdown($selector: '') {
#{$selector}.dropdown-menu, #{$selector}.dropdown-menu,
...@@ -759,6 +764,10 @@ ...@@ -759,6 +764,10 @@
padding: 8px 16px; padding: 8px 16px;
} }
&.droplab-item-active button {
@include dropdown-item-hover;
}
a, a,
button, button,
.menu-item { .menu-item {
...@@ -778,6 +787,8 @@ ...@@ -778,6 +787,8 @@
&:hover, &:hover,
&:active, &:active,
&:focus { &:focus {
@include dropdown-item-hover;
background-color: $dropdown-item-hover-bg; background-color: $dropdown-item-hover-bg;
color: $gl-text-color; 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