@onpe/ui 1.2.35 → 1.2.36
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 +799 -0
- package/dist/components.esm.css +799 -0
- package/dist/components.esm.js +0 -54
- package/dist/components.js +0 -54
- package/dist/index.css +779 -54
- package/dist/index.esm.css +799 -1
- package/dist/index.esm.js +0 -54
- package/dist/index.js +0 -54
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1,74 +1,799 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 */
|
|
1
|
+
/* Button Component Styles */
|
|
2
|
+
.onpe-button {
|
|
3
|
+
color: white;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
transition: all 0.3s ease-in-out;
|
|
10
|
+
min-width: 200px;
|
|
11
|
+
border: none;
|
|
23
12
|
}
|
|
24
13
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*/
|
|
14
|
+
.onpe-button:disabled {
|
|
15
|
+
cursor: not-allowed;
|
|
16
|
+
background-color: var(--onpe-ui-gray);
|
|
17
|
+
}
|
|
30
18
|
|
|
31
|
-
|
|
32
|
-
|
|
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;
|
|
19
|
+
.onpe-button:disabled:hover {
|
|
20
|
+
background-color: var(--onpe-ui-gray);
|
|
38
21
|
}
|
|
39
22
|
|
|
40
|
-
|
|
41
|
-
.onpe-
|
|
42
|
-
.
|
|
43
|
-
.
|
|
44
|
-
box-sizing: border-box;
|
|
23
|
+
/* Button Sizes */
|
|
24
|
+
.onpe-button.onpe-button-small {
|
|
25
|
+
height: 2.5rem; /* h-10 */
|
|
26
|
+
font-size: 0.875rem; /* text-sm */
|
|
45
27
|
}
|
|
46
28
|
|
|
47
|
-
|
|
48
|
-
|
|
29
|
+
.onpe-button.onpe-button-normal {
|
|
30
|
+
height: 3rem; /* h-12 */
|
|
31
|
+
font-size: 1rem; /* text-base */
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.onpe-button.onpe-button-large {
|
|
35
|
+
height: 3.5rem; /* h-14 */
|
|
36
|
+
font-size: 1.125rem; /* text-lg */
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Button Colors */
|
|
40
|
+
.onpe-button.onpe-button-blue {
|
|
41
|
+
background-color: var(--onpe-ui-blue);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.onpe-button.onpe-button-blue:hover {
|
|
45
|
+
background-color: rgba(0, 55, 112, 0.3); /* onpe-ui-blue/30 */
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.onpe-button.onpe-button-skyblue {
|
|
49
|
+
background-color: var(--onpe-ui-skyblue);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.onpe-button.onpe-button-skyblue:hover {
|
|
53
|
+
background-color: rgba(0, 115, 207, 0.3); /* onpe-ui-skyblue/30 */
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.onpe-button.onpe-button-skyblue-light {
|
|
57
|
+
background-color: var(--onpe-ui-skyblue-light);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.onpe-button.onpe-button-skyblue-light:hover {
|
|
61
|
+
background-color: rgba(105, 178, 232, 0.3); /* onpe-ui-skyblue-light/30 */
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.onpe-button.onpe-button-yellow {
|
|
65
|
+
background-color: var(--onpe-ui-yellow);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.onpe-button.onpe-button-yellow:hover {
|
|
69
|
+
background-color: rgba(255, 184, 28, 0.3); /* onpe-ui-yellow/30 */
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.onpe-button.onpe-button-light-skyblue {
|
|
73
|
+
background-color: var(--onpe-ui-light-skyblue);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.onpe-button.onpe-button-light-skyblue:hover {
|
|
77
|
+
background-color: rgba(170, 239, 246, 0.3); /* onpe-ui-light-skyblue/30 */
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.onpe-button.onpe-button-gray {
|
|
81
|
+
background-color: var(--onpe-ui-gray);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.onpe-button.onpe-button-gray:hover {
|
|
85
|
+
background-color: rgba(188, 188, 188, 0.3); /* onpe-ui-gray/30 */
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.onpe-button.onpe-button-gray-light {
|
|
89
|
+
background-color: var(--onpe-ui-gray-light);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.onpe-button.onpe-button-gray-light:hover {
|
|
93
|
+
background-color: rgba(189, 189, 189, 0.3); /* onpe-ui-gray-light/30 */
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.onpe-button.onpe-button-gray-extra-light {
|
|
97
|
+
background-color: var(--onpe-ui-gray-extra-light);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.onpe-button.onpe-button-gray-extra-light:hover {
|
|
101
|
+
background-color: rgba(242, 242, 242, 0.3); /* onpe-ui-gray-extra-light/30 */
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.onpe-button.onpe-button-red {
|
|
105
|
+
background-color: var(--onpe-ui-red);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.onpe-button.onpe-button-red:hover {
|
|
109
|
+
background-color: rgba(227, 0, 43, 0.3); /* onpe-ui-red/30 */
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.onpe-button.onpe-button-dark-gray {
|
|
113
|
+
background-color: var(--onpe-ui-dark-gray);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.onpe-button.onpe-button-dark-gray:hover {
|
|
117
|
+
background-color: rgba(79, 79, 79, 0.3); /* onpe-ui-dark-gray/30 */
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.onpe-button.onpe-button-green {
|
|
121
|
+
background-color: var(--onpe-ui-green);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.onpe-button.onpe-button-green:hover {
|
|
125
|
+
background-color: rgba(118, 189, 67, 0.3); /* onpe-ui-green/30 */
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.onpe-button.onpe-button-yellow-light {
|
|
129
|
+
background-color: var(--onpe-ui-yellow-light);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.onpe-button.onpe-button-yellow-light:hover {
|
|
133
|
+
background-color: rgba(255, 241, 210, 0.3); /* onpe-ui-yellow-light/30 */
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.onpe-button.onpe-button-primary {
|
|
137
|
+
background-color: var(--onpe-ui-blue);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.onpe-button.onpe-button-primary:hover {
|
|
141
|
+
background-color: rgba(0, 55, 112, 0.3); /* onpe-ui-blue/30 */
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
/* Overlay Component Styles */
|
|
146
|
+
.onpe-overlay {
|
|
147
|
+
position: absolute;
|
|
148
|
+
top: 0;
|
|
149
|
+
right: 0;
|
|
150
|
+
bottom: 0;
|
|
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 */
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.onpe-overlay.onpe-overlay-skyblue {
|
|
174
|
+
background-color: rgba(0, 115, 207, 0.8); /* onpe-ui-skyblue/80 */
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.onpe-overlay.onpe-overlay-skyblue-light {
|
|
178
|
+
background-color: rgba(105, 178, 232, 0.8); /* onpe-ui-skyblue-light/80 */
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.onpe-overlay.onpe-overlay-yellow {
|
|
182
|
+
background-color: rgba(255, 184, 28, 0.8); /* onpe-ui-yellow/80 */
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.onpe-overlay.onpe-overlay-light-skyblue {
|
|
186
|
+
background-color: rgba(170, 239, 246, 0.8); /* onpe-ui-light-skyblue/80 */
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.onpe-overlay.onpe-overlay-gray {
|
|
190
|
+
background-color: rgba(188, 188, 188, 0.8); /* onpe-ui-gray/80 */
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.onpe-overlay.onpe-overlay-gray-light {
|
|
194
|
+
background-color: rgba(189, 189, 189, 0.8); /* onpe-ui-gray-light/80 */
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.onpe-overlay.onpe-overlay-gray-extra-light {
|
|
198
|
+
background-color: rgba(242, 242, 242, 0.8); /* onpe-ui-gray-extra-light/80 */
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.onpe-overlay.onpe-overlay-red {
|
|
202
|
+
background-color: rgba(227, 0, 43, 0.8); /* onpe-ui-red/80 */
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.onpe-overlay.onpe-overlay-dark-gray {
|
|
206
|
+
background-color: rgba(79, 79, 79, 0.8); /* onpe-ui-dark-gray/80 */
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.onpe-overlay.onpe-overlay-green {
|
|
210
|
+
background-color: rgba(118, 189, 67, 0.8); /* onpe-ui-green/80 */
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.onpe-overlay.onpe-overlay-yellow-light {
|
|
214
|
+
background-color: rgba(255, 241, 210, 0.8); /* onpe-ui-yellow-light/80 */
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.onpe-overlay.onpe-overlay-primary {
|
|
218
|
+
background-color: rgba(0, 55, 112, 0.8); /* onpe-ui-blue/80 */
|
|
219
|
+
}
|
|
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
|
+
z-index: 50;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.onpe-modal-container.onpe-modal-open.onpe-modal-top-absolute {
|
|
242
|
+
z-index: 100;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.onpe-modal-container.onpe-modal-closed {
|
|
246
|
+
opacity: 0;
|
|
247
|
+
z-index: -10;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.onpe-modal-content-wrapper {
|
|
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;
|
|
49
314
|
cursor: pointer;
|
|
50
315
|
}
|
|
51
316
|
|
|
52
|
-
.onpe-button:
|
|
53
|
-
|
|
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
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
@media (min-width: 1024px) {
|
|
336
|
+
.onpe-modal-content.onpe-modal-with-background {
|
|
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 {
|
|
398
|
+
width: 680px !important;
|
|
399
|
+
max-width: 680px !important;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.onpe-modal-browser-incompatible-title {
|
|
403
|
+
font-size: 1.5rem; /* md:text-2xl */
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.onpe-modal-browser-incompatible-message {
|
|
407
|
+
font-size: 1.125rem; /* md:text-lg */
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.onpe-modal-browser-incompatible-browsers-container {
|
|
411
|
+
gap: 3rem; /* md:gap-12 */
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.onpe-modal-browser-incompatible-browser-icon {
|
|
415
|
+
width: 3rem; /* md:w-[48px] */
|
|
416
|
+
height: 3rem; /* md:h-[48px] */
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/* ModalConfirm Component Styles */
|
|
421
|
+
.onpe-modal-confirm-container {
|
|
422
|
+
max-width: 680px !important;
|
|
423
|
+
width: 680px !important;
|
|
424
|
+
padding-top: 1.25rem !important; /* pt-5 */
|
|
425
|
+
padding-bottom: 2rem !important; /* pb-8 */
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.onpe-modal-confirm-icon-container {
|
|
429
|
+
display: flex;
|
|
430
|
+
align-items: center;
|
|
431
|
+
justify-content: center;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.onpe-modal-confirm-icon {
|
|
435
|
+
width: 4rem; /* w-16 */
|
|
436
|
+
height: 4rem; /* h-16 */
|
|
437
|
+
color: var(--onpe-ui-skyblue); /* Color por defecto: azul */
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* Colores dinámicos para el icono */
|
|
441
|
+
.onpe-modal-confirm-icon-blue {
|
|
442
|
+
color: var(--onpe-ui-skyblue);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.onpe-modal-confirm-icon-red {
|
|
446
|
+
color: var(--onpe-ui-red);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.onpe-modal-confirm-title {
|
|
450
|
+
margin-top: 0.75rem; /* mt-3 */
|
|
451
|
+
font-size: 1.125rem; /* text-lg */
|
|
452
|
+
font-weight: 600; /* font-semibold */
|
|
453
|
+
text-align: center;
|
|
454
|
+
color: var(--onpe-ui-skyblue); /* Color por defecto: azul */
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* Colores dinámicos para el título */
|
|
458
|
+
.onpe-modal-confirm-title-blue {
|
|
459
|
+
color: var(--onpe-ui-skyblue);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.onpe-modal-confirm-title-red {
|
|
463
|
+
color: var(--onpe-ui-red);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.onpe-modal-confirm-message {
|
|
467
|
+
margin-top: 1.75rem; /* mt-7 */
|
|
468
|
+
font-size: 0.875rem; /* text-sm */
|
|
469
|
+
text-align: center;
|
|
470
|
+
max-width: 100%;
|
|
471
|
+
color: var(--onpe-ui-dark-gray); /* Usar variable CSS de ONPE, fallback a #333333 */
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.onpe-modal-confirm-buttons-container {
|
|
475
|
+
display: flex;
|
|
476
|
+
flex-direction: column-reverse;
|
|
477
|
+
align-items: center;
|
|
478
|
+
justify-content: center;
|
|
479
|
+
width: 100%;
|
|
480
|
+
gap: 1.25rem; /* gap-5 */
|
|
481
|
+
margin-top: 2.75rem; /* mt-11 */
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.onpe-modal-confirm-button {
|
|
485
|
+
width: 100%;
|
|
486
|
+
max-width: 200px;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* Responsive Design */
|
|
490
|
+
@media (min-width: 768px) {
|
|
491
|
+
.onpe-modal-confirm-container {
|
|
492
|
+
width: 680px !important;
|
|
493
|
+
max-width: 680px !important;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
@media (min-width: 1024px) {
|
|
498
|
+
.onpe-modal-confirm-container {
|
|
499
|
+
width: 680px !important;
|
|
500
|
+
max-width: 680px !important;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.onpe-modal-confirm-title {
|
|
504
|
+
margin-top: 1rem; /* lg:mt-4 */
|
|
505
|
+
font-size: 1.5rem; /* lg:text-2xl */
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.onpe-modal-confirm-message {
|
|
509
|
+
font-size: 1.125rem; /* lg:text-lg */
|
|
510
|
+
max-width: 576px; /* lg:max-w-[576px] */
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.onpe-modal-confirm-buttons-container {
|
|
514
|
+
flex-direction: row; /* lg:flex-row */
|
|
515
|
+
margin-top: 5rem; /* lg:mt-20 */
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.onpe-modal-confirm-button {
|
|
519
|
+
width: 200px; /* lg:w-[200px] */
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/* ModalLoading Component Styles */
|
|
524
|
+
.onpe-modal-loading-spinner-desktop {
|
|
525
|
+
display: none; /* hidden */
|
|
526
|
+
color: white;
|
|
527
|
+
animation: spin 1s linear infinite; /* animate-spin */
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.onpe-modal-loading-spinner-mobile {
|
|
531
|
+
display: block; /* block */
|
|
532
|
+
color: white;
|
|
533
|
+
animation: spin 1s linear infinite; /* animate-spin */
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.onpe-modal-loading-message {
|
|
537
|
+
color: white;
|
|
538
|
+
line-height: normal; /* leading-normal */
|
|
539
|
+
font-size: 1.5rem; /* text-2xl */
|
|
540
|
+
text-align: center;
|
|
541
|
+
margin-top: 2.5rem; /* mt-10 */
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/* Responsive Design */
|
|
545
|
+
@media (min-width: 768px) {
|
|
546
|
+
.onpe-modal-loading-spinner-desktop {
|
|
547
|
+
display: block; /* md:block */
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.onpe-modal-loading-spinner-mobile {
|
|
551
|
+
display: none; /* md:hidden */
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.onpe-modal-loading-message {
|
|
555
|
+
font-size: 4rem; /* md:text-[64px] */
|
|
556
|
+
margin-top: 5rem; /* md:mt-20 */
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/* Spin Animation */
|
|
561
|
+
@keyframes spin {
|
|
562
|
+
from {
|
|
563
|
+
transform: rotate(0deg);
|
|
564
|
+
}
|
|
565
|
+
to {
|
|
566
|
+
transform: rotate(360deg);
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
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 */
|
|
54
575
|
}
|
|
55
576
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
577
|
+
.onpe-modal-system-incompatible-icon-container {
|
|
578
|
+
display: flex;
|
|
579
|
+
justify-content: center;
|
|
580
|
+
align-items: center;
|
|
59
581
|
}
|
|
60
582
|
|
|
61
|
-
.
|
|
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
|
+
|
|
707
|
+
/* Footer Component Styles */
|
|
708
|
+
.onpe-footer {
|
|
709
|
+
/* Footer base styles */
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.onpe-footer-content {
|
|
713
|
+
/* Content wrapper styles */
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.onpe-footer-contact {
|
|
717
|
+
position: relative;
|
|
718
|
+
z-index: 10;
|
|
719
|
+
display: flex;
|
|
720
|
+
width: 100%;
|
|
721
|
+
min-height: 100px;
|
|
722
|
+
background-color: var(--onpe-ui-blue);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.onpe-footer-contact-list {
|
|
726
|
+
display: flex;
|
|
727
|
+
justify-content: space-between;
|
|
728
|
+
align-items: flex-start;
|
|
729
|
+
width: 100%;
|
|
730
|
+
flex-direction: column;
|
|
731
|
+
gap: 1.5rem;
|
|
732
|
+
margin: 0 auto;
|
|
733
|
+
padding: 3.5rem 1rem;
|
|
734
|
+
max-width: 1456px;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.onpe-footer-contact-item {
|
|
738
|
+
/* List item styles */
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.onpe-footer-contact-title {
|
|
742
|
+
font-weight: 600;
|
|
743
|
+
color: var(--onpe-ui-yellow);
|
|
744
|
+
margin-bottom: 0.25rem;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.onpe-footer-contact-text {
|
|
748
|
+
font-size: 0.875rem;
|
|
749
|
+
font-weight: 500;
|
|
750
|
+
color: white;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.onpe-footer-development {
|
|
754
|
+
height: 93px;
|
|
755
|
+
width: 100%;
|
|
756
|
+
text-align: center;
|
|
757
|
+
display: flex;
|
|
758
|
+
align-items: center;
|
|
759
|
+
justify-content: center;
|
|
760
|
+
background-color: rgba(255, 241, 210, 0.75); /* onpe-ui-yellow-light/75 */
|
|
761
|
+
position: fixed;
|
|
762
|
+
z-index: 10;
|
|
763
|
+
right: 0;
|
|
764
|
+
bottom: 0;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.onpe-footer-development-text {
|
|
768
|
+
padding: 0.5rem 0.5rem;
|
|
769
|
+
font-size: 1.5rem;
|
|
770
|
+
color: var(--onpe-ui-blue);
|
|
62
771
|
font-family: 'Consolas', monospace;
|
|
63
772
|
font-weight: 900;
|
|
64
773
|
}
|
|
65
774
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
775
|
+
.onpe-footer-development-break {
|
|
776
|
+
display: block;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/* Responsive Design */
|
|
780
|
+
@media (min-width: 768px) {
|
|
781
|
+
.onpe-footer-contact-list {
|
|
782
|
+
padding: 1.75rem 1rem;
|
|
783
|
+
}
|
|
73
784
|
}
|
|
74
785
|
|
|
786
|
+
@media (min-width: 1024px) {
|
|
787
|
+
.onpe-footer-contact-list {
|
|
788
|
+
flex-direction: row;
|
|
789
|
+
align-items: center;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.onpe-footer-development {
|
|
793
|
+
height: 46px;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
.onpe-footer-development-break {
|
|
797
|
+
display: none;
|
|
798
|
+
}
|
|
799
|
+
}
|