aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/style/js-player.css
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-08-03 16:24:54 +0200
committermetamuffin <metamuffin@disroot.org>2023-08-03 16:24:54 +0200
commitf4dd27f910213e2786d776621b738f1d2c32a7c7 (patch)
treeea3d6a4550253438811303443437c61e1441de33 /server/src/routes/ui/style/js-player.css
parent9898998344f9897d59b629ce643a0e243f5e7b09 (diff)
downloadjellything-f4dd27f910213e2786d776621b738f1d2c32a7c7.tar
jellything-f4dd27f910213e2786d776621b738f1d2c32a7c7.tar.bz2
jellything-f4dd27f910213e2786d776621b738f1d2c32a7c7.tar.zst
progress indicator in jsplayer
Diffstat (limited to 'server/src/routes/ui/style/js-player.css')
-rw-r--r--server/src/routes/ui/style/js-player.css21
1 files changed, 19 insertions, 2 deletions
diff --git a/server/src/routes/ui/style/js-player.css b/server/src/routes/ui/style/js-player.css
index 65fb770..303ed96 100644
--- a/server/src/routes/ui/style/js-player.css
+++ b/server/src/routes/ui/style/js-player.css
@@ -3,20 +3,37 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2023 metamuffin <metamuffin.org>
*/
+
+.js-player {
+ --csize: 50px;
+}
+
.js-player .controls {
position: absolute;
bottom: 0px;
left: 0px;
width: 100%;
- height: 50px;
+ height: var(--csize);
background-color: #1d1d1d99;
transition: opacity 0.2s;
}
.js-player .controls button {
padding: 0px;
- width: 50px;
+ width: var(--csize);
height: 100%;
border: none;
background-color: #ffffff10;
}
+
+.pri {
+ padding: 0px;
+ display: inline-block;
+ margin: 0px;
+ width: calc(100% - var(--csize) * 2 - 2px);
+ height: var(--csize);
+}
+.pri-current {
+ height: var(--csize);
+ background-color: #ffffff20;
+}