Fix dropdown header alignment; empty navbar positioning

This commit is contained in:
Annabel Dunstone Gray 2017-10-07 07:52:28 -07:00
parent 9b27f62d86
commit b352462d01
No known key found for this signature in database
GPG key ID: 7C8C78A372AD7A2D
2 changed files with 18 additions and 18 deletions

View file

@ -749,7 +749,7 @@
margin-bottom: $dropdown-vertical-offset; margin-bottom: $dropdown-vertical-offset;
} }
li { li:not(.dropdown-bold-header) {
display: block; display: block;
padding: 0 1px; padding: 0 1px;

View file

@ -5,22 +5,6 @@
.navbar-gitlab { .navbar-gitlab {
@include new-style-dropdown; @include new-style-dropdown;
&.navbar-empty {
height: $header-height;
background: $white-light;
border-bottom: 1px solid $white-normal;
.center-logo {
margin: 8px 0;
text-align: center;
.tanuki-logo,
img {
height: 36px;
}
}
}
&.navbar-gitlab { &.navbar-gitlab {
padding: 0 16px; padding: 0 16px;
z-index: 1000; z-index: 1000;
@ -550,7 +534,7 @@
color: $gl-text-color; color: $gl-text-color;
left: auto; left: auto;
.current-user { li.current-user {
padding: 5px 18px; padding: 5px 18px;
.user-name { .user-name {
@ -570,3 +554,19 @@
.with-performance-bar .navbar-gitlab { .with-performance-bar .navbar-gitlab {
top: $performance-bar-height; top: $performance-bar-height;
} }
.navbar-empty {
height: $header-height;
background: $white-light;
border-bottom: 1px solid $white-normal;
.center-logo {
margin: 8px 0;
text-align: center;
.tanuki-logo,
img {
height: 36px;
}
}
}