优化了 还是卡

This commit is contained in:
2026-08-25 15:34:31 +08:00
parent fa93927d81
commit 5437b1b267
5 changed files with 58 additions and 13 deletions
+5 -3
View File
@@ -232,12 +232,14 @@ canvas { display: block; width: 100%; height: 100%; background: #070d18; }
.taskflowRuntimeHeader { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 16px 14px; border-bottom: 1px solid #20314b; background: #0b1524; }
.taskflowRuntimeHeader h2 { margin: 4px 0 0; font-size: 21px; }
.taskflowRuntimeHeader p { margin: 5px 0 0; color: #71839e; font-size: 11px; }
.taskflowWorkerGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 9px; padding: 11px; }
.taskflowWorkerGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-content: start; gap: 9px; max-height: min(58vh, 720px); overflow-y: auto; padding: 11px; scrollbar-gutter: stable; }
.taskflowWorkerGrid article { padding: 10px; border: 1px solid #1f334e; border-radius: 8px; background: #091321; }
.taskflowWorkerGrid article > header { display: flex; justify-content: space-between; color: #dce8f8; font-size: 11px; }
.taskflowWorkerGrid article > header span { color: #5ce4c2; font: 11px/1 ui-monospace, monospace; }
.taskflowUtilization { height: 6px; overflow: hidden; margin: 9px 0; border-radius: 99px; background: #18273b; }
.taskflowUtilization i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3aa58d, #5ce4c2); }
.taskflowUtilization { position: relative; height: 9px; overflow: hidden; margin: 9px 0; border-radius: 99px; background: #18273b; }
.taskflowUtilization i, .taskflowUtilization b { position: absolute; left: 0; display: block; border-radius: inherit; }
.taskflowUtilization i { top: 0; height: 100%; background: #2b887c; }
.taskflowUtilization b { bottom: 0; height: 4px; background: #5ce4c2; }
.taskflowWorkerGrid dl { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0; }
.taskflowWorkerGrid dl > div { display: flex; justify-content: space-between; gap: 5px; color: #71839e; font-size: 9px; }
.taskflowWorkerGrid dd { margin: 0; color: #aec0d8; font-family: ui-monospace, monospace; }