Merge pull request #3627 from tdonohue/port_3328_to_7x

[Port dspace-7_x] Klaro Accessibility cookie settings
This commit is contained in:
Tim Donohue
2024-11-08 16:01:49 -06:00
committed by GitHub
2 changed files with 29 additions and 6 deletions

View File

@@ -137,4 +137,5 @@
--green1: #1FB300; // This variable represents the success color for the Klaro cookie banner
--button-text-color-cookie: #333; // This variable represents the text color for buttons in the Klaro cookie banner
--very-dark-cyan: #215E50; // This variable represents the background color of the save cookies button
}

View File

@@ -43,17 +43,39 @@ body {
.cm-btn.cm-btn-success {
color: var(--button-text-color-cookie);
background-color: var(--green1);
}
.cm-btn.cm-btn-success.cm-btn-accept-all {
color: var(--button-text-color-cookie);
background-color: var(--green1);
font-weight: 600;
}
}
}
.klaro .cookie-modal a, .klaro .context-notice a, .klaro .cookie-notice a
{
.klaro .cookie-modal .cm-btn.cm-btn-success.cm-btn-accept-all {
color: var(--button-text-color-cookie);
background-color: var(--green1);
font-weight: 600;
}
.klaro .cookie-modal a,
.klaro .context-notice a,
.klaro .cookie-notice a {
color: var(--green1);
text-decoration: underline !important;
}
.klaro .cookie-modal .cm-modal .cm-body span,
.klaro
.cookie-modal
.cm-modal
.cm-body
ul.cm-purposes
li.cm-purpose
span.cm-required,
p.purposes,
.klaro .cookie-modal .cm-modal .cm-footer .cm-powered-by a {
color: var(--bs-light) !important;
}
.klaro .cookie-modal .cm-btn.cm-btn-info {
background-color: var(--very-dark-cyan) !important;
}
.media-viewer