add background when a form is show
This commit is contained in:
parent
e428ae5674
commit
67a5890573
|
@ -31,6 +31,11 @@ body {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.body.has-form {
|
||||||
|
min-height: 100vh;
|
||||||
|
background: lighten(map-get($theme-colors, 'dark-blue'), 75%);
|
||||||
|
}
|
||||||
|
|
||||||
#logo {
|
#logo {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
}
|
}
|
||||||
|
@ -394,6 +399,19 @@ th {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#form-main {
|
||||||
|
> .tab-content {
|
||||||
|
padding: 30px;
|
||||||
|
background: lighten(map-get($theme-colors, 'dark-blue'), 75%);
|
||||||
|
|
||||||
|
.tab-form {
|
||||||
|
padding: 30px;
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.custom-file-label::after {
|
.custom-file-label::after {
|
||||||
content: "Parcourir";
|
content: "Parcourir";
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
{% set context = context ?? 'edit' %}
|
{% set context = context ?? 'edit' %}
|
||||||
|
|
||||||
|
{% block body_class %}has-form{% endblock %}
|
||||||
|
|
||||||
{% block title %}{{ configuration.pageTitle(context)|trans|build_string(entity) }} - {{ parent() }}{% endblock %}
|
{% block title %}{{ configuration.pageTitle(context)|trans|build_string(entity) }} - {{ parent() }}{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
{% set context = context ?? 'new' %}
|
{% set context = context ?? 'new' %}
|
||||||
|
|
||||||
|
{% block body_class %}has-form{% endblock %}
|
||||||
|
|
||||||
{% block title %}{{ configuration.pageTitle(context)|trans|build_string(entity) }} - {{ parent() }}{% endblock %}
|
{% block title %}{{ configuration.pageTitle(context)|trans|build_string(entity) }} - {{ parent() }}{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
{{ include('@Core/admin/module/menu.html.twig') }}
|
{{ include('@Core/admin/module/menu.html.twig') }}
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="body">
|
<div class="body {% block body_class %}{% endblock %}">
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue