Spaces:
Running
Running
File size: 904 Bytes
0532088 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
div.row-widget.stRadio > div {
flex-direction: row;
align-items: stretch;
}
div.row-widget.stRadio > div[role="radiogroup"] > label[data-baseweb="radio"] {
/*background-color: rgb(240, 242, 246);*/
padding-right: 10px;
/*padding-left: 4px;*/
padding-bottom: 3px;
margin: 4px 0px;
border-radius: 0;
border-bottom: 2px solid whitesmoke;
transition: border-bottom-color 0.2s ease 0s;
}
/*change the background color of the parent label of the selected radio button*/
div.row-widget.stRadio > div[role="radiogroup"] > label[data-baseweb="radio"]:has( > input[type="radio"]:checked) {
/*background-color: blanchedalmond;*/
border-bottom: 2px solid red;
transition: border-bottom-color 0.2s ease 0s;
}
/*hide the circle of the radio button*/
div.row-widget.stRadio > div[role="radiogroup"] > label[data-baseweb="radio"] > div:first-child {
display: none;
} |