From ce98bfa3939e4ded0e2cd01e9b59f0c290fd2f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 26 Jul 2018 14:03:28 +0200 Subject: [PATCH] adjustments --- static/includes/_form-steps.scss | 6 ++---- static/includes/_wcs.scss | 32 ++------------------------------ 2 files changed, 4 insertions(+), 34 deletions(-) diff --git a/static/includes/_form-steps.scss b/static/includes/_form-steps.scss index c667018..51bcef0 100644 --- a/static/includes/_form-steps.scss +++ b/static/includes/_form-steps.scss @@ -15,12 +15,10 @@ $_steps-border: 1px; @if $circle-steps { div#steps { - padding: 0 1em; - ol { // reduce empty space on the left (user agent stylesheet) padding-left: 0; - margin-left: -1em; + margin-left: 0; } li { @@ -51,7 +49,7 @@ $_steps-border: 1px; -ms-align-items: center; justify-content: center; -ms-justify-content: center; - margin: 0 1em; + margin: 0 1em 0 0; position: relative; color: $circle-steps-number-color; background: white; diff --git a/static/includes/_wcs.scss b/static/includes/_wcs.scss index 168aa73..8be17c6 100644 --- a/static/includes/_wcs.scss +++ b/static/includes/_wcs.scss @@ -1,9 +1,10 @@ @import 'grid'; -@import 'form-steps'; $responsive-steps: horizontal !default; $circle-steps: false !default; +@import 'form-steps'; + /* hide a bunch of elements */ div#droite, div#services > h3, @@ -35,35 +36,6 @@ div#gauche + div#rub_service { clear: none; } -@if $circle-steps { - // in order to let more space to the labels - div#gauche { - min-width: 18.5%; - max-width: 25%; - width: auto; - } - - div#gauche + div#rub_service { - min-width: 73%; - float: left; - width: auto; - } - - @media screen and (max-width: $mobile-limit) { - div#gauche { - min-width: inherit; - max-width: inherit; - float: none; - width: 100%; - } - - div#gauche + div#rub_service { - min-width: inherit; - float: none; - width: 100%; - } - } -} /* style homepage blocks */ div#services > ul { @include vendor-prefix('column-count', '2'); -- 2.18.0