mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[build] add stylelint-config-rational-order plugin
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
@import '../style/var';
|
||||
|
||||
.van-switch {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
box-sizing: content-box;
|
||||
width: @switch-width;
|
||||
height: @switch-height;
|
||||
background-color: @switch-background-color;
|
||||
border: @switch-border;
|
||||
border-radius: @switch-node-size;
|
||||
box-sizing: content-box;
|
||||
background-color: @switch-background-color;
|
||||
transition: background-color @switch-transition-duration;
|
||||
|
||||
&__node {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
border-radius: 100%;
|
||||
z-index: @switch-node-z-index;
|
||||
width: @switch-node-size;
|
||||
height: @switch-node-size;
|
||||
z-index: @switch-node-z-index;
|
||||
transition: @switch-transition-duration;
|
||||
box-shadow: @switch-node-box-shadow;
|
||||
background-color: @switch-node-background-color;
|
||||
border-radius: 100%;
|
||||
box-shadow: @switch-node-box-shadow;
|
||||
transition: @switch-transition-duration;
|
||||
}
|
||||
|
||||
&__loading {
|
||||
|
Reference in New Issue
Block a user