aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/components/navbar.less
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-02-18 09:24:18 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-02-18 10:11:24 +0100
commit2b3c8e71d98a8654609c04991bc1c574a6675ddc (patch)
tree1560934e06155fc56fc14187a0cbe1edb9fb5e88 /server/sonar-web/src/main/less/components/navbar.less
parent2cf32c6d9e7a0c5406cf8be5af34ffc54d1bc832 (diff)
downloadsonarqube-2b3c8e71d98a8654609c04991bc1c574a6675ddc.tar.gz
sonarqube-2b3c8e71d98a8654609c04991bc1c574a6675ddc.zip
fix header clipping effect
Diffstat (limited to 'server/sonar-web/src/main/less/components/navbar.less')
-rw-r--r--server/sonar-web/src/main/less/components/navbar.less15
1 files changed, 7 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/less/components/navbar.less b/server/sonar-web/src/main/less/components/navbar.less
index 2c8da63e581..605f50f3d61 100644
--- a/server/sonar-web/src/main/less/components/navbar.less
+++ b/server/sonar-web/src/main/less/components/navbar.less
@@ -5,9 +5,8 @@
@navbarGlobalBackground: #262626;
@navbarContextBackground: @barBackgroundColor;
-@navbarHeight: 30px;
@navbarLineHeight: 20px;
-@navbarTopPadding: (@navbarHeight - @navbarLineHeight) / 2;
+@navbarTopPadding: (@navbarGlobalHeight - @navbarLineHeight) / 2;
.navbar, [class^="navbar-"], [class*=" navbar-"] {
.box-sizing(border-box);
@@ -18,7 +17,7 @@
left: 0;
right: 0;
.clearfix;
- height: @navbarHeight;
+ height: @navbarGlobalHeight;
}
.navbar-fade {
@@ -184,9 +183,9 @@
.navbar-context {
- top: @navbarHeight;
+ top: @navbarGlobalHeight;
z-index: 498;
- height: 57px;
+ height: @navbarContextHeight;
background-color: @navbarContextBackground;
.nav-tabs {
@@ -194,8 +193,8 @@
}
.navbar-nav > li > a {
- padding-top: 2px;
- padding-bottom: 2px;
+ padding-top: 3px;
+ padding-bottom: 3px;
}
}
@@ -205,7 +204,7 @@
}
.navbar-context-meta {
- line-height: @navbarHeight;
+ line-height: @navbarGlobalHeight;
padding: 0 10px;
color: @secondFontColor;
font-size: @smallFontSize;