Merge pull request #260 from sgmap/border_on_header_and_footer

Css: add border on header and footer
This commit is contained in:
LeSim 2017-05-09 12:43:34 +02:00 committed by GitHub
commit 30d3702a69
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") }