Css: add border on header and footer

Remove headers border on homepage
This commit is contained in:
Simon Lehericey 2017-05-05 12:29:19 +02:00
parent d447148fca
commit 5d915ada88
4 changed files with 7 additions and 1 deletions

View file

@ -3,6 +3,7 @@ $light-blue: rgba(61, 149, 236, 0.8);
$black: #333333;
$grey: #999999;
$light-grey: #F8F8F8;
$border-grey: #CCCCCC;
$dark-red: #A94442;
$light-red: #EBCCD1;
$lighter-red: #F2DEDE;

View file

@ -6,6 +6,7 @@
.footer {
@include vertical-padding(72px);
background-color: $light-grey;
border-top: 1px solid $border-grey;
}
.footer-inner-content {

View file

@ -8,6 +8,10 @@
background-color: #FFFFFF;
}
.new-header-with-border {
border-bottom: 1px solid $border-grey;
}
.header-inner-content {
width: $page-width;
margin: 0 auto;

View file

@ -1,4 +1,4 @@
.new-header
.new-header{ class: current_page?(root_path) ? nil : 'new-header-with-border' }
.header-inner-content
%img.header-logo.pull-left{ src: image_url("header/logo-tps.svg") }