From 1549902f5af67ebcbe2b489e1fe12f389d80a5aa Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Tue, 17 Oct 2023 14:18:52 +0200 Subject: [PATCH] nancy-en-direct: theme update (#82787) --- static/nancy-en-direct/_custom.scss | 63 +++++++++++++---------------- static/nancy-en-direct/_vars.scss | 24 ++++++++--- static/nancy-en-direct/img/logo.svg | 32 +++++---------- static/nancy-en-direct/style.scss | 2 +- 4 files changed, 56 insertions(+), 65 deletions(-) diff --git a/static/nancy-en-direct/_custom.scss b/static/nancy-en-direct/_custom.scss index ae4458eb..84c9a93b 100644 --- a/static/nancy-en-direct/_custom.scss +++ b/static/nancy-en-direct/_custom.scss @@ -1,7 +1,3 @@ -#header-wrapper, #footer-wrapper { - background-color: #333333; -} - #logo { a { height: 100px; @@ -18,20 +14,14 @@ } div#toplinks { - background: $primary-color; - height: 100%; - border: 0; - border-radius: 0; - padding: 0 1em; - box-shadow: none; - display: flex; - align-items: center; - color: #ffffff; - @media screen and ($max-mobile-viewport) { - display: none; + @media ($max-mobile-viewport) { + box-shadow: none; + border: 0; + padding: 0; + font-size: 90%; } a { - color: #ffffff; + color: $primary-color; } } @@ -134,22 +124,6 @@ div.cell.wcsformsofcategorycell { } } -div#nav-wrapper { - @media screen and ($min-desktop-viewport) { - background: #efefef; - } - div.gru-nav { - @media screen and ($min-desktop-viewport) { - background: transparent; - } - } - ul { - @media screen and ($min-desktop-viewport) { - margin-top: 0; - } - } -} - div#pwa-navigation { a { background-size: auto $nav-mobile-bottom-bar-height - 35px; @@ -196,10 +170,6 @@ div.cell.trackingcodeinputcell { } } -#footer a { - color: #ffffff; -} - div#content .cell div.wcs-tracking-code-input h2, div#tracking-code h3, .wcs-steps h2 { @@ -348,3 +318,24 @@ button.cancel-button, div.cancel-button button { div.buttons div.submit-button { float: right; } + +div.gru-nav { + .gru-nav-button { + margin-left: 0; + } + @media ($min-desktop-viewport) { + li.menu--item { + margin: 0 1.5rem; + } + .menu--link { + border-radius: 0; + padding-bottom: calc(0.75em - 10px); + border-bottom: 10px solid $secondary-color; + } + } + @media ($max-mobile-viewport) { + > ul > li a { + font-weight: normal; + } + } +} diff --git a/static/nancy-en-direct/_vars.scss b/static/nancy-en-direct/_vars.scss index 7453c52e..4aa40f63 100644 --- a/static/nancy-en-direct/_vars.scss +++ b/static/nancy-en-direct/_vars.scss @@ -1,21 +1,31 @@ $border-radius: 3px; $primary-color: #f15252; +$secondary-color: #FEBBB8; $width: 960px; -$font-family: Poppins, sans-serif; +$font-family: 'Open Sans', sans-serif; $cell-border: 0; +$nav-menu-color: #2B2E34; + $nav-mobile-bottom-bar-background: #333333; $nav-mobile-bottom-bar-item-hover-background: #000000; $nav-mobile-bottom-bar-color: #ffffff; $nav-button-background: $nav-mobile-bottom-bar-background; $nav-border-color: $nav-mobile-bottom-bar-background; $nav-submenu-color: #333333; -$nav-submenu-background: #efefef; -$button-background: #6b2327; +$nav-submenu-background: #EFECEC; +$nav-item-selected-background: $secondary-color; +$nav-button-background: #FE6357; +$nav-button-color: white; +$nav-border-color: white; +$nav-mobile-menu-background: white; +$nav-border-radius: 0; +$button-background: $secondary-color; + $link-color: #333333; -$title-color: $primary-color; +$title-color: black; $title-font-size: 135%; -$nav-item-selected-background: $primary-color; +$title-weight: 800; $form-style: light; $form-sidebar-position: right; $form-sidebar-width: 180px; @@ -34,3 +44,7 @@ $wcs-step-current-marker-color: black; $wcs-step-current-marker-background: $primary-color; $carrousel-text-position: top right; + +$footer-background: #242424; +$footer-color: white; +$footer-link-color: white; diff --git a/static/nancy-en-direct/img/logo.svg b/static/nancy-en-direct/img/logo.svg index a2f8c4cb..89d8028b 100644 --- a/static/nancy-en-direct/img/logo.svg +++ b/static/nancy-en-direct/img/logo.svg @@ -1,29 +1,15 @@ - + + - Nancy en direct - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + diff --git a/static/nancy-en-direct/style.scss b/static/nancy-en-direct/style.scss index cddc594e..8beee2e2 100644 --- a/static/nancy-en-direct/style.scss +++ b/static/nancy-en-direct/style.scss @@ -1,6 +1,6 @@ @charset "UTF-8"; @import 'vars'; -@import '../includes/fonts/poppins'; +@import '../includes/fonts/opensans'; @import '../includes/publik'; @import 'custom';