aboutsummaryrefslogtreecommitdiff
path: root/web/style
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-02-07 17:32:18 +0100
committermetamuffin <metamuffin@disroot.org>2024-02-07 17:32:18 +0100
commitc2e50cef75712a119f9b6cafc9c12d2ed677d21e (patch)
tree028394b72b55fa9a0603c53432f392dfb859026a /web/style
parentc4362adc4af0c4dcdbb2346a9e077bdf580d8007 (diff)
downloadjellything-c2e50cef75712a119f9b6cafc9c12d2ed677d21e.tar
jellything-c2e50cef75712a119f9b6cafc9c12d2ed677d21e.tar.bz2
jellything-c2e50cef75712a119f9b6cafc9c12d2ed677d21e.tar.zst
player: improve volume slider, fix native player button
Diffstat (limited to 'web/style')
-rw-r--r--web/style/js-player.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/web/style/js-player.css b/web/style/js-player.css
index 1d205a8..e2c5c10 100644
--- a/web/style/js-player.css
+++ b/web/style/js-player.css
@@ -207,3 +207,32 @@ ul.jsp-track-list {
ul.jsp-track-list li.active {
background-color: #047a0073;
}
+
+.jsp-volumecontrol input {
+ appearance: none;
+ width: 100%;
+ height: 24px;
+ background-color: black;
+ opacity: 0.5;
+ outline: none;
+}
+.jsp-volumecontrol input:hover {
+ opacity: 1;
+}
+.jsp-volumecontrol input::-webkit-slider-thumb,
+.jsp-volumecontrol input::-moz-range-thumb {
+ width: 24px;
+ height: 24px;
+ border-radius: 0px;
+ background-color: #06ad00;
+ cursor: ew-resize;
+ border: 0px solid transparent;
+}
+
+.jsp-volume {
+ display: inline-block;
+ margin-left: 2em;
+ font-family: monospace;
+ font-size: large;
+ width: 20em;
+}