feat(cookies): add Cookie consent banner (#355)

This commit is contained in:
Dillon
2020-05-13 21:19:39 +08:00
committed by GitHub
parent 8d491509e0
commit 0a9ec97450
32 changed files with 237 additions and 44 deletions

View File

@@ -48,6 +48,7 @@ body {
@import "../_partial/icon";
@import "../_partial/details";
@import "../_partial/fixed-button";
@import "../_partial/cookieconsent";
img {
@include object-fit(contain);

View 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;
}
}
}
}