2012-06-12 07:58:44 -04:00
|
|
|
/*
|
|
|
|
* Application Header
|
|
|
|
*
|
|
|
|
*/
|
2015-06-01 09:45:36 -04:00
|
|
|
$header-height: 46px;
|
|
|
|
|
2012-08-16 02:13:50 -04:00
|
|
|
header {
|
2015-06-01 09:45:36 -04:00
|
|
|
&.empty-header .container {
|
|
|
|
border-bottom: 1px solid #EEE;
|
|
|
|
}
|
|
|
|
|
2012-11-20 16:05:15 -05:00
|
|
|
&.navbar-gitlab {
|
2014-12-26 07:34:50 -05:00
|
|
|
z-index: 100;
|
2013-12-30 16:53:16 -05:00
|
|
|
margin-bottom: 0;
|
2013-12-30 18:12:02 -05:00
|
|
|
min-height: 40px;
|
2014-06-18 16:43:33 -04:00
|
|
|
border: none;
|
2014-12-27 14:08:29 -05:00
|
|
|
width: 100%;
|
2013-12-30 17:36:31 -05:00
|
|
|
|
2015-04-29 06:36:12 -04:00
|
|
|
.container {
|
|
|
|
width: 100% !important;
|
|
|
|
padding: 0;
|
2015-04-21 08:31:32 -04:00
|
|
|
background: #FFF;
|
2013-02-16 14:24:51 -05:00
|
|
|
filter: none;
|
2012-11-20 16:05:15 -05:00
|
|
|
|
|
|
|
.nav > li > a {
|
2015-05-27 07:17:14 -04:00
|
|
|
color: #888;
|
2013-07-13 12:39:49 -04:00
|
|
|
font-size: 14px;
|
2015-05-27 07:17:14 -04:00
|
|
|
line-height: 19px;
|
|
|
|
padding: 0;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
margin: 9px 0;
|
|
|
|
margin-left: 10px;
|
|
|
|
border-radius: 40px;
|
|
|
|
height: 26px;
|
|
|
|
width: 26px;
|
|
|
|
line-height: 26px;
|
|
|
|
text-align: center;
|
2013-12-30 18:12:02 -05:00
|
|
|
|
2014-02-26 03:13:11 -05:00
|
|
|
&:hover, &:focus, &:active {
|
2015-05-27 07:17:14 -04:00
|
|
|
background-color: #EEE;
|
2013-12-30 18:12:02 -05:00
|
|
|
}
|
2012-11-20 16:05:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav {
|
|
|
|
float: right;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2014-01-22 21:07:01 -05:00
|
|
|
|
|
|
|
.navbar-toggle {
|
2015-04-23 11:21:51 -04:00
|
|
|
color: #666;
|
2015-03-19 03:51:32 -04:00
|
|
|
margin: 0;
|
2014-01-22 21:07:01 -05:00
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-11-20 16:05:15 -05:00
|
|
|
}
|
|
|
|
|
2015-06-01 09:45:36 -04:00
|
|
|
.header-logo {
|
|
|
|
border-bottom: 1px solid transparent;
|
2012-11-23 11:33:43 -05:00
|
|
|
float: left;
|
2015-06-01 09:45:36 -04:00
|
|
|
height: $header-height;
|
|
|
|
width: $sidebar_width;
|
2012-12-24 14:18:23 -05:00
|
|
|
|
2012-08-16 02:13:50 -04:00
|
|
|
a {
|
2012-11-23 11:33:43 -05:00
|
|
|
float: left;
|
2015-06-01 09:45:36 -04:00
|
|
|
height: $header-height;
|
2015-04-21 08:31:32 -04:00
|
|
|
width: 100%;
|
2015-06-01 09:45:36 -04:00
|
|
|
padding: 5px 8px;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
width: 158px;
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 20px;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 34px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2015-02-25 01:58:47 -05:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
2015-06-01 09:45:36 -04:00
|
|
|
float: left;
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
}
|
2015-06-01 09:45:36 -04:00
|
|
|
|
2012-12-24 14:18:23 -05:00
|
|
|
&:hover {
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
|
2015-06-01 09:45:36 -04:00
|
|
|
.header-content {
|
|
|
|
border-bottom: 1px solid #EEE;
|
|
|
|
padding-right: 35px;
|
|
|
|
height: $header-height;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 35px;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 44px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #444;
|
|
|
|
|
|
|
|
@include str-truncated(37%);
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #444;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-08-16 02:13:50 -04:00
|
|
|
.search {
|
2013-03-15 09:39:47 -04:00
|
|
|
margin-right: 10px;
|
2012-11-23 11:33:43 -05:00
|
|
|
margin-left: 10px;
|
2013-12-30 18:12:02 -05:00
|
|
|
margin-top: 8px;
|
2013-12-30 17:36:31 -05:00
|
|
|
|
|
|
|
form {
|
|
|
|
margin: 0;
|
2013-12-30 19:50:36 -05:00
|
|
|
padding: 0;
|
2013-12-30 17:36:31 -05:00
|
|
|
}
|
2012-06-12 07:58:44 -04:00
|
|
|
|
2012-07-03 13:52:48 -04:00
|
|
|
.search-input {
|
2014-03-06 04:05:00 -05:00
|
|
|
background-image: image-url("icon-search.png");
|
2012-06-12 07:58:44 -04:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 10px;
|
2013-12-30 17:36:31 -05:00
|
|
|
height: inherit;
|
|
|
|
padding: 4px 6px;
|
2012-11-23 11:33:43 -05:00
|
|
|
padding-left: 25px;
|
2012-11-20 16:05:15 -05:00
|
|
|
font-size: 13px;
|
2015-05-27 07:17:14 -04:00
|
|
|
background-color: #f5f5f5;
|
|
|
|
border-color: #f5f5f5;
|
2015-05-29 09:14:24 -04:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
@include box-shadow(none);
|
|
|
|
outline: none;
|
|
|
|
border-color: #DDD;
|
|
|
|
background-color: #FFF;
|
|
|
|
}
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-30 20:15:58 -05:00
|
|
|
.search .search-input {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
2015-06-01 09:45:36 -04:00
|
|
|
@mixin collapsed-header {
|
|
|
|
.header-logo {
|
|
|
|
width: $sidebar_collapsed_width;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-content {
|
|
|
|
.title {
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-30 20:15:58 -05:00
|
|
|
@media (max-width: 1200px) {
|
|
|
|
.search .search-input {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
}
|
2014-03-23 22:17:01 -04:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
#nprogress .spinner {
|
|
|
|
right: 35px !important;
|
|
|
|
}
|
|
|
|
}
|
2015-04-22 09:48:39 -04:00
|
|
|
|
|
|
|
@media (max-width: $screen-md-max) {
|
|
|
|
.header-collapsed, .header-expanded {
|
2015-06-01 09:45:36 -04:00
|
|
|
@include collapsed-header;
|
2015-04-22 09:48:39 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(min-width: $screen-md-max) {
|
|
|
|
.header-collapsed {
|
2015-06-01 09:45:36 -04:00
|
|
|
@include collapsed-header;
|
2015-04-22 09:48:39 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-expanded {
|
|
|
|
}
|
|
|
|
}
|
2015-06-01 09:45:36 -04:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
header .container {
|
|
|
|
border-width: 0;
|
|
|
|
font-size: 18px;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
@include str-truncated(70%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-collapse {
|
|
|
|
margin-top: 47px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
|
|
margin: 5px 0;
|
|
|
|
|
|
|
|
.visible-xs, .visable-sm {
|
|
|
|
display: table-cell !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: table-cell;
|
|
|
|
width: 1%;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 18px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|