Box shadow fix for range track

This commit is contained in:
Sam Potts 2018-08-01 13:00:51 +10:00
parent e090581913
commit ba511b51c7
3 changed files with 4 additions and 4 deletions

2
demo/dist/demo.css vendored

File diff suppressed because one or more lines are too long

2
dist/plyr.css vendored

File diff suppressed because one or more lines are too long

View File

@ -28,6 +28,7 @@
border: 0; border: 0;
border-radius: ($plyr-range-track-height / 2); border-radius: ($plyr-range-track-height / 2);
height: $plyr-range-track-height; height: $plyr-range-track-height;
transition: box-shadow 0.3s ease;
user-select: none; user-select: none;
} }
@ -43,8 +44,7 @@
} }
@mixin plyr-range-thumb-active($color: rgba($plyr-range-thumb-bg, 0.5)) { @mixin plyr-range-thumb-active($color: rgba($plyr-range-thumb-bg, 0.5)) {
box-shadow: $plyr-range-thumb-shadow, box-shadow: $plyr-range-thumb-shadow, 0 0 0 $plyr-range-thumb-active-shadow-width $color;
0 0 0 $plyr-range-thumb-active-shadow-width $color;
} }
// Fullscreen styles // Fullscreen styles