diff options
author | metamuffin <metamuffin@disroot.org> | 2023-08-03 16:24:54 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-08-03 16:24:54 +0200 |
commit | f4dd27f910213e2786d776621b738f1d2c32a7c7 (patch) | |
tree | ea3d6a4550253438811303443437c61e1441de33 /server/src/routes/ui/style/js-player.css | |
parent | 9898998344f9897d59b629ce643a0e243f5e7b09 (diff) | |
download | jellything-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.css | 21 |
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; +} |