diff options
author | winh <winnie@gitlab.com> | 2017-08-30 09:19:44 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-09-06 10:29:06 +0200 |
commit | 37c76cecb94518245179369d1762be8c3b6799ca (patch) | |
tree | 5cb779894afeda4e47dbf8db772628c3eb66c071 /app/assets/stylesheets/framework/dropdowns.scss | |
parent | 6ec157264d939ca5c0a1b6c373d76aaf6edeeef1 (diff) | |
download | gitlab-ce-37c76cecb94518245179369d1762be8c3b6799ca.tar.gz |
Restore droplab item style for keyboard navigationwinh-filter-dropdowns-keyboard-selection
Diffstat (limited to 'app/assets/stylesheets/framework/dropdowns.scss')
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 6b21def33a6..c2075f281f7 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -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; |