fix:switch方向改变&rename

This commit is contained in:
jiangruowei
2017-02-28 11:35:56 +08:00
parent 1c81270de2
commit 09cf3d1c25
4 changed files with 12 additions and 15 deletions

View File

@@ -16,12 +16,12 @@
position: absolute;
box-shadow: 0 3px 1px 0 rgba(0, 0, 0, .05), 0 2px 2px 0 rgba(0, 0, 0, .1), 0 3px 3px 0 rgba(0, 0, 0, .05);
@when on {
left: 0;
left: 20px;
transition: all .5s ease-in-out;
}
@when off {
left: 20px;
left: 0;
transition: all .5s ease-in-out;
}
}
@@ -36,10 +36,6 @@
border-color: rgba(0, 0, 0, .1);
}
@when loading {
/* TODO */
}
@when disabled {
@when off {
background-color: #f2f2f2;
@@ -47,6 +43,7 @@
}
@when on {
background-color: #a6e7b1;
border-color: #a6e7b1;
}
}
}