From 98aaab02c504c5d1d8e97e2ea534e20b2cb69a67 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 18 Jun 2021 20:49:38 +0200 Subject: [PATCH] block scroll events, hilight selected radios --- copyparty/web/browser.css | 8 ++++++++ copyparty/web/browser.html | 2 +- copyparty/web/browser.js | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 99c2d5a5..1bd876e5 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -311,6 +311,7 @@ html.light #ggrid a.sel { height: 6em; width: 100%; z-index: 3; + touch-action: none; transition: bottom 0.15s; } #widget.open { @@ -548,6 +549,12 @@ input[type="checkbox"]+label { input[type="checkbox"]:checked+label { color: #fc5; } +input[type="radio"]:checked+label { + color: #fc0; +} +html.light input[type="radio"]:checked+label { + color: #07c; +} input.eq_gain { width: 3em; text-align: center; @@ -1115,6 +1122,7 @@ html.light #tree::-webkit-scrollbar { opacity: 0; position: fixed; overflow: hidden; + touch-action: none; top: 0; left: 0; width: 100%; diff --git a/copyparty/web/browser.html b/copyparty/web/browser.html index ac3cc561..67ddf599 100644 --- a/copyparty/web/browser.html +++ b/copyparty/web/browser.html @@ -17,7 +17,7 @@
--- {%- if have_up2k_idx %} - 🔎 + 🔎 🚀 {%- else %} 🚀 diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 76e93e8a..8e429b22 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -767,7 +767,7 @@ var audio_eq = (function () { } var html = [''], + 'enable'], h2 = [], h3 = [], h4 = []; var vs = [];
', - 'enable