From b478594850bf4dd4250fcace0a2c809bdac2cb00 Mon Sep 17 00:00:00 2001 From: Thomas JUND Date: Thu, 21 Nov 2019 15:12:11 +0100 Subject: [PATCH] avray: update steps (#36765) --- static/avray/_custom.scss | 29 +++++++++++++++++++---------- static/avray/_vars.scss | 7 +++++++ 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/static/avray/_custom.scss b/static/avray/_custom.scss index 6e93775..8371ee4 100644 --- a/static/avray/_custom.scss +++ b/static/avray/_custom.scss @@ -510,20 +510,29 @@ div.large div#rub_service h3, div#rub_service h3 { border-bottom: 2px solid $title-color; } -div#steps ol { - & li.current { - background: $title-color; - color: $title-background; - } +//steps +.wcs-step--marker { + font-weight: bold; } -@if ($responsive-steps == horizontal) { - @media screen and (max-width: $mobile-limit) { - div#steps ol li.current span.marker { - background: $title-color; - color: $title-background; +@include desktop-vertical-steps() { + .wcs-step { + padding-left: 0; + &--label { + margin-left: 0; + } + &.current { + background-color: $primary-color; + } + &.current & { + &--label { + color: #fff; + font-weight: normal; + } } } } + + /* customization des liens dans les catégories de formulaires */ div#rub_service div.category ul, div#services > ul > li > ul, diff --git a/static/avray/_vars.scss b/static/avray/_vars.scss index daba4de..b4c7f40 100644 --- a/static/avray/_vars.scss +++ b/static/avray/_vars.scss @@ -51,3 +51,10 @@ $button-hover-color: $link-color; $table-headers-background: $title-color !default; $table-headers-color: $title-background !default; + +$wcs-steps-spacing: 0.7rem; +$wcs-step-background: #fff; +$wcs-step-current-border-bottom: none; +$wcs-step-marker-color: #bbb; +$wcs-step-current-marker-color: #fff; +$wcs-step-current-marker-background: $primary-color; \ No newline at end of file