diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-03-24 16:42:15 +0100 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-03-24 16:44:41 +0100 |
commit | 515da3680100ab023c69a99faf2028f12cbd4492 (patch) | |
tree | 7394bc0f9bb1c593afdccdb0c00227e317e45b13 /server/sonar-web/src/main | |
parent | eb8cb6831194d5be904d44b9b7bccf009f2d1ab5 (diff) | |
download | sonarqube-515da3680100ab023c69a99faf2028f12cbd4492.tar.gz sonarqube-515da3680100ab023c69a99faf2028f12cbd4492.zip |
Fix menu hover highlighting
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/less/components/menu.less | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/less/components/menu.less b/server/sonar-web/src/main/less/components/menu.less index 17df7a8ec0c..75b2b312391 100644 --- a/server/sonar-web/src/main/less/components/menu.less +++ b/server/sonar-web/src/main/less/components/menu.less @@ -59,6 +59,7 @@ &:hover, &:focus { text-decoration: none; color: @baseFontColor; + background-color: @barBackgroundColor; } } @@ -78,3 +79,18 @@ .search-box-input { font-size: @smallFontSize; } } + +.menu-search ~ .menu { + > li > a { + &:hover, &:focus { + background-color: transparent; + } + } + + > .active > a, + > li > .active { + &, &:hover, &:focus { + background-color: @barBackgroundColor; + } + } +} |