Merge pull request #3039 from VictorHugoDuranS/dspace-7_2668

Fix - Change color Contrast in cookie settings box
This commit is contained in:
Tim Donohue
2024-06-14 15:31:33 -05:00
committed by GitHub
2 changed files with 22 additions and 1 deletions

View File

@@ -134,4 +134,6 @@
--ds-warning-bg: #{$ds-warning-bg}; --ds-warning-bg: #{$ds-warning-bg};
--ds-danger-bg: #{$ds-danger-bg}; --ds-danger-bg: #{$ds-danger-bg};
--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
} }

View File

@@ -37,6 +37,25 @@ body {
z-index: 0; z-index: 0;
} }
.klaro
.cookie-notice {
.cn-buttons {
.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);
}
}
}
.klaro .cookie-modal a, .klaro .context-notice a, .klaro .cookie-notice a
{
color: var(--green1);
}
.media-viewer .media-viewer
.change-gallery .change-gallery
.ngx-gallery .ngx-gallery
@@ -446,4 +465,4 @@ ngb-accordion {
.my-cs { margin-top: var(--ds-content-spacing); margin-bottom: var(--ds-content-spacing); } .my-cs { margin-top: var(--ds-content-spacing); margin-bottom: var(--ds-content-spacing); }
.mt-ncs { margin-top: calc(var(--ds-content-spacing) * -1); } .mt-ncs { margin-top: calc(var(--ds-content-spacing) * -1); }
.mb-ncs { margin-bottom: calc(var(--ds-content-spacing) * -1); } .mb-ncs { margin-bottom: calc(var(--ds-content-spacing) * -1); }
.my-ncs { margin-top: calc(var(--ds-content-spacing) * -1); margin-bottom: calc(var(--ds-content-spacing) * -1); } .my-ncs { margin-top: calc(var(--ds-content-spacing) * -1); margin-bottom: calc(var(--ds-content-spacing) * -1); }