From 7daba62f430f57cb15d8a81c4184e9daa00b84da Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Wed, 25 Mar 2020 13:01:24 +0100 Subject: [PATCH] Update colours for different order cycle sidebar cases --- .../darkswarm/_shop-navigation.css.scss | 50 +++++++++++-------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/_shop-navigation.css.scss b/app/assets/stylesheets/darkswarm/_shop-navigation.css.scss index 36a8d6b6d9..2aff5bcac2 100644 --- a/app/assets/stylesheets/darkswarm/_shop-navigation.css.scss +++ b/app/assets/stylesheets/darkswarm/_shop-navigation.css.scss @@ -2,32 +2,13 @@ ordercycle { float: right; - background: $teal-400; - color: $white; + background: $grey-050; + color: $grey-800; width: 100%; border-radius: 0.5em 0.5em 0 0; margin-top: 1em; padding: 1em 1em 0; - &.requires-selection { - background-color: $red-700; - - .order-cycle-select { - border: 1px solid $red-500; - - .select-label { - background-color: rgba($red-500, 0.5); - } - - select { - background-color: $white; - background-image: url('/assets/black-caret.svg'); - color: $grey-500; - font-style: italic; - } - } - } - p { max-width: 400px; } @@ -119,7 +100,7 @@ ordercycle { closing { @include headingFont; - color: $white; + color: $grey-800; font-size: 1.25rem; display: block; padding: 0 0 12px; @@ -151,4 +132,29 @@ shop navigation ordercycle { height: 7.6em; position: absolute; right: 1em; + background: $teal-400; + color: $white; + + &.requires-selection { + background-color: $red-700; + + .order-cycle-select { + border: 1px solid $red-500; + + .select-label { + background-color: rgba($red-500, 0.5); + } + + select { + background-color: $white; + background-image: url('/assets/black-caret.svg'); + color: $grey-500; + font-style: italic; + } + } + } + + closing { + color: $white; + } }