@quintoandar-tokko/carousel 1.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,327 @@
1
+ @import '../../theme/styles/globals.css';
2
+
3
+ .fullscreen {
4
+ position: fixed;
5
+ display: flex;
6
+ align-items: center;
7
+ z-index: -1;
8
+ opacity: 0;
9
+ width: 100%;
10
+ height: 100%;
11
+ flex-direction: column;
12
+ padding: 38px 28px 28px 28px;
13
+ overflow: hidden;
14
+ top: 0;
15
+ left: 0;
16
+ transition: opacity 0.4s ease-in-out;
17
+ visibility: hidden;
18
+ }
19
+
20
+ .sliderContainer {
21
+ transition: transform 0.8s ease-in-out;
22
+ }
23
+
24
+ .fsOverlay {
25
+ background-color: #000000;
26
+ opacity: 0.8;
27
+ width: 100%;
28
+ height: 100%;
29
+ position: absolute;
30
+ z-index: -1;
31
+ top: 0px;
32
+ left: 0px;
33
+ }
34
+
35
+ .fullscreen.openFullscreen {
36
+ z-index: 1000;
37
+ opacity: 1;
38
+ visibility: visible;
39
+ }
40
+
41
+ .fsTabHeader {
42
+ display: flex;
43
+ padding: 8px 16px;
44
+ justify-content: space-between;
45
+ align-items: center;
46
+ width: auto;
47
+ max-width: 360px;
48
+ border-radius: 8px;
49
+ background: var(--neutralGray8);
50
+ gap: 20px;
51
+ }
52
+
53
+ .fsTabHeader p {
54
+ cursor: pointer;
55
+ color: var(--neutralGray2);
56
+ padding: 8px 0;
57
+ font-size: 13px;
58
+ border-bottom: 1px solid var(--neutralGray5);
59
+ line-height: 8px;
60
+ }
61
+
62
+ .fsTabHeader p:hover {
63
+ color: var(--neutralGray1);
64
+ border-color: var(--neutralGray1);
65
+ }
66
+
67
+ .fsTabHeader p.tabSelected {
68
+ color: var(--primary);
69
+ border-color: var(--primary);
70
+ }
71
+
72
+ .fsContainerTabs {
73
+ padding-top: 10px;
74
+ width: 100%;
75
+ height: 100%;
76
+ min-height: 95%;
77
+ display: flex;
78
+ justify-content: center;
79
+ align-items: center;
80
+ }
81
+
82
+ .fsTabCont {
83
+ width: 100%;
84
+ height: calc(100% - 50px);
85
+ display: flex;
86
+ justify-content: center;
87
+ }
88
+
89
+ .fsTabContImage {
90
+ display: flex;
91
+ flex-direction: column;
92
+ justify-content: center;
93
+ align-items: center;
94
+ max-height: 100%;
95
+ width: 100%;
96
+ gap: 24px;
97
+ }
98
+
99
+ .fsTabContImage p {
100
+ color: var(--neutralGray8);
101
+ position: absolute;
102
+ bottom: 0px;
103
+ }
104
+
105
+ .fsCloseIconMobile {
106
+ position: absolute;
107
+ color: var(--neutralGray8);
108
+ right: 20px;
109
+ top: 16px;
110
+ font-size: 16px;
111
+ cursor: pointer;
112
+ }
113
+
114
+ .fsCloseIconDesktop {
115
+ display: none;
116
+ }
117
+
118
+ .iconPrev,
119
+ .iconNext {
120
+ position: absolute;
121
+ }
122
+
123
+ .iconPrev {
124
+ left: -20px;
125
+ }
126
+
127
+ .iconNext {
128
+ right: -20px;
129
+ }
130
+
131
+ .nextPrevIconContainer {
132
+ display: flex;
133
+ justify-content: center;
134
+ align-items: center;
135
+ width: 30px;
136
+ height: 30px;
137
+ position: absolute;
138
+ top: calc(50% - 20px);
139
+ background-color: var(--neutralGray8);
140
+ border-radius: 50%;
141
+ cursor: pointer;
142
+ &.fullScreen {
143
+ background-color: transparent;
144
+ top: calc(50% - 10px);
145
+ }
146
+ }
147
+
148
+ .swapSliderIconPrev,
149
+ .swapSliderIconNext {
150
+ color: var(--neutralGray2);
151
+ &.fullScreen {
152
+ font-size: 32px !important;
153
+ color: var(--neutralGray8);
154
+ }
155
+ }
156
+
157
+ .otherButtonSwap {
158
+ position: absolute;
159
+ bottom: 16px;
160
+ right: 16px;
161
+ & button {
162
+ border-radius: 7px;
163
+ padding: 7px 16px;
164
+ font-size: 12px;
165
+ }
166
+ }
167
+
168
+ .buttonsMainImgContainer,
169
+ .buttonsMainImageSlider {
170
+ width: max-content;
171
+ position: absolute;
172
+ bottom: 16px;
173
+ right: 16px;
174
+ display: flex;
175
+ gap: 8px;
176
+ }
177
+
178
+ .imgFullScreenSlide {
179
+ pointer-events: none;
180
+ width: 100%;
181
+ height: 100%;
182
+ object-fit: contain;
183
+ outline: none;
184
+ user-select: none;
185
+ }
186
+
187
+ .imgFullScreenSlide:active {
188
+ outline: none;
189
+ }
190
+
191
+ .imgFullScreenSlide:focus {
192
+ outline: none;
193
+ }
194
+
195
+ .videoFullScreenSlide {
196
+ width: 100%;
197
+ max-width: 1085px;
198
+ height: 100%;
199
+ max-height: 610px;
200
+ object-fit: contain;
201
+ }
202
+
203
+ @media (min-width: 600px) {
204
+ .fullscreen {
205
+ padding: 30px 40px;
206
+ gap: 8px;
207
+ }
208
+ .fsCloseIconDesktop {
209
+ display: block;
210
+ position: absolute;
211
+ color: var(--neutralGray8);
212
+ right: 4px;
213
+ font-size: 32px;
214
+ top: 0px;
215
+ cursor: pointer;
216
+ }
217
+ .fsCloseIconMobile {
218
+ display: none;
219
+ }
220
+ .fsTabHeader {
221
+ padding: 8px 16px;
222
+ align-items: center;
223
+ width: auto;
224
+ max-width: 100%;
225
+ & p {
226
+ padding: 8px 16px;
227
+ font-size: 14px;
228
+ }
229
+ }
230
+ .fsContainerTabs {
231
+ width: 90%;
232
+ padding-top: 0;
233
+ }
234
+ .iconPrev,
235
+ .iconNext {
236
+ position: relative;
237
+ }
238
+ .fsTabContImage {
239
+ width: 95%;
240
+ }
241
+ .fsTabContImage img {
242
+ max-width: 95%;
243
+ max-height: 95%;
244
+ height: auto;
245
+ }
246
+ .imgFullScreenSlide {
247
+ width: auto;
248
+ }
249
+ }
250
+
251
+ @media (min-width: 700px) {
252
+ .swapSliderIconNext,
253
+ .swapSliderIconPrev {
254
+ color: var(--neutralGray2);
255
+ &.fullScreen {
256
+ font-size: 40px !important;
257
+ color: var(--neutralGray8);
258
+ }
259
+ }
260
+ }
261
+
262
+ .gallerySkeletonsContainer {
263
+ display: flex;
264
+ width: 100%;
265
+ gap: 16px;
266
+ container-type: inline-size;
267
+ }
268
+
269
+ @container (max-width: 810px) {
270
+ .mainImageContainer {
271
+ width: 100%;
272
+ }
273
+ .followingSkeletonImagesContainer {
274
+ display: none;
275
+ }
276
+ }
277
+
278
+ @container (min-width: 786px) and (max-width: 960px) {
279
+ .mainImageContainer {
280
+ width: 70%;
281
+ background-color: #000000;
282
+ }
283
+ .followingSkeletonImagesContainer {
284
+ display: flex;
285
+ flex-direction: column;
286
+ width: 30%;
287
+ gap: 16px;
288
+ overflow: hidden;
289
+ }
290
+ .followingSkeletonImagesContainer > div {
291
+ min-height: calc(50% - 8px);
292
+ }
293
+ }
294
+ @container (min-width: 961px) and (max-width: 1480px) {
295
+ .mainImageContainer {
296
+ width: 53%;
297
+ background-color: #000000;
298
+ }
299
+ .followingSkeletonImagesContainer {
300
+ display: flex;
301
+ flex-wrap: wrap;
302
+ width: 47%;
303
+ gap: 16px;
304
+ overflow: hidden;
305
+ }
306
+ .followingSkeletonImagesContainer > div {
307
+ width: calc(50% - 8px);
308
+ height: calc(50% - 8px);
309
+ }
310
+ }
311
+ @container (min-width: 1480px) {
312
+ .mainImageContainer {
313
+ width: 45%;
314
+ background-color: #000000;
315
+ }
316
+ .followingSkeletonImagesContainer {
317
+ display: flex;
318
+ flex-wrap: wrap;
319
+ width: 55%;
320
+ gap: 16px;
321
+ overflow: hidden;
322
+ }
323
+ .followingSkeletonImagesContainer > div {
324
+ width: calc(33.33% - 10.67px);
325
+ height: calc(50% - 8px);
326
+ }
327
+ }