add transition to seekbar background

This commit is contained in:
nklhrstv 2020-03-06 16:35:16 +02:00
parent 994f46f15a
commit 6ee7deeedf

View file

@ -1,6 +1,7 @@
@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; @import (reference) '~stremio-colors/dist/less/stremio-colors.less';
:import('~stremio/common/Slider/styles.less') { :import('~stremio/common/Slider/styles.less') {
slider-track-before: track-before;
slider-thumb: thumb; slider-thumb: thumb;
} }
@ -19,6 +20,10 @@
&:hover { &:hover {
.slider:not(:global(.disabled)) { .slider:not(:global(.disabled)) {
.slider-track-before {
transition: background-color 0s 100ms;
}
.slider-thumb { .slider-thumb {
transition: fill 0s 100ms; transition: fill 0s 100ms;
} }