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