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