hensei-web/components/PictureSelectItem/index.scss
Justin Edmund fb31d6795c Update AccountModal
* Uses new Selects
* Adds PictureSelectItem for showing an image next to text
* Adds translations
* Add theme select
2022-12-25 16:05:31 -08:00

42 lines
591 B
SCSS

.SelectItem.Picture {
display: flex;
flex-direction: row;
gap: $unit;
align-items: center;
.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;
}
}
}