todos-contra-el-fuego-web/imports/ui/pages/Index/Index.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

84 lines
1.3 KiB
SCSS

@use 'sass:color';
@use '../../stylesheets/mixins' as *;
@use '../../stylesheets/colors' as *;
.Index {
padding: 20px;
background: color.adjust($todos-back1, $lightness: 75%);
text-align: center;
border-radius: 3px;
color: $todos-font1;
opacity: 0.5;
filter: alpha(opacity=50);
img {
width: 100px;
height: auto;
}
h1 {
font-size: 86px;
text-transform: uppercase;
font-family: 'Roboto';
}
p {
font-size: 18px;
color: color.adjust($cb-blue, $lightness: 25%);
}
> div {
display: inline-block;
margin: 10px 0 0;
.btn:first-child {
margin-right: 10px;
}
.btn {
border: none;
}
}
footer {
margin: 20px -20px -20px;
border-top: 1px solid color.adjust($cb-blue, $lightness: -10%);
padding: 20px;
p {
font-size: 14px;
line-height: 22px;
color: color.adjust($cb-blue, $lightness: 35%);
margin: 0;
}
p a {
color: color.adjust($cb-blue, $lightness: 35%);
text-decoration: underline;
}
}
}
@include breakpoint(tablet) {
.Index {
padding: 30px;
footer {
margin: 30px -30px -30px;
}
}
}
@include breakpoint(desktop) {
.Index {
padding: 40px;
footer {
margin: 40px -40px -40px;
}
}
}
.android-btn > div {
height: 50px !important;
}