wagtail-enap-designsystem 1.2.1.175__py3-none-any.whl → 1.2.1.176__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/html_blocks.py +117 -24
- enap_designsystem/migrations/0445_alter_areaaluno_body_alter_cursoeadpage_curso_and_more.py +70889 -0
- enap_designsystem/migrations/0446_alter_areaaluno_body_alter_enapcomponentes_body_and_more.py +55314 -0
- enap_designsystem/migrations/0447_alter_areaaluno_body_alter_enapcomponentes_body_and_more.py +55294 -0
- enap_designsystem/static/enap_designsystem/blocks/banner.css +1 -1
- enap_designsystem/static/enap_designsystem/blocks/capsulas.css +662 -690
- enap_designsystem/static/enap_designsystem/blocks/carousel_images.css +0 -2
- enap_designsystem/static/enap_designsystem/blocks/suap/suap_courses_block.css +1 -0
- enap_designsystem/templates/enap_designsystem/blocks/card_block.html +4 -2
- enap_designsystem/templates/enap_designsystem/blocks/suap/apisuap_courses_block.html +17 -5
- enap_designsystem/templates/enap_designsystem/pages/capsula_index_page.html +67 -755
- enap_designsystem/templates/enap_designsystem/pages/quiz_rota_page.html +425 -389
- {wagtail_enap_designsystem-1.2.1.175.dist-info → wagtail_enap_designsystem-1.2.1.176.dist-info}/METADATA +1 -1
- {wagtail_enap_designsystem-1.2.1.175.dist-info → wagtail_enap_designsystem-1.2.1.176.dist-info}/RECORD +17 -14
- {wagtail_enap_designsystem-1.2.1.175.dist-info → wagtail_enap_designsystem-1.2.1.176.dist-info}/WHEEL +0 -0
- {wagtail_enap_designsystem-1.2.1.175.dist-info → wagtail_enap_designsystem-1.2.1.176.dist-info}/licenses/LICENSE +0 -0
- {wagtail_enap_designsystem-1.2.1.175.dist-info → wagtail_enap_designsystem-1.2.1.176.dist-info}/top_level.txt +0 -0
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: var(--altura-desktop);
|
|
5
5
|
overflow: hidden;
|
|
6
|
-
margin-bottom: 60px;
|
|
7
6
|
}
|
|
8
7
|
|
|
9
8
|
.carousel-container {
|
|
@@ -164,7 +163,6 @@
|
|
|
164
163
|
transition: all 0.3s ease;
|
|
165
164
|
cursor: pointer;
|
|
166
165
|
font-size: 1rem;
|
|
167
|
-
text-transform: uppercase;
|
|
168
166
|
letter-spacing: 0.5px;
|
|
169
167
|
}
|
|
170
168
|
|
|
@@ -281,13 +281,15 @@
|
|
|
281
281
|
</div>
|
|
282
282
|
|
|
283
283
|
<style>
|
|
284
|
+
.card-info-white {
|
|
285
|
+
border-left: 2px solid #024248;
|
|
286
|
+
}
|
|
284
287
|
/* Cards Informativos */
|
|
285
288
|
.card-info-white .card-info-container {
|
|
286
289
|
display: flex;
|
|
287
290
|
align-items: flex-start;
|
|
288
291
|
gap: 20px;
|
|
289
|
-
padding: 24px;
|
|
290
|
-
border-left: 4px solid #024248;
|
|
292
|
+
padding: 0 24px;
|
|
291
293
|
background-color: #FFFFFF;
|
|
292
294
|
position: relative;
|
|
293
295
|
flex-direction: column;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{% load wagtailcore_tags wagtailimages_tags %}
|
|
3
3
|
{% load static %}
|
|
4
4
|
<div style="width:100%;display: flex;justify-content: center;">
|
|
5
|
-
<section
|
|
5
|
+
<section class="section-curso-cards-suap">
|
|
6
6
|
<div class="suap-wrapper-texts">
|
|
7
7
|
{% if bloco_suap.title %}
|
|
8
8
|
<h2 style="color: {{value.cor_title}}" class="suap-h2-title">{{ bloco_suap.title }}</h2>
|
|
@@ -78,8 +78,12 @@
|
|
|
78
78
|
{% endif %}
|
|
79
79
|
</div>
|
|
80
80
|
<div class="suap-courses-carousel-content">
|
|
81
|
-
<div class="suap-course-tag">
|
|
82
|
-
|
|
81
|
+
<div class="suap-course-tag suap-course-tag-{{ curso.tipo_conteudo }}">
|
|
82
|
+
{% if curso.tipo_conteudo == 'evento' %}
|
|
83
|
+
Evento
|
|
84
|
+
{% else %}
|
|
85
|
+
Curso
|
|
86
|
+
{% endif %}
|
|
83
87
|
</div>
|
|
84
88
|
{% if curso.descricao %}
|
|
85
89
|
<h3 class="suap-courses-title">{{ curso.descricao }}</h3>
|
|
@@ -139,7 +143,13 @@
|
|
|
139
143
|
</div>
|
|
140
144
|
<div class="content-curso">
|
|
141
145
|
<div class="card-body">
|
|
142
|
-
|
|
146
|
+
<div class="tag tag-{{ curso.tipo_conteudo }}">
|
|
147
|
+
{% if curso.tipo_conteudo == 'evento' %}
|
|
148
|
+
Evento
|
|
149
|
+
{% else %}
|
|
150
|
+
Curso
|
|
151
|
+
{% endif %}
|
|
152
|
+
</div>
|
|
143
153
|
<h3 class="h3-card" style=" display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; ">{{ curso.descricao }}</h3>
|
|
144
154
|
<p class="card-text-text" style=" display: -webkit-box; color: #434A54; font-size: 16px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; ">{{ curso.breve_descricao }}</p>
|
|
145
155
|
</div>
|
|
@@ -176,6 +186,7 @@
|
|
|
176
186
|
</section>
|
|
177
187
|
</div>
|
|
178
188
|
<style>
|
|
189
|
+
|
|
179
190
|
.carousel-item-curso-suap{
|
|
180
191
|
background-color: #FFFFFF;
|
|
181
192
|
}
|
|
@@ -222,7 +233,7 @@
|
|
|
222
233
|
flex-direction: column;
|
|
223
234
|
gap: 40px;
|
|
224
235
|
overflow: hidden;
|
|
225
|
-
padding:
|
|
236
|
+
padding: 0;
|
|
226
237
|
}
|
|
227
238
|
|
|
228
239
|
.suap-wrapper-texts {
|
|
@@ -256,6 +267,7 @@
|
|
|
256
267
|
position: relative;
|
|
257
268
|
max-width: 1142px;
|
|
258
269
|
margin: auto;
|
|
270
|
+
width: 100%;
|
|
259
271
|
}
|
|
260
272
|
|
|
261
273
|
.suap-courses-carousel-items {
|