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 <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-02 19:33:37 +08:00
parent e684339511
commit 69b8c7f23c

View file

@ -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;
}