index.less
901 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#root .global_radio_button {
.ant-formily-item {
&-label {
font-weight: 500;
color: #1d2129;
}
.ant-radio-group {
.ant-radio-button-wrapper {
border-radius: 4px;
min-width: 140px;
text-align: center;
padding: 0;
font-size: 14px;
font-weight: 500;
line-height: 36px;
height: auto;
background: #f2f3f5;
border-color: #f2f3f5;
&:not(:first-child) {
margin-left: 10px;
border-inline-start-width: 1px;
&::before {
width: 0;
}
}
&-checked:not(&-disabled) {
background-color: #4096ff;
color: #fff;
border-color: #4096ff;
}
&-disabled.ant-radio-button-wrapper-checked {
background: rgba(22, 119, 255, 0.6);
color: #fff;
}
}
}
}
}