-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.css
310 lines (255 loc) · 5.5 KB
/
tailwind.css
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
/* Allow changing font family via CMS */
html,
body {
font-size: 16px;
/* font-family: var(--font-family); */
font-family: "Poppins", serif;
scroll-behavior: smooth;
}
* {
/* font-family: var(--font-family); */
}
/** Remove default styles from input[type=number] */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Disable scroll once drawer/modal is openned */
body:has(.drawer-toggle:checked),
body:has(.modal-toggle:checked) {
overflow: hidden;
height: 100vh;
}
.container {
margin-left: auto;
margin-right: auto;
max-width: 100%;
@screen lg {
max-width: 1440px;
}
}
}
@layer utilities {
.is-homepage #header-wrapper {
@apply absolute;
}
.is-scrolled #header {
@apply top-0 fixed bg-primary;
}
.is-homepage #header {
@apply fixed;
}
.is-otherpage #header {
@apply bg-primary;
}
}
.group:disabled .group-disabled\:animate-progress {
animation: progress-frame ease normal
}
@keyframes progress-frame {
0% {
--dot-progress: 0%
}
to {
--dot-progress: 100%
}
}
.space-between {
justify-content: space-between;
}
.drawer {
width: unset !important;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
-ms-overflow-style: none;
/* IE and Edge */
scrollbar-width: none;
/* Firefox */
}
.custom-scrollbar::-webkit-scrollbar {
width: 0; /* Oculta a barra de rolagem */
height: 0;
}
.custom-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.cursor-grab {
cursor: grab;
}
.cursor-grabbing {
cursor: grabbing;
}
@keyframes scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}
.animate-scroll {
animation: scroll 20s linear infinite;
}
.animate-scroll:hover {
animation-play-state: paused;
}
@media (min-width: 1024px) {
.search-bar-wrapper {
transition: max-width 250ms linear;
}
.search-bar-wrapper .suggestions-wrapper {
top: 19px;
left: -1px;
width: 100%;
display: block;
z-index: 1;
opacity: 0;
visibility: hidden;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
}
.search-bar-container {
z-index: 2;
position: relative;
}
.search-bar-wrapper:hover .suggestions-wrapper {
opacity: 1;
visibility: visible;
}
.search-bar-wrapper form {
width: 100%;
/* display: flex; */
/* max-width: 300px; */
/* transition: max-width 250ms linear; */
/* justify-content: flex-end; */
}
.search-bar-wrapper form > input {
/* width: 50vw;
max-width: 100%; */
width: 100%;
}
.search-bar-wrapper:hover form {
/* max-width: 100%; */
}
.main-logo {
top: 50%;
left: 50%;
position: absolute;
transform: translate(-50%, -50%);
}
}
/* Fix Safari issue related to <summary> / <details> arrow */
details>summary::-webkit-details-marker,
details>summary::marker {
display: none;
}
/* This used to work for the parent element of button divs */
/* But it does not work with newer browsers, the below doesn't hide the play button parent div */
*::-webkit-media-controls-panel {
display: none !important;
-webkit-appearance: none;
}
/* Old shadow dom for play button */
*::-webkit-media-controls-play-button {
display: none !important;
-webkit-appearance: none;
}
/* New shadow dom for play button */
/* This one works! */
*::-webkit-media-controls-start-playback-button {
display: none !important;
-webkit-appearance: none;
}
.fluid-text br {
margin: 12px 0 0;
display: block;
content: "";
}
.fluid-text h1 {
margin: 24px 0;
font-size: 30px;
font-weight: bold;
text-transform: uppercase;
}
.fluid-text h2 {
margin: 24px 0;
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
}
.fluid-text h3,
.fluid-text h4 {
margin: 16px 0;
font-size: 16px;
font-weight: bold;
}
.fluid-text ul {
margin: 12px 0 12px 10px;
list-style: inside;
}
.fluid-text li {
margin: 8px 0;
}
.c p,
.fluid-text p span {
margin: 12px 0;
font-size: 14px !important;
}
@media (max-width: 1024px) {
.fluid-text h1 {
margin: 24px 0;
font-size: 20px;
font-weight: bold;
text-transform: uppercase;
}
.fluid-text h2 {
margin: 24px 0;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
}
.fluid-text h3,
.fluid-text h4 {
margin: 16px 0;
font-size: 14px;
font-weight: bold;
}
.fluid-text ul {
margin: 12px 0 12px 10px;
list-style: inside;
}
.fluid-text li {
margin: 8px 0;
font-size: 12px;
}
.fluid-text p,
.fluid-text p span {
margin: 12px 0;
font-size: 12px !important;
}
}
.ts-shelf-right.ts-shelf-rate-count.ts-shelf-rate-disabled,
.ts-shelf-right.ts-shelf-rate-count.ts-shelf-rate-enabled {
display: none !important;
}
.ts-shelf-container .ts-sprite {
background: url("https://allever.vtexassets.com/arquivos/stars.png") no-repeat 0 0 !important;
}
#product-page .ts-shelf-container .ts-sprite {
background: url("https://allever.vtexassets.com/arquivos/stars-cinza.png") no-repeat 0 0 !important;
}
.ts-shelf-container .ts-shelf-rate-symbols,
#product-page .ts-shelf-container .ts-shelf-rate-symbols {
background-position: 0 -23px !important;
}