wagtail-enap-designsystem 1.2.1.144__py3-none-any.whl → 1.2.1.146__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 (41) hide show
  1. enap_designsystem/blocks/__init__.py +2 -0
  2. enap_designsystem/blocks/content_blocks.py +2 -1
  3. enap_designsystem/blocks/html_blocks.py +154 -77
  4. enap_designsystem/blocks/semana_blocks.py +1 -1
  5. enap_designsystem/migrations/0415_showcasecomponentesdireto_debug_mode_and_more.py +77346 -0
  6. enap_designsystem/migrations/0416_alter_showcasecomponentesdireto_debug_mode_and_more.py +33 -0
  7. enap_designsystem/migrations/0417_alter_showcasecomponentesdireto_options_and_more.py +53 -0
  8. enap_designsystem/models.py +798 -147
  9. enap_designsystem/static/enap_designsystem/blocks/accordions.css +1 -0
  10. enap_designsystem/static/enap_designsystem/blocks/apresentacao_block.css +174 -0
  11. enap_designsystem/static/enap_designsystem/blocks/cards_section.css +112 -0
  12. enap_designsystem/static/enap_designsystem/blocks/cards_titles.css +229 -0
  13. enap_designsystem/static/enap_designsystem/blocks/carousel_images.css +323 -0
  14. enap_designsystem/static/enap_designsystem/blocks/carousel_responsive.css +522 -0
  15. enap_designsystem/static/enap_designsystem/blocks/carousel_responsivo_snippet.css +294 -0
  16. enap_designsystem/static/enap_designsystem/blocks/clientes_block.css +146 -0
  17. enap_designsystem/static/enap_designsystem/blocks/semana.css +6 -5
  18. enap_designsystem/templates/enap_designsystem/base.html +8 -1
  19. enap_designsystem/templates/enap_designsystem/blocks/apresentacao_block.html +25 -29
  20. enap_designsystem/templates/enap_designsystem/blocks/apresentacao_simple_block.html +14 -15
  21. enap_designsystem/templates/enap_designsystem/blocks/banner.html +14 -1
  22. enap_designsystem/templates/enap_designsystem/blocks/banner_logo.html +15 -1
  23. enap_designsystem/templates/enap_designsystem/blocks/card_block.html +2 -2
  24. enap_designsystem/templates/enap_designsystem/blocks/cards_section.html +2 -109
  25. enap_designsystem/templates/enap_designsystem/blocks/cards_titles.html +31 -30
  26. enap_designsystem/templates/enap_designsystem/blocks/carousel.html +1 -187
  27. enap_designsystem/templates/enap_designsystem/blocks/carousel_images.html +17 -314
  28. enap_designsystem/templates/enap_designsystem/blocks/carousel_responsive.html +0 -328
  29. enap_designsystem/templates/enap_designsystem/blocks/carousel_responsivo_snippet.html +3 -197
  30. enap_designsystem/templates/enap_designsystem/blocks/clientes_block.html +9 -152
  31. enap_designsystem/templates/enap_designsystem/blocks/footer_block.html +122 -0
  32. enap_designsystem/templates/enap_designsystem/blocks/logos_simple_block.html +1 -22
  33. enap_designsystem/templates/enap_designsystem/blocks/section_block.html +1 -1
  34. enap_designsystem/templates/enap_designsystem/blocks/video_hero_banner.html +4 -10
  35. enap_designsystem/templates/enap_designsystem/pages/showcase_components.html +1168 -444
  36. enap_designsystem/templates/enap_designsystem/semana_inovacao/blocks_menu_navigation.html +2 -2
  37. {wagtail_enap_designsystem-1.2.1.144.dist-info → wagtail_enap_designsystem-1.2.1.146.dist-info}/METADATA +1 -1
  38. {wagtail_enap_designsystem-1.2.1.144.dist-info → wagtail_enap_designsystem-1.2.1.146.dist-info}/RECORD +41 -30
  39. {wagtail_enap_designsystem-1.2.1.144.dist-info → wagtail_enap_designsystem-1.2.1.146.dist-info}/WHEEL +0 -0
  40. {wagtail_enap_designsystem-1.2.1.144.dist-info → wagtail_enap_designsystem-1.2.1.146.dist-info}/licenses/LICENSE +0 -0
  41. {wagtail_enap_designsystem-1.2.1.144.dist-info → wagtail_enap_designsystem-1.2.1.146.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,323 @@
1
+ .enap-carousel {
2
+ position: relative;
3
+ width: 100%;
4
+ height: var(--altura-desktop);
5
+ overflow: hidden;
6
+ margin-bottom: 60px;
7
+ }
8
+
9
+ .carousel-container {
10
+ position: relative;
11
+ width: 100%;
12
+ height: 100%;
13
+ max-width: 1142px;
14
+ margin: auto;
15
+ border-radius: 25px;
16
+ overflow: hidden;
17
+ }
18
+
19
+ .carousel-wrapper {
20
+ position: relative;
21
+ width: 100%;
22
+ height: 100%;
23
+ }
24
+
25
+ .carousel-slides {
26
+ position: relative;
27
+ width: 100%;
28
+ height: 100%;
29
+ }
30
+
31
+ .carousel-slide {
32
+ position: absolute;
33
+ top: 0;
34
+ left: 0;
35
+ width: 100%;
36
+ height: 100%;
37
+ opacity: 0;
38
+ transition: opacity 0.6s ease-in-out;
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ }
43
+
44
+ .carousel-slide.active {
45
+ opacity: 1;
46
+ }
47
+
48
+ .slide-image {
49
+ position: absolute;
50
+ top: 0;
51
+ left: 0;
52
+ width: 100%;
53
+ height: 100%;
54
+ z-index: 1;
55
+ }
56
+
57
+ .slide-image img {
58
+ width: 100%;
59
+ height: 100%;
60
+ object-fit: cover;
61
+ object-position: center;
62
+ }
63
+
64
+ /* Responsividade das Imagens */
65
+ .mobile-image {
66
+ display: none;
67
+ }
68
+
69
+ .desktop-image {
70
+ display: block;
71
+ }
72
+
73
+ @media (max-width: 768px) {
74
+ .enap-carousel {
75
+ height: var(--altura-mobile);
76
+ }
77
+
78
+ .mobile-image {
79
+ display: block;
80
+ }
81
+
82
+ .desktop-image {
83
+ display: none;
84
+ }
85
+ }
86
+
87
+
88
+ /* Conteúdo do Slide */
89
+ .slide-content {
90
+ position: absolute;
91
+ z-index: 3;
92
+ color: white;
93
+ text-align: center;
94
+ padding: 20px;
95
+ }
96
+
97
+ .slide-content.centro {
98
+ top: 50%;
99
+ left: 50%;
100
+ transform: translate(-50%, -50%);
101
+ }
102
+
103
+ .slide-content.esquerda {
104
+ top: 50%;
105
+ transform: translateY(-50%);
106
+ text-align: left;
107
+ width: 100%;
108
+ max-width: 1142px;
109
+ margin: auto;
110
+ }
111
+
112
+ .slide-content.direita {
113
+ top: 50%;
114
+ right: 60px;
115
+ transform: translateY(-50%);
116
+ text-align: right;
117
+ }
118
+
119
+ .slide-content.inferior-esquerda {
120
+ bottom: 60px;
121
+ left: 60px;
122
+ text-align: left;
123
+ }
124
+
125
+ .slide-content.inferior-centro {
126
+ bottom: 60px;
127
+ left: 50%;
128
+ transform: translateX(-50%);
129
+ }
130
+
131
+ .slide-content.inferior-direita {
132
+ bottom: 60px;
133
+ right: 60px;
134
+ text-align: right;
135
+ }
136
+
137
+ .content-wrapper {
138
+ max-width: 600px;
139
+ }
140
+
141
+ .slide-title {
142
+ font-size: 2.5rem;
143
+ font-weight: 700;
144
+ margin: 0 0 16px 0;
145
+ line-height: 1.2;
146
+ }
147
+
148
+
149
+ .slide-subtitle p{
150
+ color: white;
151
+ }
152
+
153
+ .slide-button-wrapper {
154
+ margin-top: 20px;
155
+ }
156
+
157
+ .slide-button {
158
+ display: inline-block;
159
+ padding: 12px 32px;
160
+ border-radius: 32px;
161
+ font-weight: 600;
162
+ text-decoration: none;
163
+ border: 2px solid transparent;
164
+ transition: all 0.3s ease;
165
+ cursor: pointer;
166
+ font-size: 1rem;
167
+ text-transform: uppercase;
168
+ letter-spacing: 0.5px;
169
+ }
170
+
171
+ .slide-button.primario {
172
+ background: #007D7A;
173
+ color: white;
174
+ }
175
+
176
+ .slide-button.primario:hover {
177
+ background: #006969;
178
+ transform: translateY(-2px);
179
+ }
180
+
181
+ .slide-button.secundario {
182
+ background: white;
183
+ color: #007D7A;
184
+ border-color: white;
185
+ }
186
+
187
+ .slide-button.secundario:hover {
188
+ background: #f8f9fa;
189
+ transform: translateY(-2px);
190
+ }
191
+
192
+ .slide-button.outline {
193
+ background: transparent;
194
+ color: white;
195
+ border-color: white;
196
+ }
197
+
198
+ .slide-button.outline:hover {
199
+ background: white;
200
+ color: #006969;
201
+ transform: translateY(-2px);
202
+ }
203
+
204
+ /* Setas de Navegação */
205
+ .carousel-arrow {
206
+ position: absolute;
207
+ top: 50%;
208
+ transform: translateY(-50%);
209
+ background: #007D7A;
210
+ border: 2px white solid;
211
+ border-radius: 50%;
212
+ width: 30px;
213
+ height: 30px;
214
+ display: flex;
215
+ align-items: center;
216
+ justify-content: center;
217
+ cursor: pointer;
218
+ transition: all 0.3s ease;
219
+ z-index: 4;
220
+ color: white;
221
+ }
222
+
223
+ .carousel-arrow:hover {
224
+ background: #006969;
225
+ transform: translateY(-50%) scale(1.1);
226
+ }
227
+
228
+ .carousel-arrow.prev {
229
+ left: 20px;
230
+ }
231
+
232
+ .carousel-arrow.next {
233
+ right: 20px;
234
+ }
235
+
236
+ /* Indicadores */
237
+ .carousel-indicators {
238
+ position: absolute;
239
+ bottom: 20px;
240
+ left: 50%;
241
+ transform: translateX(-50%);
242
+ display: flex;
243
+ gap: 12px;
244
+ z-index: 4;
245
+ }
246
+
247
+ .indicator {
248
+ width: 12px;
249
+ height: 12px;
250
+ border-radius: 50%;
251
+ border: 2px solid white;
252
+ background: transparent;
253
+ cursor: pointer;
254
+ transition: all 0.3s ease;
255
+ }
256
+
257
+ .indicator.active {
258
+ background: white;
259
+ }
260
+
261
+ .indicator:hover {
262
+ transform: scale(1.2);
263
+ }
264
+
265
+ /* Responsividade */
266
+ @media (max-width: 768px) {
267
+ .slide-content {
268
+ padding: 15px;
269
+ }
270
+
271
+ .slide-content.esquerda,
272
+ .slide-content.direita,
273
+ .slide-content.inferior-esquerda,
274
+ .slide-content.inferior-direita {
275
+ left: 20px;
276
+ right: 20px;
277
+ text-align: center;
278
+ transform: none;
279
+ height: 100%;
280
+ }
281
+
282
+ .slide-content.inferior-esquerda,
283
+ .slide-content.inferior-centro,
284
+ .slide-content.inferior-direita {
285
+ bottom: 40px;
286
+ }
287
+
288
+ .slide-title {
289
+ font-size: 1.8rem;
290
+ }
291
+
292
+ .slide-subtitle {
293
+ font-size: 1rem;
294
+ }
295
+
296
+ .carousel-arrow {
297
+ width: 40px;
298
+ height: 40px;
299
+ }
300
+
301
+ .carousel-arrow.prev {
302
+ left: 15px;
303
+ }
304
+
305
+ .carousel-arrow.next {
306
+ right: 15px;
307
+ }
308
+ }
309
+
310
+ @media (max-width: 480px) {
311
+ .slide-title {
312
+ font-size: 1.5rem;
313
+ }
314
+
315
+ .slide-subtitle {
316
+ font-size: 0.9rem;
317
+ }
318
+
319
+ .slide-button {
320
+ padding: 10px 24px;
321
+ font-size: 0.9rem;
322
+ }
323
+ }