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 {
|
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
|
|
|
|
2012-11-20 16:05:15 -05:00
|
|
|
.navbar-inner {
|
2015-04-21 08:31:32 -04:00
|
|
|
background: #FFF;
|
|
|
|
border-bottom: 1px solid #DDD;
|
2013-02-16 14:24:51 -05:00
|
|
|
filter: none;
|
2012-11-20 16:05:15 -05:00
|
|
|
|
2015-04-21 08:31:32 -04:00
|
|
|
.title {
|
2015-04-21 09:49:25 -04:00
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 25px;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 44px;
|
|
|
|
font-weight: normal;
|
2015-04-21 08:31:32 -04:00
|
|
|
color: #555;
|
|
|
|
|
2015-04-21 09:49:25 -04:00
|
|
|
@include str-truncated(37%);
|
|
|
|
|
2015-04-21 08:31:32 -04:00
|
|
|
a {
|
|
|
|
color: #555;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-21 09:35:11 -04:00
|
|
|
.app_logo {
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 5px 8px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
width: 158px;
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 20px;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 34px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-20 16:05:15 -05:00
|
|
|
.nav > li > a {
|
2015-04-21 08:31:32 -04:00
|
|
|
color: #666;
|
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 {
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
|
2014-01-27 09:53:59 -05:00
|
|
|
.title {
|
2014-07-04 19:03:33 -04:00
|
|
|
@include str-truncated(70%);
|
2014-01-22 21:07:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-collapse {
|
2014-11-19 11:11:16 -05:00
|
|
|
margin-top: 47px;
|
2014-01-22 21:07:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-20 18:11:08 -05:00
|
|
|
.container {
|
|
|
|
width: 100% !important;
|
2015-02-25 00:40:47 -05:00
|
|
|
padding: 0px;
|
2014-12-20 18:11:08 -05:00
|
|
|
}
|
|
|
|
|
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;
|
2015-02-25 01:58:47 -05:00
|
|
|
height: 46px;
|
2015-04-21 08:31:32 -04:00
|
|
|
width: 100%;
|
2015-02-25 01:58:47 -05:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
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
|
|
|
}
|
|
|
|
|
2013-03-15 09:39:47 -04:00
|
|
|
.profile-pic {
|
2015-02-25 00:40:47 -05:00
|
|
|
padding: 0px !important;
|
|
|
|
width: 46px;
|
|
|
|
height: 46px;
|
|
|
|
margin-left: 5px;
|
2013-03-15 09:39:47 -04:00
|
|
|
img {
|
2015-02-25 00:40:47 -05:00
|
|
|
width: 46px;
|
|
|
|
height: 46px;
|
2013-03-15 09:39:47 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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);
|
2015-04-21 08:31:32 -04:00
|
|
|
border: 1px solid #DDD;
|
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);
|
2015-04-21 08:31:32 -04:00
|
|
|
background-color: #f5f5f5;
|
2012-06-12 07:58:44 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-30 20:15:58 -05:00
|
|
|
.search .search-input {
|
|
|
|
width: 300px;
|
|
|
|
&:focus {
|
2014-07-04 19:03:33 -04:00
|
|
|
width: 330px;
|
2013-12-30 20:15:58 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1200px) {
|
|
|
|
.search .search-input {
|
|
|
|
width: 200px;
|
|
|
|
&:focus {
|
2014-07-04 19:03:33 -04:00
|
|
|
width: 230px;
|
2013-12-30 20:15:58 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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 {
|
|
|
|
width: 52px;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(min-width: $screen-md-max) {
|
|
|
|
.header-collapsed {
|
|
|
|
width: 52px;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-expanded {
|
|
|
|
}
|
|
|
|
}
|