2012-06-12 07:58:44 -04:00
|
|
|
/*
|
|
|
|
* Application Header
|
|
|
|
*
|
|
|
|
*/
|
2012-08-16 02:13:50 -04:00
|
|
|
header {
|
2015-06-19 12:54:26 -04:00
|
|
|
transition-duration: .3s;
|
|
|
|
|
2015-06-01 10:36:26 -04:00
|
|
|
&.navbar-empty {
|
2015-12-02 08:05:24 -05:00
|
|
|
height: 58px;
|
2016-03-15 15:56:28 -04:00
|
|
|
background: #fff;
|
|
|
|
border-bottom: 1px solid #eee;
|
2015-06-05 06:08:43 -04:00
|
|
|
|
|
|
|
.center-logo {
|
2015-12-02 08:05:24 -05:00
|
|
|
margin: 11px 0;
|
2015-06-05 06:08:43 -04:00
|
|
|
text-align: center;
|
2015-06-19 10:59:16 -04:00
|
|
|
|
2015-12-02 08:05:24 -05:00
|
|
|
#tanuki-logo, img {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
2015-06-19 10:59:16 -04:00
|
|
|
}
|
2015-06-05 06:08:43 -04:00
|
|
|
}
|
2015-06-01 09:45:36 -04:00
|
|
|
}
|
|
|
|
|
2012-11-20 16:05:15 -05:00
|
|
|
&.navbar-gitlab {
|
2015-08-26 07:15:02 -04:00
|
|
|
padding: 0 20px;
|
2014-12-26 07:34:50 -05:00
|
|
|
z-index: 100;
|
2013-12-30 16:53:16 -05:00
|
|
|
margin-bottom: 0;
|
2015-06-05 12:49:00 -04:00
|
|
|
min-height: $header-height;
|
2015-09-02 07:02:16 -04:00
|
|
|
background-color: #fff;
|
2014-06-18 16:43:33 -04:00
|
|
|
border: none;
|
2016-03-15 15:56:28 -04:00
|
|
|
border-bottom: 1px solid #eee;
|
2013-12-30 17:36:31 -05:00
|
|
|
|
2015-08-26 07:15:02 -04:00
|
|
|
.container-fluid {
|
2015-04-29 06:36:12 -04:00
|
|
|
width: 100% !important;
|
2013-02-16 14:24:51 -05:00
|
|
|
filter: none;
|
2015-09-02 07:02:16 -04:00
|
|
|
padding: 0;
|
2012-11-20 16:05:15 -05:00
|
|
|
|
|
|
|
.nav > li > a {
|
2016-03-31 12:07:29 -04:00
|
|
|
color: $gl-icon-color;
|
2015-09-02 07:02:16 -04:00
|
|
|
font-size: 18px;
|
2015-05-27 07:17:14 -04:00
|
|
|
padding: 0;
|
2015-06-05 12:49:00 -04:00
|
|
|
margin: ($header-height - 28) / 2 0;
|
2015-05-27 07:17:14 -04:00
|
|
|
margin-left: 10px;
|
2015-06-05 12:49:00 -04:00
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
line-height: 28px;
|
2015-05-27 07:17:14 -04:00
|
|
|
text-align: center;
|
2013-12-30 18:12:02 -05:00
|
|
|
|
2014-02-26 03:13:11 -05:00
|
|
|
&:hover, &:focus, &:active {
|
2016-03-15 15:56:28 -04:00
|
|
|
background-color: #fff;
|
2013-12-30 18:12:02 -05:00
|
|
|
}
|
2012-11-20 16:05:15 -05:00
|
|
|
}
|
|
|
|
|
2014-01-22 21:07:01 -05:00
|
|
|
.navbar-toggle {
|
2015-04-23 11:21:51 -04:00
|
|
|
color: #666;
|
2015-10-08 23:05:55 -04:00
|
|
|
margin: 6px 0;
|
2014-01-22 21:07:01 -05:00
|
|
|
border-radius: 0;
|
2015-06-01 11:55:20 -04:00
|
|
|
position: absolute;
|
|
|
|
right: 2px;
|
2014-01-22 21:07:01 -05:00
|
|
|
|
|
|
|
&:hover {
|
2016-03-15 15:56:28 -04:00
|
|
|
background-color: #eee;
|
2014-01-22 21:07:01 -05:00
|
|
|
}
|
2015-10-08 23:05:55 -04:00
|
|
|
&.active {
|
2016-03-31 12:07:29 -04:00
|
|
|
color: $gl-icon-color;
|
2015-10-08 23:05:55 -04:00
|
|
|
}
|
2014-01-22 21:07:01 -05:00
|
|
|
}
|
|
|
|
}
|
2012-11-20 16:05:15 -05:00
|
|
|
}
|
|
|
|
|
2015-06-01 09:45:36 -04:00
|
|
|
.header-content {
|
2016-03-22 07:33:38 -04:00
|
|
|
position: relative;
|
2015-06-01 09:45:36 -04:00
|
|
|
height: $header-height;
|
2016-04-18 03:48:41 -04:00
|
|
|
padding-right: 40px;
|
2016-03-22 09:56:07 -04:00
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-06-01 09:45:36 -04:00
|
|
|
|
2016-03-22 07:33:38 -04:00
|
|
|
.dropdown-menu {
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
|
2015-06-01 09:45:36 -04:00
|
|
|
.title {
|
|
|
|
margin: 0;
|
2015-09-04 05:17:25 -04:00
|
|
|
font-size: 19px;
|
2015-06-05 12:49:00 -04:00
|
|
|
line-height: $header-height;
|
2015-09-02 07:02:16 -04:00
|
|
|
font-weight: normal;
|
2016-03-31 12:07:29 -04:00
|
|
|
color: $gl-text-color;
|
2016-02-22 10:31:19 -05:00
|
|
|
overflow: hidden;
|
2015-06-15 21:12:45 -04:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: top;
|
|
|
|
white-space: nowrap;
|
2015-06-01 09:45:36 -04:00
|
|
|
|
|
|
|
a {
|
2016-03-31 12:07:29 -04:00
|
|
|
color: $gl-text-color;
|
2015-06-01 09:45:36 -04:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2016-01-14 14:16:50 -05:00
|
|
|
|
|
|
|
.dropdown-toggle-caret {
|
2016-01-15 02:30:36 -05:00
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
2016-02-05 13:56:37 -05:00
|
|
|
width: 12px;
|
|
|
|
line-height: 12px;
|
2016-01-14 14:16:50 -05:00
|
|
|
margin-left: 5px;
|
2016-01-15 02:30:36 -05:00
|
|
|
font-size: 10px;
|
2016-02-05 13:56:37 -05:00
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-item-select {
|
|
|
|
right: auto;
|
|
|
|
left: 0;
|
2016-01-14 14:16:50 -05:00
|
|
|
}
|
2015-06-01 09:45:36 -04:00
|
|
|
}
|
2015-06-15 21:12:45 -04:00
|
|
|
|
|
|
|
.navbar-collapse {
|
|
|
|
float: right;
|
2015-10-08 23:05:55 -04:00
|
|
|
border-top: none;
|
2015-06-15 21:12:45 -04:00
|
|
|
}
|
2015-06-01 09:45:36 -04:00
|
|
|
}
|
|
|
|
|
2016-04-18 03:48:41 -04:00
|
|
|
.project-item-select-holder {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2015-10-28 11:39:23 -04:00
|
|
|
.impersonation i {
|
|
|
|
color: $red-normal;
|
|
|
|
}
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
|
2015-06-01 09:45:36 -04:00
|
|
|
@mixin collapsed-header {
|
2016-04-07 17:20:16 -04:00
|
|
|
margin-left: $sidebar_collapsed_width;
|
2015-06-01 09:45:36 -04:00
|
|
|
}
|
|
|
|
|
2016-03-11 10:11:11 -05:00
|
|
|
.header-collapsed {
|
2016-04-07 17:20:16 -04:00
|
|
|
margin-left: $sidebar_collapsed_width;
|
2016-02-23 15:28:21 -05:00
|
|
|
|
2016-03-14 07:51:07 -04:00
|
|
|
@media (min-width: $screen-md-min) {
|
2016-03-11 10:11:11 -05:00
|
|
|
@include collapsed-header;
|
2016-03-04 04:45:05 -05:00
|
|
|
}
|
2015-04-22 09:48:39 -04:00
|
|
|
}
|
|
|
|
|
2016-03-11 10:11:11 -05:00
|
|
|
.header-expanded {
|
|
|
|
margin-left: $sidebar_collapsed_width;
|
2015-04-22 09:48:39 -04:00
|
|
|
|
2016-03-14 07:51:07 -04:00
|
|
|
@media (min-width: $screen-md-min) {
|
2015-08-26 07:15:02 -04:00
|
|
|
margin-left: $sidebar_width;
|
2015-04-22 09:48:39 -04:00
|
|
|
}
|
|
|
|
}
|
2015-06-01 09:45:36 -04:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
2015-08-26 07:15:02 -04:00
|
|
|
header .container-fluid {
|
2015-06-01 09:45:36 -04:00
|
|
|
font-size: 18px;
|
|
|
|
|
|
|
|
.navbar-nav {
|
2016-03-16 19:29:47 -04:00
|
|
|
margin: 0;
|
2015-06-01 11:55:20 -04:00
|
|
|
float: none !important;
|
2015-06-01 09:45:36 -04:00
|
|
|
|
|
|
|
.visible-xs, .visable-sm {
|
|
|
|
display: table-cell !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-08 10:34:07 -04:00
|
|
|
.navbar-collapse {
|
|
|
|
padding-left: 5px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: table-cell;
|
|
|
|
width: 1%;
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin-left: 8px !important;
|
|
|
|
}
|
|
|
|
}
|
2015-06-01 09:45:36 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|