oraculo-ui 0.1.8 → 0.1.10

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,397 @@
1
+ /* src/atoms/OraculoButton/OraculoButton.css */
2
+ .orc-btn {
3
+ --nl-green: #9EE86E;
4
+ --nl-hover-hex: #D9F6C6;
5
+ --nl-hover-alpha: .22;
6
+ --nl-press: #254B0C;
7
+ --nl-disabled-border: #4a5542;
8
+ --nl-disabled-fg: #4a5542;
9
+ --stroke-w: 1.5px;
10
+ --h: 32px;
11
+ --pad-x: 12px;
12
+ --pad-y: 8px;
13
+ --radius: 12px;
14
+ box-sizing: border-box;
15
+ height: var(--h);
16
+ font-family: var(--clmc-font);
17
+ display: inline-flex;
18
+ align-items: center;
19
+ justify-content: center;
20
+ gap: 8px;
21
+ cursor: pointer;
22
+ text-decoration: none;
23
+ border-radius: var(--radius);
24
+ outline: none;
25
+ position: relative;
26
+ padding: var(--pad-y) var(--pad-x);
27
+ border: 0;
28
+ }
29
+ .orc-btn__label {
30
+ color: currentColor;
31
+ font-size: 14px;
32
+ }
33
+ .orc-btn__icon {
34
+ color: currentColor;
35
+ display: inline-flex;
36
+ line-height: 0;
37
+ font-size: 18px;
38
+ }
39
+ .orc-btn--primary {
40
+ background: var(--nl-green);
41
+ color: #1C1C1C;
42
+ box-shadow: inset 0 0 0 var(--stroke-w) transparent;
43
+ }
44
+ .orc-btn--primary:hover {
45
+ background: var(--nl-hover-hex);
46
+ color: #1C1C1C;
47
+ }
48
+ .orc-btn--primary:active {
49
+ background: var(--nl-press);
50
+ color: #FFFFFF;
51
+ transform: translateY(1px);
52
+ }
53
+ .orc-btn--primary:disabled,
54
+ .orc-btn--primary[aria-disabled=true] {
55
+ background: transparent;
56
+ color: var(--nl-disabled-fg);
57
+ box-shadow: inset 0 0 0 var(--stroke-w) var(--nl-disabled-border);
58
+ cursor: not-allowed;
59
+ transform: none;
60
+ opacity: 1;
61
+ }
62
+ .orc-btn--secondary {
63
+ background: transparent;
64
+ color: var(--nl-green);
65
+ box-shadow: inset 0 0 0 var(--stroke-w) var(--nl-green);
66
+ }
67
+ .orc-btn--secondary:hover {
68
+ background: rgba(229, 244, 219, var(--nl-hover-alpha)) !important;
69
+ color: var(--nl-hover-hex);
70
+ box-shadow: inset 0 0 0 var(--stroke-w) var(--nl-hover-hex);
71
+ }
72
+ .orc-btn--secondary:active {
73
+ transform: translateY(1px);
74
+ color: var(--nl-press);
75
+ box-shadow: inset 0 0 0 var(--stroke-w) var(--nl-press);
76
+ background: rgba(37, 75, 12, 0.10);
77
+ }
78
+ .orc-btn--secondary:focus-visible {
79
+ box-shadow: inset 0 0 0 var(--stroke-w) var(--nl-green), 0 0 0 3px rgba(197, 228, 177, .45);
80
+ }
81
+ .orc-btn--secondary:disabled,
82
+ .orc-btn--secondary[aria-disabled=true] {
83
+ background: transparent;
84
+ color: var(--nl-disabled-fg);
85
+ box-shadow: inset 0 0 0 var(--stroke-w) var(--nl-disabled-border);
86
+ cursor: not-allowed;
87
+ }
88
+ .orc-btn--tertiary {
89
+ background: transparent;
90
+ color: var(--nl-green);
91
+ box-shadow: none;
92
+ }
93
+ .orc-btn--tertiary:hover {
94
+ color: var(--nl-hover-hex);
95
+ }
96
+ .orc-btn--tertiary:active {
97
+ color: var(--nl-press);
98
+ background: rgba(37, 75, 12, 0.08);
99
+ transform: translateY(1px);
100
+ }
101
+ .orc-btn--tertiary:focus-visible {
102
+ box-shadow: 0 0 0 3px rgba(197, 228, 177, .45);
103
+ }
104
+ .orc-btn--tertiary:disabled,
105
+ .orc-btn--tertiary[aria-disabled=true] {
106
+ color: var(--nl-disabled-fg);
107
+ background: transparent;
108
+ box-shadow: none;
109
+ cursor: not-allowed;
110
+ }
111
+ .orc-btn--sm {
112
+ --h: 32px;
113
+ --pad-y: 8px;
114
+ --pad-x: 12px;
115
+ --radius: 12px;
116
+ }
117
+ .orc-btn--md {
118
+ --h: 40px;
119
+ --pad-y: 10px;
120
+ --pad-x: 16px;
121
+ --radius: 12px;
122
+ }
123
+ .orc-btn--lg {
124
+ --h: 48px;
125
+ --pad-y: 12px;
126
+ --pad-x: 20px;
127
+ --radius: 16px;
128
+ }
129
+ .orc-btn--sm .orc-btn__label,
130
+ .orc-btn--md .orc-btn__label,
131
+ .orc-btn--lg .orc-btn__label {
132
+ font-size: 14px !important;
133
+ }
134
+ .orc-btn--iconOnly {
135
+ width: 40px;
136
+ min-width: 40px;
137
+ padding: 0;
138
+ }
139
+ .orc-btn--sm.orc-btn--iconOnly {
140
+ width: 32px;
141
+ min-width: 32px;
142
+ }
143
+ .orc-btn--md.orc-btn--iconOnly {
144
+ width: 40px;
145
+ min-width: 40px;
146
+ }
147
+ .orc-btn--lg.orc-btn--iconOnly {
148
+ width: 48px;
149
+ min-width: 48px;
150
+ }
151
+ .orc-btn--full {
152
+ width: 100%;
153
+ }
154
+ .orc-btn--fullHeight {
155
+ height: 100%;
156
+ }
157
+
158
+ /* src/atoms/OraculoSectionTitle/OraculoSectionTitle.css */
159
+ .orc-section-title {
160
+ display: flex;
161
+ align-items: center;
162
+ gap: 8px;
163
+ }
164
+ .orc-section-title__icon {
165
+ width: 40px;
166
+ height: 40px;
167
+ object-fit: none;
168
+ }
169
+ .orc-section-title__title {
170
+ margin: 0;
171
+ font-weight: 700;
172
+ letter-spacing: 0;
173
+ color: #ffffff;
174
+ }
175
+ .orc-section-title--xs .orc-section-title__title {
176
+ font-size: 14px;
177
+ line-height: 18px;
178
+ }
179
+ .orc-section-title--sm .orc-section-title__title {
180
+ font-size: 18px;
181
+ line-height: 24px;
182
+ }
183
+ .orc-section-title--md .orc-section-title__title {
184
+ font-size: 32px;
185
+ line-height: 48px;
186
+ }
187
+ .orc-section-title--lg .orc-section-title__title {
188
+ font-size: 22px;
189
+ line-height: 30px;
190
+ }
191
+ .orc-section-title--xs .orc-section-title__icon {
192
+ width: 24px;
193
+ height: 24px;
194
+ }
195
+ @media (max-width: 768px) {
196
+ .orc-section-title__icon {
197
+ width: 24px;
198
+ height: 24px;
199
+ }
200
+ .orc-section-title--xs .orc-section-title__title {
201
+ font-size: 14px;
202
+ line-height: 18px;
203
+ }
204
+ .orc-section-title--sm .orc-section-title__title {
205
+ font-size: 16px;
206
+ line-height: 22px;
207
+ }
208
+ .orc-section-title--md .orc-section-title__title {
209
+ font-size: 18px;
210
+ line-height: 24px;
211
+ }
212
+ .orc-section-title--lg .orc-section-title__title {
213
+ font-size: 20px;
214
+ line-height: 26px;
215
+ }
216
+ }
217
+
218
+ /* src/atoms/OraculoCarouselDots/OraculoCarouselDots.css */
219
+ .orc-dots {
220
+ --dot-size: 8px;
221
+ --dot-cell: 20px;
222
+ --dot-active-h: 8px;
223
+ --dot-active-w: 20px;
224
+ --dot-bg: #ffffff;
225
+ --dot-surface: #ffffff;
226
+ --dot-accent: #9EE86E;
227
+ display: flex;
228
+ gap: 0px;
229
+ justify-content: center;
230
+ margin-top: 10px;
231
+ }
232
+ .orc-dots__cell {
233
+ width: var(--dot-cell);
234
+ display: inline-flex;
235
+ justify-content: center;
236
+ }
237
+ .orc-dots__dot {
238
+ width: var(--dot-size);
239
+ height: var(--dot-size);
240
+ border-radius: 9999px;
241
+ background: var(--dot-bg);
242
+ border: 0;
243
+ padding: 0;
244
+ cursor: pointer;
245
+ position: relative;
246
+ transition:
247
+ transform .15s ease,
248
+ background .15s ease,
249
+ width .2s ease,
250
+ height .2s ease;
251
+ }
252
+ .orc-dots__dot:hover {
253
+ transform: scale(1.06);
254
+ }
255
+ .orc-dots__dot--active {
256
+ width: var(--dot-active-w);
257
+ height: var(--dot-active-h);
258
+ border-radius: 9999px;
259
+ background: #fff;
260
+ position: relative;
261
+ overflow: hidden;
262
+ }
263
+ .orc-dots__dot--active::after {
264
+ content: "";
265
+ position: absolute;
266
+ top: 0;
267
+ bottom: 0;
268
+ left: 0;
269
+ width: 40%;
270
+ background: var(--dot-accent);
271
+ border-radius: inherit;
272
+ }
273
+ .orc-dots__dot--active {
274
+ outline: 0;
275
+ outline-offset: 0;
276
+ }
277
+ .orc-dots__dot:focus-visible {
278
+ outline: 2px solid var(--dot-accent);
279
+ outline-offset: 2px;
280
+ }
281
+
282
+ /* src/organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.css */
283
+ .orc-co-wrap {
284
+ --orc-co-art-w: 887px;
285
+ --orc-co-art-h: 510px;
286
+ --orc-co-text: #ffffff;
287
+ --orc-co-art-left: clamp(120px, 18vw, 280px);
288
+ --orc-co-art-top: 20px;
289
+ --orc-co-logo-left: 163px;
290
+ --orc-co-logo-top: 120px;
291
+ --orc-co-logo-w: 220px;
292
+ --orc-co-content-left: 120px;
293
+ --orc-co-content-top: 290px;
294
+ min-height: var(--orc-co-minH, 520px);
295
+ position: relative;
296
+ }
297
+ .orc-co-fullBleed {
298
+ width: 100vw;
299
+ margin-left: 50%;
300
+ transform: translateX(-50%);
301
+ }
302
+ .orc-co-bottom {
303
+ position: absolute;
304
+ left: 50%;
305
+ transform: translateX(-50%);
306
+ bottom: 20px;
307
+ z-index: 2;
308
+ display: grid;
309
+ justify-items: center;
310
+ gap: 12px;
311
+ border-radius: 12px;
312
+ }
313
+ .orc-co-caption {
314
+ color: var(--orc-co-text);
315
+ font-size: 14px;
316
+ text-align: center;
317
+ font-weight: 400;
318
+ text-wrap: balance;
319
+ line-height: 1.4;
320
+ }
321
+ .orc-co-bgMobile {
322
+ position: relative;
323
+ width: 100%;
324
+ min-height: 360px;
325
+ overflow: hidden;
326
+ }
327
+ .orc-co-bgMobileImg {
328
+ width: 100%;
329
+ height: 100%;
330
+ object-fit: cover;
331
+ }
332
+ .orc-co-bgDesktop,
333
+ .orc-co-logo,
334
+ .orc-co-desktopContent {
335
+ display: none;
336
+ }
337
+ @media (min-width: 1024px) {
338
+ .orc-co-bgMobile {
339
+ display: none;
340
+ }
341
+ .orc-co-bottom {
342
+ display: none;
343
+ }
344
+ .orc-co-bgDesktop {
345
+ position: absolute;
346
+ inset: 0;
347
+ z-index: 0;
348
+ display: block;
349
+ }
350
+ .orc-co-bgDesktop > .orc-co-fillHost {
351
+ position: absolute;
352
+ width: var(--orc-co-art-w);
353
+ height: var(--orc-co-art-h);
354
+ top: var(--orc-co-art-top);
355
+ left: var(--orc-co-art-left);
356
+ }
357
+ .orc-co-bgDesktopImg {
358
+ width: 100%;
359
+ height: 100%;
360
+ object-fit: cover;
361
+ display: block;
362
+ }
363
+ .orc-co-logo {
364
+ display: block;
365
+ position: absolute;
366
+ left: var(--orc-co-logo-left);
367
+ top: var(--orc-co-logo-top);
368
+ width: var(--orc-co-logo-w);
369
+ aspect-ratio: 3 / 2;
370
+ z-index: 2;
371
+ }
372
+ .orc-co-logoImg {
373
+ width: 100%;
374
+ height: 100%;
375
+ object-fit: contain;
376
+ display: block;
377
+ }
378
+ .orc-co-desktopContent {
379
+ display: grid;
380
+ position: absolute;
381
+ left: var(--orc-co-content-left);
382
+ top: var(--orc-co-content-top);
383
+ gap: 16px;
384
+ justify-items: center;
385
+ text-align: center;
386
+ z-index: 2;
387
+ }
388
+ .orc-co-captionDesktop {
389
+ margin: 0;
390
+ color: var(--orc-co-text);
391
+ font-family: var(--clmc-font, inherit);
392
+ font-weight: 400;
393
+ font-size: clamp(14px, 1.5vw, 18px);
394
+ max-width: 28ch;
395
+ text-wrap: balance;
396
+ }
397
+ }
@@ -0,0 +1,12 @@
1
+ import {
2
+ OraculoSeccionTopJuegos
3
+ } from "./chunk-VYYKDD5L.mjs";
4
+ import "./chunk-2D7ZJMJV.mjs";
5
+ import "./chunk-PZJSZNXJ.mjs";
6
+ import "./chunk-PVY5Z3JS.mjs";
7
+ import "./chunk-4LBAYKDQ.mjs";
8
+ import "./chunk-IJQLK4NO.mjs";
9
+ import "./chunk-VIPLL6XT.mjs";
10
+ export {
11
+ OraculoSeccionTopJuegos as default
12
+ };