Commit 46e3d13e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

More fixes to header css

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent d4dde374
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
$header-height: 46px; $header-height: 46px;
header { header {
&.empty-header .container { &.navbar-empty {
background: #FFF;
border-bottom: 1px solid #EEE; border-bottom: 1px solid #EEE;
} }
...@@ -17,9 +18,9 @@ header { ...@@ -17,9 +18,9 @@ header {
width: 100%; width: 100%;
.container { .container {
background: #FFF;
width: 100% !important; width: 100% !important;
padding: 0; padding: 0;
background: #FFF;
filter: none; filter: none;
.nav > li > a { .nav > li > a {
...@@ -96,6 +97,7 @@ header { ...@@ -96,6 +97,7 @@ header {
border-bottom: 1px solid #EEE; border-bottom: 1px solid #EEE;
padding-right: 35px; padding-right: 35px;
height: $header-height; height: $header-height;
overflow: hidden;
.title { .title {
position: relative; position: relative;
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
} }
.container .title { .container .title {
margin-left: 6px !important; margin-left: 15px !important;
max-width: 70% !important; max-width: 70% !important;
} }
} }
......
.page-with-sidebar { .page-with-sidebar {
background: $background-color;
.sidebar-wrapper { .sidebar-wrapper {
position: fixed; position: fixed;
top: 0; top: 0;
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
} }
.page-with-sidebar { .page-with-sidebar {
background: $color-darker;
.collapse-nav a { .collapse-nav a {
color: #FFF; color: #FFF;
background: $color; background: $color;
......
%header.navbar.navbar-fixed-top.navbar-gitlab.empty-header %header.navbar.navbar-fixed-top.navbar-empty
.container .container
%h4.center %h4.center
= image_tag 'logo-white.png', width: 32, height: 32 = image_tag 'logo-white.png', width: 32, height: 32
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%html{ lang: "en"} %html{ lang: "en"}
= render "layouts/head" = render "layouts/head"
%body{class: "#{app_theme} application"} %body{class: "#{app_theme} application"}
= render "layouts/head_panel", title: "" if current_user = render "layouts/empty_head_panel"
.container.navless-container .container.navless-container
= render "layouts/flash" = render "layouts/flash"
.error-page .error-page
......
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