Fix for pagespeed

This commit is contained in:
Visman 2023-04-16 10:51:50 +07:00
parent 53fe7d44c1
commit ae143f12e0
7 changed files with 16 additions and 3 deletions

View file

@ -74,3 +74,6 @@ msgstr "\"%s\""
msgid "Logs"
msgstr "Logs"
msgid "Admin menu"
msgstr "Admin menu"

View file

@ -463,3 +463,6 @@ msgstr "%s"
msgid "ACTIONS"
msgstr "ACTIONS"
msgid "Main menu"
msgstr "Main menu"

View file

@ -74,3 +74,6 @@ msgstr "\"%s\""
msgid "Logs"
msgstr "Логи"
msgid "Admin menu"
msgstr "Меню админки"

View file

@ -465,3 +465,6 @@ msgstr "%s"
msgid "ACTIONS"
msgstr "ДЕЙСТВИЯ"
msgid "Main menu"
msgstr "Главное меню"

View file

@ -8,7 +8,7 @@
@if ($p->aNavigation)
<nav id="fork-a-nav" class="f-menu">
<input id="id-an-checkbox" class="f-menu-checkbox" type="checkbox">
<label id="id-an-label" class="f-menu-toggle" for="id-an-checkbox"></label>
<label id="id-an-label" class="f-menu-toggle" for="id-an-checkbox"><span class="f-menu-tsp">{!! __('Admin menu') !!}</span></label>
<ul class="f-menu-items">
@foreach ($p->aNavigation as $key => $val)
<li id="id-anav-{{ $key }}" class="f-menu-item"><a class="f-menu-a @if ($key == $p->aIndex) active @endif" href="{{ $val[0] }}"><span class="f-menu-span">{!! __($val[1]) !!}</span></a></li>

View file

@ -24,7 +24,7 @@
<nav id="fork-nav" class="f-menu @if ($p->fNavigation['search']) f-main-nav-search @endif">
<div id="fork-navdir">
<input id="id-mn-checkbox" class="f-menu-checkbox" type="checkbox">
<label id="id-mn-label" class="f-menu-toggle" for="id-mn-checkbox"></label>
<label id="id-mn-label" class="f-menu-toggle" for="id-mn-checkbox"><span class="f-menu-tsp">{!! __('Main menu') !!}</span></label>
<ul class="f-menu-items">
@foreach ($p->fNavigation as $key => $val)
<li id="fork-nav-{{ $key }}" class="f-menu-item"><!-- inline -->

View file

@ -351,7 +351,8 @@ body,
color: #583200;
}
#fork .f-menu-checkbox {
#fork .f-menu-checkbox,
#fork .f-menu-tsp {
position: fixed;
transform: scale(0);
}