Compare commits

..

22 Commits

Author SHA1 Message Date
Frédéric Péters 2b08b22096 scss: remove slow transition for widget borders (#75382)
gitea/publik-base-theme/pipeline/head This commit looks good Details
2023-04-18 15:19:09 +02:00
Thomas Jund 1a37c2e1cc ma-cnil: remove custom field on error styles (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 9457ae32c9 orleans: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 18be2dd8da grandlyon-glc: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 7dbeca63e3 loire-atlantique-cd44: remove custom field on error styles (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund dbfbcb47db hautes-alpes-territoire: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 798fd96c85 lille: remove useless custom field on error styles (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 7cfd4c48cf miribel: use custom color for $error-color (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 4800e179ae sables-d-olonne-2022: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 7105e4bb46 hautes-alpes-cd05-2020: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 707d02dc23 lille-metropole-2022: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 3ee7baef38 toulouse-2022: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 946b380c1f izi-ici: remove unused margin-left on div.error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 1e79c91778 villejuif: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund beb49b9a47 dsfr: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 061121addf metz-metropole-2019: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 482bb26aae cnil: remove background image of div.error(#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 44cb4c650e villeurbanne-2018: remove custom .error font-size (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 2f2f25c734 ac-versailles: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 96b54dc9c6 nantes: use custom style for field on error (#75382) 2023-04-18 14:56:30 +02:00
Thomas Jund 7a131d6b38 css: improve styles of form field on error (#75382) 2023-04-18 14:56:30 +02:00
Frédéric Péters 325b32fe31 toodego: remove obsolete custom widget.html template (#76751)
gitea/publik-base-theme/pipeline/head This commit looks good Details
2023-04-18 14:49:49 +02:00
2 changed files with 1 additions and 47 deletions

View File

@ -274,7 +274,7 @@ input, input[type="search"], textarea, select {
margin: 0.2em 0px;
padding: $widget-padding;
max-width: 100%;
transition: background 0.5s ease, color 0.5s ease, border 0.5s ease;
transition: background 0.5s ease, color 0.5s ease;
box-shadow: $widget-box-shadow;
&:focus:not([readonly]) {
background-color: $widget-focus-background;

View File

@ -1,46 +0,0 @@
{% load qommon %}
<div class="{% block widget-css-classes %}widget {{widget.class_name}} {{widget.extra_css_class}}
{% if widget.readonly %}widget-readonly{% endif %}
{% if widget.get_error %}widget-with-error{% endif %}
{% if widget.is_required %}widget-required{% else %}widget-optional{% endif %}
{% if widget.is_prefilled %}widget-prefilled{% endif %}{% endblock %}"
{% block widget-attrs %}
{% if widget.is_hidden %}style="display: none"{% endif %}
{% if widget.field %}data-field-id="{{ widget.field.id }}"{% endif %}
data-widget-name="{{ widget.name }}"
{% if widget.div_id %}id="{{widget.div_id}}" data-valuecontainerid="form_{{widget.name}}"{% endif %}
{% if widget.a11y_role %}role="{{ a11y_role }}"{% endif %}
{% if widget.a11y_labelledby %}aria-labelledby="form_label_{{widget.name}}"{% endif %}
{% for attr in widget.prefill_attributes %}
data-{{attr}}="{{widget.prefill_attributes|get:attr}}"
{% endfor %}
{% if "data-dynamic-display-child-of" in widget.attrs %}
data-dynamic-display-child-of="{{widget.attrs|get:"data-dynamic-display-child-of"}}"
{% endif %}
{% if "data-dynamic-display-value" in widget.attrs %}
data-dynamic-display-value="{{widget.attrs|get:"data-dynamic-display-value"}}"
{% endif %}
{% if "data-dynamic-display-value-in" in widget.attrs %}
data-dynamic-display-value-in="{{widget.attrs|get:"data-dynamic-display-value-in"}}"
{% endif %}
{% if widget.live_condition_source %}data-live-source="true"{% endif %}
{% endblock %}
>
{% block widget-title %}
{{widget.rendered_title}}
{% endblock %}
{% block widget-content %}
<div class="content {{widget.content.content_extra_css_class}}"
{% for attr, value in widget.content_extra_attributes.items %}
{{attr}}="{{value}}"
{% endfor %}
>
{% block widget-control %}{{widget.render_content|safe}}{% endblock %}
{% block widget-error %}{{widget.rendered_error}}{% endblock %}
{% block widget-hint %}{{widget.rendered_hint}}{% endblock %}
</div>
{% endblock %}
{% if widget.render_br %}
<br class="content {{widget.content.content_extra_css_class}}">
{% endif %}
</div>