Skip to content

Commit

Permalink
Merge branch 'main' into feat/composed-modal-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
abbeyhrt committed Nov 5, 2021
2 parents ffdb983 + b0a79ab commit 752dbbb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,13 @@
background-color: transparent;
}

// We include `:not(:focus)` here because the pseudo elements will overlap the
// focus outline on the button if we set their background-color on focus
.#{$prefix}--number--light .#{$prefix}--number__control-btn:hover,
.#{$prefix}--number--light .#{$prefix}--number__control-btn:hover::before,
.#{$prefix}--number--light .#{$prefix}--number__control-btn:hover::after {
.#{$prefix}--number--light
.#{$prefix}--number__control-btn:not(:focus):hover::before,
.#{$prefix}--number--light
.#{$prefix}--number__control-btn:not(:focus):hover::after {
background-color: $hover-light-ui;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@
.#{$prefix}--radio-button:focus
+ .#{$prefix}--radio-button__label
.#{$prefix}--radio-button__appearance {
box-shadow: 0 0 0 2px $focus;
outline: 1px solid transparent;
outline: 2px solid $focus;
outline-offset: 1.5px;
}

// Skeleton State
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ $radio-border-width: 1px !default;
.#{$prefix}--radio-button:focus
+ .#{$prefix}--radio-button__label
.#{$prefix}--radio-button__appearance {
box-shadow: 0 0 0 2px $focus;
outline: 1px solid transparent;
outline: 2px solid $focus;
outline-offset: 1.5px;
}

// Skeleton State
Expand Down

0 comments on commit 752dbbb

Please sign in to comment.