toodego: add collectivity logo to header (#35333)
This commit is contained in:
parent
e58fc6e238
commit
c066091aaf
|
@ -443,6 +443,17 @@ div.banner + div div#content div#tracking-code {
|
|||
font-weight: bold;
|
||||
background-size: cover;
|
||||
text-shadow: 0 0 2px black;
|
||||
span.commune {
|
||||
background: transparent center center no-repeat;
|
||||
background-size: 72px 72px;
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 124px / 2 - (72px / 2);
|
||||
left: 1rem;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
border-radius: 36px;
|
||||
}
|
||||
}
|
||||
form div.page > h3 {
|
||||
padding-top: 30px;
|
||||
|
|
|
@ -36,7 +36,11 @@
|
|||
{% block placeholder-content %}
|
||||
{% block content %}
|
||||
<div id="rub_service">
|
||||
{% if title %}<h2 style="background-image: url({{portal_url}}assets/wcs:form:picture:banner:eservices:{{form_slug}})">{{ title }}</h2>{% endif %}
|
||||
{% if title %}<h2 style="background-image: url({{portal_url}}assets/wcs:form:picture:banner:eservices:{{form_slug}})">{{ title }}
|
||||
{% if global_context.form_var_commune %}<span class="commune"
|
||||
style="background-image: url({{portal_url}}assets/logo:{{ global_context.form_var_commune|slugify }})"
|
||||
></span>{% endif %}
|
||||
</h2>{% endif %}
|
||||
{% block body %}
|
||||
{{ body|safe }}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue