Skip to content

Commit 7bf2beb

Browse files
update styling and approve visual test
1 parent b021a18 commit 7bf2beb

7 files changed

+25
-3
lines changed

src/components/button/_button.scss

+13
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ $button-shadow-size: 3px;
581581
display: flex;
582582
height: 67px;
583583
padding: 0 1.5rem;
584+
border-bottom: 4px solid rgb(0 0 0 / 0%);
584585
@include mq(l) {
585586
height: 72px;
586587
}
@@ -604,6 +605,16 @@ $button-shadow-size: 3px;
604605
}
605606
}
606607

608+
&--search-icon:focus {
609+
background-color: var(--ons-color-focus);
610+
border-color: var(--ons-color-black);
611+
}
612+
613+
&--search-icon:hover {
614+
background-color: var(--ons-color-focus);
615+
border-color: var(--ons-color-text-link-hover);
616+
}
617+
607618
&--search-icon:focus & {
608619
&__inner {
609620
background: none;
@@ -619,7 +630,9 @@ $button-shadow-size: 3px;
619630

620631
&--search-icon:active,
621632
&--search-icon[aria-expanded='true'] {
633+
border-bottom: none;
622634
background-color: var(--ons-color-branded-tint);
635+
border-color: var(--ons-color-text-link-hover);
623636
}
624637

625638
&--search-icon:hover &,

0 commit comments

Comments
 (0)