wagtail-enap-designsystem 1.2.1.127__py3-none-any.whl → 1.2.1.129__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 (20) hide show
  1. enap_designsystem/blocks/form.py +296 -5
  2. enap_designsystem/migrations/0390_alter_areaaluno_body_alter_cursoeadpage_curso_and_more.py +53322 -0
  3. enap_designsystem/migrations/0391_alter_formulariopage_form_steps.py +1240 -0
  4. enap_designsystem/migrations/0392_alter_formulariopage_form_steps.py +1237 -0
  5. enap_designsystem/migrations/0393_alter_formulariopage_form_steps.py +1264 -0
  6. enap_designsystem/migrations/0394_sistemavotacaopage_background_image_fundo_and_more.py +52181 -0
  7. enap_designsystem/models.py +13 -0
  8. enap_designsystem/static/enap_designsystem/blocks/card_courses.css +2 -1
  9. enap_designsystem/static/enap_designsystem/blocks/suap/suap_courses_block.css +28 -6
  10. enap_designsystem/templates/enap_designsystem/blocks/clientes_block.html +1 -1
  11. enap_designsystem/templates/enap_designsystem/blocks/recaptcha.html +0 -2
  12. enap_designsystem/templates/enap_designsystem/blocks/suap/suap_courses_block.html +9 -2
  13. enap_designsystem/templates/enap_designsystem/form_templates/formulario_page.html +631 -934
  14. enap_designsystem/templates/enap_designsystem/includes/form_field.html +798 -382
  15. enap_designsystem/templates/enap_designsystem/sistema_votacao_page.html +26 -7
  16. {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/METADATA +1 -1
  17. {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/RECORD +20 -15
  18. {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/WHEEL +0 -0
  19. {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/licenses/LICENSE +0 -0
  20. {wagtail_enap_designsystem-1.2.1.127.dist-info → wagtail_enap_designsystem-1.2.1.129.dist-info}/top_level.txt +0 -0
@@ -4789,6 +4789,18 @@ class SistemaVotacaoPage(Page):
4789
4789
  related_name="+",
4790
4790
  )
4791
4791
 
4792
+ background_image_fundo = StreamField(
4793
+ [('background_image_stream', ImageChooserBlock(
4794
+ label="Imagem de Fundo",
4795
+ help_text="Selecione uma imagem de fundo para o formulário"
4796
+ ))],
4797
+ verbose_name="Imagem de Fundo",
4798
+ use_json_field=True,
4799
+ max_num=1,
4800
+ blank=True,
4801
+ help_text="Adicione uma imagem de fundo para o formulário"
4802
+ )
4803
+
4792
4804
  subtitulo = models.CharField(
4793
4805
  max_length=255,
4794
4806
  default="Escolha os melhores projetos em cada categoria",
@@ -4885,6 +4897,7 @@ class SistemaVotacaoPage(Page):
4885
4897
  FieldPanel('imagem_fundo'),
4886
4898
  FieldPanel('navbar'),
4887
4899
  FieldPanel('footer'),
4900
+ FieldPanel('background_image_fundo'),
4888
4901
  ], heading="Conteúdo do Header"),
4889
4902
 
4890
4903
  FieldPanel('configuracoes_votacao'),
@@ -18,7 +18,8 @@
18
18
  }
19
19
 
20
20
  .btn-todos:active{
21
- color: #025257;
21
+ color: #ffffff;
22
+ background-color: #025257;
22
23
  border: 1px solid #025257;
23
24
  }
24
25
  .section-curso-cards {
@@ -31,7 +31,8 @@
31
31
  }
32
32
 
33
33
  .btn-todos:active{
34
- color: #025257;
34
+ color: #ffffff;
35
+ background-color: #025257;
35
36
  border: 1px solid #025257;
36
37
  }
37
38
  .section-curso-cards-suap {
@@ -144,21 +145,42 @@
144
145
 
145
146
  .carousel-control-curso-suap {
146
147
  position: absolute;
147
- border: none;
148
- background-color: transparent;
149
148
  top: 50%;
150
149
  transform: translateY(-50%);
151
- font-size: 30px;
150
+ font-size: 28px;
152
151
  cursor: pointer;
153
152
  z-index: 10;
153
+ background-color: #007D7A;
154
+ border: 5px solid #FFFFFF;
155
+ border-radius: 50%;
156
+ color: #FFFFFF;
157
+ align-items: center;
158
+ height: 40px;
159
+ width: 40px;
160
+ }
161
+
162
+ .carousel-control-curso-suap:hover{
163
+ background-color: #006969;
164
+ }
165
+ .carousel-control-curso-suap:active{
166
+ background-color: #025257;
167
+ }
168
+
169
+ .setas{
170
+ font-size: 28px;
171
+ font-weight: 900;
172
+ color: #FFFFFF;
173
+ margin: 0px;
154
174
  }
155
175
 
156
176
  .carousel-control-curso-suap-prev {
157
- left: -23px;
177
+ left: -20px;
178
+ box-shadow: 2px 5px 8px 0px rgba(0, 0, 0, 0.25);
158
179
  }
159
180
 
160
181
  .carousel-control-curso-suap-next {
161
- right: -23px;
182
+ right: -20px;
183
+ box-shadow: -1px 4px 7px 0px rgba(0, 0, 0, 0.25);
162
184
  }
163
185
 
164
186
  .btn1 {
@@ -43,7 +43,7 @@
43
43
  <style>
44
44
  .clientes-section {
45
45
  padding: 80px 0;
46
- background: #f8f9fa;
46
+ background: #FFFFFF;
47
47
  position: relative;
48
48
  }
49
49
 
@@ -227,9 +227,7 @@ console.log('- Tamanho:', '{{ value.tamanho }}');
227
227
  display: flex;
228
228
  flex-direction: column;
229
229
  align-items: center;
230
- border: 1px solid #e9ecef;
231
230
  border-radius: 8px;
232
- background: #f8f9fa;
233
231
  transition: all 0.3s ease;
234
232
  }
235
233
 
@@ -60,8 +60,15 @@
60
60
  {% endfor %}
61
61
  </div>
62
62
 
63
- <button class="carousel-control-curso-suap carousel-control-curso-suap-prev"><img style="width: 40px; height: 40px;" src="{% static 'enap_designsystem/icons/iconleft.svg' %}" alt="Passar pro lado esquerdo"></button>
64
- <button class="carousel-control-curso-suap carousel-control-curso-suap-next"><img style="width: 40px; height: 40px;" src="{% static 'enap_designsystem/icons/iconrig.svg' %}" alt="Passar pro lado direito"></button>
63
+ <button class="carousel-control-curso-suap carousel-control-curso-suap-prev">
64
+ <span class="visually-hidden">Rolar para esquerda</span>
65
+ <span class="material-symbols-outlined setas seta-esquerda">chevron_left</span>
66
+ </button>
67
+ <button class="carousel-control-curso-suap carousel-control-curso-suap-next">
68
+ <span class="visually-hidden">Rolar para direita</span>
69
+ <span class="material-symbols-outlined setas seta-direita">chevron_right</span>
70
+ </button>
71
+
65
72
  </div>
66
73
  </div>
67
74