From dc6b134af66b04d6a31614c05ea4fdf57d207165 Mon Sep 17 00:00:00 2001 From: emeric Date: Wed, 5 Sep 2018 21:19:51 +0200 Subject: [PATCH] Better styling media player --- approot/mediaplayer.xml | 49 +++++++++++++++-------------------------- docroot/css/lms.css | 13 ++++++++++- 2 files changed, 30 insertions(+), 32 deletions(-) diff --git a/approot/mediaplayer.xml b/approot/mediaplayer.xml index d6a0d1c0..7e6d01c7 100644 --- a/approot/mediaplayer.xml +++ b/approot/mediaplayer.xml @@ -5,42 +5,29 @@
-
-
- 20% Complete -
+
+
+ 20% Complete
+
-
-
-
- - - - -
-
-
-
-
- ${title} -
-
-
-
- - - ${artist} - -
-
-
-
+
+
+ + + + +
+
+
+ ${title} +
+
+ ${artist}
+
diff --git a/docroot/css/lms.css b/docroot/css/lms.css index 5a186a35..923a3042 100644 --- a/docroot/css/lms.css +++ b/docroot/css/lms.css @@ -246,7 +246,7 @@ a:hover { .Lms-player-seek { cursor: pointer; z-index: 1; -# touch-action: manipulation; + touch-action: manipulation; } .Lms-player-progress { @@ -257,3 +257,14 @@ a:hover { margin-bottom: 8px; } +.Lms-player-controls { + text-align: center; + white-space: nowrap; +} + +.Lms-player-text { + text-align: center; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +}