From a714713ea25681a656dc91c874900fd0f838aabb Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Mon, 27 Apr 2026 23:21:01 +0200 Subject: [PATCH] file list style adjustments --- copyparty/web/browser.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 741c5795..0bc0156d 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -678,8 +678,7 @@ html.y #path { } #files tbody a { display: block; - padding: .5em 0; - margin: -.3em 0; + padding: .5em; scroll-margin-top: 45vh; } #files tr { @@ -715,7 +714,7 @@ a:hover { } #files a:hover { color: var(--fg-max); - background: var(--bg-d3); + background: color-mix(var(--a) 20%, transparent); text-decoration: underline; } #files thead th { @@ -749,8 +748,7 @@ a:hover { } #files tbody tr:hover td, #files tbody tr:hover td+td { - background: var(--bg-d1); - box-shadow: 0 1px 0 var(--bg-u5) inset, 0 -1px 0 var(--bg-u5) inset; + background: color-mix(var(--bg-max) 30%, transparent); } #files thead th { padding: .3em; @@ -774,6 +772,9 @@ html #files.hhpick thead th { word-wrap: break-word; overflow: hidden; } +#files td:has(a) { + padding: 0; +} #files tr.fade a { color: #999; color: rgba(255, 255, 255, 0.4);