aboutsummaryrefslogtreecommitdiffstats
path: root/renderer/src/styles/globals.css
diff options
context:
space:
mode:
authorClawd <ai@clawd.bot>2026-02-28 08:15:03 -0800
committerClawd <ai@clawd.bot>2026-02-28 08:15:03 -0800
commita60b4077ec7a231a7cd766ca7d1ba84d6fabfd13 (patch)
tree587d66b9a105dc69078ff1704b979659cbab6d8b /renderer/src/styles/globals.css
parente4b1b26c1d61854b93c2cc3cba1714df2d7417d5 (diff)
Add delete functionality for projects and sessions
- Add delete buttons (🗑️) next to project/session dropdowns - Add confirmation dialogs before deletion - Add onDeleteProject and onDeleteSession props to Header - Implement delete handlers in App.tsx with error handling - Clear selection and related state after deletion - Add CSS styling for delete button with hover effect
Diffstat (limited to 'renderer/src/styles/globals.css')
-rw-r--r--renderer/src/styles/globals.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/renderer/src/styles/globals.css b/renderer/src/styles/globals.css
index 809ff15..e1d945a 100644
--- a/renderer/src/styles/globals.css
+++ b/renderer/src/styles/globals.css
@@ -65,6 +65,18 @@ body {
65 background: var(--border); 65 background: var(--border);
66} 66}
67 67
68.header button.btn-delete {
69 background: transparent;
70 border: 1px solid var(--border);
71 padding: 6px 8px;
72 font-size: 14px;
73}
74
75.header button.btn-delete:hover {
76 background: var(--danger);
77 border-color: var(--danger);
78}
79
68.phase-indicator { 80.phase-indicator {
69 display: flex; 81 display: flex;
70 gap: 4px; 82 gap: 4px;