Skip to content

Commit

Permalink
fix(select): improve hover style
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Dec 12, 2022
1 parent 5e064e1 commit 4ce3676
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@
min-height: 3rem
+modifier(focused)
border-color: var(--bal-color-primary)
&:not(#{&}--disabled):not(#{&}--invalid):not(&:focus-within):hover
&:not(#{&}--disabled):not(#{&}--invalid):hover
border-color: var(--bal-color-border-grey)
background-color: var(--bal-color-grey-1)
.bal-select__control__input
background-color: var(--bal-color-grey-1)
&:focus-within
border-color: var(--bal-color-primary)
border-color: var(--bal-color-primary) !important
&--invalid:not(#{&}--disabled)
border-color: var(--bal-color-border-danger) !important
background: var(--bal-color-danger-1) !important
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

<bal-heading>Multi-Select</bal-heading>
<section>
<bal-select multiple placeholder="Try finding your hero" data-testid="multiple">
<bal-select multiple placeholder="Try finding your hero" data-testid="multiple" scrollable="248">
<bal-select-option checkbox value="BlackWidow" label="Black Widow">
<b style="display: block">Black Widow</b>
<span>S.H.I.E.L.D.</span>
Expand Down

0 comments on commit 4ce3676

Please sign in to comment.