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 CHANGED
@@ -1 +1,142 @@
1
- .hooper{position:relative;box-sizing:border-box;width:100%;height:200px}.hooper *{box-sizing:border-box}.hooper-list{overflow:hidden;width:100%;height:100%}.hooper-track{display:flex;box-sizing:border-box;width:100%;height:100%;padding:0;margin:0}.hooper.is-vertical .hooper-track{flex-direction:column;height:200px}.hooper.is-rtl{direction:rtl}.hooper-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.hooper-slide{flex-shrink:0;height:100%;margin:0;padding:0;list-style:none}.hooper-progress{position:absolute;top:0;right:0;left:0;height:4px;background-color:#efefef}.hooper-progress-inner{height:100%;background-color:#4285f4;transition:.3s}.hooper-pagination{position:absolute;bottom:0;right:50%;transform:translateX(50%);display:flex;padding:5px 10px}.hooper-indicators{display:flex;list-style:none;margin:0;padding:0}.hooper-indicator.is-active,.hooper-indicator:hover{background-color:#4285f4}.hooper-indicator{margin:0 2px;width:12px;height:4px;border-radius:4px;border:none;padding:0;background-color:#fff;cursor:pointer}.hooper-pagination.is-vertical{bottom:auto;right:0;top:50%;transform:translateY(-50%)}.hooper-pagination.is-vertical .hooper-indicators{flex-direction:column}.hooper-pagination.is-vertical .hooper-indicator{width:6px}.hooper-next,.hooper-prev{background-color:transparent;border:none;padding:1em;position:absolute;top:50%;transform:translateY(-50%);cursor:pointer}.hooper-next.is-disabled,.hooper-prev.is-disabled{opacity:.3;cursor:not-allowed}.hooper-next{right:0}.hooper-prev{left:0}.hooper-navigation.is-vertical .hooper-next{top:auto;bottom:0;transform:initial}.hooper-navigation.is-vertical .hooper-prev{top:0;bottom:auto;right:0;left:auto;transform:initial}.hooper-navigation.is-rtl .hooper-prev{left:auto;right:0}.hooper-navigation.is-rtl .hooper-next{right:auto;left:0}
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
+ }