wagtail-enap-designsystem 1.2.1.145__py3-none-any.whl → 1.2.1.147__py3-none-any.whl

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.

Potentially problematic release.


This version of wagtail-enap-designsystem might be problematic. Click here for more details.

Files changed (32) hide show
  1. enap_designsystem/blocks/__init__.py +2 -0
  2. enap_designsystem/blocks/html_blocks.py +88 -0
  3. enap_designsystem/models.py +81 -13
  4. enap_designsystem/static/enap_designsystem/blocks/apresentacao_block.css +174 -0
  5. enap_designsystem/static/enap_designsystem/blocks/cards_section.css +112 -0
  6. enap_designsystem/static/enap_designsystem/blocks/cards_titles.css +229 -0
  7. enap_designsystem/static/enap_designsystem/blocks/carousel_images.css +323 -0
  8. enap_designsystem/static/enap_designsystem/blocks/carousel_responsive.css +522 -0
  9. enap_designsystem/static/enap_designsystem/blocks/carousel_responsivo_snippet.css +294 -0
  10. enap_designsystem/static/enap_designsystem/blocks/clientes_block.css +146 -0
  11. enap_designsystem/templates/enap_designsystem/base.html +8 -1
  12. enap_designsystem/templates/enap_designsystem/blocks/apresentacao_block.html +10 -8
  13. enap_designsystem/templates/enap_designsystem/blocks/apresentacao_simple_block.html +4 -3
  14. enap_designsystem/templates/enap_designsystem/blocks/banner.html +14 -1
  15. enap_designsystem/templates/enap_designsystem/blocks/banner_logo.html +15 -1
  16. enap_designsystem/templates/enap_designsystem/blocks/card_block.html +2 -2
  17. enap_designsystem/templates/enap_designsystem/blocks/cards_section.html +2 -109
  18. enap_designsystem/templates/enap_designsystem/blocks/cards_titles.html +11 -3
  19. enap_designsystem/templates/enap_designsystem/blocks/carousel.html +1 -187
  20. enap_designsystem/templates/enap_designsystem/blocks/carousel_images.html +17 -314
  21. enap_designsystem/templates/enap_designsystem/blocks/carousel_responsive.html +0 -328
  22. enap_designsystem/templates/enap_designsystem/blocks/carousel_responsivo_snippet.html +3 -197
  23. enap_designsystem/templates/enap_designsystem/blocks/clientes_block.html +9 -152
  24. enap_designsystem/templates/enap_designsystem/blocks/footer_block.html +122 -0
  25. enap_designsystem/templates/enap_designsystem/blocks/section_block.html +1 -1
  26. enap_designsystem/templates/enap_designsystem/blocks/video_hero_banner.html +1 -2
  27. enap_designsystem/templates/enap_designsystem/pages/showcase_components.html +501 -180
  28. {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/METADATA +1 -1
  29. {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/RECORD +32 -24
  30. {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/WHEEL +0 -0
  31. {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/licenses/LICENSE +0 -0
  32. {wagtail_enap_designsystem-1.2.1.145.dist-info → wagtail_enap_designsystem-1.2.1.147.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,522 @@
1
+ /* Carrossel Responsivo - Snippet */
2
+ .carousel-responsivo {
3
+ position: relative;
4
+ width: 100%;
5
+ margin-bottom: 2rem;
6
+ }
7
+
8
+ .carousel-responsivo__title {
9
+ text-align: center;
10
+ margin-bottom: 2rem;
11
+ font-size: 2rem;
12
+ font-weight: 700;
13
+ color: var(--enap-primary-color, #1976d2);
14
+ }
15
+
16
+ .carousel-responsivo__container {
17
+ position: relative;
18
+ width: 100%;
19
+ height: var(--carousel-height-mobile);
20
+ overflow: hidden;
21
+ border-radius: 0.5rem;
22
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
23
+ }
24
+
25
+ @media (min-width: 768px) {
26
+ .carousel-responsivo__container {
27
+ height: var(--carousel-height-desktop);
28
+ }
29
+ }
30
+
31
+ .carousel-responsivo__slides {
32
+ position: relative;
33
+ width: 100%;
34
+ height: 100%;
35
+ }
36
+
37
+ .carousel-responsivo__slide {
38
+ position: absolute;
39
+ top: 0;
40
+ left: 0;
41
+ width: 100%;
42
+ height: 100%;
43
+ opacity: 0;
44
+ transition: opacity 0.6s ease-in-out;
45
+ display: flex;
46
+ align-items: center;
47
+ }
48
+
49
+ .carousel-responsivo__slide[data-active="true"] {
50
+ opacity: 1;
51
+ }
52
+
53
+ .carousel-responsivo__picture {
54
+ position: absolute;
55
+ top: 0;
56
+ left: 0;
57
+ width: 100%;
58
+ height: 100%;
59
+ z-index: 1;
60
+ }
61
+
62
+ .carousel-responsivo__image {
63
+ width: 100%;
64
+ height: 100%;
65
+ object-fit: cover;
66
+ object-position: center;
67
+ }
68
+
69
+ .carousel-responsivo__overlay {
70
+ position: absolute;
71
+ top: 0;
72
+ left: 0;
73
+ width: 100%;
74
+ height: 100%;
75
+ background: linear-gradient(
76
+ 135deg,
77
+ rgba(0, 0, 0, 0.6) 0%,
78
+ rgba(0, 0, 0, 0.3) 50%,
79
+ rgba(0, 0, 0, 0.1) 100%
80
+ );
81
+ z-index: 2;
82
+ }
83
+
84
+ .carousel-responsivo__content {
85
+ position: relative;
86
+ z-index: 3;
87
+ width: 100%;
88
+ padding: 2rem 0;
89
+ }
90
+
91
+ .carousel-responsivo__text-wrapper {
92
+ max-width: 600px;
93
+ color: white;
94
+ }
95
+
96
+ .carousel-responsivo__slide--left .carousel-responsivo__text-wrapper {
97
+ margin-left: 0;
98
+ text-align: left;
99
+ }
100
+
101
+ .carousel-responsivo__slide--center .carousel-responsivo__text-wrapper {
102
+ margin: 0 auto;
103
+ text-align: center;
104
+ }
105
+
106
+ .carousel-responsivo__slide--right .carousel-responsivo__text-wrapper {
107
+ margin-left: auto;
108
+ text-align: right;
109
+ }
110
+
111
+ .carousel-responsivo__slide-title {
112
+ font-size: 1.5rem;
113
+ font-weight: 700;
114
+ margin-bottom: 1rem;
115
+ line-height: 1.2;
116
+ }
117
+
118
+ @media (min-width: 768px) {
119
+ .carousel-responsivo__slide-title {
120
+ font-size: 2.5rem;
121
+ }
122
+ }
123
+
124
+ .carousel-responsivo__slide-subtitle {
125
+ font-size: 1rem;
126
+ margin-bottom: 1rem;
127
+ opacity: 0.95;
128
+ line-height: 1.4;
129
+ }
130
+
131
+ @media (min-width: 768px) {
132
+ .carousel-responsivo__slide-subtitle {
133
+ font-size: 1.25rem;
134
+ }
135
+ }
136
+
137
+ .carousel-responsivo__slide-text {
138
+ font-size: 0.875rem;
139
+ margin-bottom: 1.5rem;
140
+ opacity: 0.9;
141
+ }
142
+
143
+ @media (min-width: 768px) {
144
+ .carousel-responsivo__slide-text {
145
+ font-size: 1rem;
146
+ }
147
+ }
148
+
149
+ .carousel-responsivo__slide-button {
150
+ display: inline-flex;
151
+ align-items: center;
152
+ gap: 0.5rem;
153
+ padding: 0.75rem 1.5rem;
154
+ background: rgba(255, 255, 255, 0.9);
155
+ color: var(--enap-primary-color, #1976d2);
156
+ text-decoration: none;
157
+ border-radius: 0.375rem;
158
+ font-weight: 600;
159
+ transition: all 0.3s ease;
160
+ backdrop-filter: blur(10px);
161
+ }
162
+
163
+ .carousel-responsivo__slide-button:hover {
164
+ background: white;
165
+ transform: translateY(-2px);
166
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
167
+ }
168
+
169
+ .carousel-responsivo__slide-button-icon {
170
+ transition: transform 0.3s ease;
171
+ }
172
+
173
+ .carousel-responsivo__slide-button:hover .carousel-responsivo__slide-button-icon {
174
+ transform: translateX(4px);
175
+ }
176
+
177
+ /* Navegação */
178
+ .carousel-responsivo__nav {
179
+ position: absolute;
180
+ top: 50%;
181
+ transform: translateY(-50%);
182
+ width: 48px;
183
+ height: 48px;
184
+ background: rgba(255, 255, 255, 0.9);
185
+ border: none;
186
+ border-radius: 50%;
187
+ color: var(--enap-primary-color, #1976d2);
188
+ font-size: 24px;
189
+ font-weight: bold;
190
+ cursor: pointer;
191
+ transition: all 0.3s ease;
192
+ z-index: 4;
193
+ display: flex;
194
+ align-items: center;
195
+ justify-content: center;
196
+ backdrop-filter: blur(10px);
197
+ }
198
+
199
+ .carousel-responsivo__nav:hover,
200
+ .carousel-responsivo__nav:focus {
201
+ background: white;
202
+ transform: translateY(-50%) scale(1.1);
203
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
204
+ outline: 2px solid var(--enap-primary-color, #1976d2);
205
+ outline-offset: 2px;
206
+ }
207
+
208
+ .carousel-responsivo__nav--prev {
209
+ left: 1rem;
210
+ }
211
+
212
+ .carousel-responsivo__nav--next {
213
+ right: 1rem;
214
+ }
215
+
216
+ /* Indicadores */
217
+ .carousel-responsivo__indicators {
218
+ position: absolute;
219
+ bottom: 1rem;
220
+ left: 50%;
221
+ transform: translateX(-50%);
222
+ display: flex;
223
+ gap: 0.5rem;
224
+ z-index: 4;
225
+ }
226
+
227
+ .carousel-responsivo__indicator {
228
+ width: 12px;
229
+ height: 12px;
230
+ border-radius: 50%;
231
+ border: 2px solid rgba(255, 255, 255, 0.5);
232
+ background: transparent;
233
+ cursor: pointer;
234
+ transition: all 0.3s ease;
235
+ }
236
+
237
+ .carousel-responsivo__indicator[aria-selected="true"] {
238
+ background: white;
239
+ border-color: white;
240
+ }
241
+
242
+ .carousel-responsivo__indicator:hover,
243
+ .carousel-responsivo__indicator:focus {
244
+ border-color: white;
245
+ transform: scale(1.2);
246
+ outline: 2px solid rgba(255, 255, 255, 0.8);
247
+ outline-offset: 2px;
248
+ }
249
+
250
+ /* Wrapper Styles - MANTÉM TODAS */
251
+ .carousel-wrapper {
252
+ width: 100%;
253
+ }
254
+
255
+ .carousel-wrapper--margin-top-none {
256
+ margin-top: 0;
257
+ }
258
+
259
+ .carousel-wrapper--margin-top-small {
260
+ margin-top: 1rem;
261
+ }
262
+
263
+ .carousel-wrapper--margin-top-medium {
264
+ margin-top: 2rem;
265
+ }
266
+
267
+ .carousel-wrapper--margin-top-large {
268
+ margin-top: 4rem;
269
+ }
270
+
271
+ .carousel-wrapper--margin-bottom-none {
272
+ margin-bottom: 0;
273
+ }
274
+
275
+ .carousel-wrapper--margin-bottom-small {
276
+ margin-bottom: 1rem;
277
+ }
278
+
279
+ .carousel-wrapper--margin-bottom-medium {
280
+ margin-bottom: 2rem;
281
+ }
282
+
283
+ .carousel-wrapper--margin-bottom-large {
284
+ margin-bottom: 4rem;
285
+ }
286
+
287
+ .carousel-wrapper--max-width {
288
+ max-width: 1200px;
289
+ margin-left: auto;
290
+ margin-right: auto;
291
+ padding: 0 1rem;
292
+ }
293
+
294
+ @media (min-width: 768px) {
295
+ .carousel-wrapper--max-width {
296
+ padding: 0 2rem;
297
+ }
298
+ }
299
+
300
+ .carousel-wrapper--max-width .carousel-responsivo__container {
301
+ border-radius: 0.75rem;
302
+ }
303
+
304
+ /* Utilitários */
305
+ .sr-only {
306
+ position: absolute;
307
+ width: 1px;
308
+ height: 1px;
309
+ padding: 0;
310
+ margin: -1px;
311
+ overflow: hidden;
312
+ clip: rect(0, 0, 0, 0);
313
+ border: 0;
314
+ }
315
+
316
+ .container {
317
+ max-width: 1200px;
318
+ margin: 0 auto;
319
+ padding: 0 1rem;
320
+ }
321
+
322
+ @media (min-width: 768px) {
323
+ .container {
324
+ padding: 0 2rem;
325
+ }
326
+ }
327
+
328
+
329
+
330
+
331
+ .visually-hidden {
332
+ position: absolute;
333
+ width: 1px;
334
+ height: 1px;
335
+ padding: 0;
336
+ margin: -1px;
337
+ overflow: hidden;
338
+ clip: rect(0, 0, 0, 0);
339
+ border: 0;
340
+ }
341
+
342
+ /* Layout do hero slideshow */
343
+ .hero-slideshow {
344
+ position: relative;
345
+ width: 100%;
346
+ overflow: hidden;
347
+ }
348
+
349
+ .hero-slideshow-container {
350
+ position: relative;
351
+ width: 100%;
352
+ height: 60vh;
353
+ min-height: 400px;
354
+ }
355
+
356
+ .hero-slide {
357
+ position: absolute;
358
+ top: 0;
359
+ left: 0;
360
+ width: 100%;
361
+ height: 100%;
362
+ opacity: 0;
363
+ visibility: hidden;
364
+ transition: opacity 0.5s ease-in-out, visibility 0.5s;
365
+ }
366
+
367
+ .hero-slide.slide-active {
368
+ opacity: 1;
369
+ visibility: visible;
370
+ }
371
+
372
+ .hero-slide-bg {
373
+ position: absolute;
374
+ top: 0;
375
+ left: 0;
376
+ width: 100%;
377
+ height: 100%;
378
+ background-size: cover;
379
+ background-position: center;
380
+ background-repeat: no-repeat;
381
+ }
382
+
383
+ .hero-slide-wrapper {
384
+ position: relative;
385
+ z-index: 2;
386
+ display: flex;
387
+ align-items: center;
388
+ justify-content: center;
389
+ width: 100%;
390
+ height: 100%;
391
+ padding: 2rem;
392
+ }
393
+
394
+ .hero-content-center {
395
+ text-align: center;
396
+ }
397
+
398
+ .hero-content-left {
399
+ justify-content: flex-start;
400
+ align-items: flex-start;
401
+ display: flex;
402
+ flex-direction: column;
403
+ max-width: 50%;
404
+ }
405
+
406
+ .hero-slide-heading {
407
+ color: #fff;
408
+ font-size: 2.5rem;
409
+ font-weight: bold;
410
+ margin: 0 0 1rem 0;
411
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
412
+ }
413
+
414
+ .hero-slide-text {
415
+ color: #fff;
416
+ font-size: 1.2rem;
417
+ margin: 0;
418
+ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
419
+ }
420
+
421
+ .hero-grafismo {
422
+ width: 60px;
423
+ height: 60px;
424
+ margin-bottom: 1rem;
425
+ }
426
+
427
+ /* Navegação */
428
+ .hero-slideshow-nav {
429
+ position: absolute;
430
+ top: 50%;
431
+ transform: translateY(-50%);
432
+ width: 100%;
433
+ display: flex;
434
+ justify-content: space-between;
435
+ padding: 0 1rem;
436
+ pointer-events: none;
437
+ z-index: 3;
438
+ }
439
+
440
+ .hero-nav-btn {
441
+ background: rgba(0, 0, 0, 0.3);
442
+ border: none;
443
+ color: #fff;
444
+ font-size: 2rem;
445
+ width: 50px;
446
+ height: 50px;
447
+ border-radius: 50%;
448
+ cursor: pointer;
449
+ pointer-events: all;
450
+ transition: all 0.3s ease;
451
+ display: flex;
452
+ align-items: center;
453
+ justify-content: center;
454
+ }
455
+
456
+ /* Melhorias de foco para navegação */
457
+ .hero-nav-btn:focus,
458
+ .hero-indicator:focus {
459
+ outline: 2px solid var(--enap-primary-color, #1976d2);
460
+ outline-offset: 2px;
461
+ }
462
+
463
+ .hero-nav-btn:hover,
464
+ .hero-indicator:hover {
465
+ opacity: 0.8;
466
+ transform: scale(1.1);
467
+ transition: all 0.3s ease;
468
+ }
469
+
470
+ /* Indicadores */
471
+ .hero-slideshow-indicators {
472
+ position: absolute;
473
+ bottom: 1rem;
474
+ left: 50%;
475
+ transform: translateX(-50%);
476
+ display: flex;
477
+ gap: 0.5rem;
478
+ z-index: 3;
479
+ }
480
+
481
+ /* Indicadores com melhor visibilidade */
482
+ .hero-indicator {
483
+ width: 12px;
484
+ height: 12px;
485
+ border-radius: 50%;
486
+ border: none;
487
+ background: rgba(255, 255, 255, 0.5);
488
+ cursor: pointer;
489
+ transition: all 0.3s ease;
490
+ }
491
+
492
+ .hero-indicator.indicator-active,
493
+ .hero-indicator[aria-selected="true"] {
494
+ background: rgba(255, 255, 255, 1);
495
+ transform: scale(1.2);
496
+ }
497
+
498
+ /* Responsividade */
499
+ @media (max-width: 768px) {
500
+ .hero-slideshow-container {
501
+ height: 50vh;
502
+ min-height: 300px;
503
+ }
504
+
505
+ .hero-slide-heading {
506
+ font-size: 1.8rem;
507
+ }
508
+
509
+ .hero-slide-text {
510
+ font-size: 1rem;
511
+ }
512
+
513
+ .hero-content-left {
514
+ max-width: 80%;
515
+ }
516
+
517
+ .hero-nav-btn {
518
+ width: 40px;
519
+ height: 40px;
520
+ font-size: 1.5rem;
521
+ }
522
+ }