More fixes to header css

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-06-01 16:36:26 +02:00
parent d4dde374aa
commit 46e3d13eac
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
6 changed files with 7 additions and 9 deletions

View File

@ -5,7 +5,8 @@
$header-height: 46px;
header {
&.empty-header .container {
&.navbar-empty {
background: #FFF;
border-bottom: 1px solid #EEE;
}
@ -17,9 +18,9 @@ header {
width: 100%;
.container {
background: #FFF;
width: 100% !important;
padding: 0;
background: #FFF;
filter: none;
.nav > li > a {
@ -96,6 +97,7 @@ header {
border-bottom: 1px solid #EEE;
padding-right: 35px;
height: $header-height;
overflow: hidden;
.title {
position: relative;

View File

@ -57,7 +57,7 @@
}
.container .title {
margin-left: 6px !important;
margin-left: 15px !important;
max-width: 70% !important;
}
}

View File

@ -1,6 +1,4 @@
.page-with-sidebar {
background: $background-color;
.sidebar-wrapper {
position: fixed;
top: 0;

View File

@ -20,8 +20,6 @@
}
.page-with-sidebar {
background: $color-darker;
.collapse-nav a {
color: #FFF;
background: $color;

View File

@ -1,4 +1,4 @@
%header.navbar.navbar-fixed-top.navbar-gitlab.empty-header
%header.navbar.navbar-fixed-top.navbar-empty
.container
%h4.center
= image_tag 'logo-white.png', width: 32, height: 32

View File

@ -2,7 +2,7 @@
%html{ lang: "en"}
= render "layouts/head"
%body{class: "#{app_theme} application"}
= render "layouts/head_panel", title: "" if current_user
= render "layouts/empty_head_panel"
.container.navless-container
= render "layouts/flash"
.error-page