0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
wagtail/client/scss/components/_button-select.scss

26 lines
499 B
SCSS
Raw Normal View History

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