Commit 932c8186 authored by Sebastian Castro's avatar Sebastian Castro

Fixs pdcn style 2

parent 04e74bf6
......@@ -113,7 +113,12 @@
{# ----------- #}
{# HOME #}
{# ----------- #}
.gogo-load-css #home-main-wrapper { background-color: {{ homeBgd }}; }
{% if config.backgroundImage %}
body.gogo-load-css.home { background-image: url({{ config.backgroundImage.imageUrl }}); }
{% else %}
.gogo-load-css #home-main-wrapper { background-color: {{ homeBgd }}; }
{% endif %}
.gogo-load-css section.bottom-section { padding: 0; }
.gogo-load-css #search-geolocalize { color: {{ textSoft }}; }
.gogo-load-css section#home-main-container { background-color: {{ contentBgd }}; }
......
......@@ -8,14 +8,6 @@
<link rel="stylesheet" href="{{ asset('assets/css/pages.css?ver=' ~ version) }}">
<link rel="stylesheet" href="{{ asset('assets/css/home.css?ver=' ~ version) }}">
<style>
body {
{% if config.backgroundImage %}
background-image: url({{ config.backgroundImage.imageUrl }});
{% endif %}
}
</style>
{% endblock %}
{# BODY CONTENT #}
......
......@@ -36,16 +36,6 @@ jQuery(document).ready(function()
// ---------------
// LISTENERS
// ---------------
// add description more field if description is too long
var inputDescription = $('#input-description');
var inputDescriptionMore = $('#input-description-more');
if (inputDescriptionMore.val() && inputDescriptionMore.val().length > 0) inputDescriptionMore.parent('.input-field').show();
inputDescription.on('input', function() {
if ($(this).hasClass('invalid')) inputDescriptionMore.parent('.input-field').slideDown(800);
});
// OPEN HOURS
// 2nd time slot
......
......@@ -88,7 +88,7 @@
.invalid + label:after, .invalid:focus + label:after {
display: inline !important;
position: initial !important;
margin-left: .5rem !important;
margin-left: 1rem !important;
font-weight: bold !important;
}
......
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