From b217ecae2b1953bd6eac6a956bdd397701d6a086 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Mon, 27 Apr 2026 00:47:10 +0200 Subject: [PATCH] fix shadow color of open "+" menu --- copyparty/web/browser.css | 5 +++-- copyparty/web/browser.js | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 3e30edd8..243da9a9 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -1307,11 +1307,13 @@ html.dz #flogout { font-size: xx-large; font-weight: bold; box-shadow: 0 0 .5em color-mix(var(--a) 20%, transparent); - transition: all .15s; border-radius: 10px; border-radius: calc(var(--radius) * 1.2); text-align: right; } +#up_quick.open { + box-shadow: 0 0 .5em color-mix(var(--mp-sh) 20%, transparent); +} #up_quick_more { display: none; min-width: 4em; @@ -1321,7 +1323,6 @@ html.dz #flogout { } #up_quick_more.vis { display: block; - box-shadow: 0 0 .5em color-mix(var(--mp-sh) 20%, transparent); } #up_quick_more a:hover { background: var(--btn-h-bg); diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 59bf7d25..86737283 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -960,6 +960,7 @@ ebi('up_quick').onclick = function(){ clmod(btn, 'on', 't'); var isOff = clgot(btn, 'on'); // button has inverted display logic clmod(ebi('up_quick_more'), 'vis', !isOff) + clmod(ebi('up_quick'), 'open', !isOff) } ebi('uq_nd').onclick = function(){ mktemp(true);