Improve language switcher icon SVG

This commit is contained in:
2026-04-26 12:20:44 +02:00
parent 9e2a67dede
commit e1e237569f

View File

@@ -15,10 +15,15 @@
aria-label="{% trans 'Language switcher' %}" aria-label="{% trans 'Language switcher' %}"
> >
<svg class="language-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" aria-hidden="true" focusable="false"> <svg class="language-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" aria-hidden="true" focusable="false">
<path fill="currentColor" d="M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2Zm7.93 9h-3.21a15.9 15.9 0 0 0-1.25-5.02A8.02 8.02 0 0 1 19.93 11ZM12 4c.77 0 1.97 1.52 2.73 5H9.27C10.03 5.52 11.23 4 12 4ZM4.07 13h3.21c.23 1.84.75 3.57 1.25 5.02A8.02 8.02 0 0 1 4.07 13Zm3.21-2H4.07a8.02 8.02 0 0 1 4.46-5.02c-.5 1.45-1.02 3.18-1.25 5.02ZM12 20c-.77 0-1.97-1.52-2.73-5h5.46c-.76 3.48-1.96 5-2.73 5Zm3.05-7H8.95a14.2 14.2 0 0 1 0-2h6.1a14.2 14.2 0 0 1 0 2Zm.42 5.02c.5-1.45 1.02-3.18 1.25-5.02h3.21a8.02 8.02 0 0 1-4.46 5.02Z"/> <g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="9" />
<path d="M3 12h18" />
<path d="M12 3c3 3.5 3 14.5 0 18" />
<path d="M12 3c-3 3.5-3 14.5 0 18" />
</g>
</svg> </svg>
<svg class="language-chevron" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="10" height="10" aria-hidden="true" focusable="false"> <svg class="language-chevron" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="10" height="10" aria-hidden="true" focusable="false">
<path fill="currentColor" d="M5.6 7.3a1 1 0 0 1 1.4 0L10 10.3l3-3a1 1 0 1 1 1.4 1.4l-3.7 3.7a1 1 0 0 1-1.4 0L5.6 8.7a1 1 0 0 1 0-1.4Z"/> <path d="M5 7.5 10 12.5 15 7.5" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" />
</svg> </svg>
</button> </button>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="header-language-switcher"> <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="header-language-switcher">