fix: resolve workbench final review findings
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
body { margin: 0; min-width: 320px; min-height: 100vh; }
|
||||
button, input, textarea, select { font: inherit; }
|
||||
button { cursor: pointer; }
|
||||
button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
|
||||
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
|
||||
button:disabled { cursor: not-allowed; opacity: 0.55; }
|
||||
|
||||
.login-page {
|
||||
min-height: 100vh;
|
||||
@@ -65,6 +66,20 @@ button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); o
|
||||
padding: 9px 12px;
|
||||
}
|
||||
|
||||
.connection-status,
|
||||
.login-note,
|
||||
.form-error,
|
||||
.channel-header p,
|
||||
.channel-page small,
|
||||
.channel-page > p,
|
||||
.object-inspector > p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.form-error { color: var(--danger); }
|
||||
|
||||
.workbench-shell {
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
@@ -81,6 +96,12 @@ button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); o
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.brand-mark { font-weight: 700; }
|
||||
.search-box { display: grid; gap: 4px; min-width: 0; }
|
||||
.search-box span { color: var(--muted); font-size: 0.75rem; }
|
||||
.topbar-actions { display: flex; gap: 8px; }
|
||||
.topbar-actions button { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); }
|
||||
|
||||
.workbench-body {
|
||||
min-height: 0;
|
||||
display: grid;
|
||||
@@ -116,6 +137,8 @@ button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); o
|
||||
background: #eff6ff;
|
||||
}
|
||||
|
||||
.project-rail small { color: var(--muted); font-size: 0.6875rem; }
|
||||
|
||||
.channel-sidebar,
|
||||
.object-inspector,
|
||||
.channel-stage {
|
||||
@@ -124,18 +147,23 @@ button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); o
|
||||
}
|
||||
|
||||
.channel-group,
|
||||
.recent-sessions,
|
||||
.task-list,
|
||||
.record-list {
|
||||
.record-list,
|
||||
.message-list,
|
||||
.file-list,
|
||||
.cron-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.channel-group button,
|
||||
.recent-sessions button,
|
||||
.task-card,
|
||||
.record-row,
|
||||
.cron-row {
|
||||
.cron-row,
|
||||
.message-row,
|
||||
.file-row,
|
||||
.conversation-summary,
|
||||
.metric-card {
|
||||
width: 100%;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
@@ -145,9 +173,11 @@ button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); o
|
||||
|
||||
.task-card,
|
||||
.record-row,
|
||||
.cron-row {
|
||||
.cron-row,
|
||||
.message-row,
|
||||
.file-row {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
gap: 12px;
|
||||
align-items: start;
|
||||
}
|
||||
@@ -157,9 +187,72 @@ button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); o
|
||||
background: var(--panel-muted);
|
||||
}
|
||||
|
||||
.task-check { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--primary); }
|
||||
.task-status { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 0.75rem; }
|
||||
|
||||
.channel-sidebar header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
|
||||
.channel-sidebar header p,
|
||||
.channel-sidebar h2,
|
||||
.channel-sidebar h3 { margin: 0; }
|
||||
.channel-sidebar h2 { font-size: 1rem; }
|
||||
.channel-sidebar h3 { color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
|
||||
.channel-sidebar header button { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel-muted); }
|
||||
.tag-row,
|
||||
.recent-sessions ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
|
||||
.tag-row li { border: 1px solid var(--border); border-radius: 999px; padding: 3px 7px; color: var(--muted); font-size: 0.75rem; }
|
||||
.channel-group button { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; text-align: left; }
|
||||
.channel-group small { color: var(--muted); }
|
||||
.channel-icon { color: var(--muted); text-align: center; }
|
||||
.recent-sessions { display: grid; gap: 8px; }
|
||||
.recent-sessions li { display: grid; gap: 2px; min-width: 0; padding: 7px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel-muted); }
|
||||
.recent-sessions span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125rem; }
|
||||
.recent-sessions small { color: var(--muted); font-size: 0.6875rem; }
|
||||
|
||||
.channel-stage { background: var(--background); }
|
||||
.channel-page { align-content: start; }
|
||||
.channel-header { border-bottom: 1px solid var(--border); padding-bottom: 12px; }
|
||||
.channel-header h1,
|
||||
.channel-page h2 { margin: 0; }
|
||||
.channel-header h1 { font-size: 1.25rem; }
|
||||
.channel-page h2 { font-size: 0.9375rem; }
|
||||
.channel-page h2 + p { margin: 4px 0; }
|
||||
.metric-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
|
||||
.metric-card { display: grid; gap: 4px; text-align: left; }
|
||||
.metric-card strong { font-size: 1.5rem; }
|
||||
.metric-card span { color: var(--muted); font-size: 0.8125rem; }
|
||||
.message-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
|
||||
.file-row { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
|
||||
.file-row > span { min-width: 40px; border: 1px solid var(--border); border-radius: 4px; padding: 3px 5px; color: var(--muted); font-size: 0.6875rem; text-align: center; text-transform: uppercase; }
|
||||
.message-row p,
|
||||
.cron-row p,
|
||||
.conversation-summary p { margin: 4px 0; }
|
||||
.message-row button,
|
||||
.file-row button,
|
||||
.task-card > button,
|
||||
.cron-row button,
|
||||
.conversation-summary button,
|
||||
.copy-url-button,
|
||||
.object-inspector button { border: 1px solid var(--border); border-radius: 6px; background: var(--panel); padding: 6px 9px; }
|
||||
.session-layout { display: grid; grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr); gap: 12px; }
|
||||
.session-list { display: grid; align-content: start; gap: 6px; }
|
||||
.session-list button { display: grid; gap: 3px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); padding: 9px; text-align: left; }
|
||||
.session-list button.active { border-color: var(--primary); background: #eff6ff; }
|
||||
.session-list small { color: var(--muted); }
|
||||
.conversation-summary { align-content: start; }
|
||||
.custom-link { color: var(--primary-strong); font-weight: 600; width: max-content; }
|
||||
.copy-url-button { width: max-content; }
|
||||
.copy-feedback { margin: 0; color: var(--success); font-size: 0.8125rem; }
|
||||
|
||||
.object-inspector {
|
||||
align-content: start;
|
||||
grid-auto-rows: min-content;
|
||||
}
|
||||
|
||||
.inspector-tabs {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
align-content: start;
|
||||
grid-auto-rows: min-content;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
@@ -170,17 +263,21 @@ button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); o
|
||||
|
||||
@media (max-width: 920px) {
|
||||
.workspace-topbar {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
height: auto;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.search-box { grid-column: 1 / -1; grid-row: 2; }
|
||||
.topbar-actions { grid-column: 2; grid-row: 1; }
|
||||
|
||||
.workbench-shell {
|
||||
grid-template-rows: auto 1fr;
|
||||
}
|
||||
|
||||
.workbench-body {
|
||||
grid-template-columns: 1fr;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.project-rail,
|
||||
@@ -189,4 +286,40 @@ button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); o
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.project-rail {
|
||||
grid-template-columns: none;
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: 48px;
|
||||
align-items: center;
|
||||
max-height: 76px;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.project-rail button { min-width: 48px; min-height: 48px; }
|
||||
|
||||
.channel-sidebar {
|
||||
align-content: start;
|
||||
max-height: 220px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.channel-group,
|
||||
.tag-row,
|
||||
.recent-sessions ul {
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: minmax(132px, max-content);
|
||||
grid-template-columns: none;
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.channel-group button { min-width: 160px; }
|
||||
.recent-sessions li { min-width: 160px; }
|
||||
.channel-stage { max-height: 36vh; overflow: auto; }
|
||||
.object-inspector { max-height: 288px; overflow: auto; }
|
||||
.session-layout { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user