feat(cookies): add Cookie consent banner (#355)
This commit is contained in:
@@ -48,6 +48,7 @@ body {
|
||||
@import "../_partial/icon";
|
||||
@import "../_partial/details";
|
||||
@import "../_partial/fixed-button";
|
||||
@import "../_partial/cookieconsent";
|
||||
|
||||
img {
|
||||
@include object-fit(contain);
|
||||
|
||||
17
assets/css/_partial/_cookieconsent.scss
Normal file
17
assets/css/_partial/_cookieconsent.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
.cc-window.cc-banner {
|
||||
.cc-btn {
|
||||
color: $global-font-color;
|
||||
|
||||
&:hover, &:focus {
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
[theme=dark] & {
|
||||
color: $global-font-color;
|
||||
|
||||
&:hover, &:focus {
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user