2024-01-07 21:33:22 +00:00
|
|
|
@use 'sass:color';
|
2024-01-07 00:04:28 +00:00
|
|
|
|
|
|
|
.button {
|
|
|
|
@extend %label-md;
|
|
|
|
display: block;
|
2024-01-07 21:33:22 +00:00
|
|
|
padding: 16dp 20dp;
|
|
|
|
background-color: rgba($color-primary-d, 0.8);
|
2024-01-07 00:04:28 +00:00
|
|
|
color: $color-text;
|
2024-01-07 21:33:22 +00:00
|
|
|
border-radius: $border-radius-md;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2024-01-07 00:04:28 +00:00
|
|
|
|
|
|
|
&:not([disabled]) {
|
|
|
|
@extend %nav-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-01-07 21:33:22 +00:00
|
|
|
// color: $color-primary-l;
|
|
|
|
background-color: $color-primary-d;
|
2024-01-07 00:04:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled,&[disabled] {
|
|
|
|
opacity: 0.5;
|
|
|
|
color: $color-text-inactive;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-01-07 21:33:22 +00:00
|
|
|
background-color: color.scale($color-primary-d, $lightness: -10%);
|
|
|
|
color: $color-error-d;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2024-01-07 00:04:28 +00:00
|
|
|
}
|
|
|
|
}
|