/// Color of the cookie notice bar $consent-bar-background-color: rgba(20, 20, 20, 0.95); /// Color of the text inside cookie notice bar $consent-bar-text-color: #fff; $consent-bar-link-text-color: $main-color; $consent-bar-typography: (); $consent-bar-accept-all-button-background-color: $main-color-dark; $consent-bar-deny-all-button-background-color: #333; $consent-bar-configure-button-background-color: #333; $consent-bar-save-button-background-color: #333; $consent-bar-accept-all-button-text-color: #fff; $consent-bar-deny-all-button-text-color: #fff; $consent-bar-configure-button-text-color: #fff; $consent-bar-save-button-text-color: #fff; .consent_bar { position: absolute; bottom: 0; left: 0; right: 0; background-color: $consent-bar-background-color; color: $consent-bar-text-color; padding: 10px 20px; z-index: 2; @include standard-typography( $consent-bar-typography ); &-content { @extend %pageflow_widget_margin_right_max !optional; } &-text { margin-top: 10px; margin-bottom: 10px; display: inline-block; a { color: $consent-bar-link-text-color; } } &-accept_all, &-deny_all, &-configure, &-save { border: none; border-radius: 3px; margin: 10px 5px 5px; padding: 10px 15px; font: inherit; display: inline-block; cursor: pointer; @include phone { display: block; width: 100%; margin: 10px 0; } } &-accept_all { background-color: $consent-bar-accept-all-button-background-color; color: $consent-bar-accept-all-button-text-color; } &-deny_all { background-color: $consent-bar-deny-all-button-background-color; color: $consent-bar-deny-all-button-text-color; } &-configure { background-color: $consent-bar-configure-button-background-color; color: $consent-bar-configure-button-text-color; svg { fill: currentColor; margin-right: 8px; } } &-save { background-color: $consent-bar-save-button-background-color; color: $consent-bar-save-button-text-color; float: right; } &-vendor_box { @extend %pageflow_widget_margin_right_max !optional; display: none; h3 { margin: 0.5em 0; font-size: 1em; } a { color: $consent-bar-text-color; } } @include phone { .consent_bar-vendor_box { // scss-lint:disable ImportantRule // Ensure widget margin is not being applied in phone layout margin-right: 0 !important; // scss-lint:enable ImportantRule } } @include desktop { &-vendor_box { position: absolute; bottom: 100%; right: 0; margin-bottom: 5px; max-width: 400px; width: 90%; box-sizing: border-box; padding: 10px 20px; background-color: $consent-bar-background-color; color: $consent-bar-text-color; } &-save { float: right; } &-buttons { float: right; text-align: right; } &-decision_buttons { display: inline-block; white-space: nowrap; } } &-expanded { .consent_bar-vendor_box { display: block; } .consent_bar-configure { display: none; } } }