From 081a48caf599bdf684156d9011b2a7e2e9e91c03 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Tue, 10 Oct 2017 17:01:16 +0200 Subject: [PATCH] montpellier: add styles for mandaye panel (#19354) --- Makefile | 1 + static/montpellier/mandaye.scss | 48 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 static/montpellier/mandaye.scss diff --git a/Makefile b/Makefile index febc3ad..7335dd6 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,7 @@ css: data_uris cd static/meyzieu/ && sass style.scss:style.css cd static/minint/sass && sass styles.scss:../css/styles.css cd static/montpellier/ && sass style.scss:style.css + cd static/montpellier/ && sass mandaye.scss:mandaye.css cd static/nancy/ && sass style.scss:style.css cd static/nancy-2017/ && sass style.scss:style.css cd static/nanterre/ && sass style.scss:style.css diff --git a/static/montpellier/mandaye.scss b/static/montpellier/mandaye.scss new file mode 100644 index 0000000..c97dc6f --- /dev/null +++ b/static/montpellier/mandaye.scss @@ -0,0 +1,48 @@ +@charset "UTF-8"; +$panel-mobile-limit: 767px; + +@import 'vars'; +@import '../includes/mandayejs-panel'; + +body { + margin-top: 36px !important; + position: relative !important; + @media screen and (max-width: $panel-mobile-limit) { + margin: 0 !important; + position: static !important; + } +} + +#mandaye-js { + font-family: 'Open Sans', 'Helvetica Neue', arial, sans-serif; + background: black; + position: fixed; + @media screen and (max-width: $panel-mobile-limit) { + position: absolute; + left: 0; + top: 0; + width: 10%; + background: #2C2C2C; + } + #mandaye-advances { + display: none; + } + #mandaye-logon-url { + @media screen and (max-width: $panel-mobile-limit) { + display: none; + } + a { + font-weight: bold; + } + } + #mandaye-association-url { + @media screen and (max-width: $panel-mobile-limit) { + display: none; + } + } + #mandaye-username { + @media screen and (max-width: $panel-mobile-limit) { + display: none; + } + } +} -- 2.15.0.rc0