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 @@
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,
......@@ -759,6 +764,10 @@
padding: 8px 16px;
}
&.droplab-item-active button {
@include dropdown-item-hover;
}
a,
button,
.menu-item {
......@@ -778,6 +787,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