hooper 0.2.2 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hooper.css +142 -1
- package/dist/hooper.esm.js +355 -481
- package/dist/hooper.js +361 -487
- package/dist/hooper.min.js +1 -1
- package/package.json +14 -16
package/dist/hooper.css
CHANGED
@@ -1 +1,142 @@
|
|
1
|
-
.hooper
|
1
|
+
.hooper-progress {
|
2
|
+
position: absolute;
|
3
|
+
top: 0;
|
4
|
+
right: 0;
|
5
|
+
left: 0;
|
6
|
+
height: 4px;
|
7
|
+
background-color: #efefef;
|
8
|
+
}
|
9
|
+
.hooper-progress-inner {
|
10
|
+
height: 100%;
|
11
|
+
background-color: #4285f4;
|
12
|
+
transition: 300ms;
|
13
|
+
}
|
14
|
+
.hooper-pagination {
|
15
|
+
position: absolute;
|
16
|
+
bottom: 0;
|
17
|
+
right: 50%;
|
18
|
+
transform: translateX(50%);
|
19
|
+
display: flex;
|
20
|
+
padding: 5px 10px;
|
21
|
+
}
|
22
|
+
.hooper-indicators {
|
23
|
+
display: flex;
|
24
|
+
list-style: none;
|
25
|
+
margin: 0;
|
26
|
+
padding: 0;
|
27
|
+
}
|
28
|
+
.hooper-indicator:hover,
|
29
|
+
.hooper-indicator.is-active {
|
30
|
+
background-color: #4285f4;
|
31
|
+
}
|
32
|
+
.hooper-indicator {
|
33
|
+
margin: 0 2px;
|
34
|
+
width: 12px;
|
35
|
+
height: 4px;
|
36
|
+
border-radius: 4px;
|
37
|
+
border: none;
|
38
|
+
padding: 0;
|
39
|
+
background-color: #fff;
|
40
|
+
cursor: pointer;
|
41
|
+
}
|
42
|
+
.hooper-pagination.is-vertical {
|
43
|
+
bottom: auto;
|
44
|
+
right: 0;
|
45
|
+
top: 50%;
|
46
|
+
transform: translateY(-50%);
|
47
|
+
}
|
48
|
+
.hooper-pagination.is-vertical .hooper-indicators {
|
49
|
+
flex-direction: column;
|
50
|
+
}
|
51
|
+
.hooper-pagination.is-vertical .hooper-indicator {
|
52
|
+
width: 6px;
|
53
|
+
}
|
54
|
+
.hooper-next,
|
55
|
+
.hooper-prev {
|
56
|
+
background-color: transparent;
|
57
|
+
border: none;
|
58
|
+
padding: 1em;
|
59
|
+
position: absolute;
|
60
|
+
top: 50%;
|
61
|
+
transform: translateY(-50%);
|
62
|
+
cursor: pointer;
|
63
|
+
}
|
64
|
+
.hooper-next.is-disabled,
|
65
|
+
.hooper-prev.is-disabled {
|
66
|
+
opacity: 0.3;
|
67
|
+
cursor: not-allowed;
|
68
|
+
}
|
69
|
+
.hooper-next {
|
70
|
+
right: 0;
|
71
|
+
}
|
72
|
+
.hooper-prev {
|
73
|
+
left: 0;
|
74
|
+
}
|
75
|
+
.hooper-navigation.is-vertical .hooper-next {
|
76
|
+
top: auto;
|
77
|
+
bottom: 0;
|
78
|
+
transform: initial;
|
79
|
+
}
|
80
|
+
.hooper-navigation.is-vertical .hooper-prev {
|
81
|
+
top: 0;
|
82
|
+
bottom: auto;
|
83
|
+
right: 0;
|
84
|
+
left: auto;
|
85
|
+
transform: initial;
|
86
|
+
}
|
87
|
+
.hooper-navigation.is-rtl .hooper-prev {
|
88
|
+
left: auto;
|
89
|
+
right: 0;
|
90
|
+
}
|
91
|
+
.hooper-navigation.is-rtl .hooper-next {
|
92
|
+
right: auto;
|
93
|
+
left: 0;
|
94
|
+
}
|
95
|
+
.hooper-slide {
|
96
|
+
flex-shrink: 0;
|
97
|
+
height: 100%;
|
98
|
+
margin: 0;
|
99
|
+
padding: 0;
|
100
|
+
list-style: none;
|
101
|
+
}
|
102
|
+
.hooper {
|
103
|
+
position: relative;
|
104
|
+
box-sizing: border-box;
|
105
|
+
width: 100%;
|
106
|
+
height: 200px;
|
107
|
+
}
|
108
|
+
.hooper * {
|
109
|
+
box-sizing: border-box;
|
110
|
+
}
|
111
|
+
.hooper-list {
|
112
|
+
overflow: hidden;
|
113
|
+
width: 100%;
|
114
|
+
height: 100%;
|
115
|
+
}
|
116
|
+
.hooper-track {
|
117
|
+
display: flex;
|
118
|
+
box-sizing: border-box;
|
119
|
+
width: 100%;
|
120
|
+
height: 100%;
|
121
|
+
padding: 0;
|
122
|
+
margin: 0;
|
123
|
+
}
|
124
|
+
.hooper.is-vertical .hooper-track {
|
125
|
+
flex-direction: column;
|
126
|
+
height: 200px;
|
127
|
+
}
|
128
|
+
|
129
|
+
.hooper.is-rtl {
|
130
|
+
direction: rtl;
|
131
|
+
}
|
132
|
+
|
133
|
+
.hooper-sr-only {
|
134
|
+
position: absolute;
|
135
|
+
width: 1px;
|
136
|
+
height: 1px;
|
137
|
+
padding: 0;
|
138
|
+
margin: -1px;
|
139
|
+
overflow: hidden;
|
140
|
+
clip: rect(0, 0, 0, 0);
|
141
|
+
border: 0;
|
142
|
+
}
|