From 8eb8e018436ca4b4965e135a06be90eaac538e33 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 7 Apr 2014 17:25:26 +0600 Subject: [PATCH] Make dropdown arrows clickable --- sonar-server/src/main/less/layout.less | 13 ++++++------- .../app/views/layouts/_menu_projects.html.erb | 6 ++++-- .../WEB-INF/app/views/layouts/_menu_user.html.erb | 7 +++++-- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/sonar-server/src/main/less/layout.less b/sonar-server/src/main/less/layout.less index 0e1378104c7..0accd334081 100644 --- a/sonar-server/src/main/less/layout.less +++ b/sonar-server/src/main/less/layout.less @@ -64,14 +64,13 @@ body, a { #hd a { color: #FFF; text-decoration: none; -} - -#hd a.selected { - color: #4B9FD5; -} -#hd a:focus, #hd a:hover { - text-decoration: underline; + &:focus, &:hover { text-decoration: underline; } + &.selected { color: #4B9FD5; } + &.with-icon:hover { + text-decoration: none; + span { text-decoration: underline; } + } } #nav-left { diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb index 4ca9adece89..b5ba999b004 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb @@ -5,8 +5,10 @@
  • - <%= message('layout.projects') -%> - + + <%= message('layout.projects') -%> + +
  • - <%= h current_user.name -%> - + + <%= h current_user.name -%> + + +