UNPKG

484 Btext/lessView Raw
1@import '../../style/themes/default';
2@pull-to-refresh: am-pull-to-refresh;
3
4.@{pull-to-refresh} {
5 &-content {
6 &-wrapper {
7 overflow: hidden;
8 }
9 transform-origin: left top 0;
10 }
11
12 &-transition {
13 transition: transform 0.3s;
14 }
15
16 &-indicator {
17 color: grey;
18 text-align: center;
19 height: 25 * @hd;
20 }
21
22 &-down .@{pull-to-refresh}-indicator {
23 margin-top: -25 * @hd;
24 }
25
26 &-up .@{pull-to-refresh}-indicator {
27 margin-bottom: -25 * @hd;
28 }
29}