Skip to content

Commit 8693bc3

Browse files
authored
Merge pull request DSpace#3120 from tdonohue/port_3039_to_main
[Port main] Fix - Change color Contrast in cookie settings box
2 parents bf5e9b9 + 20f31cb commit 8693bc3

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

src/styles/_custom_variables.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,7 @@
146146
--ds-process-overview-table-user-column-width: 200px;
147147
--ds-process-overview-table-info-column-width: 250px;
148148
--ds-process-overview-table-actions-column-width: 80px;
149+
150+
--green1: #1FB300; // This variable represents the success color for the Klaro cookie banner
151+
--button-text-color-cookie: #333; // This variable represents the text color for buttons in the Klaro cookie banner
149152
}

src/styles/_global-styles.scss

Lines changed: 19 additions & 0 deletions
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

0 commit comments

Comments
 (0)