From c72c5ad4eeddc1138a8b0064b1dba938f9656793 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 28 Aug 2021 02:38:31 +0200 Subject: [PATCH] make the ellipsis more visible --- copyparty/web/browser.css | 10 +++++++++- copyparty/web/ui.css | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 85c96d05..d8fd41d7 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -223,7 +223,9 @@ html.light #ggrid>a.play { } #files tbody tr.sel td, #ggrid>a.sel, -html.light #ggrid>a.sel { +#ggrid>a[tt].sel, +html.light #ggrid>a.sel, +html.light #ggrid>a[tt].sel { color: #fff; background: #925; border-color: #c37; @@ -911,6 +913,9 @@ html.light #ghead { padding: .3em; margin: .5em; } +#ggrid>a[tt] { + background: linear-gradient(135deg, #383838 95%, #555 95%); +} #ggrid>a img { border-radius: .2em; max-width: 10em; @@ -943,6 +948,9 @@ html.light #ggrid>a { border-color: #ddd; box-shadow: 0 .1em .2em #ddd; } +html.light #ggrid>a[tt] { + background: linear-gradient(135deg, #f7f7f7 95%, #ccc 95%); +} html.light #ggrid>a:hover { background: #fff; border-color: #ccc; diff --git a/copyparty/web/ui.css b/copyparty/web/ui.css index 7b05a569..790d4e0e 100644 --- a/copyparty/web/ui.css +++ b/copyparty/web/ui.css @@ -12,7 +12,7 @@ html { } #tt { overflow: hidden; - margin-top: 1em; + margin: .7em 0; padding: 0 1.3em; height: 0; opacity: .1;