hensei-web/components/common/SelectItem/index.module.scss
Justin Edmund 93007f48f6 Updated Select and SelectItem
Part of this was combining PictureSelectItem and SelectItem, so the former has been removed.
2023-06-29 00:47:48 -07:00

67 lines
1,017 B
SCSS

.item {
align-items: center;
border-radius: $item-corner;
border: 2px solid transparent;
color: var(--text-tertiary);
display: flex;
gap: $unit;
font-size: $font-regular;
padding: ($unit * 1.5) $unit-2x;
&:hover,
&:focus {
background-color: var(--option-bg-hover);
color: var(--text-primary);
cursor: pointer;
outline: none;
}
&:focus {
border: 2px solid $blue;
outline: none;
}
&:first-child {
margin-top: $unit;
}
&:last-child {
margin-bottom: $unit;
}
.preview {
$diameter: $unit-4x;
border-radius: $unit-2x;
width: $diameter;
height: $diameter;
img {
width: $diameter;
height: auto;
}
&.fire {
background: $fire-bg-20;
}
&.water {
background: $water-bg-20;
}
&.wind {
background: $wind-bg-20;
}
&.earth {
background: $earth-bg-20;
}
&.dark {
background: $dark-bg-10;
}
&.light {
background: $light-bg-20;
}
}
}