* Uses new Selects * Adds PictureSelectItem for showing an image next to text * Adds translations * Add theme select
42 lines
591 B
SCSS
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;
|
|
}
|
|
}
|
|
}
|