when to modifier

This commit is contained in:
niunai
2017-03-02 15:53:29 +08:00
parent 1c81270de2
commit b30b98e61c
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -75,13 +75,13 @@
font-size: 10px;
}
@when disabled {
@m disabled {
color: $button-disabled-color;
background-color: $button-disabled-background-color;
border: 1px solid $button-disabled-border-color;
}
@when block {
@m block {
display: block;
}
}