mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-12-18 20:54:02 +00:00
36 lines
693 B
SCSS
36 lines
693 B
SCSS
@use 'sass:color';
|
|
|
|
.button {
|
|
@extend %label-md;
|
|
display: block;
|
|
padding: 16dp 20dp;
|
|
background-color: rgba($color-primary-d, 0.8);
|
|
color: $color-text;
|
|
border-radius: $border-radius-md;
|
|
width: auto;
|
|
height: auto;
|
|
|
|
&:not([disabled]) {
|
|
@extend %nav-all;
|
|
}
|
|
|
|
&:focus {
|
|
// color: $color-primary-l;
|
|
background-color: $color-primary-d;
|
|
}
|
|
|
|
&:disabled,&[disabled] {
|
|
opacity: 0.5;
|
|
color: $color-text-inactive;
|
|
}
|
|
|
|
&:active {
|
|
background-color: color.scale($color-primary-d, $lightness: -10%);
|
|
color: $color-error-d;
|
|
}
|
|
|
|
&__label {
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
}
|