2016-03-11 00:48:53 +00:00
|
|
|
.radiobox {
|
|
|
|
margin-bottom: 0;
|
|
|
|
.font-size-normal();
|
|
|
|
font-weight: normal;
|
2019-12-03 15:44:40 +00:00
|
|
|
position: relative;
|
2019-12-10 20:58:38 +00:00
|
|
|
min-height: 1em;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2021-09-30 20:49:12 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-12-10 20:58:38 +00:00
|
|
|
|
2021-09-30 20:49:12 +00:00
|
|
|
svg {
|
|
|
|
margin-right: 8px;
|
|
|
|
.rb-circle {
|
|
|
|
fill: @background-normal;
|
|
|
|
stroke: @border-regular-control;
|
2019-12-10 20:58:38 +00:00
|
|
|
}
|
|
|
|
|
2021-09-30 20:49:12 +00:00
|
|
|
.rb-check-mark {
|
|
|
|
fill: @text-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2021-09-30 20:49:12 +00:00
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2021-09-30 20:49:12 +00:00
|
|
|
input[type=radio] {
|
|
|
|
display: none;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2021-09-30 20:49:12 +00:00
|
|
|
&:not(:checked) + svg {
|
|
|
|
.rb-check-mark {
|
|
|
|
display: none;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-14 08:01:41 +00:00
|
|
|
|
2021-09-30 20:49:12 +00:00
|
|
|
&.disabled, &:disabled {
|
|
|
|
svg, span {
|
|
|
|
opacity: @component-disabled-opacity;
|
2021-10-01 09:13:41 +00:00
|
|
|
pointer-events: none;
|
2021-09-30 20:49:12 +00:00
|
|
|
}
|
|
|
|
}
|
2021-04-14 08:01:41 +00:00
|
|
|
|
2021-09-30 20:49:12 +00:00
|
|
|
&:focus:not(.disabled) {
|
|
|
|
svg {
|
|
|
|
.rb-circle {
|
|
|
|
stroke: @border-control-focus-ie;
|
|
|
|
stroke: @border-control-focus;
|
2021-04-14 08:01:41 +00:00
|
|
|
}
|
|
|
|
}
|
2021-09-30 20:49:12 +00:00
|
|
|
|
|
|
|
span {
|
|
|
|
outline: @scaled-one-px-value-ie dotted @border-control-focus-ie;
|
|
|
|
outline: @scaled-one-px-value dotted @border-control-focus;
|
|
|
|
}
|
2021-04-14 08:01:41 +00:00
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|