diff options
-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; + } + } +} |