@onpe/ui 1.2.52 → 1.2.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.
- package/dist/components.css +212 -196
- package/dist/components.esm.css +212 -196
- package/dist/index.css +212 -196
- package/dist/index.esm.css +212 -196
- package/package.json +1 -1
package/dist/components.esm.css
CHANGED
|
@@ -218,190 +218,191 @@
|
|
|
218
218
|
background-color: rgba(0, 55, 112, 0.8); /* onpe-ui-blue/80 */
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
/* Modal Component Styles */
|
|
222
|
-
.onpe-modal-container {
|
|
223
|
-
position: fixed;
|
|
224
|
-
top: 0;
|
|
225
|
-
width: 100%;
|
|
226
|
-
height: 100vh;
|
|
227
|
-
display: grid;
|
|
228
|
-
place-items: center;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/* Prevenir scroll del body cuando el modal está abierto */
|
|
232
|
-
body.onpe-modal-open {
|
|
233
|
-
overflow: hidden;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.onpe-modal-container.onpe-modal-open {
|
|
237
|
-
opacity: 1;
|
|
238
|
-
pointer-events: auto;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
.onpe-modal-container.onpe-modal-closed {
|
|
243
|
-
opacity: 0;
|
|
244
|
-
pointer-events: none;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.onpe-modal-content-wrapper {
|
|
248
|
-
position: relative;
|
|
249
|
-
display: grid;
|
|
250
|
-
place-items: center;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
width:
|
|
266
|
-
|
|
267
|
-
max-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
scrollbar-
|
|
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
|
-
width: 95vw !important;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}
|
|
221
|
+
/* Modal Component Styles */
|
|
222
|
+
.onpe-modal-container {
|
|
223
|
+
position: fixed;
|
|
224
|
+
top: 0;
|
|
225
|
+
width: 100%;
|
|
226
|
+
height: 100vh;
|
|
227
|
+
display: grid;
|
|
228
|
+
place-items: center;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/* Prevenir scroll del body cuando el modal está abierto */
|
|
232
|
+
body.onpe-modal-open {
|
|
233
|
+
overflow: hidden;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.onpe-modal-container.onpe-modal-open {
|
|
237
|
+
opacity: 1;
|
|
238
|
+
pointer-events: auto;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
.onpe-modal-container.onpe-modal-closed {
|
|
243
|
+
opacity: 0;
|
|
244
|
+
pointer-events: none;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.onpe-modal-content-wrapper {
|
|
248
|
+
position: relative;
|
|
249
|
+
display: grid;
|
|
250
|
+
place-items: center;
|
|
251
|
+
z-index: 20;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.onpe-modal-content {
|
|
255
|
+
position: relative;
|
|
256
|
+
display: flex;
|
|
257
|
+
flex-direction: column;
|
|
258
|
+
align-items: center;
|
|
259
|
+
justify-content: flex-start; /* Cambiar de center a flex-start para que el scroll funcione correctamente */
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.onpe-modal-content.onpe-modal-with-background {
|
|
263
|
+
background-color: white;
|
|
264
|
+
padding: 25px 1rem 50px 1rem; /* Móvil: top 25px, bottom 50px, left/right 1rem */
|
|
265
|
+
min-width: 320px;
|
|
266
|
+
width: 95vw; /* Móvil: 95vw automático */
|
|
267
|
+
max-width: 95vw; /* Móvil: 95vw automático */
|
|
268
|
+
max-height: 90vh;
|
|
269
|
+
overflow-y: auto;
|
|
270
|
+
scroll-behavior: smooth; /* Scroll suave */
|
|
271
|
+
scrollbar-width: thin; /* Scrollbar más delgado */
|
|
272
|
+
scrollbar-color: #cbd5e0 #f7fafc; /* Colores del scrollbar */
|
|
273
|
+
transition: scroll-behavior 0.1s ease-in-out; /* Transición suave para el reset */
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* Permitir que el contenido interno defina su propio tamaño */
|
|
277
|
+
.onpe-modal-content.onpe-modal-with-background .onpe-modal-browser-incompatible-container {
|
|
278
|
+
max-width: none !important; /* Permitir que el contenido interno defina su tamaño */
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/* Tamaños de Modal con clases CSS */
|
|
282
|
+
.onpe-modal-content.onpe-modal-size-sm {
|
|
283
|
+
max-width: 400px !important; /* Modal pequeño */
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.onpe-modal-content.onpe-modal-size-md {
|
|
287
|
+
max-width: 500px !important; /* Modal mediano (por defecto) */
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.onpe-modal-content.onpe-modal-size-lg {
|
|
291
|
+
max-width: 600px !important; /* Modal grande */
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.onpe-modal-content.onpe-modal-size-xl {
|
|
295
|
+
max-width: 800px !important; /* Modal extra grande */
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.onpe-modal-content.onpe-modal-size-full {
|
|
299
|
+
max-width: 95vw !important; /* Modal de ancho completo */
|
|
300
|
+
width: 95vw !important;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/* Estilos para el scrollbar en WebKit (Chrome, Safari, Edge) */
|
|
304
|
+
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar {
|
|
305
|
+
width: 8px;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar-track {
|
|
309
|
+
background: #f7fafc;
|
|
310
|
+
border-radius: 4px;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar-thumb {
|
|
314
|
+
background: #cbd5e0;
|
|
315
|
+
border-radius: 4px;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.onpe-modal-content.onpe-modal-with-background::-webkit-scrollbar-thumb:hover {
|
|
319
|
+
background: #a0aec0;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.onpe-modal-content.onpe-modal-without-background {
|
|
323
|
+
/* Sin fondo - solo contenido */
|
|
324
|
+
background: transparent;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.onpe-modal-close-button {
|
|
328
|
+
position: absolute;
|
|
329
|
+
top: 1rem; /* top-4 */
|
|
330
|
+
right: 1rem; /* right-4 */
|
|
331
|
+
color: var(--onpe-ui-red);
|
|
332
|
+
z-index: 30;
|
|
333
|
+
cursor: pointer;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
.onpe-modal-close-icon {
|
|
338
|
+
height: 10px;
|
|
339
|
+
width: 10px;
|
|
340
|
+
color: white;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* Responsive Design */
|
|
344
|
+
@media (min-width: 640px) {
|
|
345
|
+
.onpe-modal-content.onpe-modal-with-background {
|
|
346
|
+
padding: 35px 2rem 54px 2rem; /* Tablet: top 35px, bottom 54px, left/right 2rem */
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/* Tamaños responsive en tablet */
|
|
350
|
+
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
@media (min-width: 768px) {
|
|
354
|
+
.onpe-modal-content.onpe-modal-with-background {
|
|
355
|
+
width: 680px; /* Desktop: 680px automático */
|
|
356
|
+
max-width: 680px; /* Desktop: 680px automático */
|
|
357
|
+
padding: 35px 2rem 54px 2rem; /* Desktop: top 35px, bottom 54px, left/right 2rem */
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* Permitir que el contenido interno defina su propio tamaño en desktop */
|
|
361
|
+
.onpe-modal-content.onpe-modal-with-background .onpe-modal-browser-incompatible-container {
|
|
362
|
+
max-width: none !important; /* Permitir que el contenido interno defina su tamaño */
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/* Tamaños responsive en desktop */
|
|
366
|
+
.onpe-modal-content.onpe-modal-size-sm {
|
|
367
|
+
width: 400px !important;
|
|
368
|
+
max-width: 400px !important;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.onpe-modal-content.onpe-modal-size-md {
|
|
372
|
+
width: 500px !important;
|
|
373
|
+
max-width: 500px !important;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.onpe-modal-content.onpe-modal-size-lg {
|
|
377
|
+
width: 600px !important;
|
|
378
|
+
max-width: 600px !important;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.onpe-modal-content.onpe-modal-size-xl {
|
|
382
|
+
width: 800px !important;
|
|
383
|
+
max-width: 800px !important;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.onpe-modal-content.onpe-modal-size-full {
|
|
387
|
+
width: 95vw !important;
|
|
388
|
+
max-width: 95vw !important;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/* Desktop grande (> 1024px) - El usuario puede definir el tamaño */
|
|
393
|
+
@media (min-width: 1024px) {
|
|
394
|
+
.onpe-modal-content.onpe-modal-with-background {
|
|
395
|
+
/* Mantener 680px por defecto, pero permitir sobrescribir con clases */
|
|
396
|
+
width: 680px;
|
|
397
|
+
max-width: 680px;
|
|
398
|
+
padding: 35px 2rem 54px 2rem; /* Desktop grande: top 35px, bottom 54px, left/right 2rem */
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/* Permitir que el contenido interno defina su propio tamaño en desktop grande */
|
|
402
|
+
.onpe-modal-content.onpe-modal-with-background .onpe-modal-browser-incompatible-container {
|
|
403
|
+
max-width: none !important; /* Permitir que el contenido interno defina su tamaño */
|
|
404
|
+
}
|
|
405
|
+
}
|
|
405
406
|
|
|
406
407
|
/* ModalBrowserIncompatible Component Styles */
|
|
407
408
|
.onpe-modal-browser-incompatible-container {
|
|
@@ -520,8 +521,10 @@ body.onpe-modal-open {
|
|
|
520
521
|
.onpe-modal-confirm-container {
|
|
521
522
|
max-width: 680px !important;
|
|
522
523
|
width: 680px !important;
|
|
523
|
-
padding-top:
|
|
524
|
-
padding-bottom:
|
|
524
|
+
padding-top:30px !important; /* pt-5 */
|
|
525
|
+
padding-bottom: 30px !important; /* pb-8 */
|
|
526
|
+
padding-left: 30px !important; /* pl-5 */
|
|
527
|
+
padding-right: 30px !important; /* pr-5 */
|
|
525
528
|
}
|
|
526
529
|
|
|
527
530
|
.onpe-modal-confirm-icon-container {
|
|
@@ -590,6 +593,8 @@ body.onpe-modal-open {
|
|
|
590
593
|
.onpe-modal-confirm-container {
|
|
591
594
|
width: 680px !important;
|
|
592
595
|
max-width: 680px !important;
|
|
596
|
+
padding-left: 32px !important; /* pl-5 */
|
|
597
|
+
padding-right: 32px !important; /* pr-5 */
|
|
593
598
|
}
|
|
594
599
|
}
|
|
595
600
|
|
|
@@ -1004,7 +1009,7 @@ body.onpe-modal-open {
|
|
|
1004
1009
|
/* Estilos específicos para móvil */
|
|
1005
1010
|
@media (max-width: 640px) {
|
|
1006
1011
|
.onpe-modal-dnie-versions-title {
|
|
1007
|
-
font-size:
|
|
1012
|
+
font-size: 14px; /* text-base para móvil */
|
|
1008
1013
|
}
|
|
1009
1014
|
|
|
1010
1015
|
.onpe-modal-dnie-versions-content {
|
|
@@ -1033,11 +1038,11 @@ body.onpe-modal-open {
|
|
|
1033
1038
|
}
|
|
1034
1039
|
|
|
1035
1040
|
.onpe-modal-dnie-versions-content {
|
|
1036
|
-
font-size:
|
|
1041
|
+
font-size: 14px; /* text-base para tablet y desktop */
|
|
1037
1042
|
}
|
|
1038
1043
|
|
|
1039
1044
|
.onpe-modal-dnie-versions-list {
|
|
1040
|
-
font-size:
|
|
1045
|
+
font-size: 14px; /* text-base para tablet y desktop */
|
|
1041
1046
|
}
|
|
1042
1047
|
}
|
|
1043
1048
|
|
|
@@ -1069,6 +1074,13 @@ body.onpe-modal-open {
|
|
|
1069
1074
|
/* Solo contenido - el espaciado lo maneja el Modal base */
|
|
1070
1075
|
width: 100%;
|
|
1071
1076
|
max-width: 600px !important; /* Tamaño específico para este modal */
|
|
1077
|
+
padding-top: 46px !important; /* pt-5 */
|
|
1078
|
+
|
|
1079
|
+
padding-bottom: 46px !important; /* pb-8 */
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
padding-left: 30px !important; /* pl-5 */
|
|
1083
|
+
padding-right: 30px !important; /* pr-5 */
|
|
1072
1084
|
}
|
|
1073
1085
|
|
|
1074
1086
|
.onpe-modal-nfc-title {
|
|
@@ -1165,7 +1177,7 @@ body.onpe-modal-open {
|
|
|
1165
1177
|
/* Estilos específicos para móvil */
|
|
1166
1178
|
@media (max-width: 640px) {
|
|
1167
1179
|
.onpe-modal-nfc-title {
|
|
1168
|
-
font-size:
|
|
1180
|
+
font-size: 14px; /* text-base para móvil */
|
|
1169
1181
|
}
|
|
1170
1182
|
|
|
1171
1183
|
.onpe-modal-nfc-content {
|
|
@@ -1179,7 +1191,7 @@ body.onpe-modal-open {
|
|
|
1179
1191
|
}
|
|
1180
1192
|
|
|
1181
1193
|
.onpe-modal-nfc-subtitle {
|
|
1182
|
-
font-size:
|
|
1194
|
+
font-size: 14px; /* text-base para móvil */
|
|
1183
1195
|
}
|
|
1184
1196
|
}
|
|
1185
1197
|
|
|
@@ -1190,19 +1202,19 @@ body.onpe-modal-open {
|
|
|
1190
1202
|
}
|
|
1191
1203
|
|
|
1192
1204
|
.onpe-modal-nfc-content {
|
|
1193
|
-
font-size:
|
|
1205
|
+
font-size: 14px; /* text-base para tablet y desktop */
|
|
1194
1206
|
}
|
|
1195
1207
|
|
|
1196
1208
|
.onpe-modal-nfc-step {
|
|
1197
|
-
font-size:
|
|
1209
|
+
font-size: 14px; /* text-base para tablet y desktop */
|
|
1198
1210
|
}
|
|
1199
1211
|
|
|
1200
1212
|
.onpe-modal-nfc-list-item {
|
|
1201
|
-
font-size:
|
|
1213
|
+
font-size: 14px; /* text-base para tablet y desktop */
|
|
1202
1214
|
}
|
|
1203
1215
|
|
|
1204
1216
|
.onpe-modal-nfc-text {
|
|
1205
|
-
font-size:
|
|
1217
|
+
font-size: 14px; /* text-base para tablet y desktop */
|
|
1206
1218
|
}
|
|
1207
1219
|
|
|
1208
1220
|
.onpe-modal-nfc-subtitle {
|
|
@@ -1210,7 +1222,7 @@ body.onpe-modal-open {
|
|
|
1210
1222
|
}
|
|
1211
1223
|
|
|
1212
1224
|
.onpe-modal-nfc-ordered-list {
|
|
1213
|
-
font-size:
|
|
1225
|
+
font-size: 14px; /* text-base para tablet y desktop */
|
|
1214
1226
|
}
|
|
1215
1227
|
}
|
|
1216
1228
|
|
|
@@ -1218,6 +1230,10 @@ body.onpe-modal-open {
|
|
|
1218
1230
|
.onpe-modal-nfc-container {
|
|
1219
1231
|
/* Desktop: Tamaño específico de 600px */
|
|
1220
1232
|
max-width: 600px !important;
|
|
1233
|
+
|
|
1234
|
+
padding-left: 50px !important; /* pl-5 */
|
|
1235
|
+
padding-right: 50px !important; /* pr-5 */
|
|
1236
|
+
|
|
1221
1237
|
}
|
|
1222
1238
|
}
|
|
1223
1239
|
|