[improvement] Checkbox: update style (#848)

This commit is contained in:
neverland 2018-11-02 14:37:41 +08:00 committed by GitHub
parent e56f0ab126
commit bc2b5ef02e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@
color: transparent;
font-size: 12px;
text-align: center;
transition: .2s;
&--round {
border-radius: 100%;
@ -29,8 +30,8 @@
&--checked {
color: @white;
border-color: @green;
background-color: @green;
border-color: @blue;
background-color: @blue;
}
&--disabled {
@ -52,5 +53,9 @@
margin: 0 10px 0 0;
float: left;
}
&:empty {
margin: 0;
}
}
}