1 @import "../default/theme.less";
3 @checkbox-border-size: 1px;
5 .plx-checkbox-container {
14 & + .checkbox-substitute {
16 display: inline-block;
18 height: @checkbox-size;
19 width: @checkbox-size;
20 border: @checkbox-border-size solid @border-color-base;
21 border-radius: @radius-sm;
22 vertical-align: middle;
24 & + .checkbox-substitute + span {
26 font-size: @font-size;
28 vertical-align: middle;
29 .font-padding(@font-size);
31 &:hover + .checkbox-substitute {
32 border-color: @primary-color;
34 background-image: none;
35 -webkit-box-shadow: none;
36 -moz-box-shadow: none;
40 &:checked + .checkbox-substitute {
41 border-color: @primary-color;
42 background-color: @primary-color;
44 .checkbox-check(@component-bg);
47 &.portion + .checkbox-substitute {
48 background-color: @primary-color;
49 border-color: @primary-color;
52 .checkbox-check(@component-bg);
55 &:disabled + .checkbox-substitute,
56 &[disabled] + .checkbox-substitute {
57 border-color: @border-color-base;
58 background-color: @input-bg-color-disabled;
61 &:disabled + .checkbox-substitute + span,
62 &[disabled] + .checkbox-substitute + span {
65 &.portion[disabled] + .checkbox-substitute {
66 background-color: @border-color-base;
67 border-color: @border-color-base;
69 .checkbox-check(@fonticon-color);
72 &:checked[disabled] + .checkbox-substitute {
73 border-color: @border-color-base;
74 background-color: @border-color-base;
78 .checkbox-check(@color) {
85 border-width: 0 2px 2px 0;
86 transform: rotate(45deg);
87 .checkbox-check-left(@font-size);
91 .checkbox-check-left(12px) {
95 .checkbox-check-left(14px) {
103 .font-padding(14px) {