@onpe/ui 1.2.37 → 1.2.39
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.
- package/dist/components.esm.js +54 -0
- package/dist/components.js +54 -0
- package/dist/index.css +443 -359
- package/dist/index.esm.js +54 -0
- package/dist/index.js +54 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1,3 +1,131 @@
|
|
|
1
|
+
/* ONPE UI - Sistema de diseño global */
|
|
2
|
+
|
|
3
|
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
|
|
4
|
+
|
|
5
|
+
/* ===== VARIABLES GLOBALES ===== */
|
|
6
|
+
:root {
|
|
7
|
+
/* Colores ONPE */
|
|
8
|
+
--onpe-ui-blue: #003770;
|
|
9
|
+
--onpe-ui-skyblue: #0073cf;
|
|
10
|
+
--onpe-ui-skyblue-light: #69b2e8;
|
|
11
|
+
--onpe-ui-yellow: #ffb81c;
|
|
12
|
+
--onpe-ui-light-skyblue: #aaeff6;
|
|
13
|
+
--onpe-ui-gray: #bcbcbc;
|
|
14
|
+
--onpe-ui-gray-light: #bdbdbd;
|
|
15
|
+
--onpe-ui-gray-extra-light: #f2f2f2;
|
|
16
|
+
--onpe-ui-red: #e3002b;
|
|
17
|
+
--onpe-ui-dark-gray: #4f4f4f;
|
|
18
|
+
--onpe-ui-green: #76bd43;
|
|
19
|
+
--onpe-ui-yellow-light: #FFF1D2;
|
|
20
|
+
|
|
21
|
+
/* Breakpoints - Solo para referencia, usar valores fijos en media queries */
|
|
22
|
+
/* xs: 480px, sm: 640px, md: 768px, lg: 1024px, xl: 1280px, 2xl: 1536px, 3xl: 1920px */
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* ===== GUÍA DE BREAKPOINTS ===== */
|
|
26
|
+
/*
|
|
27
|
+
Para usar breakpoints en componentes, usar valores fijos:
|
|
28
|
+
xs: 480px, sm: 640px, md: 768px, lg: 1024px, xl: 1280px, 2xl: 1536px, 3xl: 1920px
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/* ===== RESET GLOBAL PARA COMPONENTES ONPE ===== */
|
|
32
|
+
.onpe-button,
|
|
33
|
+
.onpe-browser-recommended,
|
|
34
|
+
.onpe-footer-contact,
|
|
35
|
+
.onpe-footer-development {
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
font-family: 'Poppins', system-ui, sans-serif;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.onpe-button *,
|
|
41
|
+
.onpe-browser-recommended *,
|
|
42
|
+
.onpe-footer-contact *,
|
|
43
|
+
.onpe-footer-development * {
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* ===== ESTILOS GLOBALES PARA COMPONENTES ===== */
|
|
48
|
+
.onpe-button {
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.onpe-button:disabled {
|
|
53
|
+
cursor: not-allowed;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* ===== UTILIDADES GLOBALES ===== */
|
|
57
|
+
.onpe-fast-blink {
|
|
58
|
+
animation: onpe-fast-blink 0.8s ease-in-out infinite;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.font-consolas {
|
|
62
|
+
font-family: 'Consolas', monospace;
|
|
63
|
+
font-weight: 900;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* ===== ANIMACIONES ===== */
|
|
67
|
+
@keyframes onpe-fast-blink {
|
|
68
|
+
0% { opacity: 1; }
|
|
69
|
+
25% { opacity: 0.8; }
|
|
70
|
+
50% { opacity: 0.4; }
|
|
71
|
+
75% { opacity: 0.8; }
|
|
72
|
+
100% { opacity: 1; }
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
/* BrowserRecommended Component Styles */
|
|
78
|
+
.onpe-browser-recommended {
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
gap: 1.5rem;
|
|
84
|
+
padding: 0.75rem 0 1.5rem 0;
|
|
85
|
+
font-size: 0.75rem;
|
|
86
|
+
text-align: center;
|
|
87
|
+
color: var(--onpe-ui-blue);
|
|
88
|
+
background-color: rgba(105, 178, 232, 0.15); /* onpe-ui-skyblue-light/15 */
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.onpe-browser-recommended .onpe-browser-list {
|
|
92
|
+
display: flex;
|
|
93
|
+
gap: 1.5rem;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.onpe-browser-recommended .onpe-browser-item {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: 0.5rem;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.onpe-browser-recommended .onpe-browser-name {
|
|
103
|
+
display: none;
|
|
104
|
+
text-align: left;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Responsive Design */
|
|
108
|
+
@media (min-width: 768px) {
|
|
109
|
+
.onpe-browser-recommended {
|
|
110
|
+
padding: 0.5rem 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.onpe-browser-recommended .onpe-browser-list {
|
|
114
|
+
gap: 2rem;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.onpe-browser-recommended .onpe-browser-name {
|
|
118
|
+
display: block;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media (min-width: 1024px) {
|
|
123
|
+
.onpe-browser-recommended {
|
|
124
|
+
flex-direction: row;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
1
129
|
/* Button Component Styles */
|
|
2
130
|
.onpe-button {
|
|
3
131
|
color: white;
|
|
@@ -142,280 +270,172 @@
|
|
|
142
270
|
}
|
|
143
271
|
|
|
144
272
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
bottom:
|
|
151
|
-
left: 0;
|
|
152
|
-
width: 100%;
|
|
153
|
-
height: 100vh;
|
|
154
|
-
z-index: 10;
|
|
155
|
-
transition: all 0.5s ease-in-out;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.onpe-overlay.onpe-overlay-show {
|
|
159
|
-
pointer-events: auto;
|
|
160
|
-
opacity: 1;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.onpe-overlay.onpe-overlay-hide {
|
|
164
|
-
pointer-events: none;
|
|
165
|
-
opacity: 0;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/* Overlay Colors */
|
|
169
|
-
.onpe-overlay.onpe-overlay-blue {
|
|
170
|
-
background-color: rgba(0, 55, 112, 0.8); /* onpe-ui-blue/80 */
|
|
273
|
+
|
|
274
|
+
/* ModalBrowserIncompatible Component Styles */
|
|
275
|
+
.onpe-modal-browser-incompatible-container {
|
|
276
|
+
max-width: 680px !important;
|
|
277
|
+
padding-top: 1.25rem !important; /* pt-5 */
|
|
278
|
+
padding-bottom: 2rem !important; /* pb-8 */
|
|
171
279
|
}
|
|
172
280
|
|
|
173
|
-
.onpe-
|
|
174
|
-
|
|
281
|
+
.onpe-modal-browser-incompatible-icon-container {
|
|
282
|
+
display: flex;
|
|
283
|
+
align-items: center;
|
|
284
|
+
justify-content: center;
|
|
175
285
|
}
|
|
176
286
|
|
|
177
|
-
.onpe-
|
|
178
|
-
|
|
287
|
+
.onpe-modal-browser-incompatible-icon {
|
|
288
|
+
width: 5.5rem; /* w-22 */
|
|
289
|
+
height: 5.5rem; /* h-22 */
|
|
290
|
+
color: var(--onpe-ui-skyblue);
|
|
179
291
|
}
|
|
180
292
|
|
|
181
|
-
.onpe-
|
|
182
|
-
|
|
293
|
+
.onpe-modal-browser-incompatible-title {
|
|
294
|
+
margin-top: 1.5rem; /* mt-6 */
|
|
295
|
+
font-size: 0.875rem; /* text-sm */
|
|
296
|
+
font-weight: 500; /* font-medium */
|
|
297
|
+
text-align: center;
|
|
298
|
+
color: var(--onpe-ui-skyblue);
|
|
183
299
|
}
|
|
184
300
|
|
|
185
|
-
.onpe-
|
|
186
|
-
|
|
301
|
+
.onpe-modal-browser-incompatible-message {
|
|
302
|
+
margin-top: 1.5rem; /* mt-6 */
|
|
303
|
+
font-size: 0.875rem; /* text-sm */
|
|
304
|
+
text-align: center;
|
|
187
305
|
}
|
|
188
306
|
|
|
189
|
-
.onpe-
|
|
190
|
-
|
|
307
|
+
.onpe-modal-browser-incompatible-browsers-container {
|
|
308
|
+
display: flex;
|
|
309
|
+
align-items: center;
|
|
310
|
+
justify-content: center;
|
|
311
|
+
gap: 2rem; /* gap-8 */
|
|
312
|
+
margin-top: 1.25rem; /* mt-5 */
|
|
191
313
|
}
|
|
192
314
|
|
|
193
|
-
.onpe-
|
|
194
|
-
|
|
315
|
+
.onpe-modal-browser-incompatible-browser-icon {
|
|
316
|
+
width: 2rem; /* w-[32px] */
|
|
317
|
+
height: 2rem; /* h-[32px] */
|
|
195
318
|
}
|
|
196
319
|
|
|
197
|
-
|
|
198
|
-
|
|
320
|
+
/* Responsive Design */
|
|
321
|
+
@media (min-width: 768px) {
|
|
322
|
+
.onpe-modal-browser-incompatible-container {
|
|
323
|
+
width: 680px !important;
|
|
324
|
+
max-width: 680px !important;
|
|
325
|
+
}
|
|
199
326
|
}
|
|
200
327
|
|
|
201
|
-
|
|
202
|
-
|
|
328
|
+
@media (min-width: 1024px) {
|
|
329
|
+
.onpe-modal-browser-incompatible-container {
|
|
330
|
+
width: 680px !important;
|
|
331
|
+
max-width: 680px !important;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.onpe-modal-browser-incompatible-title {
|
|
335
|
+
font-size: 1.5rem; /* md:text-2xl */
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.onpe-modal-browser-incompatible-message {
|
|
339
|
+
font-size: 1.125rem; /* md:text-lg */
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.onpe-modal-browser-incompatible-browsers-container {
|
|
343
|
+
gap: 3rem; /* md:gap-12 */
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.onpe-modal-browser-incompatible-browser-icon {
|
|
347
|
+
width: 3rem; /* md:w-[48px] */
|
|
348
|
+
height: 3rem; /* md:h-[48px] */
|
|
349
|
+
}
|
|
203
350
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
/* ModalSystemIncompatible Component Styles */
|
|
354
|
+
.onpe-modal-system-incompatible-container {
|
|
355
|
+
max-width: 680px !important;
|
|
356
|
+
padding-top: 2.5rem !important; /* pt-10 */
|
|
357
|
+
padding-bottom: 6.125rem !important; /* pb-24.5 */
|
|
207
358
|
}
|
|
208
359
|
|
|
209
|
-
.onpe-
|
|
210
|
-
|
|
360
|
+
.onpe-modal-system-incompatible-icon-container {
|
|
361
|
+
display: flex;
|
|
362
|
+
justify-content: center;
|
|
363
|
+
align-items: center;
|
|
211
364
|
}
|
|
212
365
|
|
|
213
|
-
.onpe-
|
|
214
|
-
|
|
366
|
+
.onpe-modal-system-incompatible-icon {
|
|
367
|
+
width: 5.5rem; /* w-22 */
|
|
368
|
+
height: 5.5rem; /* h-22 */
|
|
369
|
+
color: var(--onpe-ui-skyblue);
|
|
215
370
|
}
|
|
216
371
|
|
|
217
|
-
.onpe-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
position: fixed;
|
|
224
|
-
top: 0;
|
|
225
|
-
width: 100%;
|
|
226
|
-
height: 100vh;
|
|
227
|
-
display: grid;
|
|
228
|
-
place-items: center;
|
|
372
|
+
.onpe-modal-system-incompatible-title {
|
|
373
|
+
font-size: 0.875rem; /* text-sm */
|
|
374
|
+
text-align: center;
|
|
375
|
+
margin-top: 1.5rem; /* mt-6 */
|
|
376
|
+
color: var(--onpe-ui-skyblue);
|
|
377
|
+
font-weight: 500; /* font-medium */
|
|
229
378
|
}
|
|
230
379
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
380
|
+
.onpe-modal-system-incompatible-message {
|
|
381
|
+
font-size: 0.875rem; /* text-sm */
|
|
382
|
+
margin-top: 2.5rem; /* mt-10 */
|
|
383
|
+
text-align: center;
|
|
234
384
|
}
|
|
235
385
|
|
|
236
|
-
.onpe-modal-
|
|
237
|
-
|
|
238
|
-
|
|
386
|
+
.onpe-modal-system-incompatible-systems-container {
|
|
387
|
+
display: flex;
|
|
388
|
+
justify-content: center;
|
|
389
|
+
align-items: center;
|
|
390
|
+
gap: 2rem; /* gap-8 */
|
|
391
|
+
margin-top: 1.25rem; /* mt-5 */
|
|
392
|
+
color: var(--onpe-ui-skyblue);
|
|
239
393
|
}
|
|
240
394
|
|
|
241
|
-
.onpe-modal-
|
|
242
|
-
|
|
395
|
+
.onpe-modal-system-incompatible-system-icon {
|
|
396
|
+
width: 2rem; /* w-[32px] */
|
|
397
|
+
height: 2rem; /* h-[32px] */
|
|
243
398
|
}
|
|
244
399
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
position: relative;
|
|
252
|
-
z-index: 20;
|
|
253
|
-
display: grid;
|
|
254
|
-
place-items: center;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.onpe-modal-content {
|
|
258
|
-
position: relative;
|
|
259
|
-
display: flex;
|
|
260
|
-
flex-direction: column;
|
|
261
|
-
align-items: center;
|
|
262
|
-
justify-content: center;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.onpe-modal-content.onpe-modal-with-background {
|
|
266
|
-
background-color: white;
|
|
267
|
-
padding: 2.5rem 0.25rem; /* py-10 px-1 */
|
|
268
|
-
min-width: 320px;
|
|
269
|
-
width: 98vw;
|
|
270
|
-
max-width: 95vw;
|
|
271
|
-
max-height: 90vh;
|
|
272
|
-
overflow-y: auto;
|
|
273
|
-
scroll-behavior: smooth; /* Scroll suave */
|
|
274
|
-
scrollbar-width: thin; /* Scrollbar más delgado */
|
|
275
|
-
scrollbar-color: #cbd5e0 #f7fafc; /* Colores del scrollbar */
|
|
276
|
-
transition: scroll-behavior 0.1s ease-in-out; /* Transición suave para el reset */
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
/* Estilos para el scrollbar en WebKit (Chrome, Safari, Edge) */
|
|
280
|
-
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar {
|
|
281
|
-
width: 8px;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar-track {
|
|
285
|
-
background: #f7fafc;
|
|
286
|
-
border-radius: 4px;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar-thumb {
|
|
290
|
-
background: #cbd5e0;
|
|
291
|
-
border-radius: 4px;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar-thumb:hover {
|
|
295
|
-
background: #a0aec0;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.onpe-modal-content.onpe-modal-without-background {
|
|
299
|
-
/* Sin fondo - solo contenido */
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.onpe-modal-close-button {
|
|
303
|
-
position: absolute;
|
|
304
|
-
top: 1rem; /* top-4 */
|
|
305
|
-
right: 1rem; /* right-4 */
|
|
306
|
-
border-radius: 50%;
|
|
307
|
-
background-color: var(--onpe-ui-red);
|
|
308
|
-
padding: 7px;
|
|
309
|
-
display: flex;
|
|
310
|
-
align-items: center;
|
|
311
|
-
justify-content: center;
|
|
312
|
-
z-index: 30;
|
|
313
|
-
border: none;
|
|
314
|
-
cursor: pointer;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.onpe-modal-close-button:hover {
|
|
318
|
-
background-color: rgba(227, 0, 43, 0.8); /* onpe-ui-red con hover */
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.onpe-modal-close-icon {
|
|
322
|
-
height: 10px;
|
|
323
|
-
width: 10px;
|
|
324
|
-
color: white;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/* Responsive Design */
|
|
328
|
-
@media (min-width: 768px) {
|
|
329
|
-
.onpe-modal-content.onpe-modal-with-background {
|
|
330
|
-
padding: 2.5rem 0; /* md:px-auto */
|
|
331
|
-
width: 500px; /* md:w-[500px] */
|
|
332
|
-
}
|
|
400
|
+
/* Responsive Design */
|
|
401
|
+
@media (min-width: 768px) {
|
|
402
|
+
.onpe-modal-system-incompatible-container {
|
|
403
|
+
width: 680px !important;
|
|
404
|
+
max-width: 680px !important;
|
|
405
|
+
}
|
|
333
406
|
}
|
|
334
407
|
|
|
335
408
|
@media (min-width: 1024px) {
|
|
336
|
-
.onpe-modal-
|
|
337
|
-
padding: 4rem 1.25rem; /* lg:py-16 lg:px-5 */
|
|
338
|
-
width: 1024px; /* lg:w-[1024px] */
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/* ModalBrowserIncompatible Component Styles */
|
|
343
|
-
.onpe-modal-browser-incompatible-container {
|
|
344
|
-
max-width: 680px !important;
|
|
345
|
-
padding-top: 1.25rem !important; /* pt-5 */
|
|
346
|
-
padding-bottom: 2rem !important; /* pb-8 */
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.onpe-modal-browser-incompatible-icon-container {
|
|
350
|
-
display: flex;
|
|
351
|
-
align-items: center;
|
|
352
|
-
justify-content: center;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.onpe-modal-browser-incompatible-icon {
|
|
356
|
-
width: 5.5rem; /* w-22 */
|
|
357
|
-
height: 5.5rem; /* h-22 */
|
|
358
|
-
color: var(--onpe-ui-skyblue);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.onpe-modal-browser-incompatible-title {
|
|
362
|
-
margin-top: 1.5rem; /* mt-6 */
|
|
363
|
-
font-size: 0.875rem; /* text-sm */
|
|
364
|
-
font-weight: 500; /* font-medium */
|
|
365
|
-
text-align: center;
|
|
366
|
-
color: var(--onpe-ui-skyblue);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.onpe-modal-browser-incompatible-message {
|
|
370
|
-
margin-top: 1.5rem; /* mt-6 */
|
|
371
|
-
font-size: 0.875rem; /* text-sm */
|
|
372
|
-
text-align: center;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.onpe-modal-browser-incompatible-browsers-container {
|
|
376
|
-
display: flex;
|
|
377
|
-
align-items: center;
|
|
378
|
-
justify-content: center;
|
|
379
|
-
gap: 2rem; /* gap-8 */
|
|
380
|
-
margin-top: 1.25rem; /* mt-5 */
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.onpe-modal-browser-incompatible-browser-icon {
|
|
384
|
-
width: 2rem; /* w-[32px] */
|
|
385
|
-
height: 2rem; /* h-[32px] */
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/* Responsive Design */
|
|
389
|
-
@media (min-width: 768px) {
|
|
390
|
-
.onpe-modal-browser-incompatible-container {
|
|
391
|
-
width: 680px !important;
|
|
392
|
-
max-width: 680px !important;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
@media (min-width: 1024px) {
|
|
397
|
-
.onpe-modal-browser-incompatible-container {
|
|
409
|
+
.onpe-modal-system-incompatible-container {
|
|
398
410
|
width: 680px !important;
|
|
399
411
|
max-width: 680px !important;
|
|
400
412
|
}
|
|
401
413
|
|
|
402
|
-
.onpe-modal-
|
|
414
|
+
.onpe-modal-system-incompatible-title {
|
|
403
415
|
font-size: 1.5rem; /* md:text-2xl */
|
|
404
416
|
}
|
|
405
417
|
|
|
406
|
-
.onpe-modal-
|
|
418
|
+
.onpe-modal-system-incompatible-message {
|
|
407
419
|
font-size: 1.125rem; /* md:text-lg */
|
|
408
420
|
}
|
|
409
421
|
|
|
410
|
-
.onpe-modal-
|
|
422
|
+
.onpe-modal-system-incompatible-systems-container {
|
|
411
423
|
gap: 3rem; /* md:gap-12 */
|
|
412
424
|
}
|
|
413
425
|
|
|
414
|
-
.onpe-modal-
|
|
426
|
+
.onpe-modal-system-incompatible-system-icon {
|
|
415
427
|
width: 3rem; /* md:w-[48px] */
|
|
416
428
|
height: 3rem; /* md:h-[48px] */
|
|
417
429
|
}
|
|
418
430
|
}
|
|
431
|
+
|
|
432
|
+
@media (min-width: 1280px) {
|
|
433
|
+
.onpe-modal-system-incompatible-message {
|
|
434
|
+
padding-left: 3rem; /* xl:px-12 */
|
|
435
|
+
padding-right: 3rem; /* xl:px-12 */
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
419
439
|
|
|
420
440
|
/* ModalConfirm Component Styles */
|
|
421
441
|
.onpe-modal-confirm-container {
|
|
@@ -520,6 +540,7 @@ body.onpe-modal-open {
|
|
|
520
540
|
}
|
|
521
541
|
}
|
|
522
542
|
|
|
543
|
+
|
|
523
544
|
/* ModalLoading Component Styles */
|
|
524
545
|
.onpe-modal-loading-spinner-desktop {
|
|
525
546
|
display: none; /* hidden */
|
|
@@ -567,142 +588,6 @@ body.onpe-modal-open {
|
|
|
567
588
|
}
|
|
568
589
|
}
|
|
569
590
|
|
|
570
|
-
/* ModalSystemIncompatible Component Styles */
|
|
571
|
-
.onpe-modal-system-incompatible-container {
|
|
572
|
-
max-width: 680px !important;
|
|
573
|
-
padding-top: 2.5rem !important; /* pt-10 */
|
|
574
|
-
padding-bottom: 6.125rem !important; /* pb-24.5 */
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.onpe-modal-system-incompatible-icon-container {
|
|
578
|
-
display: flex;
|
|
579
|
-
justify-content: center;
|
|
580
|
-
align-items: center;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
.onpe-modal-system-incompatible-icon {
|
|
584
|
-
width: 5.5rem; /* w-22 */
|
|
585
|
-
height: 5.5rem; /* h-22 */
|
|
586
|
-
color: var(--onpe-ui-skyblue);
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
.onpe-modal-system-incompatible-title {
|
|
590
|
-
font-size: 0.875rem; /* text-sm */
|
|
591
|
-
text-align: center;
|
|
592
|
-
margin-top: 1.5rem; /* mt-6 */
|
|
593
|
-
color: var(--onpe-ui-skyblue);
|
|
594
|
-
font-weight: 500; /* font-medium */
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
.onpe-modal-system-incompatible-message {
|
|
598
|
-
font-size: 0.875rem; /* text-sm */
|
|
599
|
-
margin-top: 2.5rem; /* mt-10 */
|
|
600
|
-
text-align: center;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
.onpe-modal-system-incompatible-systems-container {
|
|
604
|
-
display: flex;
|
|
605
|
-
justify-content: center;
|
|
606
|
-
align-items: center;
|
|
607
|
-
gap: 2rem; /* gap-8 */
|
|
608
|
-
margin-top: 1.25rem; /* mt-5 */
|
|
609
|
-
color: var(--onpe-ui-skyblue);
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
.onpe-modal-system-incompatible-system-icon {
|
|
613
|
-
width: 2rem; /* w-[32px] */
|
|
614
|
-
height: 2rem; /* h-[32px] */
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
/* Responsive Design */
|
|
618
|
-
@media (min-width: 768px) {
|
|
619
|
-
.onpe-modal-system-incompatible-container {
|
|
620
|
-
width: 680px !important;
|
|
621
|
-
max-width: 680px !important;
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
@media (min-width: 1024px) {
|
|
626
|
-
.onpe-modal-system-incompatible-container {
|
|
627
|
-
width: 680px !important;
|
|
628
|
-
max-width: 680px !important;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.onpe-modal-system-incompatible-title {
|
|
632
|
-
font-size: 1.5rem; /* md:text-2xl */
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.onpe-modal-system-incompatible-message {
|
|
636
|
-
font-size: 1.125rem; /* md:text-lg */
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
.onpe-modal-system-incompatible-systems-container {
|
|
640
|
-
gap: 3rem; /* md:gap-12 */
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
.onpe-modal-system-incompatible-system-icon {
|
|
644
|
-
width: 3rem; /* md:w-[48px] */
|
|
645
|
-
height: 3rem; /* md:h-[48px] */
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
@media (min-width: 1280px) {
|
|
650
|
-
.onpe-modal-system-incompatible-message {
|
|
651
|
-
padding-left: 3rem; /* xl:px-12 */
|
|
652
|
-
padding-right: 3rem; /* xl:px-12 */
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
/* BrowserRecommended Component Styles */
|
|
657
|
-
.onpe-browser-recommended {
|
|
658
|
-
display: flex;
|
|
659
|
-
flex-direction: column;
|
|
660
|
-
align-items: center;
|
|
661
|
-
justify-content: center;
|
|
662
|
-
gap: 1.5rem;
|
|
663
|
-
padding: 0.75rem 0 1.5rem 0;
|
|
664
|
-
font-size: 0.75rem;
|
|
665
|
-
text-align: center;
|
|
666
|
-
color: var(--onpe-ui-blue);
|
|
667
|
-
background-color: rgba(105, 178, 232, 0.15); /* onpe-ui-skyblue-light/15 */
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
.onpe-browser-recommended .onpe-browser-list {
|
|
671
|
-
display: flex;
|
|
672
|
-
gap: 1.5rem;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
.onpe-browser-recommended .onpe-browser-item {
|
|
676
|
-
display: flex;
|
|
677
|
-
align-items: center;
|
|
678
|
-
gap: 0.5rem;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
.onpe-browser-recommended .onpe-browser-name {
|
|
682
|
-
display: none;
|
|
683
|
-
text-align: left;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
/* Responsive Design */
|
|
687
|
-
@media (min-width: 768px) {
|
|
688
|
-
.onpe-browser-recommended {
|
|
689
|
-
padding: 0.5rem 0;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
.onpe-browser-recommended .onpe-browser-list {
|
|
693
|
-
gap: 2rem;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
.onpe-browser-recommended .onpe-browser-name {
|
|
697
|
-
display: block;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
@media (min-width: 1024px) {
|
|
702
|
-
.onpe-browser-recommended {
|
|
703
|
-
flex-direction: row;
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
591
|
|
|
707
592
|
/* Footer Component Styles */
|
|
708
593
|
.onpe-footer {
|
|
@@ -797,3 +682,202 @@ body.onpe-modal-open {
|
|
|
797
682
|
display: none;
|
|
798
683
|
}
|
|
799
684
|
}
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
/* Modal Component Styles */
|
|
688
|
+
.onpe-modal-container {
|
|
689
|
+
position: fixed;
|
|
690
|
+
top: 0;
|
|
691
|
+
width: 100%;
|
|
692
|
+
height: 100vh;
|
|
693
|
+
display: grid;
|
|
694
|
+
place-items: center;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/* Prevenir scroll del body cuando el modal está abierto */
|
|
698
|
+
body.onpe-modal-open {
|
|
699
|
+
overflow: hidden;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.onpe-modal-container.onpe-modal-open {
|
|
703
|
+
opacity: 1;
|
|
704
|
+
z-index: 50;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.onpe-modal-container.onpe-modal-open.onpe-modal-top-absolute {
|
|
708
|
+
z-index: 100;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.onpe-modal-container.onpe-modal-closed {
|
|
712
|
+
opacity: 0;
|
|
713
|
+
z-index: -10;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.onpe-modal-content-wrapper {
|
|
717
|
+
position: relative;
|
|
718
|
+
z-index: 20;
|
|
719
|
+
display: grid;
|
|
720
|
+
place-items: center;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.onpe-modal-content {
|
|
724
|
+
position: relative;
|
|
725
|
+
display: flex;
|
|
726
|
+
flex-direction: column;
|
|
727
|
+
align-items: center;
|
|
728
|
+
justify-content: center;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.onpe-modal-content.onpe-modal-with-background {
|
|
732
|
+
background-color: white;
|
|
733
|
+
padding: 2.5rem 0.25rem; /* py-10 px-1 */
|
|
734
|
+
min-width: 320px;
|
|
735
|
+
width: 98vw;
|
|
736
|
+
max-width: 95vw;
|
|
737
|
+
max-height: 90vh;
|
|
738
|
+
overflow-y: auto;
|
|
739
|
+
scroll-behavior: smooth; /* Scroll suave */
|
|
740
|
+
scrollbar-width: thin; /* Scrollbar más delgado */
|
|
741
|
+
scrollbar-color: #cbd5e0 #f7fafc; /* Colores del scrollbar */
|
|
742
|
+
transition: scroll-behavior 0.1s ease-in-out; /* Transición suave para el reset */
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/* Estilos para el scrollbar en WebKit (Chrome, Safari, Edge) */
|
|
746
|
+
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar {
|
|
747
|
+
width: 8px;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar-track {
|
|
751
|
+
background: #f7fafc;
|
|
752
|
+
border-radius: 4px;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar-thumb {
|
|
756
|
+
background: #cbd5e0;
|
|
757
|
+
border-radius: 4px;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar-thumb:hover {
|
|
761
|
+
background: #a0aec0;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.onpe-modal-content.onpe-modal-without-background {
|
|
765
|
+
/* Sin fondo - solo contenido */
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.onpe-modal-close-button {
|
|
769
|
+
position: absolute;
|
|
770
|
+
top: 1rem; /* top-4 */
|
|
771
|
+
right: 1rem; /* right-4 */
|
|
772
|
+
border-radius: 50%;
|
|
773
|
+
background-color: var(--onpe-ui-red);
|
|
774
|
+
padding: 7px;
|
|
775
|
+
display: flex;
|
|
776
|
+
align-items: center;
|
|
777
|
+
justify-content: center;
|
|
778
|
+
z-index: 30;
|
|
779
|
+
border: none;
|
|
780
|
+
cursor: pointer;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.onpe-modal-close-button:hover {
|
|
784
|
+
background-color: rgba(227, 0, 43, 0.8); /* onpe-ui-red con hover */
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
.onpe-modal-close-icon {
|
|
788
|
+
height: 10px;
|
|
789
|
+
width: 10px;
|
|
790
|
+
color: white;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/* Responsive Design */
|
|
794
|
+
@media (min-width: 768px) {
|
|
795
|
+
.onpe-modal-content.onpe-modal-with-background {
|
|
796
|
+
padding: 2.5rem 0; /* md:px-auto */
|
|
797
|
+
width: 500px; /* md:w-[500px] */
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
@media (min-width: 1024px) {
|
|
802
|
+
.onpe-modal-content.onpe-modal-with-background {
|
|
803
|
+
padding: 4rem 1.25rem; /* lg:py-16 lg:px-5 */
|
|
804
|
+
width: 1024px; /* lg:w-[1024px] */
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
/* Overlay Component Styles */
|
|
810
|
+
.onpe-overlay {
|
|
811
|
+
position: absolute;
|
|
812
|
+
top: 0;
|
|
813
|
+
right: 0;
|
|
814
|
+
bottom: 0;
|
|
815
|
+
left: 0;
|
|
816
|
+
width: 100%;
|
|
817
|
+
height: 100vh;
|
|
818
|
+
z-index: 10;
|
|
819
|
+
transition: all 0.5s ease-in-out;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.onpe-overlay.onpe-overlay-show {
|
|
823
|
+
pointer-events: auto;
|
|
824
|
+
opacity: 1;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.onpe-overlay.onpe-overlay-hide {
|
|
828
|
+
pointer-events: none;
|
|
829
|
+
opacity: 0;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/* Overlay Colors */
|
|
833
|
+
.onpe-overlay.onpe-overlay-blue {
|
|
834
|
+
background-color: rgba(0, 55, 112, 0.8); /* onpe-ui-blue/80 */
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.onpe-overlay.onpe-overlay-skyblue {
|
|
838
|
+
background-color: rgba(0, 115, 207, 0.8); /* onpe-ui-skyblue/80 */
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.onpe-overlay.onpe-overlay-skyblue-light {
|
|
842
|
+
background-color: rgba(105, 178, 232, 0.8); /* onpe-ui-skyblue-light/80 */
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.onpe-overlay.onpe-overlay-yellow {
|
|
846
|
+
background-color: rgba(255, 184, 28, 0.8); /* onpe-ui-yellow/80 */
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.onpe-overlay.onpe-overlay-light-skyblue {
|
|
850
|
+
background-color: rgba(170, 239, 246, 0.8); /* onpe-ui-light-skyblue/80 */
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.onpe-overlay.onpe-overlay-gray {
|
|
854
|
+
background-color: rgba(188, 188, 188, 0.8); /* onpe-ui-gray/80 */
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.onpe-overlay.onpe-overlay-gray-light {
|
|
858
|
+
background-color: rgba(189, 189, 189, 0.8); /* onpe-ui-gray-light/80 */
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.onpe-overlay.onpe-overlay-gray-extra-light {
|
|
862
|
+
background-color: rgba(242, 242, 242, 0.8); /* onpe-ui-gray-extra-light/80 */
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.onpe-overlay.onpe-overlay-red {
|
|
866
|
+
background-color: rgba(227, 0, 43, 0.8); /* onpe-ui-red/80 */
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
.onpe-overlay.onpe-overlay-dark-gray {
|
|
870
|
+
background-color: rgba(79, 79, 79, 0.8); /* onpe-ui-dark-gray/80 */
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
.onpe-overlay.onpe-overlay-green {
|
|
874
|
+
background-color: rgba(118, 189, 67, 0.8); /* onpe-ui-green/80 */
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
.onpe-overlay.onpe-overlay-yellow-light {
|
|
878
|
+
background-color: rgba(255, 241, 210, 0.8); /* onpe-ui-yellow-light/80 */
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
.onpe-overlay.onpe-overlay-primary {
|
|
882
|
+
background-color: rgba(0, 55, 112, 0.8); /* onpe-ui-blue/80 */
|
|
883
|
+
}
|