Commit 04e74bf6 authored by Sebastian Castro's avatar Sebastian Castro

Fixs pdcn style

parent 344ca25f
......@@ -23,7 +23,6 @@
.gogo-load-css #element-form-content .option-field.inline { background-color: {{ textSoft }}; }
.gogo-load-css .dropdown-content { background-color: {{ contentBgd }}; }
.gogo-load-css .dropdown-content { background-color: {{ contentBgdSoft }}; }
.gogo-load-css .dropdown-content li>span { color: {{ textSoft }}; }
.gogo-load-css .main-options-container label.main-option-radio-label:after
......@@ -114,9 +113,10 @@
.gogo-load-css .open-hours-container.impair { background-color: {{ contentBgdSoft }}; }
{# Error #}
.mandatory-asterisk:after, label .error, .input-field.error .prefix,
label .error, .input-field.error .prefix,
.gogo-load-css #input-address-field.error:after, #input-address-field.error #input-address:after, h1.error, h2.error, label.error
{ color: {{ error }} !important; }
.mandatory-asterisk:after { color: {{ secondary }}; }
.input-field.error.select-input.invalid-required input {
border-bottom: 1px solid {{ error }} !important;
box-shadow: 0 1px 0 0 {{ error }} !important;
......
......@@ -38,14 +38,6 @@
{# ELEMENT FORM #}
{# ------------------- #}
.gogo-load-css .option-field .option-field-delete i:hover { color: {{ secondary }} !important; }
.gogo-load-css #element-form-content .category-field-select .select-wrapper { background-color: {{ secondary }}; box-shadow: none; }
.gogo-load-css #element-form-content .category-field-select .select-wrapper.depth-1 { background-color: {{ primary }}; }
.gogo-load-css .option-field-name .icon.depth-0 { color: {{ secondary }}; }
.gogo-load-css .option-field-name .icon.depth-1 { color: {{ primary }}; }
.gogo-load-css #element-form-submit-btn { width: 100%; }
.gogo-load-css #page-content.element-form section { border-radius: 5px; }
......
......@@ -33,7 +33,7 @@ jQuery(document).ready(function()
// open automatically mandatory sub select
var firstMandatorySubSelect = optionField.find('.category-field.mandatory .select-dropdown')[0];
if (firstMandatorySubSelect) setTimeout(function() { firstMandatorySubSelect.click(); }, 350);
if (firstMandatorySubSelect) setTimeout(function() { firstMandatorySubSelect.click(); }, 200);
});
$('.option-field-delete').click(function()
......
......@@ -4,7 +4,7 @@
{{ form_widget(form.fullAddress, {'id': 'input-address', 'value': element.getFormatedAddress(),
'attr': {'class': 'validate required' }}) }}
<label for="input-address" class="gogo-form-label">Adresse complète</label>
<div class="btn-geolocalize btn waves-effect waves-light">Localiser</div>
<div class="btn-geolocalize btn btn-secondary waves-effect waves-light">Localiser</div>
{% if config.elementFormGeocodingHelp %}
<div class="btn-geolocalize-help btn btn-neutral waves-effect waves-light" onclick="$('.geolocalize-help-text').toggle();">Aide ?</div>
<div class="geolocalize-help-text">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment