0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 09:33:54 +01:00
wagtail/client/scss/components/_button-select.scss
Thibaud Colas af9b16e93d Re-implement base form field styles based on new page editor designs
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00

26 lines
499 B
SCSS

.button-select {
&__option {
display: block;
width: 100%;
margin-bottom: 10px;
background-color: $color-white;
border-color: $color-teal;
color: $color-grey-1;
&--selected {
background-color: $color-teal;
color: $color-white;
}
@media (forced-colors: active) {
background-color: SelectedItem;
}
}
}
.button-select .button-select__option {
/* override default margin from horizontally-aligned buttons */
margin-inline-start: 0;
}