aboutsummaryrefslogtreecommitdiffstats
path: root/src/less/components/progress.less
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2017-12-08 15:54:08 +0000
committerSam Potts <sam@potts.es>2017-12-08 15:54:08 +0000
commit82f81f4f735c74b7425a66b7c9ec6f0bd91ae7a2 (patch)
tree8a0f1839efbf7b91d346cc79b87ca6f5324df347 /src/less/components/progress.less
parentc8990bd379d97f4eb14cc35aaa90caebfb7db220 (diff)
downloadplyr-82f81f4f735c74b7425a66b7c9ec6f0bd91ae7a2.tar.lz
plyr-82f81f4f735c74b7425a66b7c9ec6f0bd91ae7a2.tar.xz
plyr-82f81f4f735c74b7425a66b7c9ec6f0bd91ae7a2.zip
More Edge fixes and small UI bugs
Diffstat (limited to 'src/less/components/progress.less')
-rw-r--r--src/less/components/progress.less21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/less/components/progress.less b/src/less/components/progress.less
index 1472f9c5..1a252937 100644
--- a/src/less/components/progress.less
+++ b/src/less/components/progress.less
@@ -4,7 +4,7 @@
.plyr__progress {
position: relative;
- display: none;
+ display: flex;
flex: 1;
input[type='range'] {
@@ -19,10 +19,6 @@
}
}
-.plyr .plyr__progress {
- display: inline-block;
-}
-
.plyr__progress--buffer {
position: absolute;
left: 0;
@@ -40,6 +36,7 @@
&::-webkit-progress-bar {
background: transparent;
+ transition: width 0.2s ease;
}
&::-webkit-progress-value {
@@ -53,24 +50,12 @@
background: currentColor;
border-radius: 100px;
min-width: @plyr-range-track-height;
+ transition: width 0.2s ease;
}
// Microsoft
&::-ms-fill {
border-radius: 100px;
- }
-}
-
-.plyr__progress--buffer {
- &::-webkit-progress-value {
- transition: width 0.2s ease;
- }
-
- &::-moz-progress-bar {
- transition: width 0.2s ease;
- }
-
- &::-ms-fill {
transition: width 0.2s ease;
}
}