59 lines
No EOL
1.3 KiB
SCSS
59 lines
No EOL
1.3 KiB
SCSS
.ToggleGroup {
|
|
$height: 36px;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.14);
|
|
border-radius: $height;
|
|
display: flex;
|
|
height: $height;
|
|
gap: $unit / 4;
|
|
padding: $unit / 2;
|
|
|
|
.ToggleItem {
|
|
background: white;
|
|
border: none;
|
|
border-radius: 18px;
|
|
color: $grey-40;
|
|
flex-grow: 1;
|
|
font-size: $font-regular;
|
|
padding: ($unit) $unit * 2;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:hover, &[data-state="on"] {
|
|
background:$grey-80;
|
|
color: $grey-00;
|
|
|
|
&.fire {
|
|
background: $fire-bg-light;
|
|
color: $fire-text-dark;
|
|
}
|
|
|
|
&.water {
|
|
background: $water-bg-light;
|
|
color: $water-text-dark;
|
|
}
|
|
|
|
&.earth {
|
|
background: $earth-bg-light;
|
|
color: $earth-text-dark;
|
|
}
|
|
|
|
&.wind {
|
|
background: $wind-bg-light;
|
|
color: $wind-text-dark;
|
|
}
|
|
|
|
&.dark {
|
|
background: $dark-bg-light;
|
|
color: $dark-text-dark;
|
|
}
|
|
|
|
&.light {
|
|
background: $light-bg-light;
|
|
color: $light-text-dark;
|
|
}
|
|
}
|
|
}
|
|
} |