From 69b8c7f23c9b0d7454cc74d7c9e22ec0a134c55b Mon Sep 17 00:00:00 2001 From: oliver Date: Sun, 2 Aug 2026 19:33:37 +0800 Subject: [PATCH] Tone down WebCRT SFTP column headers to plain text. Global app-main button styles were painting white pills on sort headers; override them to small muted labels that match the panel. Co-authored-by: Cursor --- web/src/index.css | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/web/src/index.css b/web/src/index.css index cd6bbeb..47092d7 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -3216,39 +3216,48 @@ pre { background: #0f172a; color: #64748b; font-size: 10px; - font-weight: 600; + font-weight: 500; text-align: left; - text-transform: uppercase; - letter-spacing: 0.04em; - padding: 4px 8px 4px 6px; - border-bottom: 1px solid #334155; + padding: 3px 6px 3px 4px; + border-bottom: 1px solid #1e293b; white-space: nowrap; user-select: none; overflow: hidden; } +/* Beat .app-main button { white pill } — plain header text like the file rows. */ +.app-main .webcrt-sftp__th-label, .webcrt-sftp__th-label { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - padding: 0 4px 0 0; margin: 0; - border: 0; + padding: 0; + border: none; + border-radius: 0; background: transparent; - color: inherit; - font: inherit; + box-shadow: none; + color: #64748b; + font-family: inherit; + font-size: 10px; + font-weight: 500; + line-height: 1.3; + letter-spacing: normal; text-align: inherit; - text-transform: inherit; - letter-spacing: inherit; + text-transform: none; cursor: pointer; } +.app-main .webcrt-sftp__th-label:hover, .webcrt-sftp__th-label:hover { color: #94a3b8; + background: transparent; + border: none; } +.app-main .webcrt-sftp__table thead th.is-sorted .webcrt-sftp__th-label, .webcrt-sftp__table thead th.is-sorted .webcrt-sftp__th-label { color: #94a3b8; }