open-vault/website/source/assets/stylesheets/_header.scss

57 lines
1.1 KiB
SCSS
Raw Normal View History

2015-03-13 17:34:29 +00:00
//
// Header
2015-11-10 04:58:06 +00:00
// - Project Specific
// - edits should be made here
2015-03-13 17:34:29 +00:00
// --------------------------------------------------
#header {
flex-shrink:0;
2015-11-10 04:58:06 +00:00
.navbar-brand {
.logo{
width: $project-logo-width;
padding-left: 50px;
font-size: 0;
text-transform: uppercase;
background: image-url('../images/logo-header.png') 0 0 no-repeat;
@include img-retina("../images/logo-header.png", "../images/logo-header@2x.png", $project-logo-width, $project-logo-height);
background-position: 0 46%;
2015-03-13 17:34:29 +00:00
}
2015-11-10 04:58:06 +00:00
}
2015-03-13 17:34:29 +00:00
2015-11-10 04:58:06 +00:00
.by-hashicorp{
@include project-by-hashicorp-style();
}
2015-03-13 17:34:29 +00:00
2015-11-10 04:58:06 +00:00
.buttons{
margin-top: 2px; //baseline everything
}
}
2015-03-13 17:34:29 +00:00
2015-11-10 04:58:06 +00:00
@media (max-width: 414px) {
#header {
2015-03-13 17:34:29 +00:00
.navbar-brand {
2015-11-10 04:58:06 +00:00
.logo{
width: $project-logo-width * .8;
@include img-retina("../images/logo-header.png", "../images/logo-header@2x.png", $project-logo-width * .8, $project-logo-height * .8);
2015-03-13 17:34:29 +00:00
2015-11-10 04:58:06 +00:00
img{
//width: 72px;
//height: 14px;
2015-03-13 17:34:29 +00:00
}
2015-11-10 04:58:06 +00:00
}
2015-03-13 17:34:29 +00:00
}
2015-11-10 04:58:06 +00:00
}
2015-03-13 17:34:29 +00:00
}
@media (max-width: 320px) {
2015-11-10 04:58:06 +00:00
#header {
.navbar-brand {
.logo{
2015-03-13 17:34:29 +00:00
2015-11-10 04:58:06 +00:00
}
}
}
2015-03-13 17:34:29 +00:00
}