misc: update back to partner site icon (#47611)"

This reverts commit ff437ecde1.
This commit is contained in:
Serghei Mihai 2020-10-20 14:00:39 +02:00
parent 4b382808a2
commit 85db1caa0e
3 changed files with 34 additions and 0 deletions

View File

@ -142,6 +142,27 @@ div#header {
}
}
}
div#return {
background: $primary-color;
position: absolute;
top: 50%;
left: 1%;
@media screen and (max-width: $mobile-limit) {
top: 3%;
}
a {
color: #000;
background: #fff url(images/back.svg) center left no-repeat;
background-size: contain;
padding: 1px 0 1px 50px;
@media screen and (max-width: $mobile-limit) {
display: block;
text-indent: -9999px;
padding: 10px 0 10px 40px;
}
}
}
div#help {
position: absolute;
top: 25%;

View File

@ -0,0 +1,3 @@
<svg width="30" height="19" viewBox="0 0 30 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.98527 0.304579C10.3693 0.701452 10.359 1.33453 9.96209 1.7186L3.47131 8H20.4667C23.1038 8 25.4994 8.71308 27.2482 10.2697C29.015 11.8424 30 14.1681 30 17.1333C30 17.6856 29.5523 18.1333 29 18.1333C28.4477 18.1333 28 17.6856 28 17.1333C28 14.6319 27.185 12.891 25.9185 11.7636C24.6339 10.6203 22.7629 10 20.4667 10H3.47131L9.96209 16.2814C10.359 16.6655 10.3693 17.2985 9.98527 17.6954C9.6012 18.0923 8.96812 18.1027 8.57125 17.7186L0.304579 9.7186C0.109908 9.53021 0 9.2709 0 9C0 8.7291 0.109908 8.46979 0.304579 8.2814L8.57125 0.281399C8.96812 -0.102672 9.6012 -0.0922936 9.98527 0.304579Z" fill="#E10E00"/>
</svg>

After

Width:  |  Height:  |  Size: 764 B

View File

@ -39,6 +39,16 @@
<div id="header-wrapper" >
<div id="header">
{% block header-top %}
{% if request.partner or a2_return_url %}
<div id="return">
{% if request.partner %}
<a href="{{ request.partner.url }}" class="highlight" style="color: {{ request.partner.color }}">{{ request.partner.name }}</a>
{% else %}
<a href="{{ a2_return_url }}" class="highlight">Mon compte</a>
{% endif %}
</div>
{% endif %}
{% if help_url %}
<div id="help" class="desktop-only">
<a href="{{ help_url }}" target="_blank" rel="noopener">Besoin d'aide</a>