fix megamenu on hover for yellow background

This commit is contained in:
Ludovic CANDELLIER
2023-02-12 00:11:25 +01:00
parent cafd0a49e7
commit 8313e25f2e
2 changed files with 10 additions and 6 deletions

View File

@@ -198,10 +198,6 @@ a.green-dark:hover {
color: #335012!important; color: #335012!important;
} }
.shadow2 {
box-shadow: 0px 10px 21px #344f17;
}
div.megamenu ul.megamenu a, div#megamenu ul.megamenu span.separator div.megamenu ul.megamenu a, div#megamenu ul.megamenu span.separator
{ {
color: #517C39; color: #517C39;
@@ -217,10 +213,18 @@ div.megamenu ul.megamenu li.megamenu.level1
cursor: pointer; cursor: pointer;
} }
.dropdown.megamenu a:hover, .dropdown.megamenu a:active, .dropdown.megamenu div.w-100:hover {
background-color: #F2B90F;
}
.slick-prev:before, .slick-next:before { .slick-prev:before, .slick-next:before {
color: #335012!important; color: #335012!important;
} }
.shadow2 {
box-shadow: 0px 10px 21px #344f17;
}
.filters-width { .filters-width {
width: 192px; width: 192px;
} }

View File

@@ -5,6 +5,6 @@
</strong><br> </strong><br>
@foreach ($menu_children['children'] ?? [] as $leaf) @foreach ($menu_children['children'] ?? [] as $leaf)
<a class="green-dark @if (($category['id'] ?? false) == $leaf['id']) active @endif" href="{{ route('Shop.Categories.show', ['id' => $leaf['id']]) }}"> <a class="green-dark @if (($category['id'] ?? false) == $leaf['id']) active @endif" href="{{ route('Shop.Categories.show', ['id' => $leaf['id']]) }}">
{{ $leaf['name'] }} <div class="w-100">{{ $leaf['name'] }}</div>
</a><br> </a>
@endforeach @endforeach