forked from BowdoinOrient/bonus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiscroll.scss
94 lines (79 loc) · 1.68 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* Matteo Spinelli http://cubiq.org/iscroll-4 */
/* with slight modifications */
#iscroll_wrapper {
-webkit-user-select:none;
-webkit-text-size-adjust:none;
width:500px;
height:100%;
float:left;
position:relative; /* On older OS versions "position" and "z-index" must be defined, */
z-index:1; /* it seems that recent webkit is less picky and works anyway. */
overflow:hidden;
background:#aaa;
background:#e3e3e3;
}
#iscroll_scroller {
width:2100px;
height:100%;
float:left;
padding:0;
}
#iscroll_scroller ul {
list-style:none;
display:block;
float:left;
width:100%;
height:100%;
padding:0;
margin:0;
text-align:left;
}
#iscroll_scroller li {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
box-sizing:border-box;
display:block; float:left;
width:300px; height:160px;
text-align:center;
font-family:georgia;
font-size:18px;
line-height:140%;
}
#iscroll_nav {
width:300px;
float:left;
}
#iscroll_prev, #iscroll_next {
float:left;
font-weight:bold;
font-size:14px;
padding:5px 0;
width:80px;
}
#iscroll_next {
float:right;
text-align:right;
}
#iscroll_indicator, #iscroll_indicator > li {
display:block; float:left;
list-style:none;
padding:0; margin:0;
}
#iscroll_indicator {
width:110px;
padding:12px 0 0 30px;
}
#iscroll_indicator > li {
text-indent:-9999em;
width:8px; height:8px;
background:#ddd;
overflow:hidden;
margin-right:4px;
}
#iscroll_indicator > li.active {
background:#888;
}
#iscroll_indicator > li:last-child {
margin:0;
}