-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProjects.css
More file actions
132 lines (111 loc) · 4.17 KB
/
Copy pathProjects.css
File metadata and controls
132 lines (111 loc) · 4.17 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
.projects-page { position: relative; }
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 16px;
}
.project-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 18px;
box-shadow: var(--shadow-sm);
transition: border-color 0.15s, box-shadow 0.15s;
cursor: pointer;
}
.project-card:hover {
border-color: var(--accent-border);
box-shadow: var(--shadow-md);
}
.project-tag {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 11px;
font-weight: 500;
padding: 3px 9px;
border-radius: 10px;
margin-bottom: 10px;
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; }
.tag-active { background: #dcfce7; color: #166534; }
.tag-review { background: #eff6ff; color: #1e40af; }
.tag-planning { background: #fef9c3; color: #854d0e; }
.project-name { font-size: 14px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.project-desc { font-size: 12px; color: var(--text-2); line-height: 1.6; margin-bottom: 12px; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.tech-chip { font-size: 10px; padding: 2px 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; color: var(--text-2); }
.project-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.member-stack { display: flex; }
.avatar.sm { width: 22px; height: 22px; font-size: 9px; margin-left: -5px; border: 2px solid var(--surface); }
.avatar.sm:first-child { margin-left: 0; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; color: white; flex-shrink: 0; }
.avatar.blue { background: #2563eb; }
.avatar.purple { background: #7c3aed; }
.avatar.green { background: #059669; }
.avatar.red { background: #dc2626; }
.avatar.amber { background: #d97706; }
.progress-info { display: flex; align-items: center; gap: 6px; }
.progress-pct { font-size: 11px; color: var(--text-3); min-width: 28px; text-align: right; }
.progress-bg { width: 64px; height: 4px; background: var(--border); border-radius: 4px; }
.progress-fill { height: 4px; background: var(--accent); border-radius: 4px; transition: width 0.3s; }
/* 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: var(--shadow-md);
}
.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;
transition: color 0.12s;
}
.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 textarea,
.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;
resize: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.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); transition: background 0.12s;
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-solid {
padding: 7px 16px; border-radius: var(--radius-md);
border: none; background: var(--accent); color: white;
font-size: 13px; font-weight: 500; transition: background 0.12s;
}
.btn-solid:hover { background: var(--accent-hover); }