wagtail-enap-designsystem 1.2.1.166__py3-none-any.whl → 1.2.1.168__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 (22) hide show
  1. enap_designsystem/blocks/content_blocks.py +0 -40
  2. enap_designsystem/blocks/html_blocks.py +10 -1
  3. enap_designsystem/blocks/layout_blocks.py +4 -35
  4. enap_designsystem/migrations/0439_alter_areaaluno_body_alter_cursoeadpage_curso_and_more.py +70272 -0
  5. enap_designsystem/migrations/0440_capsulaindexpage_capsulapage_alter_areaaluno_body_and_more.py +56561 -0
  6. enap_designsystem/models.py +515 -1
  7. enap_designsystem/static/enap_designsystem/blocks/capsulas.css +708 -0
  8. enap_designsystem/static/enap_designsystem/blocks/cards.css +14 -0
  9. enap_designsystem/static/enap_designsystem/blocks/pages/page_search.css +13 -7
  10. enap_designsystem/static/enap_designsystem/blocks/suap/suap_courses_block.css +5 -0
  11. enap_designsystem/templates/enap_designsystem/base.html +1 -0
  12. enap_designsystem/templates/enap_designsystem/blocks/suap/apisuap_courses_block.html +1 -1
  13. enap_designsystem/templates/enap_designsystem/blocks/suap/suap_courses_block.html +3 -1
  14. enap_designsystem/templates/enap_designsystem/pages/capsula_index_page.html +654 -0
  15. enap_designsystem/templates/enap_designsystem/pages/capsula_page.html +1164 -0
  16. enap_designsystem/templates/enap_designsystem/pages/page_search.html +188 -119
  17. enap_designsystem/templatetags/capsula_tags.py +11 -0
  18. {wagtail_enap_designsystem-1.2.1.166.dist-info → wagtail_enap_designsystem-1.2.1.168.dist-info}/METADATA +1 -1
  19. {wagtail_enap_designsystem-1.2.1.166.dist-info → wagtail_enap_designsystem-1.2.1.168.dist-info}/RECORD +22 -16
  20. {wagtail_enap_designsystem-1.2.1.166.dist-info → wagtail_enap_designsystem-1.2.1.168.dist-info}/WHEEL +0 -0
  21. {wagtail_enap_designsystem-1.2.1.166.dist-info → wagtail_enap_designsystem-1.2.1.168.dist-info}/licenses/LICENSE +0 -0
  22. {wagtail_enap_designsystem-1.2.1.166.dist-info → wagtail_enap_designsystem-1.2.1.168.dist-info}/top_level.txt +0 -0
@@ -527,6 +527,17 @@ z-index: 1;
527
527
  font-weight: 400;
528
528
  }
529
529
 
530
+
531
+ .card-text p{
532
+ font-size: 16px;
533
+ color: #434A54;
534
+ }
535
+
536
+ .srv-card-text-text p{
537
+ font-size: 16px;
538
+ color: #434A54;
539
+ }
540
+
530
541
  .srv-card-meta {
531
542
  font-size: 14px;
532
543
  color: #75708B;
@@ -945,11 +956,11 @@ z-index: 1;
945
956
  .filtro-limpar {
946
957
  background-color: transparent;
947
958
  color: #007D7A;
948
- border: 2px solid #007D7A;
959
+ border: none;
949
960
  padding: 10px;
950
- border-radius: 32px;
951
961
  cursor: pointer;
952
962
  font-weight: 600;
963
+ font-size: 16px;
953
964
  width: 100%;
954
965
  display: flex;
955
966
  align-items: center;
@@ -957,8 +968,3 @@ z-index: 1;
957
968
  gap: 8px;
958
969
  transition: all 0.3s ease;
959
970
  }
960
-
961
- .filtro-limpar:hover {
962
- background-color: #007D7A;
963
- color: white;
964
- }
@@ -11,6 +11,11 @@
11
11
  margin: 0;
12
12
  }
13
13
 
14
+ .card-text-text p {
15
+ font-size: 16px;
16
+ color: #434A54;
17
+ }
18
+
14
19
  .btn-todos{
15
20
  height: 40px;
16
21
  display: flex;
@@ -185,6 +185,7 @@
185
185
 
186
186
  <!-- CSS Componentes -->
187
187
  <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/lia.css' %}">
188
+ <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/capsulas.css' %}">
188
189
  <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/carousel_images.css' %}">
189
190
  <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/apresentacao_block.css' %}">
190
191
  <link rel="stylesheet" href="{% static 'enap_designsystem/blocks/cards_section.css' %}">
@@ -84,7 +84,7 @@
84
84
  <h3 class="suap-courses-title">{{ curso.descricao }}</h3>
85
85
  {% endif %}
86
86
  {% if curso.breve_descricao %}
87
- <p class="suap-card-text">{{ curso.breve_descricao|truncatewords:15 }}</p>
87
+ <p class="card-text">{{ curso.breve_descricao|truncatewords:10 }}</p>
88
88
  {% endif %}
89
89
 
90
90
  <!-- Status de inscrições -->
@@ -41,8 +41,10 @@
41
41
  overflow: hidden;
42
42
  text-overflow: ellipsis;
43
43
  ">{{ curso.titulo }}</h3>
44
- <p class="card-text" style="
44
+ <p class="card-text-text" style="
45
45
  display: -webkit-box;
46
+ color: #434A54;
47
+ font-size: 16px;
46
48
  -webkit-line-clamp: 3;
47
49
  -webkit-box-orient: vertical;
48
50
  overflow: hidden;