mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
Moved cookies policy modal and cookies banner colors to darkswarm/base/colors.scss
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
@import '../branding';
|
||||
|
||||
$modal-background-color: #efefef;
|
||||
$modal-content-background-color: #fff;
|
||||
$modal-alert-link-color: #fff;
|
||||
$modal-alert-link-hover-color: rgba(255, 255, 255, .7);
|
||||
|
||||
$cookies-banner-background-color: $dark-grey;
|
||||
$cookies-banner-button-background-color: $clr-turquoise;
|
||||
$cookies-banner-text-color: $white;
|
||||
$cookies-policy-modal-background-color: $disabled-light;
|
||||
$cookies-policy-modal-border-bottom-color: $disabled-light;
|
||||
$cookies-policy-modal-table-tr-even-background-color: $disabled-very-light;
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
@import 'darkswarm/branding';
|
||||
|
||||
.cookies-banner {
|
||||
background: $dark-grey;
|
||||
background: $cookies-banner-background-color;
|
||||
bottom: 0;
|
||||
position: fixed;
|
||||
top: 15% !important;
|
||||
z-index: 100000;
|
||||
|
||||
button {
|
||||
background-color: $clr-turquoise;
|
||||
background-color: $cookies-banner-button-background-color;
|
||||
}
|
||||
|
||||
p {
|
||||
color: $white;
|
||||
color: $cookies-banner-text-color;
|
||||
font-size: .75rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
@import 'darkswarm/branding';
|
||||
|
||||
.cookies-policy-modal {
|
||||
background: $disabled-light;
|
||||
border-bottom-color: $disabled-light;
|
||||
background: $cookies-policy-modal-background-color;
|
||||
border-bottom-color: $cookies-policy-modal-border-bottom-color;
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
|
||||
tr:nth-of-type(even) {
|
||||
background-color: $disabled-very-light;
|
||||
background-color: $cookies-policy-modal-table-tr-even-background-color;
|
||||
}
|
||||
|
||||
p {
|
||||
|
||||
Reference in New Issue
Block a user