0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/client/scss/components/_button-select.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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;
background-color: $color-white;
2020-03-19 14:59:22 +01:00
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
}