From 6ba73b5085e8fbae975467604c2c7d629f008a36 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Tue, 9 Jun 2026 22:30:54 +0200 Subject: [PATCH] frutiger radius matching --- copyparty/web/browser.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 0b70cd33..171f058f 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -264,7 +264,8 @@ html.by .btn::after { rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1) ); - border-radius: var(--radius) var(--radius) calc(var(--radius) / 2) calc(var(--radius) / 2); + --r2: calc(var(--radius) - 3px); + border-radius: var(--r2) var(--r2) calc(var(--r2) / 2) calc(var(--r2) / 2); transition: background 400ms ease; pointer-events: none; } @@ -1113,7 +1114,7 @@ tr.play td:nth-child(1) a { color: #3584e4; z-index: 1; border-radius: 5px; - border-radius: var(--radius); + border-radius: calc(var(--radius) - 2px); max-width: 10em; max-width: calc(var(--grid-sz) - 4px); margin: 0 auto;