[ticket/17283] Change first icons to font and adjust icon alignment

PHPBB3-17283
This commit is contained in:
Marc Alexander 2024-01-01 20:38:26 +01:00
parent cb33889999
commit 302e9000e6
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
2 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
<ul id="nav-main" class="nav-main linklist" role="menubar"> <ul id="nav-main" class="nav-main linklist" role="menubar">
<li id="quick-links" class="quick-links dropdown-container responsive-menu{% if not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH %} hidden{% endif %}"> <li id="quick-links" class="quick-links dropdown-container responsive-menu{% if not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH %} hidden{% endif %}">
<a href="#" class="dropdown-trigger"> <a href="#" class="dropdown-trigger">
{{ Icon('iconify', 'fa:bars', lang('QUICK_LINKS'), false) }} {{ Icon('font', 'bars', lang('QUICK_LINKS'), false) }}
</a> </a>
<div class="dropdown"> <div class="dropdown">
<div class="pointer"><div class="pointer-inner"></div></div> <div class="pointer"><div class="pointer-inner"></div></div>
@ -47,7 +47,7 @@
<li class="separator"></li> <li class="separator"></li>
<li> <li>
<a href="{{ U_SEARCH }}" role="menuitem"> <a href="{{ U_SEARCH }}" role="menuitem">
{{ Icon('iconify', 'fa:search', lang('SEARCH'), false) }} {{ Icon('font', 'search', lang('SEARCH'), false) }}
</a> </a>
</li> </li>
{% endif %} {% endif %}
@ -57,14 +57,14 @@
{% if S_DISPLAY_MEMBERLIST %} {% if S_DISPLAY_MEMBERLIST %}
<li> <li>
<a href="{{ U_MEMBERLIST }}" role="menuitem"> <a href="{{ U_MEMBERLIST }}" role="menuitem">
{{ Icon('iconify', 'fa:group', lang('MEMBERLIST'), false) }} {{ Icon('font', 'users', lang('MEMBERLIST'), false) }}
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% if U_TEAM %} {% if U_TEAM %}
<li> <li>
<a href="{{ U_TEAM }}" role="menuitem"> <a href="{{ U_TEAM }}" role="menuitem">
{{ Icon('iconify', 'fa:shield', lang('THE_TEAM'), false) }} {{ Icon('font', 'shield', lang('THE_TEAM'), false) }}
</a> </a>
</li> </li>
{% endif %} {% endif %}

View file

@ -14,7 +14,6 @@ svg {
vertical-align: middle !important; vertical-align: middle !important;
width: 14px; width: 14px;
height: 14px; height: 14px;
margin-top: -4px;
} }
.o-icon-src-mdi, .o-icon-src-mdi,
@ -40,6 +39,7 @@ svg {
/* stylelint-disable order/properties-order */ /* stylelint-disable order/properties-order */
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
/* stylelint-enable order/properties-order */ /* stylelint-enable order/properties-order */
padding: 2px;
text-rendering: auto; /* optimizelegibility throws things off #1094 */ text-rendering: auto; /* optimizelegibility throws things off #1094 */
} }