Repository navigation
Expand file tree
/
Copy pathproj.css
More file actions
215 lines (205 loc) · 15.6 KB
/
Copy pathproj.css
File metadata and controls
215 lines (205 loc) · 15.6 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/* Simple black theme with one lime accent. */
:root {
color-scheme: dark;
--background: #08090a;
--surface: #111214;
--surface-hover: #191a1d;
--border: #292a2d;
--text: #eeeeef;
--muted: #929399;
--accent: #c4f45d;
font-family: Arial, Helvetica, sans-serif;
}
body[data-theme="light"] {
color-scheme: light;
--background: #f5f6f3;
--surface: #ffffff;
--surface-hover: #e9ece6;
--border: #dfe2db;
--text: #20221e;
--muted: #70736b;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--background); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 220px; padding: 24px 16px; display: flex; flex-direction: column; background: #050506; border-right: 1px solid #202124; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 19px; font-weight: 700; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; color: #111; background: var(--accent); }
.brand-light { color: var(--accent); }
.sidebar-label { margin: 44px 0 12px; color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.nav-list { display: grid; gap: 6px; }
.nav-item { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px; border: 0; border-radius: 7px; color: #b5b5b9; background: transparent; text-align: left; font-size: 12px; }
.nav-item:hover, .nav-item.is-active { color: var(--text); background: var(--surface-hover); }
.nav-item.is-active { box-shadow: inset 2px 0 var(--accent); }
.nav-icon { width: 17px; color: var(--accent); text-align: center; }
.nav-count { margin-left: auto; color: var(--muted); font-size: 10px; }
.sidebar-note { margin-top: auto; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.note-sparkle { color: var(--accent); font-size: 10px; }
.note-title { margin: 9px 0 5px; font-size: 17px; line-height: 1.25; }
.note-copy, .sidebar-footer { color: var(--muted); font-size: 10px; }
.note-copy { margin: 0; }
.sidebar-footer { display: flex; align-items: center; gap: 7px; margin-top: 16px; }
.online-dot, .footer-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.main-content { max-width: 1400px; min-height: 100vh; margin-left: 220px; padding: 0 6% 28px; }
.topbar { height: 62px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #202124; }
.breadcrumb { display: flex; gap: 9px; color: var(--muted); font-size: 11px; }
.breadcrumb strong { color: var(--text); }
.crumb-slash { color: #55565b; }
.topbar-right { display: flex; align-items: center; gap: 13px; }
.theme-button { padding: 6px 9px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--surface); font-size: 10px; }
.today-chip { color: #b5b5b9; font-size: 10px; }
.avatar { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: #111; background: var(--accent); font-size: 11px; font-weight: 700; }
.welcome-section { min-height: 195px; display: flex; align-items: center; justify-content: space-between; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--muted); font-size: 9px; letter-spacing: 1px; }
.eyebrow-line { width: 16px; height: 2px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; letter-spacing: -1.5px; }
.headline-accent, .heading-period { color: var(--accent); }
.welcome-subtitle { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.welcome-art { position: relative; width: 170px; height: 140px; }
.art-glow { position: absolute; inset: 20px; border-radius: 50%; background: rgba(196,244,93,.08); }
.art-ring { position: absolute; top: 35px; left: 20px; width: 130px; height: 70px; border: 1px solid rgba(196,244,93,.3); border-radius: 50%; transform: rotate(-25deg); }
.ring-front { transform: rotate(28deg); }
.art-card { position: absolute; top: 37px; left: 56px; width: 62px; height: 66px; padding: 12px; border: 1px solid #34362b; border-radius: 10px; background: #151611; transform: rotate(-6deg); animation: float 4s ease-in-out infinite; }
.art-check { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 5px; color: #111; background: var(--accent); }
.art-card-line { display: block; width: 35px; height: 3px; margin-top: 6px; border-radius: 2px; background: #647344; }
.line-short { width: 23px; }
.art-star { position: absolute; color: var(--accent); animation: blink 2s ease-in-out infinite; }
.star-a { top: 20px; right: 18px; }.star-b { bottom: 14px; left: 19px; }
.art-dot { position: absolute; top: 25px; left: 38px; width: 6px; height: 6px; border-radius: 50%; background: #ff8b73; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-card { min-height: 105px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); transition: transform .2s, border-color .2s; }
.stat-card:hover { transform: translateY(-3px); border-color: #555a43; }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-label { color: var(--muted); font-size: 9px; letter-spacing: .8px; }
.stat-icon { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 6px; color: var(--accent); background: #202517; }
.stat-value { margin-top: 5px; font-size: 25px; font-weight: 700; }
.stat-foot { margin-top: 3px; color: var(--muted); font-size: 9px; }
.stat-done .stat-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-progress { width: 52px; height: 4px; overflow: hidden; border-radius: 4px; background: #30312d; }
.mini-progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .3s; }
.task-section { margin-top: 32px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }
.section-eyebrow { margin-bottom: 5px; }
h2 { margin: 0; font-size: 24px; }
.clear-button { border: 0; color: var(--muted); background: transparent; font-size: 10px; }
.clear-button:hover { color: var(--accent); }
.add-task-form { min-height: 52px; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.add-task-form:focus-within { border-color: #758d3d; }
.input-plus { color: var(--accent); font-size: 19px; }
.add-task-form input[type="text"] { flex: 1; min-width: 60px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 11px; }
.add-task-form input::placeholder, .search-box input::placeholder { color: #77787e; }
.add-task-form select, .due-input { max-width: 105px; border: 0; color: #bdbdc1; background: transparent; font-size: 9px; }
.add-button { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 0; border-radius: 6px; color: #111; background: var(--accent); font-size: 10px; font-weight: 700; transition: transform .15s, background .15s; }
.add-button:hover { transform: translateY(-2px); background: #d5ff7a; }
.task-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 17px 0 8px; }
.filter-tabs { display: flex; gap: 3px; }
.filter-tab { padding: 7px 9px; border: 0; border-radius: 5px; color: var(--muted); background: transparent; font-size: 10px; }
.filter-tab.is-active { color: var(--accent); background: #1b2112; }
.toolbar-tools { display: flex; align-items: center; gap: 12px; }
.sort-control select { max-width: 120px; border: 0; color: #aaaab0; background: var(--background); font-size: 9px; }
.search-box { width: 155px; display: flex; align-items: center; gap: 7px; padding: 5px 2px; border-bottom: 1px solid #37383c; color: var(--muted); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 10px; }
.data-tools { display: flex; justify-content: space-between; align-items: center; padding: 8px 1px; border-bottom: 1px solid #202124; color: #77787e; font-size: 9px; }
.text-button { padding: 5px 0 5px 10px; border: 0; color: #bdbdc1; background: transparent; font-size: 9px; }
.text-button:hover { color: var(--accent); }
.task-list { display: grid; gap: 7px; }
.task-row { min-height: 62px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #252629; border-radius: 7px; background: var(--surface); animation: appear .25s ease-out both; }
.task-row:hover { border-color: #4a4d3e; }
.task-row.is-completed .task-name { color: #77787e; text-decoration: line-through; }
.task-check { display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid #55565b; border-radius: 5px; color: transparent; background: transparent; }
.task-check:hover { border-color: var(--accent); }
.task-row.is-completed .task-check { border-color: var(--accent); color: #111; background: var(--accent); }
.task-details { min-width: 0; }
.task-name { overflow: hidden; margin: 0; color: #e5e5e7; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.task-meta { display: flex; align-items: center; gap: 7px; margin-top: 5px; color: var(--muted); font-size: 9px; }
.category-label, .task-priority { padding: 3px 6px; border-radius: 4px; color: #d0ec91; background: #1d2414; }
.category-assignment { color: #ffc48d; background: #281d13; }
.category-personal { color: #a9dcbd; background: #16251b; }
.category-project { color: #ffadb4; background: #29181a; }
.due-label.overdue { color: #ff8b73; }
.task-priority { color: #bdbdc1; background: #1c1d20; font-size: 9px; }
.priority-high { color: #ff9a85; background: #2a1b18; }
.priority-medium { color: #ffd078; background: #292315; }
.priority-low { color: #bde58b; background: #1b2415; }
.task-actions { display: flex; gap: 3px; }
.task-action { display: grid; width: 26px; height: 26px; place-items: center; border: 0; border-radius: 5px; color: #a1a2a7; background: transparent; }
.task-action:hover { color: var(--accent); background: var(--surface-hover); }
.task-action.delete:hover { color: #ff8b73; }
.empty-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #343539; border-radius: 8px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-illustration { position: relative; width: 45px; height: 42px; margin-bottom: 8px; }
.empty-illustration > span { position: absolute; top: -5px; right: 0; color: var(--accent); }
.empty-page { width: 32px; height: 38px; margin: auto; padding: 10px 6px; border: 1px solid #424735; border-radius: 5px; background: #171a13; transform: rotate(-5deg); }
.empty-page i { display: block; width: 17px; height: 3px; margin-bottom: 4px; background: #708348; }
.empty-page i:last-child { width: 11px; }
.empty-state h3 { margin: 0 0 4px; font-size: 14px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 10px; }
.empty-cta { margin-top: 10px; border: 0; color: var(--accent); background: transparent; font-size: 10px; }
.list-footer { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 9px; }
.list-footer > span:last-child { display: flex; align-items: center; gap: 6px; }
.footer-pulse { width: 5px; height: 5px; }
.page-footer { padding-top: 25px; color: #77787e; font-size: 9px; text-align: center; }
.page-footer span { color: var(--accent); }
.toast { position: fixed; right: 20px; bottom: 20px; padding: 10px 14px; border: 1px solid #343539; border-radius: 7px; color: var(--text); background: #191a1d; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
body[data-theme="light"] .sidebar { background: #eceee9; border-color: var(--border); }
body[data-theme="light"] .topbar, body[data-theme="light"] .data-tools { border-color: var(--border); }
body[data-theme="light"] .nav-item, body[data-theme="light"] .today-chip,
body[data-theme="light"] .add-task-form select, body[data-theme="light"] .due-input,
body[data-theme="light"] .sort-control select, body[data-theme="light"] .text-button,
body[data-theme="light"] .task-name { color: var(--text); }
body[data-theme="light"] .stat-icon, body[data-theme="light"] .filter-tab.is-active,
body[data-theme="light"] .category-label, body[data-theme="light"] .task-priority,
body[data-theme="light"] .empty-page, body[data-theme="light"] .toast { background: #edf1e5; }
body[data-theme="light"] .category-label, body[data-theme="light"] .task-priority { color: #4b513e; }
body[data-theme="light"] .category-assignment { color: #815126; background: #fff0df; }
body[data-theme="light"] .category-personal { color: #356448; background: #e6f3e9; }
body[data-theme="light"] .category-project { color: #8a424a; background: #f9e8e9; }
body[data-theme="light"] .priority-high { color: #904d3f; background: #f9e8e3; }
body[data-theme="light"] .priority-medium { color: #806124; background: #f8f0dc; }
body[data-theme="light"] .priority-low { color: #526c35; background: #eaf2df; }
body[data-theme="light"] .task-row, body[data-theme="light"] .empty-state,
body[data-theme="light"] .art-card { border-color: var(--border); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 50% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes blink { 50% { opacity: .5; transform: scale(.9); } }
@media (max-width: 760px) {
.sidebar { position: static; width: 100%; padding: 12px 16px; flex-direction: row; align-items: center; justify-content: space-between; }
.sidebar-label, .sidebar-note, .sidebar-footer { display: none; }
.nav-list { display: flex; gap: 3px; }
.nav-item { width: auto; padding: 8px; gap: 4px; font-size: 0; }
.nav-icon { font-size: 15px; }
.nav-count { font-size: 9px; }
.main-content { margin-left: 0; padding: 0 5% 24px; }
.welcome-section { min-height: 170px; }
.welcome-art { transform: scale(.8); transform-origin: right center; margin-left: -25px; }
}
@media (max-width: 520px) {
.welcome-art { width: 100px; margin-right: -12px; transform: scale(.65); }
.stats-grid { gap: 7px; }
.stat-card { min-height: 94px; padding: 10px; }
.stat-label { font-size: 8px; }
.stat-done .stat-foot { display: block; }
.mini-progress { display: block; margin-top: 5px; }
.add-task-form { flex-wrap: wrap; }
.add-task-form input[type="text"] { flex-basis: calc(100% - 35px); min-height: 28px; }
.add-task-form select, .due-input { flex: 1; max-width: none; }
.add-button { margin-left: auto; }
.task-toolbar { align-items: flex-end; gap: 5px; }
.filter-tab { padding: 7px 5px; font-size: 9px; }
.toolbar-tools { flex-direction: column-reverse; align-items: flex-end; gap: 5px; }
.search-box { width: 125px; }
.data-tools { font-size: 8px; }
.text-button { padding-left: 6px; font-size: 8px; }
.task-row { grid-template-columns: 20px minmax(0, 1fr) auto; gap: 7px; padding: 9px; }
.task-priority { display: none; }
.task-actions { grid-column: 3; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}