diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-08-29 19:55:47 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-09-06 04:52:01 +0300 |
commit | 21446129ac2b7988e3499a3080edc94303528636 (patch) | |
tree | c52c4ef50a8620a108407ab02ff0b5e1190fe4d3 /app/assets/stylesheets/framework/dropdowns.scss | |
parent | d68ff7f50a93ebbff537b5e795cf6bf80bd66a6e (diff) |
Remove focus styles from dropdown empty link
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/37023
Diffstat (limited to 'app/assets/stylesheets/framework/dropdowns.scss')
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 6b21def33a6..5eb207a93f7 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -163,12 +163,6 @@ } } - &.dropdown-menu-empty-link { - &.is-focused { - background-color: $dropdown-empty-row-bg; - } - } - &.dropdown-menu-user-link { line-height: 16px; } @@ -256,6 +250,13 @@ @include dropdown-link; } + .dropdown-menu-empty-item a { + &:hover, + &:focus { + background-color: transparent; + } + } + .dropdown-header { color: $gl-text-color-secondary; font-size: 13px; @@ -800,6 +801,13 @@ } } } + + &.dropdown-menu-empty-item a { + &:hover, + &:focus { + background-color: transparent; + } + } } &.dropdown-menu-selectable { |