Skip to content

Commit 5a42c21

Browse files
update styling and approve visual test
1 parent fc52f54 commit 5a42c21

7 files changed

+25
-3
lines changed

src/components/button/_button.scss

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

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

619630
&--search-icon:active,
620631
&--search-icon[aria-expanded='true'] {
632+
border-bottom: none;
621633
background-color: var(--ons-color-branded-tint);
634+
border-color: var(--ons-color-text-link-hover);
622635
}
623636

624637
&--search-icon:hover &,

0 commit comments

Comments
 (0)