💄 Fix conflicts regarding the generated CSS class names

This commit is contained in:
2024-03-21 18:32:40 +01:00
parent ceeda1a771
commit 570a969cee
15 changed files with 73 additions and 60 deletions

View File

@@ -1,6 +1,6 @@
@import "../_base.scss"
.root {
%button {
height: 100%;
aspect-ratio: 3.5;
@@ -18,27 +18,31 @@
}
}
.register {
@extend .root;
.register-button {
@extend %button;
background-color: $color-ternary-90;
}
.register:hover {
background-color: $color-ternary-80;
}
.register:active {
background-color: $color-ternary-70;
&:hover {
background-color: $color-ternary-80;
}
&:active {
background-color: $color-ternary-70;
}
}
.login {
@extend .root;
.login-button {
@extend %button;
background-color: $color-secondary-90;
}
.login:hover {
background-color: $color-secondary-80;
}
.login:active {
background-color: $color-secondary-70;
&:hover {
background-color: $color-secondary-80;
}
&:active {
background-color: $color-secondary-70;
}
}