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
Thibaud Colas 14280ad7ea
Convert all UI code to CSS logical properties (#8051)
- Rewrite all styles to use logical properties
- Update Stylelint configuration to include logical properties checks
2022-03-15 13:21:06 +00:00

22 lines
395 B
SCSS

.button-select {
&__option {
display: block;
width: 100%;
margin-bottom: 10px;
background-color: #fff;
border-color: $color-teal;
color: #262626;
&--selected {
background-color: $color-teal;
color: #fff;
}
}
}
.button-select .button-select__option {
/* override default margin from horizontally-aligned buttons */
margin-inline-start: 0;
}