mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[improvement] Swipe: add indicator color prop (#2110)
This commit is contained in:
@@ -30,17 +30,19 @@
|
||||
}
|
||||
|
||||
&__indicator {
|
||||
opacity: .3;
|
||||
border-radius: 100%;
|
||||
background-color: @gray-dark;
|
||||
background-color: @blue;
|
||||
width: @swipe-indicator;
|
||||
height: @swipe-indicator;
|
||||
transition: opacity .2s;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: @swipe-indicator;
|
||||
}
|
||||
|
||||
&--active {
|
||||
background-color: @orange;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user