2012-06-12 07:58:44 -04:00
|
|
|
/*
|
|
|
|
* Application Header
|
|
|
|
*
|
|
|
|
*/
|
2012-08-16 02:13:50 -04:00
|
|
|
header {
|
2012-11-20 16:05:15 -05:00
|
|
|
&.navbar-gitlab {
|
2013-12-30 16:53:16 -05:00
|
|
|
margin-bottom: 0;
|
2013-12-30 18:12:02 -05:00
|
|
|
min-height: 40px;
|
2013-12-30 17:36:31 -05:00
|
|
|
|
2012-11-20 16:05:15 -05:00
|
|
|
.navbar-inner {
|
|
|
|
background: #F1F1F1;
|
2013-12-30 18:12:02 -05:00
|
|
|
border-bottom: 1px solid #DDD;
|
2013-02-16 14:24:51 -05:00
|
|
|
filter: none;
|
2012-11-20 16:05:15 -05:00
|
|
|
|
|
|
|
.nav > li > a {
|
|
|
|
color: $style_color;
|
2013-07-13 12:39:49 -04:00
|
|
|
font-size: 14px;
|
2013-12-30 18:12:02 -05:00
|
|
|
line-height: 32px;
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
2014-02-26 03:13:11 -05:00
|
|
|
&:hover, &:focus, &:active {
|
2013-12-30 18:12:02 -05:00
|
|
|
background: none;
|
|
|
|
}
|
2012-11-20 16:05:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/** NAV block with links and profile **/
|
|
|
|
.nav {
|
|
|
|
float: right;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2014-01-22 21:07:01 -05:00
|
|
|
|
|
|
|
.navbar-toggle {
|
|
|
|
color: $style_color;
|
|
|
|
margin: 0 -15px 0 0;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
button i { font-size: 22px; }
|
|
|
|
|
|
|
|
&.collapsed { background-color: transparent !important;}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-07 05:41:31 -05:00
|
|
|
.turbolink-spinner {
|
|
|
|
font-size: 20px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2014-01-22 21:07:01 -05:00
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
border-width: 0;
|
|
|
|
font-size: 18px;
|
|
|
|
|
|
|
|
.app_logo { margin-left: -15px; }
|
2014-01-27 09:53:59 -05:00
|
|
|
.title {
|
2014-01-22 21:07:01 -05:00
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: top;
|
|
|
|
white-space: nowrap;
|
|
|
|
max-width: 70%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-collapse {
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
2012-11-20 16:05:15 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-23 11:33:43 -05:00
|
|
|
z-index: 10;
|
2012-06-12 07:58:44 -04:00
|
|
|
|
|
|
|
/**
|
2012-08-16 02:13:50 -04:00
|
|
|
*
|
2012-06-12 07:58:44 -04:00
|
|
|
* Logo holder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.app_logo {
|
2012-11-23 11:33:43 -05:00
|
|
|
float: left;
|
2013-02-16 14:24:51 -05:00
|
|
|
margin-right: 9px;
|
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;
|
2012-11-20 16:05:15 -05:00
|
|
|
padding: 0px;
|
2013-02-16 14:24:51 -05:00
|
|
|
margin: 0 6px;
|
2012-06-12 07:58:44 -04:00
|
|
|
|
2012-08-16 02:13:50 -04:00
|
|
|
h1 {
|
2013-07-13 02:47:06 -04:00
|
|
|
margin: 0;
|
2014-02-11 09:05:36 -05:00
|
|
|
background: image-url('logo-black.png') no-repeat center center;
|
2013-12-03 08:38:55 -05:00
|
|
|
background-size: 32px;
|
2012-11-23 11:33:43 -05:00
|
|
|
float: left;
|
2013-12-30 18:12:02 -05:00
|
|
|
height: 46px;
|
2012-12-24 07:24:45 -05:00
|
|
|
width: 40px;
|
2012-12-12 05:30:19 -05:00
|
|
|
@include header-font;
|
2012-12-24 07:24:45 -05:00
|
|
|
text-indent: -9999px;
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
}
|
2012-12-24 14:18:23 -05:00
|
|
|
&:hover {
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2012-08-16 02:13:50 -04:00
|
|
|
*
|
2012-06-12 07:58:44 -04:00
|
|
|
* Project / Area name
|
|
|
|
*
|
|
|
|
*/
|
2014-01-27 09:53:59 -05:00
|
|
|
.title {
|
2012-11-23 11:33:43 -05:00
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
2013-07-13 12:39:49 -04:00
|
|
|
margin-left: 5px;
|
2012-12-12 05:30:19 -05:00
|
|
|
@include header-font;
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
|
2013-03-15 09:39:47 -04:00
|
|
|
.profile-pic {
|
|
|
|
position: relative;
|
2013-12-30 18:12:02 -05:00
|
|
|
top: -1px;
|
2014-06-06 15:01:34 -04:00
|
|
|
padding-right: 0px !important;
|
2013-03-15 09:39:47 -04:00
|
|
|
img {
|
|
|
|
width: 26px;
|
2013-07-02 04:42:39 -04:00
|
|
|
height: 26px;
|
2013-03-15 09:39:47 -04:00
|
|
|
@include border-radius(4px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-06-12 07:58:44 -04:00
|
|
|
/**
|
2012-08-16 02:13:50 -04:00
|
|
|
*
|
2012-06-12 07:58:44 -04:00
|
|
|
* Search box
|
|
|
|
*
|
|
|
|
*/
|
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;
|
2012-11-20 23:14:05 -05:00
|
|
|
@include border-radius(3px);
|
2012-11-23 11:51:38 -05:00
|
|
|
border: 1px solid #c6c6c6;
|
2012-11-23 11:33:43 -05:00
|
|
|
box-shadow: none;
|
2013-02-22 11:50:17 -05:00
|
|
|
@include transition(all 0.15s ease-in 0s);
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-21 00:14:05 -05:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Dark header
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
&.header-dark {
|
|
|
|
&.navbar-gitlab {
|
|
|
|
.navbar-inner {
|
|
|
|
background: #708090;
|
|
|
|
border-bottom: 1px solid #AAA;
|
|
|
|
|
2014-01-22 21:07:01 -05:00
|
|
|
.navbar-toggle { color: #fff; }
|
|
|
|
|
2012-11-21 00:14:05 -05:00
|
|
|
.nav > li > a {
|
2013-07-02 07:06:25 -04:00
|
|
|
color: #AAA;
|
2013-05-16 07:12:21 -04:00
|
|
|
|
2014-02-26 03:13:11 -05:00
|
|
|
&:hover, &:focus, &:active {
|
|
|
|
background: none;
|
2013-05-16 07:12:21 -04:00
|
|
|
color: #FFF;
|
|
|
|
}
|
2012-11-21 00:14:05 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-02 07:06:25 -04:00
|
|
|
.turbolink-spinner {
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
|
2012-11-21 00:14:05 -05:00
|
|
|
.search {
|
|
|
|
.search-input {
|
|
|
|
background-color: #D2D5DA;
|
|
|
|
background-color: rgba(255, 255, 255, 0.5);
|
2013-02-17 05:16:19 -05:00
|
|
|
border: 1px solid #AAA;
|
2012-11-21 00:14:05 -05:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.search-input::-webkit-input-placeholder {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
.app_logo {
|
|
|
|
a {
|
|
|
|
h1 {
|
2014-02-11 09:05:36 -05:00
|
|
|
background: image-url('logo-white.png') no-repeat center center;
|
2013-12-03 08:38:55 -05:00
|
|
|
background-size: 32px;
|
2012-11-23 11:51:38 -05:00
|
|
|
color: #fff;
|
2012-11-21 00:14:05 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-01-27 09:53:59 -05:00
|
|
|
.title {
|
2013-02-17 05:05:26 -05:00
|
|
|
a {
|
2014-02-15 07:11:31 -05:00
|
|
|
color: #FFF;
|
2013-06-20 08:59:39 -04:00
|
|
|
&:hover {
|
2014-02-15 07:11:31 -05:00
|
|
|
text-decoration: underline;
|
2013-06-20 08:59:39 -04:00
|
|
|
}
|
2013-02-17 05:05:26 -05:00
|
|
|
}
|
2012-11-23 11:51:38 -05:00
|
|
|
color: #fff;
|
2012-11-21 00:14:05 -05:00
|
|
|
}
|
|
|
|
}
|
2012-12-24 14:18:23 -05:00
|
|
|
|
|
|
|
.app_logo {
|
|
|
|
.separator {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.separator {
|
|
|
|
float: left;
|
2013-02-16 14:24:51 -05:00
|
|
|
height: 46px;
|
2013-12-30 18:12:02 -05:00
|
|
|
width: 2px;
|
2012-12-24 14:18:23 -05:00
|
|
|
background: white;
|
|
|
|
border-left: 1px solid #DDD;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
|
2013-12-30 20:15:58 -05:00
|
|
|
.search .search-input {
|
|
|
|
width: 300px;
|
|
|
|
&:focus {
|
|
|
|
width: 400px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1200px) {
|
|
|
|
.search .search-input {
|
|
|
|
width: 200px;
|
|
|
|
&:focus {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-03-23 22:17:01 -04:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
#nprogress .spinner {
|
|
|
|
right: 35px !important;
|
|
|
|
}
|
|
|
|
}
|