Skip to content

Commit

Permalink
feat: accessibility - tab-focus visibility - enlarge and harmonise di…
Browse files Browse the repository at this point in the history
…mensions of header links
  • Loading branch information
andreassteinmann committed Aug 23, 2024
1 parent 063af9b commit 38a9c1a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
</ul>

<div class="header-utility">
<a class="search-toggler" [ngClass]="{ 'active-search': showSearch }" *ngIf="isSticky">
<a class="search-toggler" [ngClass]="{ 'active-search': showSearch }">
<fa-icon
*ngIf="isSticky"
class="header-icon"
[icon]="['fas', 'search']"
(click)="toggle('search')"
Expand Down
10 changes: 10 additions & 0 deletions src/styles/components/header/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ header {

.mid-header {
.quickorder-link {
padding: ($space-default * 0.5) divide($space-default, 3);

.header-icon {
font-size: $font-size-corporate;
color: $CORPORATE-PRIMARY;
Expand Down Expand Up @@ -140,13 +142,21 @@ header {
}

a {
display: inline-block !important;
line-height: 34px;
color: $text-color-quinary;
}

.wishlist-count,
.compare-status {
position: relative;
}

.item-count-container {
.badge {
top: 2px;
}
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/styles/components/header/language-switch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
&:not(.accordion) {
.language-switch-button {
display: block;
padding: ($space-default * 0.5) $space-default ($space-default * 0.5) ($space-default * 0.5);
margin: 0;
padding: ($space-default * 0.5) $space-default 9px ($space-default * 0.5);
margin: 2px 0 0;
color: $text-color-quinary !important;
}

Expand Down
2 changes: 1 addition & 1 deletion src/styles/pages/checkout/quick-cart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}

> .btn-link {
padding: 0 ($space-default * 0.5);
padding: $space-default * 0.5;
white-space: nowrap;
}

Expand Down

0 comments on commit 38a9c1a

Please sign in to comment.