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,294 @@
1
+ .carousel-responsivo {
2
+ position: relative;
3
+ width: 100%;
4
+ margin-bottom: 2rem;
5
+ }
6
+
7
+ .carousel-responsivo__title {
8
+ text-align: center;
9
+ margin-bottom: 2rem;
10
+ font-size: 2rem;
11
+ font-weight: 700;
12
+ color: var(--enap-primary-color, #1976d2);
13
+ }
14
+
15
+ .carousel-responsivo__container {
16
+ position: relative;
17
+ width: 100%;
18
+ height: var(--carousel-height-mobile);
19
+ overflow: hidden;
20
+ border-radius: 0.5rem;
21
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
22
+ }
23
+
24
+ @media (min-width: 768px) {
25
+ .carousel-responsivo__container {
26
+ height: var(--carousel-height-desktop);
27
+ }
28
+ }
29
+
30
+ .carousel-responsivo__slides {
31
+ position: relative;
32
+ width: 100%;
33
+ height: 100%;
34
+ }
35
+
36
+ .carousel-responsivo__slide {
37
+ position: absolute;
38
+ top: 0;
39
+ left: 0;
40
+ width: 100%;
41
+ height: 100%;
42
+ opacity: 0;
43
+ transition: opacity 0.6s ease-in-out;
44
+ display: flex;
45
+ align-items: center;
46
+ }
47
+
48
+ .carousel-responsivo__slide[data-active="true"] {
49
+ opacity: 1;
50
+ }
51
+
52
+ /* Efeito Fade */
53
+ .carousel-responsivo[data-efeito="fade"] .carousel-responsivo__slide {
54
+ transition: opacity 0.8s ease-in-out;
55
+ }
56
+
57
+ /* Efeito Slide */
58
+ .carousel-responsivo[data-efeito="slide"] .carousel-responsivo__slide {
59
+ transform: translateX(100%);
60
+ transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
61
+ }
62
+
63
+ .carousel-responsivo[data-efeito="slide"] .carousel-responsivo__slide[data-active="true"] {
64
+ transform: translateX(0);
65
+ }
66
+
67
+ .carousel-responsivo__picture {
68
+ position: absolute;
69
+ top: 0;
70
+ left: 0;
71
+ width: 100%;
72
+ height: 100%;
73
+ z-index: 1;
74
+ }
75
+
76
+ .carousel-responsivo__image {
77
+ width: 100%;
78
+ height: 100%;
79
+ object-fit: cover;
80
+ object-position: center;
81
+ }
82
+
83
+ .carousel-responsivo__overlay {
84
+ position: absolute;
85
+ top: 0;
86
+ left: 0;
87
+ width: 100%;
88
+ height: 100%;
89
+ background: linear-gradient(
90
+ 135deg,
91
+ rgba(0, 0, 0, 0.6) 0%,
92
+ rgba(0, 0, 0, 0.3) 50%,
93
+ rgba(0, 0, 0, 0.1) 100%
94
+ );
95
+ z-index: 2;
96
+ }
97
+
98
+ .carousel-responsivo__content {
99
+ position: relative;
100
+ z-index: 3;
101
+ width: 100%;
102
+ padding: 2rem 0;
103
+ }
104
+
105
+ .carousel-responsivo__text-wrapper {
106
+ max-width: 600px;
107
+ color: white;
108
+ }
109
+
110
+ .carousel-responsivo__slide--left .carousel-responsivo__text-wrapper {
111
+ margin-left: 0;
112
+ text-align: left;
113
+ }
114
+
115
+ .carousel-responsivo__slide--center .carousel-responsivo__text-wrapper {
116
+ margin: 0 auto;
117
+ text-align: center;
118
+ }
119
+
120
+ .carousel-responsivo__slide--right .carousel-responsivo__text-wrapper {
121
+ margin-left: auto;
122
+ text-align: right;
123
+ }
124
+
125
+ .carousel-responsivo__slide-title {
126
+ font-size: 1.5rem;
127
+ font-weight: 700;
128
+ margin-bottom: 1rem;
129
+ line-height: 1.2;
130
+ }
131
+
132
+ @media (min-width: 768px) {
133
+ .carousel-responsivo__slide-title {
134
+ font-size: 2.5rem;
135
+ }
136
+ }
137
+
138
+ .carousel-responsivo__slide-subtitle {
139
+ font-size: 1rem;
140
+ margin-bottom: 1rem;
141
+ opacity: 0.95;
142
+ line-height: 1.4;
143
+ }
144
+
145
+ @media (min-width: 768px) {
146
+ .carousel-responsivo__slide-subtitle {
147
+ font-size: 1.25rem;
148
+ }
149
+ }
150
+
151
+ .carousel-responsivo__slide-text {
152
+ font-size: 0.875rem;
153
+ margin-bottom: 1.5rem;
154
+ opacity: 0.9;
155
+ }
156
+
157
+ @media (min-width: 768px) {
158
+ .carousel-responsivo__slide-text {
159
+ font-size: 1rem;
160
+ }
161
+ }
162
+
163
+
164
+
165
+ .carousel-responsivo__slide-button:hover,
166
+ .carousel-responsivo__slide-button:focus {
167
+ background: white;
168
+ transform: translateY(-2px);
169
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
170
+ outline: 2px solid var(--enap-primary-color, #1976d2);
171
+ outline-offset: 2px;
172
+ }
173
+
174
+ .carousel-responsivo__slide-button-icon {
175
+ transition: transform 0.3s ease;
176
+ }
177
+
178
+ .carousel-responsivo__slide-button:hover .carousel-responsivo__slide-button-icon {
179
+ transform: translateX(4px);
180
+ }
181
+
182
+ /* Navegação */
183
+ .carousel-responsivo__nav {
184
+ position: absolute;
185
+ top: 50%;
186
+ transform: translateY(-50%);
187
+ width: 48px;
188
+ height: 48px;
189
+ background: rgba(255, 255, 255, 0.9);
190
+ border: none;
191
+ border-radius: 50%;
192
+ color: var(--enap-primary-color, #1976d2);
193
+ font-size: 24px;
194
+ font-weight: bold;
195
+ cursor: pointer;
196
+ transition: all 0.3s ease;
197
+ z-index: 4;
198
+ display: flex;
199
+ align-items: center;
200
+ justify-content: center;
201
+ backdrop-filter: blur(10px);
202
+ }
203
+
204
+ .carousel-responsivo__nav:hover,
205
+ .carousel-responsivo__nav:focus {
206
+ background: white;
207
+ transform: translateY(-50%) scale(1.1);
208
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
209
+ outline: 2px solid var(--enap-primary-color, #1976d2);
210
+ outline-offset: 2px;
211
+ }
212
+
213
+ .carousel-responsivo__nav--prev {
214
+ left: 1rem;
215
+ }
216
+
217
+ .carousel-responsivo__nav--next {
218
+ right: 1rem;
219
+ }
220
+
221
+ /* Indicadores */
222
+ .carousel-responsivo__indicators {
223
+ position: absolute;
224
+ bottom: 1rem;
225
+ left: 50%;
226
+ transform: translateX(-50%);
227
+ display: flex;
228
+ gap: 0.5rem;
229
+ z-index: 4;
230
+ }
231
+
232
+ .carousel-responsivo__indicator {
233
+ width: 12px;
234
+ height: 12px;
235
+ border-radius: 50%;
236
+ border: 2px solid rgba(255, 255, 255, 0.5);
237
+ background: transparent;
238
+ cursor: pointer;
239
+ transition: all 0.3s ease;
240
+ }
241
+
242
+ .carousel-responsivo__indicator[aria-selected="true"] {
243
+ background: white;
244
+ border-color: white;
245
+ }
246
+
247
+ .carousel-responsivo__indicator:hover,
248
+ .carousel-responsivo__indicator:focus {
249
+ border-color: white;
250
+ transform: scale(1.2);
251
+ outline: 2px solid rgba(255, 255, 255, 0.8);
252
+ outline-offset: 2px;
253
+ }
254
+
255
+ /* Utilitários */
256
+ .sr-only {
257
+ position: absolute;
258
+ width: 1px;
259
+ height: 1px;
260
+ padding: 0;
261
+ margin: -1px;
262
+ overflow: hidden;
263
+ clip: rect(0, 0, 0, 0);
264
+ border: 0;
265
+ }
266
+
267
+ .container {
268
+ max-width: 1200px;
269
+ margin: 0 auto;
270
+ padding: 0 1rem;
271
+ }
272
+
273
+ @media (min-width: 768px) {
274
+ .container {
275
+ padding: 0 2rem;
276
+ }
277
+ }
278
+
279
+ /* Temas de cores */
280
+ .carousel-responsivo__slide--primary {
281
+ --theme-color: var(--enap-primary-color, #1976d2);
282
+ }
283
+
284
+ .carousel-responsivo__slide--secondary {
285
+ --theme-color: var(--enap-secondary-color, #424242);
286
+ }
287
+
288
+ .carousel-responsivo__slide--light {
289
+ --theme-color: #ffffff;
290
+ }
291
+
292
+ .carousel-responsivo__slide--dark {
293
+ --theme-color: #1a1a1a;
294
+ }
@@ -0,0 +1,146 @@
1
+ .clientes-section {
2
+ padding: 80px 0;
3
+ background: linear-gradient(0deg, #FFFFFF 88%, #F5F7FA 96%);
4
+ position: relative;
5
+ }
6
+
7
+ .clientes-button{
8
+ margin: 40px auto;
9
+ display: flex;
10
+ justify-content: center;
11
+ }
12
+
13
+ .clientes-section::before {
14
+ content: '';
15
+ position: absolute;
16
+ top: 0;
17
+ left: 0;
18
+ right: 0;
19
+ bottom: 0;
20
+ background-image: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
21
+ background-size: 30px 30px;
22
+ pointer-events: none;
23
+ }
24
+
25
+ .container {
26
+ max-width: 1142px;
27
+ margin: 0 auto;
28
+ padding: 0 20px;
29
+ }
30
+
31
+ .clientes-header {
32
+ margin-bottom: 60px;
33
+ }
34
+
35
+ .clientes-header__titulo {
36
+ font-size: 2.5rem;
37
+ font-weight: 600;
38
+ color: #024248;
39
+ margin-bottom: 16px;
40
+ line-height: 1.2;
41
+ }
42
+
43
+ .clientes-section p{
44
+ font-size: 1.125rem;
45
+ color: #333840;
46
+ max-width: 600px;
47
+ margin: 0 auto;
48
+ line-height: 1.6;
49
+ }
50
+
51
+ .text-center {
52
+ text-align: center;
53
+ }
54
+
55
+ .text-left {
56
+ text-align: left;
57
+ }
58
+
59
+ .text-left .clientes-header__subtitulo {
60
+ margin-left: 0;
61
+ }
62
+
63
+ .clientes-grid {
64
+ display: grid;
65
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
66
+ gap: 40px;
67
+ align-items: center;
68
+ justify-items: center;
69
+ }
70
+
71
+ .cliente-logo {
72
+ padding: 12px;
73
+ height: 120px;
74
+ width: 100%;
75
+ max-width: 200px;
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ }
80
+
81
+ .cliente-logo__imagem {
82
+ max-width: 100%;
83
+ max-height: 60px;
84
+ width: 100%;
85
+ height: auto;
86
+ object-fit: contain;
87
+ transition: all 0.3s ease;
88
+ }
89
+
90
+ .cliente-logo:hover .cliente-logo__imagem {
91
+ filter: grayscale(0);
92
+ opacity: 1;
93
+ }
94
+
95
+ /* Responsividade */
96
+ @media (max-width: 768px) {
97
+ .clientes-section {
98
+ padding: 60px 0;
99
+ }
100
+
101
+ .clientes-header {
102
+ margin-bottom: 40px;
103
+ }
104
+
105
+ .clientes-header__titulo {
106
+ font-size: 2rem;
107
+ }
108
+
109
+ .clientes-grid {
110
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
111
+ gap: 24px;
112
+ }
113
+
114
+ .cliente-logo {
115
+ padding: 24px;
116
+ max-width: 150px;
117
+ height: 100px;
118
+ }
119
+
120
+ .cliente-logo__imagem {
121
+ max-height: 50px;
122
+ }
123
+ }
124
+
125
+ @media (max-width: 480px) {
126
+ .clientes-grid {
127
+ grid-template-columns: repeat(2, 1fr);
128
+ gap: 16px;
129
+ }
130
+
131
+ .cliente-logo {
132
+ padding: 20px;
133
+ height: 90px;
134
+ }
135
+
136
+ .cliente-logo__imagem {
137
+ max-height: 40px;
138
+ }
139
+ }
140
+
141
+ /* Variação para muitos logos */
142
+ @media (min-width: 1200px) {
143
+ .clientes-grid {
144
+ grid-template-columns: repeat(5, 1fr);
145
+ }
146
+ }
@@ -345,8 +345,8 @@
345
345
  }
346
346
 
347
347
  .apresentacao-titulo {
348
- font-size: 40px;
349
- font-weight: 600;
348
+ font-size: 48px;
349
+ font-weight: 500;
350
350
  margin-bottom: 40px;
351
351
  line-height: 1.2;
352
352
  }
@@ -1223,7 +1223,7 @@
1223
1223
 
1224
1224
  .container-fluid_semana {
1225
1225
  display: flex;
1226
- justify-content: center;
1226
+ justify-content: space-between;
1227
1227
  align-items: center;
1228
1228
  max-width: 1200px;
1229
1229
  margin: 0 auto;
@@ -1246,7 +1246,7 @@
1246
1246
  list-style: none;
1247
1247
  margin: 0;
1248
1248
  padding: 0;
1249
- gap: 2rem;
1249
+ gap: 0px;
1250
1250
  text-decoration: none;
1251
1251
  flex-direction: row;
1252
1252
  }
@@ -1258,10 +1258,11 @@
1258
1258
  .nav-linktwo {
1259
1259
  color: #ffffff;
1260
1260
  text-decoration: none;
1261
- font-weight: 500;
1261
+ font-weight: 400;
1262
1262
  padding: 0.5rem 1rem;
1263
1263
  transition: all 0.3s ease;
1264
1264
  position: relative;
1265
+ font-size: 16px
1265
1266
  }
1266
1267
 
1267
1268
  .nav-linktwo:hover {
@@ -19,8 +19,9 @@
19
19
  <!-- End Google Tag Manager -->
20
20
 
21
21
  {% block title %}
22
- <title>{% if page.page_title and page.page_title|length > 0 %}{{ page.page_title }}{% else %}ENAP - Escola Nacional de Administração Pública{% endif %}</title>
22
+ <title>{% if page.page_title and page.page_title|length > 0 %}{{ page.page_title }}{% else %}{{ page.title }}{% endif %}</title>
23
23
  {% endblock %}
24
+
24
25
 
25
26
  {% block styleinline %} {% endblock %}
26
27
  {% block stylecss %} {% endblock %}
@@ -81,6 +82,12 @@
81
82
 
82
83
  <!-- CSS Componentes -->
83
84
  <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/lia.css' %}">
85
+ <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/carousel_images.css' %}">
86
+ <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/apresentacao_block.css' %}">
87
+ <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/cards_section.css' %}">
88
+ <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/cards_titles.css' %}">
89
+ <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/carousel_responsive.css' %}">
90
+ <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/clientes_block.css' %}">
84
91
  <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/semana.css' %}">
85
92
  <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/accordions.css' %}">
86
93
  <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/accordionsv2.css' %}">
@@ -2,21 +2,21 @@
2
2
  {% load wagtailcore_tags %}
3
3
 
4
4
  <section class="apresentacao-secao py-16"
5
- style="background-color: {{ value.cor_fundo }};">
5
+ style="background-color: {{ value.cor_fundo }};">
6
6
 
7
7
  <div class="apresentacao-container mx-auto px-4">
8
8
  <div class="apresentacao-wrapper mx-auto text-center">
9
9
 
10
10
  <!-- Título -->
11
- <h2 class="apresentacao-titulo font-bold mb-8"
11
+ <h2 class="apresentacao-titulo"
12
12
  style="color: {{ value.cor_titulo }};">
13
13
  {{ value.titulo }}
14
14
  </h2>
15
15
 
16
16
  <!-- Quadrado de conteúdo -->
17
- <div class="apresentacao-conteudo-box rounded-lg mb-8 shadow-lg text-left"
18
- style="background-color: {{ value.cor_quadrado }};">
19
- <div class="apresentacao-texto leading-relaxed">
17
+ <div class="apresentacao-conteudo-box rounded-lg text-left"
18
+ style="background-color: {{ value.cor_quadrado }};">
19
+ <div style="color: {{value.cor_texto}}" class="apresentacao-texto leading-relaxed">
20
20
  {{ value.conteudo|richtext }}
21
21
  </div>
22
22
  </div>
@@ -25,13 +25,12 @@
25
25
  {% if value.botao_texto and value.botao_url %}
26
26
  <div class="apresentacao-botao-wrapper flex justify-center">
27
27
  <a href="{{ value.botao_url }}"
28
- class="apresentacao-botao inline-flex items-center justify-center
29
- px-8 font-semibold rounded-full
30
- text-white transition-all duration-300"
31
- style="background-color: {{ value.cor_botao }};"
32
- onmouseover="this.style.backgroundColor='{{ value.cor_botao_hover }}'"
33
- onmouseout="this.style.backgroundColor='{{ value.cor_botao }}'">
34
-
28
+ class="apresentacao-botao inline-flex items-center justify-center
29
+ px-8 font-semibold rounded-full
30
+ text-white transition-all duration-300"
31
+ style="background-color: {{ value.cor_botao }};"
32
+ onmouseover="this.style.backgroundColor='{{ value.cor_botao_hover }}'"
33
+ onmouseout="this.style.backgroundColor='{{ value.cor_botao }}'">
35
34
  {% if value.botao_icone %}
36
35
  <i class="apresentacao-icone {{ value.botao_icone }} mr-2"></i>
37
36
  {% endif %}
@@ -47,25 +46,18 @@
47
46
 
48
47
  <style>
49
48
  .apresentacao-botao {
50
- box-shadow: 0 4px 15px rgba(0,0,0,0.2);
51
- font-size: 1.125rem;
52
- padding: 12px 16px;
49
+ font-size: 18px;
50
+ padding: 12px 36px;
53
51
  border-radius: 32px;
54
- width: 200px;
55
- gap: 20px;
52
+ font-weight: 500;
53
+ background-color: {{ value.cor_botao }};
56
54
  }
57
55
 
58
56
  .apresentacao-titulo {
59
- font-size: 2.25rem;
57
+ font-size: 48px;
60
58
  margin-bottom: 0px;
61
59
  }
62
60
 
63
- @media (min-width: 768px) {
64
- .apresentacao-titulo {
65
- font-size: 3rem;
66
- }
67
- }
68
-
69
61
  .apresentacao-container {
70
62
  max-width: 1200px;
71
63
  }
@@ -79,18 +71,22 @@
79
71
  }
80
72
 
81
73
  .apresentacao-conteudo-box {
82
- padding: 60px 120px;
74
+ padding: 60px;
83
75
  }
84
76
 
85
77
  @media (min-width: 768px) {
86
78
  .apresentacao-conteudo-box {
87
- padding: 3rem;
79
+ padding: 3rem 8rem;
88
80
  }
89
81
  }
90
82
 
91
83
  .apresentacao-botao:hover {
92
84
  transform: translateY(-2px);
93
- box-shadow: 0 6px 20px rgba(0,0,0,0.3);
85
+ box-shadow: 0 6px 20px rgba(0,0,0,0.05);
86
+ background-color: {{ value.cor_botao_hover }};
87
+ }
88
+ .apresentacao-botao:active {
89
+ background-color: {{ value.cor_botao_active }};
94
90
  }
95
91
 
96
92
  /* Forçar cores do richtext */
@@ -103,8 +99,8 @@
103
99
  padding: 90px 0;
104
100
  }
105
101
 
106
- .apresentacao-texto {
107
- font-size: 1.125rem;
102
+ .apresentacao-texto p {
103
+ font-size: 21px;
108
104
  }
109
105
 
110
106
  .apresentacao-secao .apresentacao-texto p,
@@ -1,8 +1,8 @@
1
1
  <!-- templates/blocks/apresentacao_simple_block.html -->
2
2
  {% load wagtailcore_tags %}
3
-
3
+ {% load wagtailimages_tags %}
4
4
  <section class="secao-display py-16"
5
- style="background-color: {{ value.cor_fundo }};">
5
+ style="background-color: {{ value.cor_fundo }};">
6
6
 
7
7
  <div class="container mx-auto px-4">
8
8
  <div class="max-w-6xl mx-auto">
@@ -15,9 +15,9 @@
15
15
 
16
16
  <!-- Quadrado de conteúdo -->
17
17
  <div class="secao-conteudo-cartoes rounded-lg p-8 mb-12 shadow-lg"
18
- style="background-color: {{ value.cor_quadrado }};">
18
+ style="background-color: {{ value.cor_quadrado }};">
19
19
  <div class="secao-texto text-lg leading-relaxed"
20
- style="color: {{ value.cor_texto }};">
20
+ style="color: {{ value.cor_texto }};">
21
21
  {{ value.conteudo|richtext }}
22
22
  </div>
23
23
 
@@ -28,8 +28,12 @@
28
28
  {% if card_block.block_type == 'card_apresentacao' %}
29
29
  <div class="secao-cartao">
30
30
  <!-- Ícone -->
31
- {% if card_block.value.icone %}
31
+ {% if card_block.value.logo %}
32
32
  <div class="cartao-simbolo" style="background: {{ value.cor_texto }};">
33
+ {% image card_block.value.logo original %}
34
+ </div>
35
+ {% elif card_block.value.icone %}
36
+ <div class="cartao-simbolo" style="background: {{ card_block.value.cor_icone }};">
33
37
  <i class="{{ card_block.value.icone }}"></i>
34
38
  </div>
35
39
  {% endif %}
@@ -60,20 +64,15 @@
60
64
  }
61
65
 
62
66
  .secao-cabecalho {
63
- font-size: 2.5rem;
67
+ font-size: 48px !important;
68
+ font-weight: 500;
64
69
  margin-bottom: 2rem;
65
70
  }
66
-
67
- @media (min-width: 768px) {
68
- .secao-cabecalho {
69
- font-size: 3.5rem;
70
- }
71
- }
72
-
71
+
73
72
  .secao-conteudo-cartoes {
74
73
  max-width: 1142px;
75
74
  margin: 0 auto;
76
- padding: 60px 30px;
75
+ padding: 45px;
77
76
  }
78
77
 
79
78
  .secao-texto {
@@ -177,7 +176,7 @@
177
176
  /* Estilos do Card */
178
177
  .secao-cartao {
179
178
  text-align: center;
180
- padding: 1.5rem;
179
+ padding: 0px;
181
180
  }
182
181
 
183
182
  .cartao-simbolo {
@@ -15,5 +15,18 @@
15
15
  </div>
16
16
  </div>
17
17
  </div>
18
- {% endif%}
18
+ {% else %}
19
+ <div class="banner" style="background-image: url({% static 'enap_designsystem/blocks/suap/default_1.png' %})">
20
+ {% if self.overlay %}
21
+ <div class="banner__overlay"></div>
22
+ {% endif %}
23
+ <div class="banner__content">
24
+ <div class="wrapper-texts-banner">
25
+ <img src="{% static 'enap_designsystem/icons/grafismo.svg' %}" alt="Grafismo" class="grafismo">
26
+ <h1 class="banner__title">{{ self.title }}</h1>
27
+ <h2 class="banner__description">{{ self.description }}</h2>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ {% endif %}
19
32
  {% endblock %}