minor swing

This commit is contained in:
Mathieu Jaumotte 2021-07-08 15:03:59 +02:00
parent 4937fd00fc
commit b10012f4da
3 changed files with 26 additions and 21 deletions

View File

@ -30,12 +30,6 @@ h1, h2, .h1, .h2 {
}
form {
fieldset {
margin-top: 1em;
& > legend {
@include title_in_form;
}
}
/* avoid useless html in first level of the custom fields row loop in forms
* (better should to improve the loop)
*/
@ -49,6 +43,12 @@ form {
}
}
}
fieldset {
margin-top: 1em;
& > legend {
@include title_in_form;
}
}
label {
display: inline;
&.required:after {
@ -224,7 +224,7 @@ div.banner {
div.header-details {
div.row > div:first-child {
@media (min-width: 576px) {
margin-left: 1.5em;
//margin-left: 1.5em;
}
}
}

View File

@ -15,6 +15,11 @@
* Specific rules
*/
.custom_field_no_data,
.chill-no-data-statement {
font-style: italic;
}
// styles communs pour tous les bandeaux
div.banner {
.id-number {

View File

@ -92,31 +92,31 @@
<fieldset>
<legend><h2>{{ 'Contact information'|trans }}</h2></legend>
{%- if form.email is defined -%}
<div id="personEmail">
{{ form_row(form.email, {'label': 'Email'}) }}
</div>
<div id="personAcceptEmail">
{{ form_row(form.acceptEmail, {'label' : 'Accept emails ?'}) }}
</div>
<div id="personEmail">
{{ form_row(form.email, {'label': 'Email'}) }}
</div>
<div id="personAcceptEmail">
{{ form_row(form.acceptEmail, {'label' : 'Accept emails ?'}) }}
</div>
{%- endif -%}
{%- if form.phonenumber is defined -%}
{{ form_row(form.phonenumber, {'label': 'Phonenumber'}) }}
{{ form_row(form.phonenumber, {'label': 'Phonenumber'}) }}
{%- endif -%}
{%- if form.mobilenumber is defined -%}
<div id="personPhoneNumber">
{{ form_row(form.mobilenumber, {'label': 'Mobilenumber'}) }}
</div>
<div id="personAcceptSMS">
{{ form_row(form.acceptSMS, {'label' : 'Accept short text message ?'}) }}
</div>
<div id="personPhoneNumber">
{{ form_row(form.mobilenumber, {'label': 'Mobilenumber'}) }}
</div>
<div id="personAcceptSMS">
{{ form_row(form.acceptSMS, {'label' : 'Accept short text message ?'}) }}
</div>
{%- endif -%}
{%- if form.otherPhoneNumbers is defined -%}
{{ form_widget(form.otherPhoneNumbers) }}
{{ form_errors(form.otherPhoneNumbers) }}
{%- endif -%}
{%- if form.contactInfo is defined -%}
{{ form_row(form.contactInfo, {'label': 'Notes on contact information'}) }}
{{ form_row(form.contactInfo, {'label': 'Notes on contact information'}) }}
{%- endif -%}
</fieldset>
{%- endif -%}