toodego: a11y, redo connect/my account button with text element (#34675)
This commit is contained in:
parent
eff6dd0536
commit
fd6ab2a52e
|
@ -827,14 +827,19 @@ div.wcs-tracking-code-input {
|
|||
border: none;
|
||||
}
|
||||
a {
|
||||
background: url(img/glc.png) center left no-repeat;
|
||||
height: 40px;
|
||||
width: 190px;
|
||||
background-size: cover;
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
padding-left: 50px;
|
||||
letter-spacing: 1px;
|
||||
background: black url(img/glc2.png) top left no-repeat;
|
||||
background-size: auto 45px;
|
||||
color: white;
|
||||
height: 45px;
|
||||
width: 180px;
|
||||
display: inline-block;
|
||||
color: transparent;
|
||||
position: relative;
|
||||
top: -5px;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
&::before {
|
||||
content: none;
|
||||
|
@ -843,17 +848,6 @@ div.wcs-tracking-code-input {
|
|||
}
|
||||
|
||||
@media screen and (max-width: $desktop-limit) {
|
||||
.anonymous-user #nav ul li.menu-mon-compte {
|
||||
a::before {
|
||||
content: "Se connecter";
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
color: white;
|
||||
}
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.gru-content {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
|
@ -22,7 +22,7 @@
|
|||
<li><a href="{{portal_url}}mon-compte/">Mon compte</a></li>
|
||||
<li><a href="{% url 'auth_logout' %}">Me déconnecter</a></li>
|
||||
</ul>
|
||||
{% else %}<a href="/login"><span>Mon compte</span></a>{% endif %}{% end_skeleton_extra_placeholder %}{% endif %}</li>
|
||||
{% else %}<a href="/login"><span>Se connecter</span></a>{% endif %}{% end_skeleton_extra_placeholder %}{% endif %}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue