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