We forgot to add the `calc()` function in commits4c0b6455f,390c749d2anddc54fda71. We were getting a warning when compiling the assets without the `quiet_deps` option: ``` DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($line-height, 3) or calc($line-height / 3) More info and automated migrator: https://sass-lang.com/d/slash-div ```
32 lines
604 B
SCSS
32 lines
604 B
SCSS
.cookies-consent-banner {
|
|
@include brand-border;
|
|
background: inherit;
|
|
bottom: calc($line-height / 3);
|
|
left: calc($line-height / 3);
|
|
padding: 2rem;
|
|
position: fixed;
|
|
right: calc($line-height / 3);
|
|
z-index: 20;
|
|
|
|
button {
|
|
@include breakpoint(small only) {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
&.accept-all-cookies,
|
|
&.accept-essential-cookies {
|
|
@include regular-button;
|
|
margin-bottom: 0;
|
|
|
|
@include breakpoint(small only) {
|
|
margin-bottom: calc($line-height / 3);
|
|
}
|
|
}
|
|
|
|
&.manage-cookies {
|
|
@include hollow-button;
|
|
}
|
|
}
|
|
}
|