aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/plugins
diff options
context:
space:
mode:
authorArthur Hulsman <a.hulsman@orangegames.com>2018-01-17 15:38:26 +0100
committerArthur Hulsman <a.hulsman@orangegames.com>2018-01-17 15:38:26 +0100
commit896ea7c689f25e5eed5ad6bcac0e9314cff825ed (patch)
tree9fc27faccb815b6e67b08425824f1a9004cf787a /src/sass/plugins
parent1d1eb02bd734461bad8884c827e79c05d8f77dbd (diff)
downloadplyr-896ea7c689f25e5eed5ad6bcac0e9314cff825ed.tar.lz
plyr-896ea7c689f25e5eed5ad6bcac0e9314cff825ed.tar.xz
plyr-896ea7c689f25e5eed5ad6bcac0e9314cff825ed.zip
Added cue markings within the time line for when midrolls will be displayed. Removed unusued callback parameter.
Diffstat (limited to 'src/sass/plugins')
-rw-r--r--src/sass/plugins/ads.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/sass/plugins/ads.scss b/src/sass/plugins/ads.scss
index 3c91dd5e..4bff7a20 100644
--- a/src/sass/plugins/ads.scss
+++ b/src/sass/plugins/ads.scss
@@ -16,3 +16,17 @@
left: 0;
}
}
+
+// Advertisement cue's for the progress bar.
+.plyr__cues {
+ display: block;
+ position: absolute;
+ z-index: 3; // Between progress and thumb.
+ top: 50%;
+ left: 0;
+ margin: -($plyr-range-track-height / 2) 0 0;
+ width: 3px;
+ height: $plyr-range-track-height;
+ background: currentColor;
+ opacity: 0.8;
+}