Skip to content

Commit

Permalink
feat: split slider active and focus states
Browse files Browse the repository at this point in the history
  • Loading branch information
Arucard89 committed Feb 4, 2024
1 parent 83ee9db commit a60ad34
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/components/Slider/BaseSlider/BaseSlider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,13 @@ $mark-xl-offset: -1px;
}
}

&:active {
box-shadow: 0 0 4px #{slider-variables.$slider-color};
cursor: grabbing;
}

&:focus {
box-shadow: 0 0 0 4px $handle-focus-color;
box-shadow: 0 0 0 3px $handle-focus-color;
outline: none;
&:active {
box-shadow: 0 0 0 4px $handle-focus-color;
cursor: grabbing;
}
}

&_disabled {
Expand Down

0 comments on commit a60ad34

Please sign in to comment.