style.css
7.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* U-008: minimal shell styling, nothing to design-review yet -- real look
and feel is PH3, starting from docs/wireframes/*.html. */
body { font-family: system-ui, sans-serif; margin: 0; }
#nav { display: flex; gap: 1rem; padding: 1rem; border-bottom: 1px solid #ddd; }
#nav a { text-decoration: none; color: #333; }
#nav a.active { font-weight: bold; }
#app { padding: 1rem; }
/* U-022/U-023: v_project_setup/v_goal_composer/v_bug_feedback -- class
names match docs/wireframes/v_*.html */
.top-back a { color: #6b7280; text-decoration: none; }
.page { padding: 28px; max-width: 560px; margin: 0 auto; }
.page h1 { font-size: 22px; margin: 0 0 4px; }
.page .page-sub { color: #6b7280; font-size: 13px; margin-bottom: 28px; }
.panel { border: 1px solid #e5e7eb; border-radius: 10px; padding: 24px; background: #f9fafb; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 9px 10px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 14px; font-family: inherit; }
.field input[readonly] { background: #f3f4f6; color: #6b7280; }
.field .hint { font-size: 12px; color: #6b7280; margin-top: 5px; }
.btn { display: inline-block; padding: 9px 16px; border-radius: 6px; border: 1px solid #e5e7eb; background: #fff; font-size: 14px; cursor: pointer; }
.btn-primary { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.btn-row { display: flex; gap: 10px; margin-top: 22px; }
.confirm-banner { background: #fffbeb; border: 1px solid #f59e0b; border-radius: 8px; padding: 12px 14px; font-size: 13px; margin-top: 16px; }
.error-banner { background: #fef2f2; border: 1px solid #ef4444; border-radius: 8px; padding: 12px 14px; font-size: 13px; margin-bottom: 16px; }
.success-banner { background: #f0fdf4; border: 1px solid #22c55e; border-radius: 8px; padding: 12px 14px; font-size: 13px; margin-bottom: 16px; }
.success-banner a { margin-left: 8px; color: #4f46e5; }
/* U-025: v_dashboard/v_task_board/v_task_detail -- class names match
docs/wireframes/v_dashboard.html, v_task_board.html, v_task_detail.html */
:root {
--status-pending: #9ca3af; --status-running: #3b82f6; --status-reflecting: #eab308;
--status-waiting-quota: #7dd3fc; --status-blocked: #ef4444; --status-done: #22c55e;
}
.page.page-wide { max-width: 1200px; }
.hint { font-size: 12px; color: #6b7280; }
.info-banner { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.info-banner a { color: #4f46e5; }
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.grid .panel { margin-bottom: 20px; }
.panel h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; margin: 0 0 14px; }
.org-strip { display: flex; align-items: center; gap: 0; margin-bottom: 6px; }
.org-node { border: 2px solid #e5e7eb; border-radius: 8px; padding: 10px 18px; text-align: center; background: #fff; flex: 1; font-size: 12px; }
.org-node.active { border-color: var(--status-running); background: #eff6ff; }
.org-node .role { font-weight: 600; font-size: 13px; }
.org-node .hint { margin-top: 2px; }
.org-arrow { flex: 0 0 30px; text-align: center; color: #6b7280; }
.task-summary .row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid #e5e7eb; }
.task-summary .row:last-child { border-bottom: none; }
.progress { height: 8px; border-radius: 4px; background: #e5e7eb; overflow: hidden; margin-top: 6px; }
.progress .fill { height: 100%; background: #4f46e5; }
.event-item { font-size: 12px; padding: 8px 0; border-bottom: 1px solid #e5e7eb; }
.event-item .t { color: #6b7280; }
.actions { display: flex; gap: 10px; margin-bottom: 20px; }
.filters { display: flex; gap: 10px; margin-bottom: 16px; }
.filters input, .filters select { padding: 8px 10px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data-table th { text-align: left; padding: 8px 10px; border-bottom: 2px solid #e5e7eb; color: #6b7280; font-weight: 600; }
table.data-table td { padding: 10px; border-bottom: 1px solid #e5e7eb; }
table.data-table tr[data-task-id] { cursor: pointer; }
table.data-table tr[data-task-id]:hover td { background: #f9fafb; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #fff; background: #6b7280; }
.badge.done { background: var(--status-done); }
.badge.coding, .badge.validating { background: var(--status-running); }
.badge.blocked_pending_human, .badge.coding_failed, .badge.planning_failed { background: var(--status-blocked); }
.badge.queued { background: var(--status-pending); }
.breadcrumb { font-size: 13px; color: #6b7280; margin-bottom: 6px; }
.breadcrumb a { color: #6b7280; }
.alert-banner { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 8px; padding: 12px 14px; font-size: 13px; margin: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.btn-danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.meta-row { display: flex; gap: 28px; font-size: 13px; margin-bottom: 6px; }
.meta-row b { display: block; font-size: 11px; color: #6b7280; font-weight: 600; }
.see-more { font-size: 12px; color: #6b7280; margin-top: 8px; }
.todo-tree { list-style: none; margin: 0 0 4px; padding: 0; font-size: 13px; }
.todo-tree li { position: relative; padding: 6px 0 6px 22px; border-left: 1px dashed #e5e7eb; margin-left: 8px; }
.todo-tree li:last-child { border-left-color: transparent; }
.todo-tree .todo-row { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.todo-tree .dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--status-pending); flex: 0 0 auto; }
.todo-tree li.status-done .dot { border-color: var(--status-done); background: var(--status-done); }
.todo-tree li.status-running .dot { border-color: var(--status-running); background: var(--status-running); }
.todo-tree li.status-reflecting .dot, .todo-tree li.status-retrying .dot { border-color: var(--status-reflecting); background: var(--status-reflecting); }
.todo-tree li.status-waiting_for_quota .dot { border-color: var(--status-waiting-quota); background: var(--status-waiting-quota); }
.todo-tree li.status-blocked .dot, .todo-tree li.status-failed .dot { border-color: var(--status-blocked); background: var(--status-blocked); }
.todo-tree .todo-id { font-weight: 600; }
.todo-tree .todo-status { margin-left: auto; font-size: 11px; color: #6b7280; }
.todo-detail { display: none; margin: 6px 0 0 17px; padding: 8px 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 12px; color: #6b7280; }
.todo-detail.open { display: block; }
ul.simple-list { list-style: none; margin: 0; padding: 0; font-size: 13px; }
ul.simple-list li { padding: 8px 0; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; }
ul.simple-list li:last-child { border-bottom: none; }