From aaf0cb53b8acce026bb66e5d3b34575bf9d74a1a Mon Sep 17 00:00:00 2001 From: ty kayn Date: Thu, 4 Jul 2019 18:00:29 +0200 Subject: [PATCH] :art: global style --- app/Resources/views/base.html.twig | 20 ++++++++++---------- assets/css/pages/global.scss | 20 +++++++++++++++++++- 2 files changed, 29 insertions(+), 11 deletions(-) diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index b5de6a5b..1dc6bd15 100755 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -1,15 +1,15 @@ {% trans_default_domain 'messages' %} - - - - {% block title %} {% trans %}menu.title{% endtrans %} - Fiche de compte dynamique{% endblock %} - {% block stylesheets %} - - {% endblock %} - + + + + {% block title %} {% trans %}menu.title{% endtrans %} - Fiche de compte dynamique{% endblock %} + {% block stylesheets %} + + {% endblock %} + {% block navigation %} @@ -18,7 +18,7 @@ {% block bigMain %} {% include 'default/header.html.twig' %} -
+
{% block body %} {% endblock %} diff --git a/assets/css/pages/global.scss b/assets/css/pages/global.scss index 6e2723b4..acf04b3f 100755 --- a/assets/css/pages/global.scss +++ b/assets/css/pages/global.scss @@ -68,6 +68,7 @@ body { width: 100%; bottom: 0; display: block; + float:left; } thead { @@ -269,10 +270,27 @@ table td { } #bodyland { + min-height: 100vh; .container { - min-height: 100vh; + min-height: 90vh; } + > .row { + min-height: 90vh; + // for crud forms + table{ + thead{ + th{ + padding: 0.5rem; + } + } + + ul{ + a { + margin-top: 1em; + } + } + } + } table { margin-top: 2em; }