Commit 0678e9ac authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce

parents 7c09da9e 7880450e
...@@ -4,7 +4,7 @@ html { ...@@ -4,7 +4,7 @@ html {
&.touch .tooltip { display: none !important; } &.touch .tooltip { display: none !important; }
body { body {
padding-top: 46px; padding-top: $header-height;
} }
} }
......
...@@ -12,6 +12,8 @@ $code_font_size: 13px; ...@@ -12,6 +12,8 @@ $code_font_size: 13px;
$code_line_height: 1.5; $code_line_height: 1.5;
$border-color: #E5E5E5; $border-color: #E5E5E5;
$background-color: #f5f5f5; $background-color: #f5f5f5;
$header-height: 50px;
/* /*
* State colors: * State colors:
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
* Application Header * Application Header
* *
*/ */
$header-height: 46px;
header { header {
&.navbar-empty { &.navbar-empty {
background: #FFF; background: #FFF;
...@@ -18,7 +16,7 @@ header { ...@@ -18,7 +16,7 @@ header {
&.navbar-gitlab { &.navbar-gitlab {
z-index: 100; z-index: 100;
margin-bottom: 0; margin-bottom: 0;
min-height: 40px; min-height: $header-height;
border: none; border: none;
width: 100%; width: 100%;
...@@ -31,15 +29,14 @@ header { ...@@ -31,15 +29,14 @@ header {
.nav > li > a { .nav > li > a {
color: #888; color: #888;
font-size: 14px; font-size: 14px;
line-height: 19px;
padding: 0; padding: 0;
background-color: #f5f5f5; background-color: #f5f5f5;
margin: 9px 0; margin: ($header-height - 28) / 2 0;
margin-left: 10px; margin-left: 10px;
border-radius: 40px; border-radius: 40px;
height: 26px; height: 28px;
width: 26px; width: 28px;
line-height: 26px; line-height: 28px;
text-align: center; text-align: center;
&:hover, &:focus, &:active { &:hover, &:focus, &:active {
...@@ -71,15 +68,15 @@ header { ...@@ -71,15 +68,15 @@ header {
float: left; float: left;
height: $header-height; height: $header-height;
width: 100%; width: 100%;
padding: 5px 8px; padding: ($header-height - 36 ) / 2 8px;
h3 { h3 {
width: 158px; width: 158px;
float: left; float: left;
margin: 0; margin: 0;
margin-left: 20px; margin-left: 14px;
font-size: 18px; font-size: 18px;
line-height: 34px; line-height: $header-height - 14;
font-weight: normal; font-weight: normal;
} }
...@@ -106,7 +103,7 @@ header { ...@@ -106,7 +103,7 @@ header {
margin: 0; margin: 0;
margin-left: 35px; margin-left: 35px;
font-size: 18px; font-size: 18px;
line-height: 44px; line-height: $header-height;
font-weight: bold; font-weight: bold;
color: #444; color: #444;
...@@ -124,7 +121,7 @@ header { ...@@ -124,7 +121,7 @@ header {
.search { .search {
margin-right: 10px; margin-right: 10px;
margin-left: 10px; margin-left: 10px;
margin-top: 8px; margin-top: ($header-height - 28) / 2;
form { form {
margin: 0; margin: 0;
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
.nav-sidebar { .nav-sidebar {
margin-top: 29px; margin-top: 29px;
position: fixed; position: fixed;
top: 45px; top: $header-height;
width: $sidebar_width; width: $sidebar_width;
} }
} }
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
.nav-sidebar { .nav-sidebar {
margin-top: 29px; margin-top: 29px;
position: fixed; position: fixed;
top: 45px; top: $header-height;
width: $sidebar_collapsed_width; width: $sidebar_collapsed_width;
li a { li a {
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
.collapse-nav a { .collapse-nav a {
position: fixed; position: fixed;
top: 46px; top: $header-height;
left: 198px; left: 198px;
font-size: 13px; font-size: 13px;
background: transparent; background: transparent;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment