diff --git a/src/Bundle/ChillCustomFieldsBundle/Resources/views/CustomFieldsRendering/text.html.twig b/src/Bundle/ChillCustomFieldsBundle/Resources/views/CustomFieldsRendering/text.html.twig index 6b977f123..ab04ebd7e 100644 --- a/src/Bundle/ChillCustomFieldsBundle/Resources/views/CustomFieldsRendering/text.html.twig +++ b/src/Bundle/ChillCustomFieldsBundle/Resources/views/CustomFieldsRendering/text.html.twig @@ -1 +1,7 @@ -{% if text is not empty %}{{ text|nl2br }}{% else %}{{ 'None'|trans }}{% endif %} \ No newline at end of file +{% if text is not empty %} + {% apply markdown_to_html %} + {{ text|raw }} + {% endapply %} +{% else %} + {{ 'None'|trans }} +{% endif %} \ No newline at end of file diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss index d3359a0fe..cce66d271 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss @@ -11,11 +11,29 @@ h1, h2, .h1, .h2 { } .chill-user-quote { - border-left: 10px solid #eec84a; + border-left: 10px solid $yellow; margin: 1.5em 10px; - padding: .5em 10px; + padding: .5em 15px; quotes: "\201C" "\201D" "\2018" "\2019"; - background-color: #e6e6e6; + background-color: $gray-100; + blockquote { + border-left: 0.4em solid $gray-400; + padding-left: 0.9em; + margin-left: 0.9em; + font-style: italic; + } +} +form fieldset { + margin-top: 1em; + & > legend { + font-size: 1.438em; + font-weight: 700; + width: 100%; + border-bottom: 3px solid $gray-200; + margin-bottom: 1em; + h2 { + } + } } div.chill_address { @@ -79,7 +97,7 @@ nav.navbar { font-family: Open Sans; font-weight: 300; clear: both; - color: #fff; + color: $white; font-size: .9em; line-height: 1.5em; margin: auto; diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss index 0b6bf2a82..31912030a 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss @@ -10,7 +10,7 @@ */ $white: #fff !default; -$gray-100: #f8f9fa !default; +$gray-100: #f3f3f3 !default; $gray-200: #e6e6e6 !default; $gray-300: #dee2e6 !default; $gray-400: #ced4da !default; diff --git a/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig index 91fc4e3df..de1243b28 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig @@ -19,33 +19,35 @@ {% block form_row %} {% apply spaceless %} {% if form.vars.hideLabel is not defined or form.vars.hideLabel == false %} -