wagtail-enap-designsystem 1.2.1.143__py3-none-any.whl → 1.2.1.145__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.
- enap_designsystem/blocks/content_blocks.py +2 -1
- enap_designsystem/blocks/form.py +1 -6
- enap_designsystem/blocks/html_blocks.py +82 -77
- enap_designsystem/blocks/layout_blocks.py +26 -0
- enap_designsystem/blocks/semana_blocks.py +30 -19
- enap_designsystem/migrations/0415_showcasecomponentesdireto_debug_mode_and_more.py +77346 -0
- enap_designsystem/migrations/0416_alter_showcasecomponentesdireto_debug_mode_and_more.py +33 -0
- enap_designsystem/migrations/0417_alter_showcasecomponentesdireto_options_and_more.py +53 -0
- enap_designsystem/models.py +729 -146
- enap_designsystem/static/enap_designsystem/blocks/accordions.css +1 -0
- enap_designsystem/static/enap_designsystem/blocks/semana.css +6 -5
- enap_designsystem/templates/enap_designsystem/blocks/apresentacao_block.html +8 -16
- enap_designsystem/templates/enap_designsystem/blocks/apresentacao_simple_block.html +11 -12
- enap_designsystem/templates/enap_designsystem/blocks/cards_titles.html +23 -31
- enap_designsystem/templates/enap_designsystem/blocks/formulario_dinamico.html +4 -4
- enap_designsystem/templates/enap_designsystem/blocks/logos_simple_block.html +1 -22
- enap_designsystem/templates/enap_designsystem/blocks/numeros_block.html +1 -1
- enap_designsystem/templates/enap_designsystem/blocks/section_block.html +2 -2
- enap_designsystem/templates/enap_designsystem/blocks/video_hero_banner.html +3 -8
- enap_designsystem/templates/enap_designsystem/pages/showcase_components.html +867 -464
- enap_designsystem/templates/enap_designsystem/semana_inovacao/blocks_menu_navigation.html +10 -0
- {wagtail_enap_designsystem-1.2.1.143.dist-info → wagtail_enap_designsystem-1.2.1.145.dist-info}/METADATA +1 -1
- {wagtail_enap_designsystem-1.2.1.143.dist-info → wagtail_enap_designsystem-1.2.1.145.dist-info}/RECORD +26 -23
- {wagtail_enap_designsystem-1.2.1.143.dist-info → wagtail_enap_designsystem-1.2.1.145.dist-info}/WHEEL +0 -0
- {wagtail_enap_designsystem-1.2.1.143.dist-info → wagtail_enap_designsystem-1.2.1.145.dist-info}/licenses/LICENSE +0 -0
- {wagtail_enap_designsystem-1.2.1.143.dist-info → wagtail_enap_designsystem-1.2.1.145.dist-info}/top_level.txt +0 -0
|
@@ -345,8 +345,8 @@
|
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
.apresentacao-titulo {
|
|
348
|
-
font-size:
|
|
349
|
-
font-weight:
|
|
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:
|
|
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:
|
|
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:
|
|
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 {
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
<div class="apresentacao-wrapper mx-auto text-center">
|
|
9
9
|
|
|
10
10
|
<!-- Título -->
|
|
11
|
-
<h2 class="apresentacao-titulo
|
|
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
|
|
17
|
+
<div class="apresentacao-conteudo-box rounded-lg text-left"
|
|
18
18
|
style="background-color: {{ value.cor_quadrado }};">
|
|
19
|
-
<div class="apresentacao-texto leading-relaxed">
|
|
19
|
+
<div style="color: {{value.cor_texto}}" class="apresentacao-texto leading-relaxed">
|
|
20
20
|
{{ value.conteudo|richtext }}
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
@@ -47,25 +47,17 @@
|
|
|
47
47
|
|
|
48
48
|
<style>
|
|
49
49
|
.apresentacao-botao {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
padding: 12px 16px;
|
|
50
|
+
font-size: 18px;
|
|
51
|
+
padding: 12px 36px;
|
|
53
52
|
border-radius: 32px;
|
|
54
|
-
|
|
55
|
-
gap: 20px;
|
|
53
|
+
font-weight: 500;
|
|
56
54
|
}
|
|
57
55
|
|
|
58
56
|
.apresentacao-titulo {
|
|
59
|
-
font-size:
|
|
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
|
}
|
|
@@ -90,7 +82,7 @@
|
|
|
90
82
|
|
|
91
83
|
.apresentacao-botao:hover {
|
|
92
84
|
transform: translateY(-2px);
|
|
93
|
-
box-shadow: 0 6px 20px rgba(0,0,0,0.
|
|
85
|
+
box-shadow: 0 6px 20px rgba(0,0,0,0.05);
|
|
94
86
|
}
|
|
95
87
|
|
|
96
88
|
/* Forçar cores do richtext */
|
|
@@ -1,6 +1,6 @@
|
|
|
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
5
|
style="background-color: {{ value.cor_fundo }};">
|
|
6
6
|
|
|
@@ -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.
|
|
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:
|
|
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:
|
|
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:
|
|
179
|
+
padding: 0px;
|
|
181
180
|
}
|
|
182
181
|
|
|
183
182
|
.cartao-simbolo {
|
|
@@ -32,8 +32,7 @@
|
|
|
32
32
|
justify-content: center;
|
|
33
33
|
text-align: center;
|
|
34
34
|
height: auto;
|
|
35
|
-
|
|
36
|
-
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
|
|
35
|
+
box-shadow: unset;
|
|
37
36
|
font-weight: 500;
|
|
38
37
|
padding: 0px;
|
|
39
38
|
text-decoration: none;
|
|
@@ -44,7 +43,6 @@
|
|
|
44
43
|
line-height: 1.2;
|
|
45
44
|
text-align: center;
|
|
46
45
|
margin-bottom: 0;
|
|
47
|
-
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
48
46
|
font-weight: 500;
|
|
49
47
|
font-size: 48px;
|
|
50
48
|
letter-spacing: 0px;
|
|
@@ -99,6 +97,7 @@
|
|
|
99
97
|
height: 100%;
|
|
100
98
|
display: flex;
|
|
101
99
|
flex-direction: column;
|
|
100
|
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
|
102
101
|
}
|
|
103
102
|
|
|
104
103
|
.card-apresentacao:hover {
|
|
@@ -133,8 +132,8 @@
|
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
.card-titulo {
|
|
136
|
-
font-size:
|
|
137
|
-
font-weight:
|
|
135
|
+
font-size: 21px;
|
|
136
|
+
font-weight: 500;
|
|
138
137
|
margin-bottom: 0.5rem;
|
|
139
138
|
line-height: 1.4;
|
|
140
139
|
text-align: left;
|
|
@@ -155,12 +154,9 @@
|
|
|
155
154
|
text-align: left;
|
|
156
155
|
}
|
|
157
156
|
|
|
158
|
-
.card-descricao * {
|
|
159
|
-
color: inherit !important;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
157
|
.card-acao {
|
|
163
158
|
margin-top: auto;
|
|
159
|
+
padding-top: 24px;
|
|
164
160
|
}
|
|
165
161
|
|
|
166
162
|
.card-link {
|
|
@@ -173,18 +169,10 @@
|
|
|
173
169
|
transition: all 0.3s ease;
|
|
174
170
|
}
|
|
175
171
|
|
|
176
|
-
.card-link:hover {
|
|
177
|
-
transform: translateX(4px);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
172
|
.link-arrow {
|
|
181
173
|
transition: transform 0.3s ease;
|
|
182
174
|
}
|
|
183
175
|
|
|
184
|
-
.card-link:hover .link-arrow {
|
|
185
|
-
transform: translateX(4px);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
176
|
/* Responsividade */
|
|
189
177
|
@media (max-width: 768px) {
|
|
190
178
|
.titulo-secao {
|
|
@@ -244,14 +232,18 @@
|
|
|
244
232
|
}
|
|
245
233
|
</style>
|
|
246
234
|
|
|
247
|
-
<section class="secao-apresentacao-cards"
|
|
235
|
+
<section class="secao-apresentacao-cards"
|
|
236
|
+
style="
|
|
237
|
+
{% if value.imagem_fundo %}
|
|
238
|
+
{% image value.imagem_fundo original as background_img %}
|
|
239
|
+
background: url('{{ background_img.url }}');
|
|
240
|
+
background-size: cover;
|
|
241
|
+
{% else %}
|
|
242
|
+
background: {{ value.cor_fundo }};
|
|
243
|
+
{% endif %}"
|
|
244
|
+
>
|
|
248
245
|
<!-- Background com imagem se fornecida -->
|
|
249
|
-
<div class="secao-background"
|
|
250
|
-
{% if value.background_image_fundo_bg %}
|
|
251
|
-
style="background-image: url('{{ value.background_image_fundo_bg.url }}'); background-size: cover; background-position: center; background-repeat: no-repeat;"
|
|
252
|
-
{% else %}
|
|
253
|
-
style="background: {{ value.cor_fundo }};"
|
|
254
|
-
{% endif %}>
|
|
246
|
+
<div class="secao-background">
|
|
255
247
|
|
|
256
248
|
<!-- Overlay para garantir legibilidade -->
|
|
257
249
|
<div class="secao-overlay">
|
|
@@ -281,7 +273,7 @@
|
|
|
281
273
|
<div class="cards-container {{ value.layout_cards|default:'cards-3-colunas' }}">
|
|
282
274
|
{% for card in value.cards %}
|
|
283
275
|
{% if card.block_type == 'card' %}
|
|
284
|
-
<div class="card-item">
|
|
276
|
+
<div class="card-item" style="background: {{ value.cor_fundo }}">
|
|
285
277
|
<div class="card-apresentacao" style="background: {{ value.cor_fundo_cards }}">
|
|
286
278
|
|
|
287
279
|
<!-- Imagem do card -->
|
|
@@ -289,7 +281,7 @@
|
|
|
289
281
|
<div class="card-imagem">
|
|
290
282
|
{% image card.value.image width-400 as card_img %}
|
|
291
283
|
<img src="{{ card_img.url }}"
|
|
292
|
-
alt="{{ card.value.
|
|
284
|
+
alt="{{ card.value.subtitle|default:'Card' }}"
|
|
293
285
|
class="card-img">
|
|
294
286
|
</div>
|
|
295
287
|
{% endif %}
|
|
@@ -299,22 +291,22 @@
|
|
|
299
291
|
|
|
300
292
|
<!-- Subtítulo/Cargo -->
|
|
301
293
|
{% if card.value.subtitle %}
|
|
302
|
-
<p class="card-subtitulo" style="color: {{ value.cor_texto_cards }};">
|
|
294
|
+
<p class="card-subtitulo" style="color: {{ card.value.cor_texto_cards }};">
|
|
303
295
|
{{ card.value.subtitle }}
|
|
304
296
|
</p>
|
|
305
297
|
{% endif %}
|
|
306
298
|
|
|
307
299
|
<!-- Título -->
|
|
308
300
|
{% if card.value.title %}
|
|
309
|
-
<h3 class="card-titulo" style="color: {{ value.cor_titulo_cards }};">
|
|
301
|
+
<h3 class="card-titulo" style="color: {{ card.value.cor_titulo_cards }};">
|
|
310
302
|
{{ card.value.title }}
|
|
311
303
|
</h3>
|
|
312
304
|
{% endif %}
|
|
313
305
|
|
|
314
306
|
<!-- Descrição -->
|
|
315
307
|
{% if card.value.description %}
|
|
316
|
-
<div class="card-descricao"
|
|
317
|
-
{{ card.value.description
|
|
308
|
+
<div class="card-descricao">
|
|
309
|
+
{{ card.value.description }}
|
|
318
310
|
</div>
|
|
319
311
|
{% endif %}
|
|
320
312
|
|
|
@@ -322,7 +314,7 @@
|
|
|
322
314
|
{% if card.value.link_url %}
|
|
323
315
|
<div class="card-acao">
|
|
324
316
|
<a href="{{ card.value.link_url }}"
|
|
325
|
-
class="card-link" style="color: {{ value.
|
|
317
|
+
class="card-link" style="color: {{ card.value.cor_link_text }};"
|
|
326
318
|
{% if card.value.link_target %}target="{{ card.value.link_target }}"{% endif %}>
|
|
327
319
|
{{ card.value.link_text|default:'Saiba mais' }}
|
|
328
320
|
<svg class="link-arrow" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<!-- Cabeçalho do formulário -->
|
|
7
7
|
{% if value.titulo %}
|
|
8
8
|
<div class="formulario-header mb-4">
|
|
9
|
-
<h2 class="h3 mb-2">{{ value.titulo }}</h2>
|
|
9
|
+
<h2 style="color: {{value.cor_titulo}}" class="h3 mb-2">{{ value.titulo }}</h2>
|
|
10
10
|
{% if value.descricao %}
|
|
11
11
|
<p class="text-muted">{{ value.descricao }}</p>
|
|
12
12
|
{% endif %}
|
|
@@ -273,8 +273,8 @@
|
|
|
273
273
|
{% elif campo.block_type == 'section_header' %}
|
|
274
274
|
<div class="section-header mt-4 mb-3">
|
|
275
275
|
<h4 class="h5">{{ campo.value.title }}</h4>
|
|
276
|
-
{% if campo.value.
|
|
277
|
-
<p class="text-muted">{{ campo.value.
|
|
276
|
+
{% if campo.value.subtitle %}
|
|
277
|
+
<p class="text-muted">{{ campo.value.subtitle }}</p>
|
|
278
278
|
{% endif %}
|
|
279
279
|
</div>
|
|
280
280
|
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
|
|
299
299
|
<!-- Botão de envio -->
|
|
300
300
|
<div class="formulario-submit mt-4">
|
|
301
|
-
<button type="submit" class="btn primary btn-lg">
|
|
301
|
+
<button type="submit" class="btn primary btn-lg" style="background-color: {{value.cor_botao}};">
|
|
302
302
|
<i class="fas fa-paper-plane me-2"></i>
|
|
303
303
|
{{ value.botao_texto|default:"Enviar" }}
|
|
304
304
|
</button>
|
|
@@ -55,12 +55,10 @@
|
|
|
55
55
|
|
|
56
56
|
.logos-conteudo {
|
|
57
57
|
padding: 60px 40px;
|
|
58
|
-
border-radius: 16px;
|
|
59
58
|
min-height: 350px;
|
|
60
59
|
display: flex;
|
|
61
60
|
align-items: center;
|
|
62
61
|
justify-content: center;
|
|
63
|
-
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
64
62
|
position: relative;
|
|
65
63
|
overflow: hidden;
|
|
66
64
|
}
|
|
@@ -145,18 +143,10 @@
|
|
|
145
143
|
display: flex;
|
|
146
144
|
align-items: center;
|
|
147
145
|
justify-content: center;
|
|
148
|
-
background: rgba(255, 255, 255, 0.02);
|
|
149
|
-
cursor: pointer;
|
|
150
146
|
position: relative;
|
|
151
147
|
overflow: hidden;
|
|
152
148
|
}
|
|
153
149
|
|
|
154
|
-
.logo-card:hover {
|
|
155
|
-
transform: translateY(-3px) scale(1.02);
|
|
156
|
-
background: rgba(255, 255, 255, 0.08);
|
|
157
|
-
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
150
|
.logo-image-container {
|
|
161
151
|
display: flex;
|
|
162
152
|
align-items: center;
|
|
@@ -172,12 +162,6 @@
|
|
|
172
162
|
height: auto;
|
|
173
163
|
object-fit: contain;
|
|
174
164
|
transition: all 0.3s ease;
|
|
175
|
-
filter: brightness(0.95) contrast(1.05);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.logo-card:hover .logo-image {
|
|
179
|
-
filter: brightness(1) contrast(1.1);
|
|
180
|
-
transform: scale(1.05);
|
|
181
165
|
}
|
|
182
166
|
|
|
183
167
|
/* Efeito shimmer sutil */
|
|
@@ -188,12 +172,7 @@
|
|
|
188
172
|
left: -100%;
|
|
189
173
|
width: 100%;
|
|
190
174
|
height: 100%;
|
|
191
|
-
|
|
192
|
-
90deg,
|
|
193
|
-
transparent,
|
|
194
|
-
rgba(255, 255, 255, 0.1),
|
|
195
|
-
transparent
|
|
196
|
-
);
|
|
175
|
+
|
|
197
176
|
transition: left 0.8s ease;
|
|
198
177
|
}
|
|
199
178
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% load wagtailcore_tags %}
|
|
2
2
|
|
|
3
|
-
<div class="estatisticas-section" style="background-color: {{ value.
|
|
3
|
+
<div class="estatisticas-section" style="background-color: {{ value.cor_fundo }}; border-bottom: 16px solid {{ value.cor_line }}; padding: 60px 0; width: 100%;">
|
|
4
4
|
<div class="container">
|
|
5
5
|
<h2 class="secao-cabecalho text-center font-bold mb-8"
|
|
6
6
|
style="color: {{ value.cor_titulo }};">
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
{% if self.title or self.subtitle %}
|
|
14
14
|
<div class="container-medium">
|
|
15
15
|
<div class="padding-global">
|
|
16
|
-
<div class="wrapper-text-blue">
|
|
16
|
+
<div class="wrapper-text-blue" style="max-width: {{value.max_width}};">
|
|
17
17
|
{% if self.title %}
|
|
18
|
-
<h2 class="h2-blue-large {% if self.custom_class == 'bg-darkgreen' or self.custom_class == 'bg-enap-100' or self.custom_class == 'bg-enap-90' or self.custom_class == 'bg-enap-80' or self.custom_class == 'bg-enap-70' or self.custom_class == 'bg-enap-50' or self.custom_class == 'bg-enap-40' %}white{% endif %}">{{self.title}}</h2>
|
|
18
|
+
<h2 style="color: {{ value.cor_titulo }}" class="h2-blue-large {% if self.custom_class == 'bg-darkgreen' or self.custom_class == 'bg-enap-100' or self.custom_class == 'bg-enap-90' or self.custom_class == 'bg-enap-80' or self.custom_class == 'bg-enap-70' or self.custom_class == 'bg-enap-50' or self.custom_class == 'bg-enap-40' %}white{% endif %}">{{self.title}}</h2>
|
|
19
19
|
{% endif %}
|
|
20
20
|
{% if self.subtitle %}
|
|
21
21
|
<div class="{% if self.custom_class == 'bg-darkgreen' or self.custom_class == 'bg-enap-100' or self.custom_class == 'bg-enap-90' or self.custom_class == 'bg-enap-80' or self.custom_class == 'bg-enap-70' or self.custom_class == 'bg-enap-50' or self.custom_class == 'bg-enap-40' %}white{% endif %}">
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
<!-- Título principal -->
|
|
34
34
|
{% if value.titulo %}
|
|
35
|
-
<h1 class="video-hero-title">{{ value.titulo }}</h1>
|
|
35
|
+
<h1 class="video-hero-title">{{ value.titulo|richtext }}</h1>
|
|
36
36
|
{% endif %}
|
|
37
37
|
|
|
38
38
|
<!-- Subtítulo -->
|
|
@@ -105,8 +105,6 @@
|
|
|
105
105
|
top: 0;
|
|
106
106
|
left: 0;
|
|
107
107
|
width: 100%;
|
|
108
|
-
height: 100%;
|
|
109
|
-
background: rgba(0, 0, 0, 0.4);
|
|
110
108
|
z-index: 1;
|
|
111
109
|
}
|
|
112
110
|
|
|
@@ -129,13 +127,10 @@
|
|
|
129
127
|
|
|
130
128
|
.video-frame {
|
|
131
129
|
width: 100%;
|
|
132
|
-
max-width:
|
|
133
|
-
border-radius:
|
|
130
|
+
max-width: 95%;
|
|
131
|
+
border-radius: 32px;
|
|
134
132
|
overflow: hidden;
|
|
135
|
-
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
136
|
-
background: rgba(255, 255, 255, 0.1);
|
|
137
133
|
backdrop-filter: blur(10px);
|
|
138
|
-
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
139
134
|
position: relative;
|
|
140
135
|
}
|
|
141
136
|
|