todos-contra-el-fuego-web/imports/ui/stylesheets/cookies-eu.scss
vjrj c6c22643c1 scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass)
Silences the dart-sass deprecation warnings that flooded every build:
- All @import of local partials (colors, mixins, and the CSS-emitting
  partials) -> @use '...' as * (partials are pure defs, so 'as *' keeps the
  global names and the ~25 call sites unchanged). Added explicit @use './colors'
  to bootstrap-overrides.scss and cookies-eu.scss, which used -palette*
  transitively (broke under @use's scoping).
- lighten(c, x%) -> color.adjust(c, $lightness: x%) and darken -> negative,
  with @use 'sass:color' in the 6 affected files.
Compiles clean (byte-for-byte CSS behavior preserved).
2026-07-17 18:18:04 +02:00

52 lines
800 B
SCSS

@use 'sass:color';
@use './colors' as *;
#js-cookie-policy-default {
background-color: color.adjust($todos-palette3, $lightness: 10%);
}
.cookie-policy {
position: fixed;
text-align: rigth;
vertical-align: baseline;
padding-top: 10px;
border-radius: 0px;
z-index: 2500;
width: 100%;
max-width: 100%;
bottom: 0;
left: 0;
right: 0;
top: auto;
margin:0 !important;
}
.cookie-policy__header {
/* float: left; */
}
.cookie-policy__action {
float: right;
position: absolute;
top: 5px;
right: 40px;
}
.cookie-policy > p {
margin-bottom: -5px;
color: #fff
}
.cookie-policy__header {
font-size: 16px;
margin-bottom: 5px
}
#acceptCookies {
font-size: 12px;
font-weight: normal;
border-radius: 5px;
}
#acceptCookies > strong {
font-weight: normal;
}