update Checkbox indeterminate style

update Checkbox indeterminate style
This commit is contained in:
梁灏 2017-02-07 13:41:09 +08:00
parent b923c8187c
commit 07e243ffc1
2 changed files with 19 additions and 0 deletions

View file

@ -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;