From: Jérémy Fabre Date: Thu, 9 Feb 2017 14:43:47 +0000 (+0100) Subject: Fixed header X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1b15346bf37e287ffdcd44836c5eb3960e014577;p=mezzo.git Fixed header --- diff --git a/app/static/src/sass/layout/_global.scss b/app/static/src/sass/layout/_global.scss index 2eaa8d1b..e313b40e 100755 --- a/app/static/src/sass/layout/_global.scss +++ b/app/static/src/sass/layout/_global.scss @@ -30,6 +30,7 @@ } #container { + margin-top: 57px; @include mq($until: sm) { margin-top: $header-height-tablet; } diff --git a/app/static/src/sass/layout/_header.scss b/app/static/src/sass/layout/_header.scss index 3a451c6a..a5f066c8 100755 --- a/app/static/src/sass/layout/_header.scss +++ b/app/static/src/sass/layout/_header.scss @@ -26,14 +26,14 @@ $module: ".header"; position: relative; background: white; - box-shadow: 0 10px 50px rgba(79,227,194,0.5); + box-shadow: 0 10px 130px rgba(79,227,194,0.5); + position: fixed; + width: 100%; + top: 0; + left: 0; + z-index: 100; @include mq($until: sm) { - position: fixed; - width: 100%; - top: 0; - left: 0; - z-index: 100; height: $header-height-tablet; @include mq($until: xs) { height: $header-height-mobile;