diff --git a/app/assets/stylesheets/component_guide/application.scss b/app/assets/stylesheets/component_guide/application.scss index d007196a0d..ed9a86273a 100644 --- a/app/assets/stylesheets/component_guide/application.scss +++ b/app/assets/stylesheets/component_guide/application.scss @@ -139,7 +139,7 @@ $gem-guide-border-width: 1px; @include govuk-media-query($media-type: print) { &[class*="-background"] { - background-color: unset; + background: none; } } } diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss b/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss index 9f33c2cc73..05fb0f2ccc 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss @@ -443,7 +443,7 @@ $govuk-header-link-underline-thickness: 3px; } .gem-c-one-login-header { - background-color: initial; + background: none; border-bottom: 2pt solid $govuk-print-text-colour; * { @@ -456,6 +456,7 @@ $govuk-header-link-underline-thickness: 3px; } .gem-c-service-header { + background: none; .govuk-width-container { margin: 0; } diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss b/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss index 776f15cb43..fbe271e7d2 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss @@ -26,7 +26,7 @@ @include govuk-media-query($media-type: print) { .gem-c-intervention { break-inside: avoid; - background-color: transparent; + background: none; border-color: $govuk-print-text-colour; .govuk-body { diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss b/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss index 8d9cd10a91..9931ceb037 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss @@ -30,7 +30,7 @@ @include govuk-media-query($media-type: print) { .gem-c-inverse-header { - background-color: unset; + background: none; border-bottom: 2pt solid $govuk-print-text-colour; &, diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss b/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss index c6442732b0..f635d4d63c 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss @@ -183,7 +183,7 @@ .gem-c-header__product-name, .gem-c-environment-tag { color: $govuk-print-text-colour; - background-color: unset; + background: none; } } } diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss b/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss index dd3bc35a90..fc0fd621bd 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss @@ -989,7 +989,7 @@ $after-button-padding-left: govuk-spacing(4); border-top: 0; border-bottom: 2pt solid $govuk-print-text-colour; margin: 0 0 5mm; - background-color: transparent; + background: none; &:has(.gem-c-layout-super-navigation-header__header-logo .govuk-visually-hidden) { border: 0; diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss b/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss index 6d94bbfa62..1f2e77af48 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss @@ -100,7 +100,7 @@ .gem-c-metadata { break-inside: avoid; color: $govuk-print-text-colour !important; - background-color: unset; + background: none; margin-bottom: 5mm; a, diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss b/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss index 07ee18c301..e4cbdc64dc 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss @@ -32,7 +32,7 @@ .gem-c-phase-banner { &, & * { - background-color: unset !important; + background: none !important; color: $govuk-print-text-colour !important; } diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss b/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss index a5a257775b..ef25c21482 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss @@ -22,7 +22,7 @@ @include govuk-media-query($media-type: print) { .gem-c-step-nav-header { padding: 0 0 govuk-spacing(4) 0; - background: unset; + background: none; border-color: $govuk-print-text-colour; } diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss b/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss index b02fa88c41..80b381c020 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss @@ -48,7 +48,7 @@ // stylelint-disable declaration-no-important @include govuk-media-query($media-type: print) { .gem-c-step-nav-related { - background: unset; + background: none; border-color: $govuk-print-text-colour; } diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss b/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss index 52fdff11e1..9c63b1abfa 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss @@ -9,7 +9,7 @@ @include govuk-media-query($media-type: print) { .gem-c-success-alert { break-inside: avoid; - background-color: initial; + background: none; border-color: $govuk-print-text-colour; * { diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_table.scss b/app/assets/stylesheets/govuk_publishing_components/components/_table.scss index 0b82d67347..ccb04d4ef7 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_table.scss @@ -133,7 +133,7 @@ $table-row-even-background-colour: govuk-colour("light-grey"); * { color: $govuk-print-text-colour !important; - background-color: initial !important; + background: none !important; } .govuk-table__header, diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss b/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss index 68a4ca2a85..f706f824c9 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss @@ -28,7 +28,7 @@ } .govuk-warning-text__icon { - background-color: transparent; + background: none; color: $govuk-print-text-colour; } } diff --git a/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss b/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss index aaead0fa02..86975cc088 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss @@ -32,7 +32,7 @@ &, & * { - background-color: unset; + background: none; color: $govuk-print-text-colour !important; // stylelint-disable-line declaration-no-important } diff --git a/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss b/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss index 5b4e6bdf58..2bff3420d5 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss @@ -44,15 +44,13 @@ $highlight-answer-color: govuk-colour("white"); } } - // stylelint-disable declaration-no-important @include govuk-media-query($media-type: print) { - background-color: unset; + background: none; &, & * { - color: $govuk-print-text-colour !important; + color: $govuk-print-text-colour !important; // stylelint-disable-line declaration-no-important } } - // stylelint-enable declaration-no-important } }