2015-09-11 14:41:01 +05:30
|
|
|
/*
|
|
|
|
* Application Header
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
header {
|
|
|
|
transition-duration: .3s;
|
|
|
|
|
|
|
|
&.navbar-empty {
|
2015-12-23 02:04:40 +05:30
|
|
|
height: 58px;
|
2015-09-11 14:41:01 +05:30
|
|
|
background: #FFF;
|
|
|
|
border-bottom: 1px solid #EEE;
|
|
|
|
|
|
|
|
.center-logo {
|
2015-12-23 02:04:40 +05:30
|
|
|
margin: 11px 0;
|
2015-09-11 14:41:01 +05:30
|
|
|
text-align: center;
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
#tanuki-logo, img {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.navbar-gitlab {
|
2015-09-25 12:07:36 +05:30
|
|
|
padding: 0 20px;
|
2015-09-11 14:41:01 +05:30
|
|
|
z-index: 100;
|
|
|
|
margin-bottom: 0;
|
|
|
|
min-height: $header-height;
|
2015-09-25 12:07:36 +05:30
|
|
|
background-color: #fff;
|
2015-09-11 14:41:01 +05:30
|
|
|
border: none;
|
|
|
|
|
2015-09-25 12:07:36 +05:30
|
|
|
.container-fluid {
|
2015-09-11 14:41:01 +05:30
|
|
|
width: 100% !important;
|
|
|
|
filter: none;
|
2015-09-25 12:07:36 +05:30
|
|
|
padding: 0;
|
2015-09-11 14:41:01 +05:30
|
|
|
|
|
|
|
.nav > li > a {
|
2015-09-25 12:07:36 +05:30
|
|
|
color: #7f8fa4;
|
|
|
|
font-size: 18px;
|
2015-09-11 14:41:01 +05:30
|
|
|
padding: 0;
|
|
|
|
margin: ($header-height - 28) / 2 0;
|
|
|
|
margin-left: 10px;
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
line-height: 28px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:hover, &:focus, &:active {
|
2015-09-25 12:07:36 +05:30
|
|
|
background-color: #FFF;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-toggle {
|
|
|
|
color: #666;
|
2015-10-24 18:46:33 +05:30
|
|
|
margin: 6px 0;
|
2015-09-11 14:41:01 +05:30
|
|
|
border-radius: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 2px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
2015-10-24 18:46:33 +05:30
|
|
|
&.active {
|
|
|
|
color: #7f8fa4;
|
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-content {
|
|
|
|
height: $header-height;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
2015-09-25 12:07:36 +05:30
|
|
|
font-size: 19px;
|
2015-09-11 14:41:01 +05:30
|
|
|
line-height: $header-height;
|
2015-09-25 12:07:36 +05:30
|
|
|
font-weight: normal;
|
|
|
|
color: #4c4e54;
|
2015-09-11 14:41:01 +05:30
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: top;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
a {
|
2015-09-25 12:07:36 +05:30
|
|
|
color: #4c4e54;
|
2015-09-11 14:41:01 +05:30
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-collapse {
|
|
|
|
float: right;
|
2015-10-24 18:46:33 +05:30
|
|
|
border-top: none;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-left: 10px;
|
2015-09-25 12:07:36 +05:30
|
|
|
margin-top: ($header-height - 36) / 2;
|
2015-09-11 14:41:01 +05:30
|
|
|
|
|
|
|
form {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-input {
|
|
|
|
width: 220px;
|
|
|
|
background-image: image-url("icon-search.png");
|
|
|
|
background-repeat: no-repeat;
|
2015-09-25 12:07:36 +05:30
|
|
|
background-position: 195px;
|
|
|
|
@include input-big;
|
2015-09-11 14:41:01 +05:30
|
|
|
|
|
|
|
&:focus {
|
|
|
|
@include box-shadow(none);
|
|
|
|
outline: none;
|
|
|
|
border-color: #DDD;
|
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
|
|
|
.impersonation i {
|
|
|
|
color: $red-normal;
|
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@mixin collapsed-header {
|
2015-09-25 12:07:36 +05:30
|
|
|
margin-left: $sidebar_collapsed_width;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $screen-md-max) {
|
|
|
|
.header-collapsed, .header-expanded {
|
|
|
|
@include collapsed-header;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(min-width: $screen-md-max) {
|
|
|
|
.header-collapsed {
|
|
|
|
@include collapsed-header;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-expanded {
|
2015-09-25 12:07:36 +05:30
|
|
|
margin-left: $sidebar_width;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
2015-09-25 12:07:36 +05:30
|
|
|
header .container-fluid {
|
2015-09-11 14:41:01 +05:30
|
|
|
font-size: 18px;
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
|
|
margin: 0px;
|
|
|
|
float: none !important;
|
|
|
|
|
|
|
|
.visible-xs, .visable-sm {
|
|
|
|
display: table-cell !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-collapse {
|
|
|
|
padding-left: 5px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: table-cell;
|
|
|
|
width: 1%;
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin-left: 8px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|