forked from boostcampwm-snu-2026-1/web-todo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo.css
More file actions
119 lines (101 loc) · 1.61 KB
/
Copy pathtodo.css
File metadata and controls
119 lines (101 loc) · 1.61 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
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial, sans-serif;
background: #f4f7fb;
color: #222;
}
.app {
max-width: 600px;
margin: 60px auto;
padding: 32px;
background: white;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.app-header {
margin-bottom: 24px;
}
.app-title {
margin: 0 0 8px;
font-size: 32px;
}
.app-subtitle {
margin: 0;
color: #666;
}
.todo-form {
display: flex;
gap: 12px;
margin-bottom: 24px;
}
.todo-input {
flex: 1;
padding: 14px 16px;
border: 1px solid #d0d7de;
border-radius: 10px;
font-size: 16px;
}
.todo-input:focus {
outline: none;
border-color: #4f8cff;
}
.todo-add-button {
border: none;
background: #4f8cff;
color: white;
padding: 0 18px;
border-radius: 10px;
font-size: 16px;
cursor: pointer;
}
.todo-add-button:hover {
background: #3d76e0;
}
.todo-list {
list-style: none;
padding: 0;
margin: 0;
}
.todo-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 16px;
border: 1px solid #e5e7eb;
border-radius: 12px;
margin-bottom: 12px;
}
.todo-left {
display: flex;
align-items: center;
gap: 12px;
flex: 1;
}
.todo-checkbox {
width: 18px;
height: 18px;
cursor: pointer;
}
.todo-text {
font-size: 16px;
word-break: break-word;
}
.todo-item.completed .todo-text {
color: #999;
text-decoration: line-through;
}
.todo-delete-button {
border: none;
background: #ff5c5c;
color: white;
padding: 8px 12px;
border-radius: 8px;
cursor: pointer;
}
.todo-delete-button:hover {
background: #e14b4b;
}