arles-2020: delete custom OU separator (#54507)

This commit is contained in:
Serghei Mihai 2021-06-02 09:52:11 +02:00
parent 4588675bb9
commit cd672e6f02
2 changed files with 2 additions and 30 deletions

View File

@ -8,31 +8,6 @@ $mobile-header-height: 80px;
background: #ccc;
}
%ou {
border-left: 1px solid #ccc;
@media screen and ($max-mobile-viewport) {
border-top: 1px solid #ccc;
border-left: 0;
}
&::after {
position: absolute;
right: calc(100% - 1.5rem);
top: calc(50% - 1em);
color: #666;
content: 'OU';
background: #fff;
display: block;
width: 3rem;
height: 3rem;
text-align: center;
line-height: 3rem;
@media screen and ($max-mobile-viewport) {
left: calc(50% - 1.5rem);
top: - 1.5rem;
}
}
}
.site-header {
background: #fff;
}
@ -569,15 +544,13 @@ label[for="id_remember_me"] {
width: 50%;
}
&.first-login {
position: relative;
padding-right: 0;
@media screen and ($max-mobile-viewport) {
padding-right: 1rem;
}
@extend %ou;
}
}
}
@extend %ou;
}
}
@ -588,7 +561,6 @@ div.first-login {
}
#frontend-registration-fc + #frontend-registration-email {
@extend %ou;
@media screen and ($max-mobile-viewport) {
padding: 2em 0;
}

View File

@ -15,7 +15,7 @@
</div>
</div>
{% if registration_authorized %}
<div class="first-login">
<div class="first-login block">
<h3>Je me connecte pour la première fois</h3>
<p>
<a class="pk-button" href="{{ registration_url }}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}" >Je crée mon compte</a>