update Checkbox indeterminate style
update Checkbox indeterminate style
This commit is contained in:
parent
b923c8187c
commit
07e243ffc1
2 changed files with 19 additions and 0 deletions
|
@ -142,6 +142,24 @@
|
|||
}
|
||||
}
|
||||
|
||||
// 半选状态
|
||||
.@{checkbox-prefix-cls}-indeterminate{
|
||||
.@{checkbox-inner-prefix-cls}:after{
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 1px;
|
||||
transform: scale(1);
|
||||
position: absolute;
|
||||
left: 2px;
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
.@{checkbox-inner-prefix-cls}{
|
||||
background-color: @primary-color;
|
||||
border-color: @primary-color;
|
||||
}
|
||||
}
|
||||
|
||||
.@{checkbox-prefix-cls}-wrapper {
|
||||
cursor: pointer;
|
||||
font-size: @font-size-small;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue