2023-11-01 13:33:25 +00:00
|
|
|
.radio-chip {
|
|
|
|
background: @white;
|
|
|
|
border: 1px solid @neutral-60;
|
|
|
|
border-radius: 999px;
|
|
|
|
color: @neutral-90;
|
2023-11-08 10:07:42 +00:00
|
|
|
cursor: pointer;
|
2023-11-01 13:33:25 +00:00
|
|
|
display: inline-flex;
|
|
|
|
font-weight: 400;
|
|
|
|
gap: 4px;
|
|
|
|
inline-size: fit-content;
|
|
|
|
line-height: 1.4;
|
|
|
|
padding: 8px 16px 8px 8px;
|
|
|
|
|
|
|
|
@media only screen and (max-width: @screen-sm-min) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: @neutral-20;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-within {
|
|
|
|
box-shadow: 0px 0px 0px 2px @blue-30;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type='radio'] {
|
|
|
|
accent-color: @green-50;
|
2023-11-08 10:07:42 +00:00
|
|
|
cursor: pointer;
|
2023-11-01 13:33:25 +00:00
|
|
|
height: 16px;
|
|
|
|
margin: 4px;
|
|
|
|
width: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.radio-chip[data-disabled='true'] {
|
|
|
|
border-color: @neutral-20;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: @white;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-08 10:07:42 +00:00
|
|
|
.radio-group {
|
2023-11-01 13:33:25 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-11-08 10:07:42 +00:00
|
|
|
flex-wrap: wrap;
|
2023-11-01 13:33:25 +00:00
|
|
|
grid-gap: 16px;
|
2023-11-08 10:07:42 +00:00
|
|
|
height: 180px;
|
|
|
|
width: 100%;
|
2023-11-01 13:33:25 +00:00
|
|
|
@media (max-width: @screen-sm-min) {
|
2023-11-08 10:07:42 +00:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
height: 100%;
|
2023-11-01 13:33:25 +00:00
|
|
|
}
|
|
|
|
}
|