wagtail-enap-designsystem 1.2.1.193__py3-none-any.whl → 1.2.1.194__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 +11 -0
- enap_designsystem/migrations/0465_alter_areaaluno_body_alter_cursoeadpage_curso_and_more.py +64768 -0
- enap_designsystem/migrations/0466_carouselresponsivo_largura_container.py +29 -0
- enap_designsystem/static/enap_designsystem/blocks/banner_topicos_block.css +1 -1
- enap_designsystem/static/enap_designsystem/blocks/btn.css +21 -1
- enap_designsystem/static/enap_designsystem/blocks/capsulas.css +222 -74
- enap_designsystem/static/enap_designsystem/blocks/carousel_responsive.css +9 -27
- enap_designsystem/static/enap_designsystem/blocks/carousel_responsivo_snippet.css +19 -27
- enap_designsystem/static/enap_designsystem/blocks/semana.css +0 -1
- enap_designsystem/static/enap_designsystem/blocks/texto_imagem.css +0 -1
- enap_designsystem/templates/enap_designsystem/base.html +0 -4
- enap_designsystem/templates/enap_designsystem/blocks/carousel_responsivo_snippet.html +90 -54
- enap_designsystem/templates/enap_designsystem/blocks/legislacao_block.html +1 -1
- enap_designsystem/templates/enap_designsystem/blocks/richtext_block.html +116 -49
- enap_designsystem/templates/enap_designsystem/pages/capsula_index_page.html +62 -54
- enap_designsystem/templates/enap_designsystem/pages/capsula_page.html +213 -50
- {wagtail_enap_designsystem-1.2.1.193.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/METADATA +1 -1
- {wagtail_enap_designsystem-1.2.1.193.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/RECORD +21 -19
- {wagtail_enap_designsystem-1.2.1.193.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/WHEEL +0 -0
- {wagtail_enap_designsystem-1.2.1.193.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/licenses/LICENSE +0 -0
- {wagtail_enap_designsystem-1.2.1.193.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/top_level.txt +0 -0
|
@@ -604,6 +604,16 @@ class CarouselResponsivo(models.Model):
|
|
|
604
604
|
default='400px',
|
|
605
605
|
help_text="Altura do carrossel em telas mobile"
|
|
606
606
|
)
|
|
607
|
+
|
|
608
|
+
largura_container = models.CharField(
|
|
609
|
+
max_length=20,
|
|
610
|
+
choices=[
|
|
611
|
+
('limitador', 'Com margem (limitado)'),
|
|
612
|
+
('tela_toda', 'Tela toda (100%)'),
|
|
613
|
+
],
|
|
614
|
+
default='limitador',
|
|
615
|
+
help_text="Define se o carrossel terá margens ou ocupará toda a largura da tela"
|
|
616
|
+
)
|
|
607
617
|
|
|
608
618
|
efeito_transicao = models.CharField(
|
|
609
619
|
max_length=20,
|
|
@@ -626,6 +636,7 @@ class CarouselResponsivo(models.Model):
|
|
|
626
636
|
MultiFieldPanel([
|
|
627
637
|
FieldPanel('altura_desktop'),
|
|
628
638
|
FieldPanel('altura_mobile'),
|
|
639
|
+
FieldPanel('largura_container'),
|
|
629
640
|
], heading="Dimensões"),
|
|
630
641
|
MultiFieldPanel([
|
|
631
642
|
FieldPanel('mostrar_navegacao'),
|