* Renaming index.scss files to index.module.scss * Changing `import from` to `import styles from`
79 lines
1.5 KiB
SCSS
79 lines
1.5 KiB
SCSS
.ToggleGroup {
|
|
$height: 36px;
|
|
|
|
background-color: var(--toggle-bg);
|
|
border: 1px solid var(--toggle-stroke);
|
|
border-radius: $height;
|
|
display: flex;
|
|
height: $height;
|
|
gap: calc($unit / 4);
|
|
padding: calc($unit / 2);
|
|
flex-wrap: wrap;
|
|
|
|
@include breakpoint(phone) {
|
|
border-radius: $unit-2x;
|
|
height: auto;
|
|
}
|
|
|
|
.ToggleItem {
|
|
background: var(--toggle-bg);
|
|
border: none;
|
|
border-radius: 18px;
|
|
color: var(--input-secondary);
|
|
flex-grow: 1;
|
|
font-size: $font-regular;
|
|
padding-top: $unit;
|
|
padding-bottom: $unit;
|
|
|
|
@include breakpoint(phone) {
|
|
border-radius: $card-corner;
|
|
padding-left: $unit-2x;
|
|
padding-right: $unit-2x;
|
|
}
|
|
|
|
&.ja {
|
|
padding-top: 6px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:hover,
|
|
&[data-state='on'] {
|
|
background: $grey-80;
|
|
color: $grey-15;
|
|
|
|
&.fire {
|
|
background: var(--fire-bg);
|
|
color: var(--fire-hover-text);
|
|
}
|
|
|
|
&.water {
|
|
background: var(--water-bg);
|
|
color: var(--water-hover-text);
|
|
}
|
|
|
|
&.earth {
|
|
background: var(--earth-bg);
|
|
color: var(--earth-hover-text);
|
|
}
|
|
|
|
&.wind {
|
|
background: var(--wind-bg);
|
|
color: var(--wind-hover-text);
|
|
}
|
|
|
|
&.dark {
|
|
background: var(--dark-bg);
|
|
color: var(--dark-hover-text);
|
|
}
|
|
|
|
&.light {
|
|
background: var(--light-bg);
|
|
color: var(--light-hover-text);
|
|
}
|
|
}
|
|
}
|
|
}
|