Projet

Général

Profil

0003-toulouse-2022-add-text-at-left-of-toplinks-69188.patch

Nicolas Roche, 16 septembre 2022 15:09

Télécharger (2,01 ko)

Voir les différences:

Subject: [PATCH 03/13] toulouse-2022: add text at left of toplinks (#69188)

 static/toulouse-2022/_custom.scss                        | 3 +++
 templates/variants/toulouse-2022/includes/user-info.html | 2 ++
 2 files changed, 5 insertions(+)
static/toulouse-2022/_custom.scss
207 207

  
208 208
// toplinks moved inside .gru-nav element
209 209
#toplinks {
210 210
	font-size: $fz-xsmall;
211 211
	font-weight: 500;
212 212
	max-width: none;
213 213
	padding: 0.3rem 0.7rem;
214 214
	word-spacing: 1em;
215
	.pre-register {
216
		word-spacing: normal;
217
	}
215 218
	@media ($max-mobile-viewport) {
216 219
		width: 100%;
217 220
	}
218 221
	@media ($min-desktop-viewport) {
219 222
		position: static;
220 223
	}
221 224
	a {
222 225
		color: white;
templates/variants/toulouse-2022/includes/user-info.html
22 22
        {% include "includes/user-info-logout-label.html" %}
23 23
        {% endblock %}
24 24
      </a>
25 25
    </span>
26 26
  {% else %}
27 27
    <span class="login">
28 28
      {# below stanza modified and moved in first position #}
29 29
      {% if registration_url and include_registration_link != False %}
30
        <span class="pre-register">Pas de compte ?</span>
31
        <span class="user-info--separator"></span>
30 32
        <a class="registration" href="{{registration_url}}">
31 33
          {% block user-info-registration-label %}
32 34
          {% include "includes/user-info-registration-label.html" %}
33 35
          {% endblock %}
34 36
        </a>
35 37
        <span class="user-info--separator"></span>
36 38
      {% endif %}
37 39
      <a accesskey="2" class="login-link" href="{{ login_url }}">
38
-