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 b021a18 commit 7bf2beb
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 @@ -581,6 +581,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 @@ -604,6 +605,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 @@ -619,7 +630,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 7bf2beb

Please sign in to comment.