forked from dcloudio/mui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iscroll.scss
43 lines (42 loc) · 1.11 KB
/
iscroll.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.#{$namespace}iscroll-wrapper{
position: absolute;
z-index: z("default");
top: 0;
left: 0;
bottom: 0;
width: 100%;
overflow: hidden;
}
.#{$namespace}bar-nav ~ .#{$namespace}iscroll-wrapper {
top: $bar-base-height;
padding:0;
}
.#{$namespace}bar-header-secondary ~ .#{$namespace}iscroll-wrapper {
top: ($bar-base-height*2);
}
.#{$namespace}bar-footer ~ .#{$namespace}iscroll-wrapper {
bottom: $bar-base-height;
padding:0;
}
.#{$namespace}bar-footer-secondary ~ .#{$namespace}iscroll-wrapper {
bottom: ($bar-base-height*2);
}
.#{$namespace}bar-tab ~ .#{$namespace}iscroll-wrapper{
bottom: $bar-tab-height;
padding:0;
}
.#{$namespace}bar-footer-secondary-tab ~ .#{$namespace}iscroll-wrapper{
bottom: ($bar-tab-height+$bar-base-height);
}
.#{$namespace}iscroll{
position: absolute;
z-index: z("default");
-webkit-tap-highlight-color: rgba(0,0,0,0);
width: 100%;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-touch-callout: none;
-webkit-user-select: none;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}