mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
minor swing
This commit is contained in:
parent
4937fd00fc
commit
b10012f4da
@ -30,12 +30,6 @@ h1, h2, .h1, .h2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
form {
|
form {
|
||||||
fieldset {
|
|
||||||
margin-top: 1em;
|
|
||||||
& > legend {
|
|
||||||
@include title_in_form;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/* avoid useless html in first level of the custom fields row loop in forms
|
/* avoid useless html in first level of the custom fields row loop in forms
|
||||||
* (better should to improve the loop)
|
* (better should to improve the loop)
|
||||||
*/
|
*/
|
||||||
@ -49,6 +43,12 @@ form {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fieldset {
|
||||||
|
margin-top: 1em;
|
||||||
|
& > legend {
|
||||||
|
@include title_in_form;
|
||||||
|
}
|
||||||
|
}
|
||||||
label {
|
label {
|
||||||
display: inline;
|
display: inline;
|
||||||
&.required:after {
|
&.required:after {
|
||||||
@ -224,7 +224,7 @@ div.banner {
|
|||||||
div.header-details {
|
div.header-details {
|
||||||
div.row > div:first-child {
|
div.row > div:first-child {
|
||||||
@media (min-width: 576px) {
|
@media (min-width: 576px) {
|
||||||
margin-left: 1.5em;
|
//margin-left: 1.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,11 @@
|
|||||||
* Specific rules
|
* Specific rules
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.custom_field_no_data,
|
||||||
|
.chill-no-data-statement {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
// styles communs pour tous les bandeaux
|
// styles communs pour tous les bandeaux
|
||||||
div.banner {
|
div.banner {
|
||||||
.id-number {
|
.id-number {
|
||||||
|
@ -92,31 +92,31 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><h2>{{ 'Contact information'|trans }}</h2></legend>
|
<legend><h2>{{ 'Contact information'|trans }}</h2></legend>
|
||||||
{%- if form.email is defined -%}
|
{%- if form.email is defined -%}
|
||||||
<div id="personEmail">
|
<div id="personEmail">
|
||||||
{{ form_row(form.email, {'label': 'Email'}) }}
|
{{ form_row(form.email, {'label': 'Email'}) }}
|
||||||
</div>
|
</div>
|
||||||
<div id="personAcceptEmail">
|
<div id="personAcceptEmail">
|
||||||
{{ form_row(form.acceptEmail, {'label' : 'Accept emails ?'}) }}
|
{{ form_row(form.acceptEmail, {'label' : 'Accept emails ?'}) }}
|
||||||
</div>
|
</div>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- if form.phonenumber is defined -%}
|
{%- if form.phonenumber is defined -%}
|
||||||
{{ form_row(form.phonenumber, {'label': 'Phonenumber'}) }}
|
{{ form_row(form.phonenumber, {'label': 'Phonenumber'}) }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if form.mobilenumber is defined -%}
|
{%- if form.mobilenumber is defined -%}
|
||||||
<div id="personPhoneNumber">
|
<div id="personPhoneNumber">
|
||||||
{{ form_row(form.mobilenumber, {'label': 'Mobilenumber'}) }}
|
{{ form_row(form.mobilenumber, {'label': 'Mobilenumber'}) }}
|
||||||
</div>
|
</div>
|
||||||
<div id="personAcceptSMS">
|
<div id="personAcceptSMS">
|
||||||
{{ form_row(form.acceptSMS, {'label' : 'Accept short text message ?'}) }}
|
{{ form_row(form.acceptSMS, {'label' : 'Accept short text message ?'}) }}
|
||||||
</div>
|
</div>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if form.otherPhoneNumbers is defined -%}
|
{%- if form.otherPhoneNumbers is defined -%}
|
||||||
{{ form_widget(form.otherPhoneNumbers) }}
|
{{ form_widget(form.otherPhoneNumbers) }}
|
||||||
{{ form_errors(form.otherPhoneNumbers) }}
|
{{ form_errors(form.otherPhoneNumbers) }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if form.contactInfo is defined -%}
|
{%- if form.contactInfo is defined -%}
|
||||||
{{ form_row(form.contactInfo, {'label': 'Notes on contact information'}) }}
|
{{ form_row(form.contactInfo, {'label': 'Notes on contact information'}) }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user