Skip to content

Commit b2b125e

Browse files
feat: add styles for categories, search, and priority indicators
1 parent 4a10171 commit b2b125e

1 file changed

Lines changed: 89 additions & 0 deletions

File tree

src/index.css

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,92 @@ li.done .check {
180180
header h1 { font-size: 28px; }
181181
.delete { opacity: 1; }
182182
}
183+
184+
/* Search */
185+
.search-input {
186+
width: 100%;
187+
padding: 10px 18px;
188+
border: 1px solid var(--border);
189+
border-radius: 12px;
190+
background: var(--surface);
191+
color: var(--text);
192+
font-size: 14px;
193+
outline: none;
194+
margin-bottom: 12px;
195+
}
196+
.search-input:focus { border-color: var(--accent); }
197+
198+
/* Options row */
199+
.options-row {
200+
display: flex;
201+
gap: 8px;
202+
margin-bottom: 12px;
203+
}
204+
.options-row select {
205+
flex: 1;
206+
padding: 8px 12px;
207+
border: 1px solid var(--border);
208+
border-radius: 8px;
209+
background: var(--surface);
210+
color: var(--text);
211+
font-size: 13px;
212+
outline: none;
213+
cursor: pointer;
214+
}
215+
216+
/* Category pills */
217+
.category-pills {
218+
display: flex;
219+
gap: 6px;
220+
margin-bottom: 16px;
221+
overflow-x: auto;
222+
padding-bottom: 4px;
223+
}
224+
.category-pills button {
225+
padding: 4px 12px;
226+
border: 1px solid var(--border);
227+
border-radius: 100px;
228+
background: transparent;
229+
color: var(--muted);
230+
font-size: 12px;
231+
cursor: pointer;
232+
white-space: nowrap;
233+
}
234+
.category-pills button.active {
235+
background: var(--accent);
236+
color: white;
237+
border-color: var(--accent);
238+
}
239+
240+
/* Stats row */
241+
.stats-row {
242+
display: flex;
243+
gap: 12px;
244+
margin-top: 4px;
245+
}
246+
.stat {
247+
color: var(--muted);
248+
font-size: 13px;
249+
}
250+
.done-stat { color: var(--green); }
251+
252+
/* Todo meta */
253+
.todo-content { flex: 1; min-width: 0; }
254+
.todo-meta {
255+
display: flex;
256+
gap: 6px;
257+
align-items: center;
258+
margin-top: 4px;
259+
}
260+
.category-badge {
261+
font-size: 11px;
262+
padding: 1px 8px;
263+
border-radius: 100px;
264+
background: rgba(99,102,241,0.15);
265+
color: rgba(99,102,241,0.8);
266+
}
267+
.priority-dot {
268+
width: 8px;
269+
height: 8px;
270+
border-radius: 50%;
271+
}

0 commit comments

Comments
 (0)