1 @import "../default/theme.less";
12 & + .radio-substitute {
14 display: inline-block;
16 height: @checkbox-size;
17 width: @checkbox-size;
18 border: 1px solid @border-color-base;
19 border-radius: @checkbox-size;
20 vertical-align: middle;
22 &:hover + .radio-substitute,
23 &:focus + .radio-substitute {
24 border-color: @primary-color;
26 background-image: none;
27 -webkit-box-shadow: none;
28 -moz-box-shadow: none;
32 &:checked + .radio-substitute {
33 .radio-boder-checked-width(@font-size);
35 &:disabled + .radio-substitute,
36 &[disabled] + .radio-substitute {
37 border-color: @border-color-base;
38 background-color: @input-bg-color-disabled;
41 &:checked [disabled] + .radio-substitute {
42 border-color: @border-color-split;
43 background-color: @border-color-split;
46 & + .radio-substitute + span {
48 font-size: @font-size;
50 vertical-align: middle;
51 .font-padding(@font-size);
53 &:disabled + .radio-substitute + span,
54 &[disabled] + .radio-substitute + span {
59 .radio-boder-checked-width(12px) {
60 border: 4px solid @primary-color;
63 .radio-boder-checked-width(14px) {
64 border: 5px solid @primary-color;
77 @radio-group-border-height: 1px;
78 @padding-normal: 0px 16px;
79 @padding-sm: 0px 14px;
80 @min-width-normal: 80px;
83 .border-min-width(@min-width, 14px) {
84 min-width: @min-width + 8px;
87 .border-min-width(@min-width, 12px) {
88 min-width: @min-width;
92 .btn-group .btn.dropdown-toggle,
99 outline: none !important;
100 background-image: none !important;
102 -webkit-box-shadow: none;
103 -moz-box-shadow: none;
110 font-size: @font-size;
112 background-color: @common-color;
113 border: @radio-group-border-height solid @border-color-base;
115 border-radius: @radius;
116 padding: @padding-normal;
117 .border-min-width(@min-width-normal, @font-size);
123 background-image: none;
125 -webkit-box-shadow: none;
126 -moz-box-shadow: none;
133 color: @btn-common-color-text-hover;
134 border-color: @btn-common-color-border-hover;
135 background-color: @common-color-hover;
138 color: @btn-common-color-text-click;
139 border-color: @btn-common-color-border-click;
140 background-color: @common-color-click;
143 background-color: @primary-color;
144 color: @scene-textcolor;
145 border-color: @primary-color;
148 line-height: @btn-height - @radio-group-border-height * 2;
152 .plx-radio-group-sm {
153 height: @btn-height-sm;
154 padding: @padding-sm;
155 .border-min-width(@min-width-sm, @font-size);
157 line-height: @btn-height-sm - @radio-group-border-height * 2;