summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/components/menu.less
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-06-10 17:34:09 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-06-10 17:34:20 +0200
commit2654da8fc59292895cf1112d264442f2a69a7221 (patch)
tree2528a4eae8a53505377d7fd2c680f401c59ae242 /server/sonar-web/src/main/less/components/menu.less
parent897e399f0086d9b6133dcabd6337b7e15421c7f9 (diff)
downloadsonarqube-2654da8fc59292895cf1112d264442f2a69a7221.tar.gz
sonarqube-2654da8fc59292895cf1112d264442f2a69a7221.zip
unify actions dropdowns
Diffstat (limited to 'server/sonar-web/src/main/less/components/menu.less')
-rw-r--r--server/sonar-web/src/main/less/components/menu.less20
1 files changed, 15 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/less/components/menu.less b/server/sonar-web/src/main/less/components/menu.less
index 37df30a50f5..b805869ec17 100644
--- a/server/sonar-web/src/main/less/components/menu.less
+++ b/server/sonar-web/src/main/less/components/menu.less
@@ -19,6 +19,8 @@
*/
@import (reference) "../mixins";
@import (reference) "../variables";
+@import (reference) "../init/links";
+@import (reference) "../init/type";
@import (reference) "ui";
.menu {
@@ -33,7 +35,7 @@
> li > a,
> li > span {
display: block;
- padding: 4px 20px;
+ padding: 4px 16px;
line-height: 16px;
clear: both;
font-weight: normal;
@@ -42,6 +44,8 @@
> li > a {
color: @baseFontColor;
+ .link-no-underline;
+ .trans(none);
}
.divider {
@@ -57,16 +61,22 @@
&:hover, &:focus {
text-decoration: none;
color: @baseFontColor;
- background-color: @lightBlue;
+ background-color: @barBackgroundColor;
}
}
-
-.menu > .active > a {
+.menu > .active > a,
+.menu > li > a.active {
&, &:hover, &:focus {
color: @baseFontColor;
text-decoration: none;
outline: 0;
- background-color: @lightBlue;
+ background-color: @barBackgroundColor;
}
}
+
+.menu-search {
+ padding: 4px 16px 0;
+
+ .search-box-input { font-size: @smallFontSize; }
+}