diff --git a/app/server/public/css/style.css b/app/server/public/css/style.css index f6de75f..963b79a 100644 --- a/app/server/public/css/style.css +++ b/app/server/public/css/style.css @@ -69,6 +69,32 @@ body { .badge.cancelled { background: #fdecea; color: #b3382c; } .session-del { color: #c33; background: none; border: none; font-size: 12px; padding: 6px; } +/* ---- 任务搜索 + 归档折叠(2.0) ---- */ +.search-bar { display: flex; gap: 8px; align-items: center; padding: 10px 12px 0; } +.search-bar input { + flex: 1; border: 1px solid #dde1ea; border-radius: 18px; padding: 8px 14px; + font-size: 14px; background: #fff; outline: none; color: #222; appearance: none; +} +.search-bar input:focus { border-color: #2a5299; } +.search-cancel { background: none; border: none; color: #2a5299; font-size: 14px; padding: 6px 4px; cursor: pointer; flex: none; } +.search-tip { color: #8891a5; font-size: 12px; padding: 2px 4px 8px; } +.done-head { + display: flex; align-items: center; justify-content: center; gap: 4px; + color: #77818f; font-size: 13px; padding: 10px 0 12px; cursor: pointer; user-select: none; +} +.done-head:active { color: #445; } +.done-head .chev { + width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; + stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; +} +.done-head.open .chev { transform: rotate(180deg); } +.load-more { + width: 100%; background: none; border: 1px dashed #ccd2dd; border-radius: 10px; + color: #667; font-size: 13px; padding: 9px; margin-bottom: 10px; cursor: pointer; +} +.load-more:active { background: #eceef3; } +.load-more:disabled { opacity: 0.5; cursor: default; } + /* ---- 任务状态栏 ---- */ .phase-bar { display: flex; align-items: center; diff --git a/app/server/public/index.html b/app/server/public/index.html index dab9cf5..23c87c1 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -18,11 +18,18 @@