From 4a1708cb1b1c725673d6da59176f139b9fea721d Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Mon, 10 Oct 2022 11:19:12 +0100 Subject: [PATCH] css fix for notice banner --- styles/sass/welshgov/_application.scss | 58 +++++++++++++++----------- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/styles/sass/welshgov/_application.scss b/styles/sass/welshgov/_application.scss index f3c52fdd..d00a11df 100644 --- a/styles/sass/welshgov/_application.scss +++ b/styles/sass/welshgov/_application.scss @@ -80,9 +80,9 @@ body { .cookies-banner__link, .cookies-banner__button { display: block; - color: #0360a6; + color: $blue; background-color: inherit; - border: 2px solid #0360a6; + border: 2px solid $blue; padding: 7px 14px; margin-top: 10px; font-size: 14px; @@ -94,7 +94,7 @@ body { text-align: center; &:hover { - background-color: #0360a6; + background-color: $blue; color: #eeeeee; } } @@ -190,7 +190,7 @@ a.longLinkBreak { .govuk-breadcrumbs__link:link, .govuk-breadcrumbs__link:visited { - color: #0360a6; + color: $blue; font-weight: bold; text-decoration: none; font-size: 16px; @@ -1086,14 +1086,14 @@ textarea, background: none; padding-left: 0; - color: #0360a6; + color: $blue; &.sortDesc:after { width: 0; height: 0; border-style: solid; border-width: 12px 5px 0 5px; - border-color: #0360a6 transparent transparent transparent; + border-color: $blue transparent transparent transparent; content: ""; top: 16px; position: relative; @@ -1105,7 +1105,7 @@ textarea, height: 0; border-style: solid; border-width: 0 5px 12px 5px; - border-color: transparent transparent #0360a6 transparent; + border-color: transparent transparent $blue transparent; content: ""; top: -16px; position: relative; @@ -1302,7 +1302,7 @@ ul#sharePageLinks.active { padding-top: 2px; padding-left: 25px; height: 24px; - color: #0360a6; + color: $blue; } .block-share ul li a { @@ -1315,7 +1315,7 @@ ul#sharePageLinks.active { padding-left: 25px; height: 24px; background-color: inherit; - color: #0360a6; + color: $blue; font-weight: bold; text-decoration: none; } @@ -2256,39 +2256,46 @@ fade { display: flex; justify-content: space-between; font-size: 18px; - padding: 25px 30px; + padding: 20px 20px 30px 5px; margin-top: 20px; - - .govuk-warning-text__icon { @media screen and (min-width: 768px) { margin-top: 0px; } - - border-color: $blue; - background-color: $blue; - min-width: 25px; - min-height: 25px; - font-size: 20px; - line-height: 20px; - left: 20px; } .govuk-warning-text__text { - padding-left: 35px; + padding-left: 20px; padding-right: 10px; color: $black; font-weight: normal; font-size: 18px; + &:before { + background-image: url(/assets/images/information.svg); + content: " "; + position: relative; + border: 0px solid red; + background-color: transparent; + background-repeat: no-repeat; + background-position: 0, 0; + height: 100%; + width: 30px; + display: block; + float: left; + left: -14px; + + } } .hideNotice span { font-size: 14px; - color: $black; + color: $blue; font-weight: bold; cursor: pointer; + text-decoration: none; + margin-right: 18px; a { text-decoration: underline; @@ -2298,14 +2305,15 @@ fade { } &:hover { - color: $charcoal + color: $lightblue; } &:after { content: "\00d7"; - font-size: 20px; + font-size: 28px; position: relative; - top: 3px; + top: 6px; + left: 6px } }