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,229 @@
1
+ .secao-apresentacao-cards {
2
+ position: relative;
3
+ min-height: 500px;
4
+ }
5
+
6
+ .secao-background {
7
+ position: relative;
8
+ width: 100%;
9
+ min-height: 500px;
10
+ padding: 80px 0;
11
+ }
12
+
13
+ .secao-overlay {
14
+ position: relative;
15
+ top: 0;
16
+ left: 0;
17
+ right: 0;
18
+ bottom: 0;
19
+ backdrop-filter: blur(0.5px);
20
+ display: flex;
21
+ }
22
+
23
+ .card-item {
24
+ width: 100%;
25
+ flex: 0 0 268px;
26
+ display: flex;
27
+ flex-direction: column;
28
+ align-items: center;
29
+ justify-content: center;
30
+ text-align: center;
31
+ height: auto;
32
+ box-shadow: unset;
33
+ font-weight: 500;
34
+ padding: 0px;
35
+ text-decoration: none;
36
+ border-radius: 20px;
37
+ }
38
+
39
+ .titulo-secao {
40
+ line-height: 1.2;
41
+ text-align: center;
42
+ margin-bottom: 0;
43
+ font-weight: 500;
44
+ font-size: 48px;
45
+ letter-spacing: 0px;
46
+ }
47
+
48
+ .subtitulo-secao p {
49
+ text-align: center;
50
+ font-family: Georama;
51
+ font-weight: 400;
52
+ font-size: 21px;
53
+ line-height: 160%;
54
+ letter-spacing: 0px;
55
+ }
56
+
57
+ .cards-container {
58
+ display: grid;
59
+ gap: 2rem;
60
+ max-width: 1142px;
61
+ width: 100%;
62
+ margin: 0 auto;
63
+ }
64
+
65
+ /* Layouts responsivos */
66
+ .cards-1-coluna {
67
+ grid-template-columns: 1fr;
68
+ }
69
+
70
+ .cards-2-colunas {
71
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
72
+ max-width: 800px;
73
+ }
74
+
75
+ .cards-3-colunas {
76
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
77
+ max-width: 1000px;
78
+ }
79
+
80
+ .cards-4-colunas {
81
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
82
+ }
83
+
84
+ .cards-5-colunas {
85
+ grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
86
+ }
87
+
88
+ .card-apresentacao {
89
+ border-radius: 12px;
90
+ overflow: hidden;
91
+ transition: all 0.3s ease;
92
+ backdrop-filter: blur(10px);
93
+ border: 1px solid rgba(255, 255, 255, 0.1);
94
+ height: 100%;
95
+ display: flex;
96
+ flex-direction: column;
97
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
98
+ }
99
+
100
+ .card-apresentacao:hover {
101
+ transform: translateY(-8px);
102
+ border-color: rgba(255, 255, 255, 0.2);
103
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
104
+ }
105
+
106
+ .card-imagem {
107
+ position: relative;
108
+ height: auto;
109
+ overflow: hidden;
110
+ }
111
+
112
+ .card-img {
113
+ width: 100%;
114
+ height: auto;
115
+ object-fit: cover;
116
+ transition: transform 0.3s ease;
117
+ }
118
+
119
+ .card-apresentacao:hover .card-img {
120
+ transform: scale(1.05);
121
+ }
122
+
123
+ .card-conteudo {
124
+ padding: 1.5rem;
125
+ flex: 1;
126
+ display: flex;
127
+ flex-direction: column;
128
+ align-items: flex-start;
129
+ }
130
+
131
+ .card-titulo {
132
+ font-size: 21px;
133
+ font-weight: 500;
134
+ margin-bottom: 0.5rem;
135
+ line-height: 1.4;
136
+ text-align: left;
137
+ }
138
+
139
+ .card-subtitulo {
140
+ font-size: 0.9rem;
141
+ font-weight: 400;
142
+ margin-bottom: 1rem;
143
+ font-style: italic;
144
+ }
145
+
146
+ .card-descricao {
147
+ flex: 1;
148
+ font-size: 0.95rem;
149
+ line-height: 1.6;
150
+ margin-bottom: 1rem;
151
+ text-align: left;
152
+ }
153
+
154
+ .card-acao {
155
+ margin-top: auto;
156
+ padding-top: 24px;
157
+ }
158
+
159
+ .card-link {
160
+ display: inline-flex;
161
+ align-items: center;
162
+ gap: 0.5rem;
163
+ font-size: 0.95rem;
164
+ font-weight: 500;
165
+ text-decoration: none;
166
+ transition: all 0.3s ease;
167
+ }
168
+
169
+ .link-arrow {
170
+ transition: transform 0.3s ease;
171
+ }
172
+
173
+ /* Responsividade */
174
+ @media (max-width: 768px) {
175
+ .titulo-secao {
176
+ font-size: 2rem;
177
+ }
178
+
179
+ .cards-container {
180
+ grid-template-columns: 1fr;
181
+ gap: 1.5rem;
182
+ }
183
+
184
+ .card-imagem {
185
+ height: 160px;
186
+ }
187
+
188
+ .card-conteudo {
189
+ padding: 1.25rem;
190
+ }
191
+
192
+ .card-titulo {
193
+ font-size: 1.1rem;
194
+ }
195
+
196
+ .card-subtitulo {
197
+ font-size: 0.85rem;
198
+ }
199
+ }
200
+
201
+ @media (max-width: 480px) {
202
+ .titulo-secao {
203
+ font-size: 1.75rem;
204
+ }
205
+
206
+ .container {
207
+ padding-left: 1rem;
208
+ padding-right: 1rem;
209
+ }
210
+
211
+ .card-imagem {
212
+ height: 140px;
213
+ }
214
+
215
+ .card-conteudo {
216
+ padding: 1rem;
217
+ }
218
+
219
+ .card-titulo {
220
+ font-size: 1rem;
221
+ }
222
+ }
223
+
224
+ .titulo-cards{
225
+ display: flex;
226
+ flex-direction: column;
227
+ justify-content: center;
228
+ gap: 48px;
229
+ }
@@ -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
+ }