aboutsummaryrefslogtreecommitdiffstats
path: root/src/less/components/time.less
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2016-05-01 19:27:53 +1000
committerSam Potts <me@sampotts.me>2016-05-01 19:27:53 +1000
commitfad3f41ca7517ae14f8805f6c51e85dc6c47a4e7 (patch)
tree79df46c7fba88e6749d7f59815c54055d5293694 /src/less/components/time.less
parent39a0a38d070c3c436b5f6b270b9d6406b0e43e06 (diff)
downloadplyr-fad3f41ca7517ae14f8805f6c51e85dc6c47a4e7.tar.lz
plyr-fad3f41ca7517ae14f8805f6c51e85dc6c47a4e7.tar.xz
plyr-fad3f41ca7517ae14f8805f6c51e85dc6c47a4e7.zip
Prep work for theming
Diffstat (limited to 'src/less/components/time.less')
-rw-r--r--src/less/components/time.less23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/less/components/time.less b/src/less/components/time.less
new file mode 100644
index 00000000..7389ba93
--- /dev/null
+++ b/src/less/components/time.less
@@ -0,0 +1,23 @@
+// Time
+// --------------------------------------------------------------
+
+.plyr__time {
+ display: inline-block;
+ vertical-align: middle;
+ font-size: @plyr-font-size-small;
+ line-height: .95;
+}
+// Media duration hidden on small screens
+.plyr__time + .plyr__time {
+ display: none;
+
+ @media (min-width: @plyr-bp-screen-md) {
+ display: inline-block;
+ }
+
+ // Add a slash in before
+ &::before {
+ content: '\2044';
+ margin-right: @plyr-control-spacing;
+ }
+} \ No newline at end of file