mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
DSpace#2668 - Adding and changing classes in global scss to make cookie settings more accessible
This commit is contained in:
@@ -149,4 +149,5 @@
|
|||||||
|
|
||||||
--green1: #1FB300; // This variable represents the success color for the Klaro cookie banner
|
--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
|
--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
|
||||||
}
|
}
|
||||||
|
@@ -43,17 +43,39 @@ body {
|
|||||||
.cm-btn.cm-btn-success {
|
.cm-btn.cm-btn-success {
|
||||||
color: var(--button-text-color-cookie);
|
color: var(--button-text-color-cookie);
|
||||||
background-color: var(--green1);
|
background-color: var(--green1);
|
||||||
}
|
font-weight: 600;
|
||||||
.cm-btn.cm-btn-success.cm-btn-accept-all {
|
|
||||||
color: var(--button-text-color-cookie);
|
|
||||||
background-color: var(--green1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.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);
|
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
|
.media-viewer
|
||||||
|
Reference in New Issue
Block a user