Skip to content

Commit 876ecb1

Browse files
Fix - Change color Contrast in cookie settings box
1 parent c44fce9 commit 876ecb1

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

src/styles/_custom_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,6 @@
134134
--ds-warning-bg: #{$ds-warning-bg};
135135
--ds-danger-bg: #{$ds-danger-bg};
136136

137+
--green1: #1FB300; // This variable represents the success color for the Klaro cookie banner
138+
--button-text-color-cookie: #333; // This variable represents the text color for buttons in the Klaro cookie banner
137139
}

src/styles/_global-styles.scss

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,25 @@ body {
3737
z-index: 0;
3838
}
3939

40+
.klaro
41+
.cookie-notice {
42+
.cn-buttons {
43+
.cm-btn.cm-btn-success {
44+
color: var(--button-text-color-cookie);
45+
background-color: var(--green1);
46+
}
47+
.cm-btn.cm-btn-success.cm-btn-accept-all {
48+
color: var(--button-text-color-cookie);
49+
background-color: var(--green1);
50+
}
51+
}
52+
}
53+
54+
.klaro .cookie-modal a, .klaro .context-notice a, .klaro .cookie-notice a
55+
{
56+
color: var(--green1);
57+
}
58+
4059
.media-viewer
4160
.change-gallery
4261
.ngx-gallery
@@ -446,4 +465,4 @@ ngb-accordion {
446465
.my-cs { margin-top: var(--ds-content-spacing); margin-bottom: var(--ds-content-spacing); }
447466
.mt-ncs { margin-top: calc(var(--ds-content-spacing) * -1); }
448467
.mb-ncs { margin-bottom: calc(var(--ds-content-spacing) * -1); }
449-
.my-ncs { margin-top: calc(var(--ds-content-spacing) * -1); margin-bottom: calc(var(--ds-content-spacing) * -1); }
468+
.my-ncs { margin-top: calc(var(--ds-content-spacing) * -1); margin-bottom: calc(var(--ds-content-spacing) * -1); }

0 commit comments

Comments
 (0)