Simplify server file toolbar

This commit is contained in:
npc0-hue
2026-08-26 15:24:21 +08:00
parent c996297c9d
commit d395019848
3 changed files with 15 additions and 13 deletions
+4 -3
View File
@@ -455,9 +455,10 @@ to{transform:translate(-50%,-50%) rotate(calc(var(--construct-drift) + 360deg))}
.server-file-back-icon{transform:rotate(180deg)}
.server-file-path-chip{display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink-soft);font-size:12px;font-weight:800;white-space:nowrap}
.server-file-path-child{color:var(--ink-faint)}
.server-file-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) auto;gap:8px;align-items:center;min-width:0}.server-file-toolbar-has-tabs{grid-template-columns:minmax(160px,.8fr) minmax(320px,1.2fr) auto}
.server-file-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.server-file-toolbar .server-file-pathbar{flex:0 0 auto}
.server-file-directory-tabs{display:flex;gap:6px;overflow:auto;min-width:0;padding-bottom:2px}
.server-file-search{display:flex;align-items:center;gap:7px;min-width:0;min-height:36px;padding:0 8px;border:1px solid var(--line);border-radius:4px;background:var(--control-surface);box-shadow:none}
.server-file-search{display:flex;align-items:center;gap:7px;flex:1 1 320px;min-width:240px;min-height:36px;padding:0 8px;border:1px solid var(--line);border-radius:4px;background:var(--control-surface);box-shadow:none}
.server-file-search input[type=search]{min-width:120px;flex:1 1 auto;border:0;background:transparent;color:var(--ink);font:inherit;outline:0}
.server-file-search label{display:inline-flex;align-items:center;gap:5px;color:var(--ink-faint);font-size:12px;font-weight:800;white-space:nowrap}
.server-file-actions{justify-content:flex-end;flex-wrap:nowrap}
@@ -726,7 +727,7 @@ to{transform:translate(-50%,-50%) rotate(calc(var(--construct-drift) + 360deg))}
.section-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
.server-toolbar{align-items:stretch}
.server-toolbar input[type=search],.server-toolbar select{flex:1 1 100%;min-width:0}
.server-file-toolbar{grid-template-columns:1fr}.server-file-search,.server-file-actions,.server-file-pathbar{align-items:stretch;flex-wrap:wrap}.server-file-search input[type=search]{min-width:0}.server-file-actions{justify-content:stretch}.server-file-actions>*{flex:1 1 auto}
.server-file-toolbar{align-items:stretch}.server-file-search,.server-file-actions,.server-file-pathbar{align-items:stretch;flex-wrap:wrap}.server-file-search input[type=search]{min-width:0}.server-file-actions{justify-content:stretch}.server-file-actions>*{flex:1 1 auto}
.plugin-control-row,.server-card-head,.server-detail-title-row{grid-template-columns:1fr;align-items:stretch}
.server-card-head,.server-detail-title-row{display:grid}
.server-detail-title-row .action-strip{align-items:stretch}