diff options
author | Phil Hughes <me@iamphill.com> | 2017-01-20 11:19:15 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-01-23 09:19:04 +0000 |
commit | 14cd8f08eca7f63196248302f71f1a351ca85957 (patch) | |
tree | 6e8bb747cb14a1a78ce2892a27bf4d4714e0eb00 /app/assets/stylesheets/framework/filters.scss | |
parent | 8a6e415268c60074b8cd9508c106120107ce5731 (diff) | |
download | gitlab-ce-14cd8f08eca7f63196248302f71f1a351ca85957.tar.gz |
Fixed keyboard navigation not working in filtered search bar
Diffstat (limited to 'app/assets/stylesheets/framework/filters.scss')
-rw-r--r-- | app/assets/stylesheets/framework/filters.scss | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/app/assets/stylesheets/framework/filters.scss b/app/assets/stylesheets/framework/filters.scss index d957ec64654..4b05ec691a8 100644 --- a/app/assets/stylesheets/framework/filters.scss +++ b/app/assets/stylesheets/framework/filters.scss @@ -79,6 +79,16 @@ overflow: auto; } +%filter-dropdown-item-btn-hover { + background-color: $dropdown-hover-color; + color: $white-light; + text-decoration: none; + + .avatar { + border-color: $white-light; + } +} + .filter-dropdown-item { .btn { border: none; @@ -103,13 +113,7 @@ &:hover, &:focus { - background-color: $dropdown-hover-color; - color: $white-light; - text-decoration: none; - - .avatar { - border-color: $white-light; - } + @extend %filter-dropdown-item-btn-hover; } } @@ -131,6 +135,12 @@ } } +.filter-dropdown-item.dropdown-active { + .btn { + @extend %filter-dropdown-item-btn-hover; + } +} + .hint-dropdown { width: 250px; } |