From e3b6bc02ebcb88225d62553c5ca3c435f3f28a56 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Wed, 15 Apr 2015 19:23:41 +0200 Subject: [PATCH] footer menu mobile --- sites/all/themes/gui/jee/css/jee.css | 39 +++++++++++++++++---------- sites/all/themes/gui/jee/css/jee.scss | 9 +++++-- 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/sites/all/themes/gui/jee/css/jee.css b/sites/all/themes/gui/jee/css/jee.css index 9e0651d..83a7dc5 100644 --- a/sites/all/themes/gui/jee/css/jee.css +++ b/sites/all/themes/gui/jee/css/jee.css @@ -5291,7 +5291,7 @@ body.chapter-displayed #footer { @media only screen and (max-width: 40em) { /* line 1078, jee.scss */ #footer .block-menu ul li { - margin: 0 0.5em 0.5em 0; + margin: 0 0.1em 0.5em 0; } } @media only screen and (min-width: 40.063em) { @@ -5305,13 +5305,24 @@ body.chapter-displayed #footer { font-family: "epflulb"; color: #000; text-transform: uppercase; - font-size: 0.6em; } -/* line 1098, jee.scss */ +@media only screen and (max-width: 40em) { + /* line 1088, jee.scss */ + #footer .block-menu ul li a { + font-size: 0.4em; + } +} +@media only screen and (min-width: 40.063em) { + /* line 1088, jee.scss */ + #footer .block-menu ul li a { + font-size: 0.6em; + } +} +/* line 1103, jee.scss */ #footer p { margin: 0; } -/* line 1102, jee.scss */ +/* line 1107, jee.scss */ #footer #block-block-1 { display: none; } @@ -5323,7 +5334,7 @@ body.chapter-displayed #footer { / / / // / ___/ / /___ /_/ /_/___//____/\____/ */ -/* line 1111, jee.scss */ +/* line 1116, jee.scss */ #loader { position: absolute; top: 50%; @@ -5340,13 +5351,13 @@ body.chapter-displayed #footer { -webkit-transition-property: opacity; transition-property: opacity; } -/* line 1122, jee.scss */ +/* line 1127, jee.scss */ body.loading #loader { z-index: 1000; opacity: 1; } -/* line 1128, jee.scss */ +/* line 1133, jee.scss */ #fullscreen-btn { position: fixed; right: 20px; @@ -5360,13 +5371,13 @@ body.loading #loader { background: transparent url("../assets/img/fullscreen-on.png") no-repeat center center; background: none, url("../assets/img/fullscreen-on.svg") no-repeat center center; } -/* line 1137, jee.scss */ +/* line 1142, jee.scss */ .fullscreen #fullscreen-btn { background: transparent url("../assets/img/fullscreen-off.png") no-repeat center center; background: none, url("../assets/img/fullscreen-off.svg") no-repeat center center; } -/* line 1150, jee.scss */ +/* line 1155, jee.scss */ .bubble-1 { position: absolute; z-index: 0; @@ -5379,7 +5390,7 @@ body.loading #loader { left: -200px; } -/* line 1154, jee.scss */ +/* line 1159, jee.scss */ .bubble-2 { position: absolute; z-index: 0; @@ -5392,7 +5403,7 @@ body.loading #loader { right: -400px; } -/* line 1159, jee.scss */ +/* line 1164, jee.scss */ .star { position: absolute; z-index: 0; @@ -5405,7 +5416,7 @@ body.loading #loader { } /*Remove Mozilla Firefox Border – Remove Dotted Line Around Link */ -/* line 1169, jee.scss */ +/* line 1174, jee.scss */ * { outline: 0 !important; } @@ -5416,7 +5427,7 @@ body.loading #loader { / /_/ / /___/ /_/ / /_/ / /_/ / /_____/_____/_____/\____/\____/ */ -/* line 1178, jee.scss */ +/* line 1183, jee.scss */ #fps { position: fixed; bottom: 40px; @@ -5424,7 +5435,7 @@ body.loading #loader { z-index: 1000; } -/* line 1184, jee.scss */ +/* line 1189, jee.scss */ #nav-cursor { position: absolute; width: 6px; diff --git a/sites/all/themes/gui/jee/css/jee.scss b/sites/all/themes/gui/jee/css/jee.scss index 97240ce..ebb672a 100755 --- a/sites/all/themes/gui/jee/css/jee.scss +++ b/sites/all/themes/gui/jee/css/jee.scss @@ -1077,7 +1077,7 @@ div.messages{ margin:0; padding:0; li{ @media #{$small-only} { - margin:0 0.5em 0.5em 0; + margin:0 0.1em 0.5em 0; } @media #{$medium-up} { margin:0 1em 0 0; @@ -1089,7 +1089,12 @@ div.messages{ font-family: "epflulb"; color:#000; text-transform: uppercase; - font-size:0.6em; + @media #{$small-only} { + font-size:0.4em; + } + @media #{$medium-up} { + font-size:0.6em; + } } } }