diff --git a/static/saumur/_custom.scss b/static/saumur/_custom.scss index 96db0122..a920f6dd 100644 --- a/static/saumur/_custom.scss +++ b/static/saumur/_custom.scss @@ -26,6 +26,7 @@ main { #logo { @media screen and ($max-mobile-viewport) { padding: 0 $space-small; + display: inline-block; } } @@ -87,7 +88,8 @@ div.gru-nav { #toplinks { @media screen and ($max-mobile-viewport) { - margin-top: $space-small; + position: static; + display: inline-block; margin-right: $nav-menu-side; background: transparent; } @@ -183,7 +185,7 @@ div.link-cell { position: relative; } h2:first-child { - padding-left: $space-large * 1.5; + padding-left: $space-large; width: 100%; } img { @@ -191,18 +193,38 @@ div.link-cell { padding: 0 !important; width: $space-large; top: $space-small; - left: $space-medium; + left: 0; } &.foldable:not(.folded) picture::after { @extend %orange-border; - margin: 0 1rem; + margin: 0; } &:not(.foldable) picture::after { @extend %orange-border; - margin: 0 1rem; + margin: 0; } } + +// borderless cells in grid + +.gru-content > #columns-wrapper > #columns { + border: $widget-border; + background: white; + padding: $space-medium; + .cell { + border: none; + } +} + +// communes selector + +div#services-communes { + select { + width: 100%; + } +} + // forms .form-content { @extend %cell; diff --git a/static/saumur/_vars.scss b/static/saumur/_vars.scss index d55123fe..e7369c1b 100644 --- a/static/saumur/_vars.scss +++ b/static/saumur/_vars.scss @@ -81,8 +81,8 @@ $button-hover-background: $orange; $button-hover-color: $white; $button-focus-outline: 2px solid $orange; $button-focus-outline-offset: 2px; -$buttons-order: previous, cancel (grow), submit; - +$buttons-order: previous, cancel, submit; +$buttons-alignment: flex-end; $widget-background: $gray-light-1; $widget-border: 1px solid $gray-dark-1; $widget-focus-border: 1px solid $orange; diff --git a/templates/variants/saumur/combo/cells/services-communes/link-list-cell.html b/templates/variants/saumur/combo/cells/services-communes/link-list-cell.html new file mode 100644 index 00000000..29a9b927 --- /dev/null +++ b/templates/variants/saumur/combo/cells/services-communes/link-list-cell.html @@ -0,0 +1,24 @@ +{% block cell-content %} +

{{ title }}

+
+
+ +

Sélectionnez une commune pour découvrir ses services en ligne.

+
+
+{% endblock %} +