diff --git a/automaton/dashboard/html/index.html b/automaton/dashboard/html/index.html index 3e91327..81018dc 100644 --- a/automaton/dashboard/html/index.html +++ b/automaton/dashboard/html/index.html @@ -4,9 +4,6 @@ Automaton Dashboard - - - diff --git a/automaton/dashboard/html/styles.css b/automaton/dashboard/html/styles.css index a7cee0c..35c71ec 100644 --- a/automaton/dashboard/html/styles.css +++ b/automaton/dashboard/html/styles.css @@ -1,37 +1,50 @@ :root { - --goku: #0b0b1a; --gohan: #1a1b2e; --piccolo: #2b2c44; - --beerus: #3d3e5c; --bulma: #ff4d4d; --chichi: #ffb800; - --goten: #00c853; --trunks: #00bfff; --hercule: #ffffff; - --popo: #1a1a2e; - --bg-primary: var(--goku); --bg-secondary: var(--gohan); --bg-card: var(--piccolo); - --bg-card-hover: #35365a; --text-primary: var(--hercule); --text-secondary: #9a9ab0; - --text-muted: #6a6a80; --border-color: var(--beerus); --border-active: #5a5b8a; - --accent: var(--trunks); --accent-hover: #67d4ff; --success: var(--goten); - --success-bg: rgba(0,200,83,0.12); --warning: var(--chichi); - --warning-bg: rgba(255,184,0,0.12); --error: var(--bulma); - --error-bg: rgba(255,77,77,0.12); --info: var(--trunks); --info-bg: rgba(0,191,255,0.12); - --col-backlog: #78909c; --col-research: #4fc3f7; --col-decomposition: #ce93d8; - --col-design: #26c6da; --col-test_design: #26c6da; --col-implement: #69f0ae; - --col-bug_find: #ffb74d; --col-adv_bug_find: #ff5252; --col-doc_review: #ffd740; - --col-referee: #ce93d8; --col-done: #69f0ae; --col-blocked: #ff5252; - --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; + --bg-primary: #1a1c1e; --bg-secondary: #202124; --bg-card: #2a2c2e; + --bg-card-hover: #323436; --text-primary: #e8eaed; --text-secondary: #9aa0a6; + --text-muted: #70757a; --border-color: #3c4043; --border-active: #8ab4f8; + --primary: #8ab4f8; --primary-hover: #aecbfa; + --secondary: #99c4dc; --tertiary: #c7b8d9; + --success: #81c995; --success-bg: rgba(129,201,149,0.12); + --warning: #fdd663; --warning-bg: rgba(253,214,99,0.12); + --error: #f28b82; --error-bg: rgba(242,139,130,0.12); + --info: #8ab4f8; --info-bg: rgba(138,180,248,0.12); + --col-backlog: #9aa0a6; --col-research: #8ab4f8; --col-decomposition: #c7b8d9; + --col-design: #81c995; --col-test_design: #81c995; --col-implement: #a8dab5; + --col-bug_find: #fdd663; --col-adv_bug_find: #f28b82; --col-doc_review: #fde293; + --col-referee: #c7b8d9; --col-done: #a8dab5; --col-blocked: #f28b82; + --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; + --elevation-0: none; + --elevation-1: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.15); + --elevation-2: 0 2px 6px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.15); + --elevation-3: 0 4px 12px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.15); + --elevation-4: 0 8px 24px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.15); + --elevation-5: 0 16px 48px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.15); } [data-theme="dark"] { } [data-theme="light"] { - --goku: #f0f0f5; --gohan: #ffffff; --piccolo: #f5f5fa; - --beerus: #e0e0e8; --bulma: #e53935; --chichi: #f9a825; - --goten: #43a047; --trunks: #0091ea; --hercule: #1a1a2e; - --popo: #ffffff; - --bg-primary: var(--goku); --bg-secondary: var(--gohan); --bg-card: var(--piccolo); - --bg-card-hover: #ebebf0; --text-primary: var(--hercule); --text-secondary: #5a5a6a; - --text-muted: #9a9ab0; --border-color: var(--beerus); --border-active: #b0b0c0; - --accent: var(--trunks); --accent-hover: #0077c2; - --success-bg: rgba(67,160,71,0.08); --warning-bg: rgba(249,168,37,0.08); - --error-bg: rgba(229,57,53,0.08); --info-bg: rgba(0,145,234,0.08); + --bg-primary: #f8f9fa; --bg-secondary: #ffffff; --bg-card: #ffffff; + --bg-card-hover: #f0f2f4; --text-primary: #202124; --text-secondary: #5f6368; + --text-muted: #9aa0a6; --border-color: #dadce0; --border-active: #1a73e8; + --primary: #1a73e8; --primary-hover: #1557b0; + --secondary: #5f6368; --tertiary: #7c5e8c; + --success: #188038; --success-bg: rgba(24,128,56,0.08); + --warning: #ea8600; --warning-bg: rgba(234,134,0,0.08); + --error: #d93025; --error-bg: rgba(217,48,37,0.08); + --info: #1a73e8; --info-bg: rgba(26,115,232,0.08); + --col-backlog: #5f6368; --col-research: #1a73e8; --col-decomposition: #9334e6; + --col-design: #188038; --col-test_design: #188038; --col-implement: #34a853; + --col-bug_find: #ea8600; --col-adv_bug_find: #d93025; --col-doc_review: #f9ab00; + --col-referee: #9334e6; --col-done: #34a853; --col-blocked: #d93025; + --elevation-0: none; + --elevation-1: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04); + --elevation-2: 0 2px 6px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04); + --elevation-3: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04); + --elevation-4: 0 8px 24px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04); + --elevation-5: 0 16px 48px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.04); } *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } body { - font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; + font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; background: var(--bg-primary); color: var(--text-primary); height: 100vh; overflow: hidden; line-height: 1.5; font-size: 14px; -webkit-font-smoothing: antialiased; @@ -42,14 +55,17 @@ body { background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); flex-shrink: 0; position: relative; z-index: 10; } +.header { + box-shadow: var(--elevation-1); +} .header::after { content: ''; position: absolute; inset: 0; - background: linear-gradient(135deg, rgba(0,191,255,0.04), transparent 60%); + background: linear-gradient(135deg, rgba(138,180,248,0.04), transparent 60%); pointer-events: none; } .header-left { display: flex; align-items: center; gap: 10px; } .scope-badge { font-size: 20px; } -.scope-label { font-weight: 600; color: var(--accent); font-size: 15px; letter-spacing: -0.01em; } +.scope-label { font-weight: 600; color: var(--primary); font-size: 15px; letter-spacing: -0.01em; } .header-center { flex: 1; display: flex; justify-content: center; } .view-tabs { display: flex; gap: 3px; background: var(--bg-primary); @@ -61,7 +77,7 @@ body { font-size: 13px; font-weight: 500; transition: all 0.15s; letter-spacing: 0.01em; } .tab:hover { color: var(--text-primary); background: var(--bg-card); } -.tab.active { color: white; background: var(--accent); box-shadow: 0 2px 12px rgba(0,191,255,0.3); } +.tab.active { color: white; background: var(--primary); } .header-right { display: flex; align-items: center; gap: 16px; } .stats-mini { display: flex; gap: 14px; font-size: 12px; color: var(--text-secondary); } .stat-total strong, .stat-wip strong, .stat-done strong, .stat-blocked strong { color: var(--text-primary); } @@ -76,8 +92,8 @@ body { } .btn:hover { background: var(--bg-card-hover); border-color: var(--border-active); } .btn-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 14px; padding: 0; } -.btn-primary { background: var(--accent); color: white; border: none; padding: 8px 16px; font-weight: 600; box-shadow: 0 2px 12px rgba(0,191,255,0.25); } -.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 16px rgba(0,191,255,0.35); transform: translateY(-1px); } +.btn-primary { background: var(--primary); color: white; border: none; padding: 8px 16px; font-weight: 600; } +.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--elevation-2); } .btn-close { background: transparent; border: none; color: var(--text-muted); font-size: 16px; padding: 4px 8px; } .btn-close:hover { color: var(--error); } .filter-bar { @@ -93,7 +109,7 @@ body { background: var(--bg-primary); color: var(--text-primary); border-radius: var(--radius-sm); font-size: 12px; font-family: inherit; } -.filter-group input:focus, .filter-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(0,191,255,0.15); } +.filter-group input:focus, .filter-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(138,180,248,0.2); } .main-content { flex: 1; overflow: hidden; position: relative; } .view { display: none; height: 100%; overflow-y: auto; padding: 16px 20px; } .view.active { display: block; } @@ -101,8 +117,7 @@ body { .column { flex: 1; min-width: 190px; max-width: 300px; display: flex; flex-direction: column; background: var(--bg-secondary); - border-radius: var(--radius-lg); border: 1px solid var(--border-color); - box-shadow: 0 4px 24px rgba(0,0,0,0.2); + border-radius: var(--radius-md); border: 1px solid var(--border-color); } .column-header { display: flex; justify-content: space-between; align-items: center; @@ -139,11 +154,12 @@ body { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--border-color); border-radius: 0 2px 2px 0; } -.task-card:hover { background: var(--bg-card-hover); border-color: var(--border-active); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); } -.task-card.selected { border-color: var(--accent); background: var(--bg-card-hover); box-shadow: 0 0 0 1px var(--accent), 0 4px 20px rgba(0,191,255,0.15); } +.task-card:hover { background: var(--bg-card-hover); border-color: var(--border-active); box-shadow: var(--elevation-2); } +.task-card.selected { border-color: var(--primary); background: var(--bg-card-hover); box-shadow: var(--elevation-1); outline: 1px solid var(--primary); } .task-card[data-status="done"]::before { background: var(--col-done); } .task-card[data-status="blocked"]::before { background: var(--col-blocked); } -.task-card[data-status="in_progress"]::before { background: var(--accent); } +.task-card[data-status="in_progress"]::before { background: var(--primary); } +.task-card { box-shadow: var(--elevation-0); } .task-card-sublabel { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; margin-left: 1px; } .task-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; } .task-card-name { font-size: 13px; font-weight: 500; color: var(--text-primary); letter-spacing: -0.01em; } @@ -170,7 +186,7 @@ body { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); width: 90%; max-width: 720px; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; - box-shadow: 0 24px 80px rgba(0,0,0,0.4); animation: slideUp 0.2s ease; + box-shadow: var(--elevation-5); animation: slideUp 0.2s ease; } @keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } .detail-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--border-color); flex-shrink: 0; } @@ -205,7 +221,7 @@ body { .stat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; text-align: center; } .stat-card .stat-value { font-size: 36px; font-weight: 700; margin-bottom: 2px; letter-spacing: -0.03em; } .stat-card .stat-label { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; } -.stat-card.total .stat-value { color: var(--accent); } +.stat-card.total .stat-value { color: var(--primary); } .stat-card.wip .stat-value { color: var(--warning); } .stat-card.done .stat-value { color: var(--success); } .stat-card.blocked .stat-value { color: var(--error); } @@ -251,7 +267,7 @@ body { .footer { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; background: var(--bg-secondary); border-top: 1px solid var(--border-color); font-size: 11px; color: var(--text-muted); flex-shrink: 0; } .help-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 200; align-items: center; justify-content: center; backdrop-filter: blur(4px); } .help-modal.open { display: flex; animation: fadeIn 0.15s ease; } -.help-modal-content { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; max-width: 520px; width: 90%; box-shadow: 0 24px 80px rgba(0,0,0,0.4); animation: slideUp 0.2s ease; } +.help-modal-content { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; max-width: 520px; width: 90%; box-shadow: var(--elevation-5); animation: slideUp 0.2s ease; } .help-modal-content h2 { font-size: 18px; margin-bottom: 18px; color: var(--text-primary); font-weight: 600; } .help-table { width: 100%; margin-bottom: 18px; border-collapse: collapse; } .help-table td { padding: 7px 10px; font-size: 13px; color: var(--text-secondary); border-bottom: 1px solid var(--border-color); } @@ -279,7 +295,7 @@ kbd { .review-btn.changes:hover { background: var(--error-bg); } .review-comment { font-size: 12px; color: var(--text-secondary); padding: 10px 12px; background: var(--bg-primary); border-radius: var(--radius-sm); margin-top: 6px; border-left: 2px solid var(--border-color); } .review-textarea { width: 100%; margin-top: 8px; padding: 10px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 12px; font-family: inherit; resize: vertical; } -.review-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(0,191,255,0.15); } +.review-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(138,180,248,0.2); } .task-card-artifacts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .artifact-badge { font-size: 10px; padding: 2px 8px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 4px; color: var(--text-secondary); font-family: 'SF Mono', 'Fira Code', monospace; font-weight: 500; }