2014-02-08 00:41:03 +00:00
|
|
|
//
|
|
|
|
// Header
|
2015-11-07 07:17:00 +00:00
|
|
|
// - Project Specific
|
|
|
|
// - edits should be made here
|
2014-02-08 00:41:03 +00:00
|
|
|
// --------------------------------------------------
|
|
|
|
|
2014-04-08 21:01:49 +00:00
|
|
|
body.page-sub{
|
2015-11-07 07:17:00 +00:00
|
|
|
#header{
|
2015-11-09 21:48:29 +00:00
|
|
|
@include consul-gradient-bg();
|
2014-02-08 00:41:03 +00:00
|
|
|
|
2015-11-07 07:17:00 +00:00
|
|
|
.navbar-brand {
|
|
|
|
.logo{
|
|
|
|
&:hover{
|
|
|
|
color: $black;
|
2014-04-05 09:03:01 +00:00
|
|
|
}
|
2015-11-07 07:17:00 +00:00
|
|
|
}
|
2014-02-08 00:41:03 +00:00
|
|
|
}
|
2015-11-07 07:17:00 +00:00
|
|
|
}
|
2014-02-08 00:41:03 +00:00
|
|
|
}
|
|
|
|
|
2015-11-07 07:17:00 +00:00
|
|
|
#header {
|
2016-03-03 20:23:30 +00:00
|
|
|
// when _announcment-bnr.erb (ie. Consul Enterprise Announcment) is being used in layout we need to push down content to accomodate
|
|
|
|
// add this class
|
|
|
|
&.-displaying-bnr{
|
|
|
|
> .container{
|
|
|
|
-webkit-transform: translateY(32px);
|
|
|
|
-ms-transform: translateY(32px);
|
|
|
|
transform: translateY(32px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-07 07:17:00 +00:00
|
|
|
.navbar-brand {
|
|
|
|
.logo{
|
2016-01-12 19:58:30 +00:00
|
|
|
width: $project-logo-width;
|
|
|
|
padding: 0;
|
|
|
|
line-height: $header-height;
|
|
|
|
background-position: 0 center;
|
2015-11-07 07:38:43 +00:00
|
|
|
font-size: 0;
|
2015-11-07 07:17:00 +00:00
|
|
|
text-transform: uppercase;
|
2016-01-12 19:58:30 +00:00
|
|
|
@include img-retina("../images/consul-header-lockup.png", "../images/consul-header-lockup@2x.png", $project-logo-width, $project-logo-height);
|
2015-11-07 07:38:43 +00:00
|
|
|
background-position: 0 center;
|
2015-11-07 07:17:00 +00:00
|
|
|
|
|
|
|
&:hover{
|
2015-11-07 07:38:43 +00:00
|
|
|
opacity: .4;
|
2015-11-07 07:17:00 +00:00
|
|
|
}
|
2014-04-05 09:03:01 +00:00
|
|
|
}
|
|
|
|
|
2015-11-09 23:34:32 +00:00
|
|
|
.by-hashicorp{
|
2015-11-07 07:17:00 +00:00
|
|
|
&:hover{
|
|
|
|
svg{
|
2015-12-20 06:05:17 +00:00
|
|
|
.svg-bg-line{
|
2015-11-07 07:38:43 +00:00
|
|
|
opacity: .4;
|
2015-11-07 07:17:00 +00:00
|
|
|
}
|
2014-04-14 18:02:06 +00:00
|
|
|
}
|
2015-11-07 07:17:00 +00:00
|
|
|
}
|
2014-04-14 18:02:06 +00:00
|
|
|
}
|
2015-11-07 07:17:00 +00:00
|
|
|
}
|
2014-04-05 09:03:01 +00:00
|
|
|
|
2015-11-07 07:17:00 +00:00
|
|
|
.buttons{
|
|
|
|
margin-top: 2px; //baseline everything
|
|
|
|
}
|
|
|
|
}
|
2014-04-09 02:51:34 +00:00
|
|
|
|
2015-11-07 07:17:00 +00:00
|
|
|
@media (max-width: 414px) {
|
|
|
|
#header {
|
|
|
|
.navbar-brand {
|
|
|
|
.logo{
|
2016-01-12 19:58:30 +00:00
|
|
|
width: $project-logo-width * .75;
|
|
|
|
@include img-retina("../images/consul-header-lockup.png", "../images/consul-header-lockup@2x.png", $project-logo-width * .75, $project-logo-height * .75);
|
2015-11-07 07:17:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-05 09:03:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-11-07 07:17:00 +00:00
|
|
|
@media (max-width: 320px) {
|
|
|
|
#header {
|
|
|
|
.navbar-brand {
|
|
|
|
.logo{
|
2015-11-09 07:16:24 +00:00
|
|
|
|
2015-11-07 07:17:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-02-08 00:41:03 +00:00
|
|
|
}
|