Newer
Older
transition: padding $sidebar-transition-duration;
height: $header-height;
margin: 8px 0;
&.navbar-gitlab {
padding: 0 16px;
height: $header-height;
border-bottom: 1px solid $border-color;
@media (max-width: $screen-xs-min) {
padding: 0 16px;
}
&.with-horizontal-nav {
border-bottom: none;
}
Dmitriy Zaporozhets
committed
filter: none;
.nav > li > a {
margin: ($header-height - 28) / 2 0;
.side-nav-toggle {
position: absolute;
left: -10px;
font-size: 18px;
padding: 6px 10px;
border: none;
background-color: $background-color;
&:hover {
background-color: $btn-gray-hover;
}
&:focus {
outline: none;
}
}
padding-left: 30px;
@media (min-width: $screen-sm-min) {
padding-right: 0;
}
.dropdown-menu {
margin-top: -5px;
}
Annabel Dunstone
committed
.header-logo {
position: absolute;
left: 50%;
top: 7px;
transition-duration: .3s;
z-index: 999;
#logo {
position: relative;
left: -50%;
}
svg, img {
height: 36px;
}
Annabel Dunstone
committed
&:hover {
cursor: pointer;
}
#logo {
left: auto;
}
Annabel Dunstone
committed
}
position: relative;
padding-right: 20px;
Annabel Dunstone
committed
max-width: 400px;
Annabel Dunstone
committed
display: inline-block;
line-height: $header-height;
text-overflow: ellipsis;
vertical-align: top;
white-space: nowrap;
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
max-width: 300px;
}
@media (max-width: $screen-xs-max) {
Annabel Dunstone
committed
max-width: 190px;
&:hover {
text-decoration: underline;
}
}
.dropdown-toggle-caret {
color: $gl-text-color;
border: transparent;
background: transparent;
position: absolute;
right: 3px;
line-height: 19px;
margin-top: (($header-height - 19) / 2);
text-align: center;
cursor: pointer;
}
.project-item-select {
right: auto;
left: 0;
.navbar-collapse {
float: right;
float: none;
}
.project-item-select-holder {
display: inline;
}
.impersonation i {
color: $red-normal;
}
.visible-xs, .visable-sm {
display: table-cell !important;
}
}
.navbar-collapse {
padding-left: 5px;