From 0fe4aa6418a3166b88523188937d28e8be5116b0 Mon Sep 17 00:00:00 2001
From: ed
Date: Thu, 15 Jul 2021 01:04:38 +0200
Subject: [PATCH] ux tweaks
---
copyparty/web/browser.css | 6 +++++-
copyparty/web/util.js | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css
index fc64644f..b6473b6b 100644
--- a/copyparty/web/browser.css
+++ b/copyparty/web/browser.css
@@ -902,7 +902,8 @@ html.light #ggrid a:hover {
#pvol,
#barbuf,
#barpos,
-#u2conf label {
+#u2conf label,
+#ops {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
@@ -1203,6 +1204,9 @@ html.light #tree::-webkit-scrollbar {
border-radius: .4em;
padding: .3em .6em;
}
+html.light #bbox-overlay figcaption a {
+ color: #0bf;
+}
.full-image:before {
content: "";
display: inline-block;
diff --git a/copyparty/web/util.js b/copyparty/web/util.js
index 13676d23..8cead1fc 100644
--- a/copyparty/web/util.js
+++ b/copyparty/web/util.js
@@ -27,7 +27,7 @@ function vis_exh(msg, url, lineNo, columnNo, error) {
window.onerror = undefined;
window['vis_exh'] = null;
- var html = ['you hit a bug!
try to reset copyparty settings if you are stuck here
please send me a screenshot arigathanks gozaimuch: ed/irc.rizon.net
or ed#2644
(and if you can, press F12 and include the "Console" tab in the screenshot too)
', + var html = ['
try to reset copyparty settings if you are stuck here
please send me a screenshot arigathanks gozaimuch: ed/irc.rizon.net
or ed#2644
(and if you can, press F12 and include the "Console" tab in the screenshot too)
',
esc(url + ' @' + lineNo + ':' + columnNo), '
' + esc(String(msg)) + '