Skip to content

Commit 65a4099

Browse files
authored
Merge pull request #3328 from Andrea-Guevara/AccessibilityCookieSettings
[8.x] Accessibility cookie settings
2 parents 9add368 + 74c52bc commit 65a4099

File tree

2 files changed

+30
-7
lines changed

2 files changed

+30
-7
lines changed

src/styles/_custom_variables.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@
147147
--ds-process-overview-table-user-column-width: 200px;
148148
--ds-process-overview-table-info-column-width: 250px;
149149
--ds-process-overview-table-actions-column-width: 80px;
150-
150+
151151
--green1: #1FB300; // This variable represents the success color for the Klaro cookie banner
152152
--button-text-color-cookie: #333; // This variable represents the text color for buttons in the Klaro cookie banner
153+
--very-dark-cyan: #215E50; // This variable represents the background color of the save cookies button
153154
}

src/styles/_global-styles.scss

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,39 @@ body {
4343
.cm-btn.cm-btn-success {
4444
color: var(--button-text-color-cookie);
4545
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);
46+
font-weight: 600;
5047
}
5148
}
5249
}
5350

54-
.klaro .cookie-modal a, .klaro .context-notice a, .klaro .cookie-notice a
55-
{
51+
.klaro .cookie-modal .cm-btn.cm-btn-success.cm-btn-accept-all {
52+
color: var(--button-text-color-cookie);
53+
background-color: var(--green1);
54+
font-weight: 600;
55+
}
56+
57+
.klaro .cookie-modal a,
58+
.klaro .context-notice a,
59+
.klaro .cookie-notice a {
5660
color: var(--green1);
61+
text-decoration: underline !important;
62+
}
63+
64+
.klaro .cookie-modal .cm-modal .cm-body span,
65+
.klaro
66+
.cookie-modal
67+
.cm-modal
68+
.cm-body
69+
ul.cm-purposes
70+
li.cm-purpose
71+
span.cm-required,
72+
p.purposes,
73+
.klaro .cookie-modal .cm-modal .cm-footer .cm-powered-by a {
74+
color: var(--bs-light) !important;
75+
}
76+
77+
.klaro .cookie-modal .cm-btn.cm-btn-info {
78+
background-color: var(--very-dark-cyan) !important;
5779
}
5880

5981
.media-viewer

0 commit comments

Comments
 (0)