Open History to see the last commit
1* {
2 margin: 0;
3 padding: 0;
4 box-sizing: border-box;
5}
6
7body {
8 font-family:
9 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
10 background: #f5f5f5;
11 color: #1a1a1a;
12}
13
14.container {
15 max-width: 600px;
16 margin: 0 auto;
17 padding: 2rem 1rem;
18}
19
20h1 {
21 font-size: 1.5rem;
22 margin-bottom: 1rem;
23 color: #111;
24}
25
26.status-bar {
27 display: flex;
28 gap: 0.5rem;
29 margin-bottom: 1rem;
30 flex-wrap: wrap;
31}
32
33.badge {
34 display: inline-flex;
35 align-items: center;
36 padding: 0.25rem 0.625rem;
37 border-radius: 9999px;
38 font-size: 0.75rem;
39 font-weight: 600;
40}
41
42.badge-online {
43 background: #dcfce7;
44 color: #166534;
45}
46
47.badge-offline {
48 background: #fee2e2;
49 color: #991b1b;
50}
51
52.badge-pending {
53 background: #fef3c7;
54 color: #92400e;
55}
56
57.badge-count {
58 background: #e0e7ff;
59 color: #3730a3;
60}
61
62.badge-offline-enabled {
63 background: #dbeafe;
64 color: #1e40af;
65}
66
67.badge-offline-disabled {
68 background: #f3f4f6;
69 color: #6b7280;
70}
71
72.error-bar {
73 display: flex;
74 align-items: center;
75 justify-content: space-between;
76 padding: 0.5rem 0.75rem;
77 margin-bottom: 1rem;
78 background: #fee2e2;
79 border: 1px solid #fecaca;
80 border-radius: 0.375rem;
81 font-size: 0.8rem;
82 color: #991b1b;
83}
84
85.error-bar button {
86 background: none;
87 border: none;
88 color: #991b1b;
89 font-size: 1rem;
90 cursor: pointer;
91 padding: 0 0.25rem;
92}
93
94.reset-btn {
95 margin-left: auto;
96 padding: 0.25rem 0.75rem;
97 background: white;
98 color: #dc2626;
99 border: 1px solid #dc2626;
100 border-radius: 0.375rem;
101 font-size: 0.75rem;
102 font-weight: 600;
103 cursor: pointer;
104}
105
106.reset-btn:hover {
107 background: #dc2626;
108 color: white;
109}
110
111.input-row {
112 display: flex;
113 gap: 0.5rem;
114 margin-bottom: 1rem;
115}
116
117.todo-input {
118 flex: 1;
119 padding: 0.625rem 0.75rem;
120 border: 1px solid #d1d5db;
121 border-radius: 0.375rem;
122 font-size: 0.875rem;
123 outline: none;
124}
125
126.todo-input:focus {
127 border-color: #6366f1;
128 box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
129}
130
131.add-btn {
132 padding: 0.625rem 1rem;
133 background: #6366f1;
134 color: white;
135 border: none;
136 border-radius: 0.375rem;
137 font-size: 0.875rem;
138 font-weight: 600;
139 cursor: pointer;
140}
141
142.add-btn:hover:not(:disabled) {
143 background: #4f46e5;
144}
145
146.add-btn:disabled {
147 opacity: 0.5;
148 cursor: not-allowed;
149}
150
151.todo-list {
152 list-style: none;
153}
154
155.todo-item {
156 display: flex;
157 align-items: center;
158 gap: 0.75rem;
159 padding: 0.75rem;
160 background: white;
161 border: 1px solid #e5e7eb;
162 border-radius: 0.375rem;
163 margin-bottom: 0.5rem;
164}
165
166.todo-item.completed .todo-text {
167 text-decoration: line-through;
168 color: #9ca3af;
169}
170
171.toggle-btn {
172 width: 1.5rem;
173 height: 1.5rem;
174 border: 2px solid #d1d5db;
175 border-radius: 50%;
176 background: none;
177 cursor: pointer;
178 display: flex;
179 align-items: center;
180 justify-content: center;
181 font-size: 0.75rem;
182 color: #6366f1;
183 flex-shrink: 0;
184}
185
186.completed .toggle-btn {
187 background: #6366f1;
188 border-color: #6366f1;
189 color: white;
190}
191
192.todo-text {
193 flex: 1;
194 font-size: 0.875rem;
195}
196
197.delete-btn {
198 background: none;
199 border: none;
200 color: #9ca3af;
201 font-size: 1.25rem;
202 cursor: pointer;
203 padding: 0 0.25rem;
204 line-height: 1;
205}
206
207.delete-btn:hover {
208 color: #ef4444;
209}
210
211.empty-message {
212 text-align: center;
213 color: #9ca3af;
214 padding: 2rem 0;
215}
216
217.instructions {
218 margin-top: 2rem;
219 padding: 1rem;
220 background: #f0f0ff;
221 border-radius: 0.5rem;
222 font-size: 0.8rem;
223 color: #444;
224}
225
226.instructions h3 {
227 margin-bottom: 0.5rem;
228 font-size: 0.875rem;
229}
230
231.instructions ul {
232 padding-left: 1.25rem;
233}
234
235.instructions li {
236 margin-bottom: 0.25rem;
237}