most styles

This commit is contained in:
captainill 2015-11-06 23:38:43 -08:00
parent 6c9f2df73c
commit d083c1c651
9 changed files with 19 additions and 22 deletions

BIN
website/source/assets/images/logo-header-gradient@2x.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
website/source/assets/images/wordtype@2x.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -14,15 +14,6 @@ body.page-sub{
color: $black;
}
}
.by{
&:hover{
svg{
line{
stroke: $black;
}
}
}
}
}
}
}
@ -30,14 +21,14 @@ body.page-sub{
#header {
.navbar-brand {
.logo{
font-size: 20px;
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 45%;
background: image-url('../images/consul-hero-logo.png') 0 0 no-repeat;
@include img-retina("../images/consul-hero-logo.png", "../images/consul-hero-logo@2x.png", $project-logo-width, $project-logo-height);
background-position: 0 center;
&:hover{
color: $purple;
opacity: .4;
}
}
@ -46,7 +37,7 @@ body.page-sub{
&:hover{
svg{
line{
stroke: $purple;
opacity: .4;
}
}
}
@ -84,7 +75,7 @@ body.page-sub{
.navbar-brand {
.logo{
padding-left: 37px;
font-size: 18px;
//font-size: 18px;
@include img-retina("../images/logo-header.png", "../images/logo-header@2x.png", $project-logo-width * .75, $project-logo-height * .75);
//background-position: 0 45%;
}
@ -97,7 +88,7 @@ body.page-sub{
#header {
.navbar-brand {
.logo{
font-size: 0 !important; //hide terraform text
}
}
}

View File

@ -18,8 +18,8 @@
@import "_global";
// Hashicorp Shared Project Styles
@import 'hashicorp-shared/_project-utility';
@import 'hashicorp-shared/_hashicorp-utility';
@import 'hashicorp-shared/_project-utility';
@import 'hashicorp-shared/_hashicorp-header';
@import 'hashicorp-shared/_hashicorp-sidebar';

View File

@ -4,8 +4,8 @@
// --------------------------------------------------
// Variables
$project-logo-width: 40px;
$project-logo-height: $project-logo-width;
$project-logo-width: 50px;
$project-logo-height: 50px;
$project-logo-pad-left: 8px;
// Mixins

View File

@ -31,7 +31,7 @@
<div class="col-xs-12">
<div class="navbar-header">
<div class="navbar-brand">
<a class="logo" href="/">Consul</a>
<a class="logo" href="/"><img src="<%= image_path('wordtype@2x.png') %>" width="96px" height="18px">Consul</a>
<a class="by" href="https://hashicorp.com/"><span class="svg-wrap">by</span><%= partial "layouts/svg/svg-by-hashicorp" %><%= partial "layouts/svg/svg-hashicorp-logo" %>Hashicorp</a>
</div>
<button class="navbar-toggle" type="button">

View File

@ -7,7 +7,7 @@
<div class="sidebar-header header-cover">
<!-- Sidebar brand image -->
<div class="sidebar-image">
<img src="<%= image_path('logo-header@2x.png') %>" width="50px" height="50px">
<img src="<%= image_path('logo-header-gradient@2x.png') %>" width="50px" height="50px">
</div>
</div>