aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/components/times.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/components/times.scss')
-rw-r--r--src/sass/components/times.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/sass/components/times.scss b/src/sass/components/times.scss
new file mode 100644
index 00000000..240d3528
--- /dev/null
+++ b/src/sass/components/times.scss
@@ -0,0 +1,24 @@
+// --------------------------------------------------------------
+// Time
+// --------------------------------------------------------------
+
+.plyr__time {
+ font-size: $plyr-font-size-time;
+}
+
+// Media duration hidden on small screens
+.plyr__time + .plyr__time {
+ // Add a slash in before
+ &::before {
+ content: '\2044';
+ margin-right: $plyr-control-spacing;
+ }
+
+ @media (max-width: $plyr-bp-sm-max) {
+ display: none;
+ }
+}
+
+.plyr--video .plyr__time {
+ text-shadow: 0 1px 1px rgba(#000, 0.15);
+}