mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
fix:switch方向改变&rename
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user