style(navbar): update button styles for consistency and visibility
Updated button styles to use 'btn-tertiary' and added focus rings for better accessibility.
This commit is contained in:
parent
b3dc0ff3c4
commit
87e66c1d13
1 changed files with 6 additions and 6 deletions
|
|
@ -5,8 +5,8 @@
|
|||
<div class="d-flex align-items-center justify-content-between w-100 d-md-none">
|
||||
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<button class="navbar-toggler border-0 p-1" data-bs-toggle="collapse" data-bs-target="#navbar-nav-alt-markup" type="button"
|
||||
aria-controls="navbar-nav-alt-markup" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
|
||||
<button class="btn btn-tertiary focus-ring focus-ring-dark" data-bs-toggle="collapse" data-bs-target="#navbar-nav-alt-markup"
|
||||
type="button" aria-controls="navbar-nav-alt-markup" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<a class="navbar-brand d-none m-0 p-0" href="{{ route('fo.pages.home') }}">
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
<div class="d-flex align-items-center gap-1">
|
||||
@if (!Route::is('fo.products.index'))
|
||||
<a class="btn btn-outline-dark btn-lg border-0" id="btn-search-icon" href="{{ route('fo.products.index') }}"
|
||||
<a class="btn btn-tertiary focus-ring focus-ring-dark btn-lg" id="btn-search-icon" href="{{ route('fo.products.index') }}"
|
||||
aria-label="{{ __('Search') }}">
|
||||
<i class="fa-solid fa-magnifying-glass"></i>
|
||||
</a>
|
||||
|
|
@ -24,15 +24,15 @@
|
|||
|
||||
<div class="position-relative nav-basket-button p-0"></div>
|
||||
|
||||
<a class="btn btn-outline-dark btn-lg border-0" data-bs-toggle="tooltip" href="{{ route('fo.account.dashboard') }}"
|
||||
<a class="btn btn-tertiary focus-ring focus-ring-dark btn-lg" data-bs-toggle="tooltip" href="{{ route('fo.account.dashboard') }}"
|
||||
title="{{ __('Go to page :page', ['page' => __('Dashboard')]) }}" aria-label="{{ __('Dashboard') }}">
|
||||
<i class="fa-solid fa-user-lock"></i>
|
||||
</a>
|
||||
@auth('frontend')
|
||||
<form class="d-inline m-0 p-0" action="{{ route('fo.auth.deconnexion') }}" method="POST">
|
||||
@csrf
|
||||
<button class="btn btn-outline-dark btn-lg border-0" data-bs-toggle="tooltip" type="submit" title="{{ __('Logout') }}"
|
||||
aria-label="{{ __('Logout') }}">
|
||||
<button class="btn btn-tertiary focus-ring focus-ring-dark btn-lg" data-bs-toggle="tooltip" type="submit"
|
||||
title="{{ __('Logout') }}" aria-label="{{ __('Logout') }}">
|
||||
<i class="fa-solid fa-right-from-bracket"></i>
|
||||
</button>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue