diff --git a/static/hautes-alpes-territoire/_custom.scss b/static/hautes-alpes-territoire/_custom.scss index 92f57dfc..31a77682 100644 --- a/static/hautes-alpes-territoire/_custom.scss +++ b/static/hautes-alpes-territoire/_custom.scss @@ -222,15 +222,16 @@ div#rub_service { font-size: 1.5em; font-weight: normal; } - - div.error { - @extend .errornotice; - font-weight: normal; - min-height: 1.5em; - margin-bottom: 0; - &::before { - font-size: 30px; - top: 0; + @if ($field-on-error-style == custom) { + div.error { + @extend .errornotice; + font-weight: normal; + min-height: 1.5em; + margin-bottom: 0; + &::before { + font-size: 30px; + top: 0; + } } } .previous-button button { diff --git a/static/hautes-alpes-territoire/_vars.scss b/static/hautes-alpes-territoire/_vars.scss index 6bfb1a96..9a8ec150 100644 --- a/static/hautes-alpes-territoire/_vars.scss +++ b/static/hautes-alpes-territoire/_vars.scss @@ -38,6 +38,8 @@ $button-border-radius: 8px; $buttons-order: cancel, previous, submit; $buttons-alignment: flex-end; +$field-on-error-style: custom; + $or-separator: false; $footer-background: $font-color;