180 lines
2.9 KiB
SCSS
180 lines
2.9 KiB
SCSS
/*
|
|
* Application Header
|
|
*
|
|
*/
|
|
header {
|
|
&.navbar-gitlab {
|
|
.navbar-inner {
|
|
height: 40px;
|
|
padding: 3px;
|
|
background: #F1F1F1;
|
|
filter: none;
|
|
|
|
.nav > li > a {
|
|
color: $style_color;
|
|
text-shadow: 0 1px 0 #fff;
|
|
font-size: 16px;
|
|
padding: 10px;
|
|
}
|
|
|
|
/** NAV block with links and profile **/
|
|
.nav {
|
|
float: right;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
z-index: 10;
|
|
|
|
/**
|
|
*
|
|
* Logo holder
|
|
*
|
|
*/
|
|
.app_logo {
|
|
float: left;
|
|
margin-right: 9px;
|
|
position: relative;
|
|
top: -5px;
|
|
padding-top: 5px;
|
|
|
|
a {
|
|
float: left;
|
|
padding: 0px;
|
|
margin: 0 6px;
|
|
|
|
h1 {
|
|
background: url('logo-black.png') no-repeat center 1px;
|
|
background-size: 38px;
|
|
float: left;
|
|
height: 40px;
|
|
width: 40px;
|
|
@include header-font;
|
|
text-indent: -9999px;
|
|
}
|
|
}
|
|
&:hover {
|
|
background-color: #EEE;
|
|
}
|
|
}
|
|
|
|
/**
|
|
*
|
|
* Project / Area name
|
|
*
|
|
*/
|
|
.project_name {
|
|
position: relative;
|
|
float: left;
|
|
margin: 0;
|
|
margin-left: 10px;
|
|
@include header-font;
|
|
}
|
|
|
|
.profile-pic {
|
|
position: relative;
|
|
top: -4px;
|
|
img {
|
|
width: 26px;
|
|
@include border-radius(4px);
|
|
}
|
|
}
|
|
|
|
/**
|
|
*
|
|
* Search box
|
|
*
|
|
*/
|
|
.search {
|
|
margin-right: 10px;
|
|
margin-left: 10px;
|
|
|
|
.search-input {
|
|
@extend .span2;
|
|
background-image: url("icon-search.png");
|
|
background-repeat: no-repeat;
|
|
background-position: 10px;
|
|
padding-left: 25px;
|
|
font-size: 13px;
|
|
@include border-radius(3px);
|
|
border: 1px solid #c6c6c6;
|
|
box-shadow: none;
|
|
@include transition(all 0.15s ease-in 0s);
|
|
&:focus {
|
|
@extend .span3;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
* Dark header
|
|
*
|
|
*/
|
|
&.header-dark {
|
|
&.navbar-gitlab {
|
|
.navbar-inner {
|
|
background: #708090;
|
|
border-bottom: 1px solid #AAA;
|
|
|
|
.nav > li > a {
|
|
color: #fff;
|
|
text-shadow: 0 1px 0 #111;
|
|
}
|
|
}
|
|
}
|
|
|
|
.search {
|
|
.search-input {
|
|
background-color: #D2D5DA;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
border: 1px solid #AAA;
|
|
|
|
&:focus {
|
|
background-color: white;
|
|
}
|
|
}
|
|
}
|
|
.search-input::-webkit-input-placeholder {
|
|
color: #666;
|
|
}
|
|
.app_logo {
|
|
a {
|
|
h1 {
|
|
background: url('logo-white.png') no-repeat center 1px;
|
|
background-size: 38px;
|
|
color: #fff;
|
|
text-shadow: 0 1px 1px #111;
|
|
}
|
|
}
|
|
}
|
|
.project_name {
|
|
a {
|
|
color: #FFF;
|
|
}
|
|
color: #fff;
|
|
text-shadow: 0 1px 1px #111;
|
|
}
|
|
}
|
|
|
|
.app_logo {
|
|
.separator {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
.separator {
|
|
float: left;
|
|
height: 46px;
|
|
width: 1px;
|
|
background: white;
|
|
border-left: 1px solid #DDD;
|
|
margin-top: -3px;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
|