Skip to content

Commit

Permalink
update styling and approve visual test
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-onyenaucheya-ons committed Jan 30, 2025
1 parent fc52f54 commit 5a42c21
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ $button-shadow-size: 3px;
display: flex;
height: 67px;
padding: 0 1.5rem;
border-bottom: 4px solid rgb(0 0 0 / 0%);
@include mq(l) {
height: 72px;
}
Expand All @@ -603,6 +604,16 @@ $button-shadow-size: 3px;
}
}

&--search-icon:focus {
background-color: var(--ons-color-focus);
border-color: var(--ons-color-black);
}

&--search-icon:hover {
background-color: var(--ons-color-focus);
border-color: var(--ons-color-text-link-hover);
}

&--search-icon:focus & {
&__inner {
background: none;
Expand All @@ -618,7 +629,9 @@ $button-shadow-size: 3px;

&--search-icon:active,
&--search-icon[aria-expanded='true'] {
border-bottom: none;
background-color: var(--ons-color-branded-tint);
border-color: var(--ons-color-text-link-hover);
}

&--search-icon:hover &,
Expand Down

0 comments on commit 5a42c21

Please sign in to comment.