-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskBoard.css
More file actions
105 lines (90 loc) · 4.09 KB
/
Copy pathTaskBoard.css
File metadata and controls
105 lines (90 loc) · 4.09 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
95
96
97
98
99
100
101
102
103
104
105
.taskboard { display: flex; flex-direction: column; gap: 16px; }
.tb-toolbar { display: flex; align-items: center; justify-content: space-between; }
.tb-hint { font-size: 13px; color: var(--text-3); }
.btn-solid {
padding: 7px 14px; border-radius: var(--radius-md);
border: none; background: var(--accent); color: white;
font-size: 13px; font-weight: 500; transition: background 0.12s; cursor: pointer;
}
.btn-solid:hover { background: var(--accent-hover); }
.kanban-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.kanban-col { background: var(--surface-2); border-radius: var(--radius-lg); padding: 12px; }
.col-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.col-label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.col-count {
font-size: 11px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1px 8px;
color: var(--text-3);
}
.col-tasks { display: flex; flex-direction: column; gap: 8px; }
.task-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 12px;
cursor: pointer;
transition: border-color 0.12s;
}
.task-card:hover { border-color: var(--accent-border); }
.task-label {
display: inline-block;
font-size: 10px; font-weight: 500;
padding: 2px 8px;
border-radius: 8px;
margin-bottom: 7px;
}
.lbl-feature { background: #eff6ff; color: #1e40af; }
.lbl-bug { background: #fee2e2; color: #991b1b; }
.lbl-docs { background: #f0fdf4; color: #166534; }
.lbl-ui { background: #faf5ff; color: #6b21a8; }
.task-title { font-size: 12px; font-weight: 500; color: var(--text-1); margin-bottom: 3px; }
.task-project { font-size: 11px; color: var(--text-3); margin-bottom: 8px; }
.task-footer { display: flex; align-items: center; justify-content: space-between; }
.task-right { display: flex; align-items: center; gap: 6px; }
.task-due { font-size: 11px; color: var(--text-3); }
.task-due.overdue { color: #dc2626; font-weight: 500; }
.priority-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.task-move { display: flex; gap: 2px; }
.task-move button {
background: var(--surface-2); border: 1px solid var(--border);
border-radius: 4px; font-size: 11px; padding: 1px 5px;
color: var(--text-2); cursor: pointer; transition: background 0.1s;
}
.task-move button:hover { background: var(--accent-soft); color: var(--accent); }
/* modal */
.modal-backdrop {
position: fixed; inset: 0;
background: rgba(0,0,0,0.4);
z-index: 200;
display: flex; align-items: center; justify-content: center;
}
.modal {
background: var(--surface);
border-radius: var(--radius-lg);
border: 1px solid var(--border);
padding: 24px;
width: 380px;
box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-header h2 { font-size: 15px; font-weight: 600; color: var(--text-1); }
.modal-close { background: none; border: none; font-size: 16px; color: var(--text-3); cursor: pointer; padding: 2px 6px; border-radius: 4px; }
.modal-close:hover { color: var(--text-1); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 5px; font-weight: 500; }
.form-group input,
.form-group select {
width: 100%; padding: 8px 10px;
border: 1px solid var(--border-2); border-radius: var(--radius-md);
font-size: 13px; color: var(--text-1); background: var(--surface);
outline: none; transition: border-color 0.12s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--accent); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }
.btn-ghost { padding: 7px 16px; border-radius: var(--radius-md); border: 1px solid var(--border-2); background: transparent; font-size: 13px; color: var(--text-2); cursor: pointer; transition: background 0.12s; }
.btn-ghost:hover { background: var(--surface-2); }