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

50 lines
773 B
SCSS

@use '../../stylesheets/colors' as *;
.OAuthProfile {
.LoggedInWith {
padding: 20px;
border-radius: 3px;
color: #fff;
border: 1px solid $gray-lighter;
text-align: center;
img {
width: 100px;
}
&.github img {
width: 125px;
}
p {
margin: 20px 0 0 0;
color: $gray-light;
}
.btn {
margin-top: 20px;
&.btn-facebook {
background: $facebook;
border-color: $facebook;
color: #fff;
}
&.btn-google {
background: $google;
border-color: $google;
color: #fff;
}
&.btn-github {
background: $github;
border-color: $github;
color: #fff;
}
}
}
}
.lang-selector {
margin: 10px 0 0 0;
}