-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
260 lines (235 loc) · 22.2 KB
/
style.css
File metadata and controls
260 lines (235 loc) · 22.2 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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
/* style.css */
/* --- CSS Variables for Colors --- */
:root {
--bg-color: #2f2e41;
--surface-color: #1E1D2B;
--surface-darker: #2F2E41;
--surface-active: #242233;
--primary-action: #5A4894;
--primary-action-hover: #6c58b1;
--focus-ring: #5A4894;
--text-primary: #EAEAEA;
--text-secondary: #888;
--text-bright: #FFFFFF;
--border-color: #333;
--danger-color: #b13b3b;
--danger-hover-color: #c84a4a;
--status-running-bg: rgba(76, 175, 80, 0.2);
--status-running-text: #A5D6A7;
--status-running-border: rgba(76, 175, 80, 0.6);
--status-completed-bg: rgba(63, 81, 181, 0.2);
--status-completed-text: #9FA8DA;
--status-completed-border: rgba(63, 81, 181, 0.6);
--status-failed-bg: rgba(244, 67, 54, 0.2);
--status-failed-text: #EF9A9A;
--status-failed-border: rgba(244, 67, 54, 0.6);
--status-stopped-bg: rgba(255, 152, 0, 0.2);
--status-stopped-text: #FFCC80;
--status-stopped-border: rgba(255, 152, 0, 0.6);
--status-pending-bg: rgba(3, 169, 244, 0.2);
--status-pending-text: #81D4FA;
--status-pending-border: rgba(3, 169, 244, 0.6);
--status-scheduled-bg: rgba(156, 39, 176, 0.2);
--status-scheduled-text: #CE93D8;
--status-scheduled-border: rgba(156, 39, 176, 0.6);
--status-queued-bg: rgba(158, 158, 158, 0.2);
--status-queued-text: #E0E0E0;
--status-queued-border: rgba(158, 158, 158, 0.6);
}
/* --- Reset & Base Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-primary);
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
padding: 40px 20px;
}
/* --- Main Container --- */
.container {
width: 100%;
max-width: 520px;
display: flex;
flex-direction: column;
gap: 30px;
}
/* --- Header Section --- */
.header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 10px; position: relative; }
.logo { width: 120px; filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.5)); z-index: 1; }
.brand-name { font-size: 42px; font-weight: 700; color: #D1D1D1; letter-spacing: -2px; text-shadow: -1px -1px 0px rgba(255, 255, 255, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.5), 0px 4px 6px rgba(0, 0, 0, 0.3); margin-top: -20px; }
.header h2 { font-size: 24px; font-weight: 400; color: var(--text-secondary); }
/* --- Action & Button Styles --- */
.action-box { background-color: var(--surface-color); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
.prompt-textarea { width: 100%; background-color: var(--bg-color); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 16px; padding: 15px; font-size: 16px; font-family: inherit; line-height: 1.5; resize: vertical; min-height: 80px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.prompt-textarea::placeholder { color: var(--text-secondary); }
.prompt-textarea:focus { border-color: var(--focus-ring); box-shadow: 0 0 0 3px rgba(90, 72, 148, 0.4); }
.intent-badge { align-self: flex-start; background-color: var(--surface-darker); color: var(--text-secondary); border: 1px solid var(--border-color); padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: 0.2px; }
.wizard { background: linear-gradient(135deg, rgba(36,34,51,0.6), rgba(30,29,43,0.9)); border: 1px solid var(--border-color); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; animation: fade-in 0.3s ease; }
.wizard-header { display: flex; align-items: center; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-secondary); }
.wizard-title { font-weight: 600; }
.wizard-controls { display: flex; align-items: center; gap: 10px; }
.wizard-status { color: var(--text-primary); }
.wizard-stop { background-color: transparent; color: var(--text-secondary); border: 1px solid var(--border-color); border-radius: 999px; padding: 4px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; cursor: pointer; }
.wizard-stop:hover { color: var(--text-bright); border-color: var(--text-secondary); }
.wizard-stop:disabled { opacity: 0.5; cursor: not-allowed; }
.wizard-progress { width: 100%; height: 6px; background-color: var(--surface-darker); border-radius: 999px; overflow: hidden; }
.wizard-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary-action), #7b6bd6); transition: width 0.4s ease; }
.wizard-steps { list-style: none; display: grid; gap: 8px; padding-left: 0; margin: 0; }
.wizard-step { position: relative; padding-left: 22px; font-size: 13px; color: var(--text-secondary); }
.wizard-step::before { content: ''; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background-color: var(--surface-darker); border: 1px solid var(--border-color); }
.wizard-step.is-active { color: var(--text-primary); }
.wizard-step.is-active::before { background-color: var(--primary-action); box-shadow: 0 0 0 3px rgba(90, 72, 148, 0.3); }
.wizard-step.is-done { color: var(--text-primary); }
.wizard-step.is-done::before { background-color: var(--status-running-text); border-color: var(--status-running-border); }
.wizard-step.is-error { color: var(--status-failed-text); }
.wizard-step.is-error::before { background-color: var(--status-failed-text); border-color: var(--status-failed-border); }
.wizard-plan { display: flex; flex-direction: column; gap: 10px; background-color: rgba(0,0,0,0.15); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; }
.wizard-plan-header { font-size: 12px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-secondary); }
.wizard-plan-steps { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13px; color: var(--text-primary); }
.wizard-confirm { align-self: flex-start; background-color: var(--primary-action); color: var(--text-bright); border: none; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.3px; cursor: pointer; }
.wizard-confirm:hover { background-color: var(--primary-action-hover); }
.action-buttons { display: flex; gap: 10px; }
.action-buttons button { flex-grow: 1; color: #C0C0C0; border: none; border-radius: 20px; padding: 12px 15px; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 0.1s ease, background-color 0.2s ease, filter 0.2s ease; }
.action-buttons button.schedule-btn { background-color: var(--surface-darker); cursor: not-allowed; opacity: 0.6; }
.action-buttons button.primary { background-color: var(--primary-action); color: var(--text-bright); }
.action-buttons button:hover:not(:disabled) { background-color: var(--primary-action-hover); filter: brightness(1.1); }
.action-buttons button:active:not(:disabled) { transform: scale(0.95); filter: brightness(0.9); }
.action-buttons button:disabled { opacity: 0.5; cursor: wait; }
.secondary { background-color: var(--surface-darker); color: var(--text-primary); border: 1px solid var(--border-color); }
.secondary:hover { filter: brightness(1.1); }
/* --- Tasks Section --- */
.tasks-container { display: flex; flex-direction: column; gap: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 25px; border-bottom: 1px solid var(--border-color); padding: 0 5px; }
.tabs a { text-decoration: none; color: var(--text-secondary); font-size: 16px; font-weight: 500; padding-bottom: 12px; position: relative; cursor: pointer; }
.tabs a.active { color: var(--text-bright); }
.tabs a.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background-color: var(--text-bright); }
.task-list, .settings-panel { display: flex; flex-direction: column; gap: 15px; }
/* --- Empty State Styling --- */
.empty-state-wrapper { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 15px; opacity: 0.7; width: 100%; }
.empty-state-icon { width: 60px; height: 60px; color: var(--text-secondary); }
.empty-state-wrapper h3 { font-size: 18px; font-weight: 500; color: var(--text-primary); }
.empty-state-wrapper .text-muted { max-width: 400px; line-height: 1.5; }
.empty-state-wrapper.d-none { display: none; }
/* Example Task Styles */
.example-tasks { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; width: 100%; }
.example-task-card { background-color: var(--surface-darker); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px; text-align: left; display: grid; grid-template-areas: "title button" "desc button"; grid-template-columns: 1fr auto; gap: 5px 15px; align-items: center; cursor: pointer; transition: background-color 0.2s, transform 0.2s; }
.example-task-card:hover { background-color: var(--surface-active); transform: translateY(-2px); }
.example-task-card h4 { grid-area: title; font-size: 15px; font-weight: 600; margin: 0; color: var(--text-bright); }
.example-task-card p { grid-area: desc; font-size: 14px; color: var(--text-secondary); line-height: 1.4; margin: 0; }
.example-run-btn { grid-area: button; background-color: var(--primary-action); color: var(--text-bright); border: none; border-radius: 8px; padding: 8px 15px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.example-run-btn:hover { background-color: var(--primary-action-hover); }
/* --- Task Item Styling --- */
.task-item { background-color: var(--surface-color); border-radius: 12px; overflow: hidden; transition: background-color 0.2s ease, opacity 0.3s, transform 0.3s; animation: pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.task-item.archiving { opacity: 0; transform: scale(0.95); } /* For archive animation */
@keyframes pop-in { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.task-item[open] { background-color: var(--surface-active); }
.task-summary { display: flex; justify-content: space-between; align-items: center; padding: 15px; cursor: pointer; list-style: none; }
.task-summary::-webkit-details-marker { display: none; }
.task-summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--text-secondary); transition: transform 0.2s ease; margin-left: 10px; }
.task-item[open] .task-summary::after { transform: rotate(45deg); }
.task-info h3 { font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.task-info p { font-size: 14px; color: var(--text-secondary); }
.provider-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; background-color: var(--surface-darker); color: var(--text-secondary); border: 1px solid var(--border-color); vertical-align: middle; }
.provider-codex { color: var(--status-running-text); border-color: var(--status-running-border); }
.provider-gemini { color: var(--status-scheduled-text); border-color: var(--status-scheduled-border); }
.model-tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: 0.2px; background-color: var(--bg-color); color: var(--text-secondary); border: 1px solid var(--border-color); }
.reason-tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: 0.2px; background-color: #eef2ff; color: #1f2937; border: 1px solid #dfe3ff; max-width: 100%; }
.task-details-content { padding: 0 20px 20px 20px; border-top: 1px solid var(--border-color); margin: 0 15px; color: #B0B0B0; font-size: 14px; line-height: 1.6; }
.task-item .task-details-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-in-out; } /* Animation for expand/collapse */
.task-item[open] .task-details-content { grid-template-rows: 1fr; }
.task-details-content > * { overflow: hidden; }
.task-details-content h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-top: 15px; margin-bottom: 8px; }
.plan-details { background-color: rgba(0,0,0,0.2); padding: 12px; border-radius: 8px; border-left: 3px solid var(--status-pending-border); }
.plan-details p { margin-bottom: 8px; }
.plan-details p:last-child { margin-bottom: 0; }
pre.status-log { background-color: var(--bg-color); padding: 12px; border-radius: 6px; white-space: pre-wrap; word-wrap: break-word; font-family: 'SF Mono', 'Fira Code', 'monospace'; font-size: 13px; color: #C0C0C0; max-height: 300px; overflow-y: auto; }
.task-actions { margin-top: 15px; display: flex; gap: 10px; }
.task-action-btn { background-color: var(--surface-darker); color: var(--text-primary); border: none; border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color 0.2s, transform 0.1s; }
.task-action-btn.confirm { background-color: #4CAF50; }
.task-action-btn.stop { background-color: #f44336; }
.task-action-btn:hover { filter: brightness(1.2); }
.task-action-btn:active { transform: scale(0.96); }
.run-count-info { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--status-scheduled-text); background-color: rgba(0,0,0,0.2); padding: 6px 10px; border-radius: 8px; margin-top: 15px; }
.task-result { background-color: var(--status-running-bg); border-left: 4px solid var(--status-running-text); padding: 15px 20px; margin-bottom: 20px; border-radius: 8px; }
.task-result h4 { display: flex; align-items: center; gap: 10px; color: var(--status-running-text); font-size: 16px; margin-top: 0; margin-bottom: 10px; }
.task-result p { font-size: 15px; line-height: 1.6; color: var(--text-primary); }
/* --- Task Status --- */
.task-status { display: flex; align-items: center; gap: 15px; }
.task-progress { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 12px; color: var(--text-secondary); }
.task-progress progress { width: 80px; height: 6px; }
.task-progress progress::-webkit-progress-bar { background-color: var(--surface-darker); border-radius: 3px; }
.task-progress progress::-webkit-progress-value { background-color: var(--primary-action); border-radius: 3px; }
.task-progress progress::-moz-progress-bar { background-color: var(--primary-action); border-radius: 3px; }
.status-pill { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 20px; font-size: 14px; font-weight: 500; border: 1px solid; }
.status-running { background-color: var(--status-running-bg); color: var(--status-running-text); border-color: var(--status-running-border); }
.status-failed { background-color: var(--status-failed-bg); color: var(--status-failed-text); border-color: var(--status-failed-border); }
.status-stopped { background-color: var(--status-stopped-bg); color: var(--status-stopped-text); border-color: var(--status-stopped-border); }
.status-completed { background-color: var(--status-completed-bg); color: var(--status-completed-text); border-color: var(--status-completed-border); }
.status-pending { background-color: var(--status-pending-bg); color: var(--status-pending-text); border-color: var(--status-pending-border); }
.status-scheduled { background-color: var(--status-scheduled-bg); color: var(--status-scheduled-text); border-color: var(--status-scheduled-border); }
.status-queued { background-color: var(--status-queued-bg); color: var(--status-queued-text); border-color: var(--status-queued-border); }
.task-count-badge { background-color: var(--surface-darker); color: var(--text-secondary); font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 8px; margin-left: 6px; vertical-align: middle; }
.running-indicator { width: 8px; height: 8px; background-color: var(--status-running-text); border-radius: 50%; animation: pulse 1.5s infinite ease-in-out; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(165, 214, 167, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(165, 214, 167, 0); } 100% { box-shadow: 0 0 0 0 rgba(165, 214, 167, 0); } }
/* --- NEW: Settings & Reset Button Styles --- */
.settings-panel { padding: 10px; }
.settings-panel h3 { font-size: 20px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.setting-item { display: flex; justify-content: space-between; align-items: center; background: var(--surface-color); padding: 15px; border-radius: 12px; }
.setting-info h4 { font-size: 16px; font-weight: 500; margin-bottom: 5px; }
.setting-info p { font-size: 14px; line-height: 1.5; color: var(--text-secondary); max-width: 300px; }
.toggle-group { display: flex; flex-direction: column; gap: 8px; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.toggle input { accent-color: var(--primary-action); }
.button-danger { background-color: var(--danger-color); color: var(--text-bright); border: none; border-radius: 8px; padding: 10px 15px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; display: flex; align-items: center; gap: 8px; }
.button-danger:hover { background-color: var(--danger-hover-color); }
.list-actions-header { display: flex; justify-content: flex-end; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); margin-bottom: -5px; }
.list-actions-header.d-none { display: none !important; }
/* --- Connect Button & Modal --- */
.connect-btn { position: absolute; top: 0; right: 0; background: none; border: none; color: var(--text-secondary); font-size: 24px; cursor: pointer; padding: 10px; transition: color 0.2s; }
.connect-btn:hover { color: var(--text-bright); }
.login-btn { position: absolute; top: 0; right: 44px; background: none; border: none; color: var(--text-secondary); font-size: 22px; cursor: pointer; padding: 10px; transition: color 0.2s; }
.login-btn:hover { color: var(--text-bright); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; z-index: 1000; animation: fade-in 0.3s; }
.modal-content { background-color: var(--surface-color); padding: 30px; border-radius: 16px; text-align: center; max-width: 400px; width: 90%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); position: relative; }
.close-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; color: var(--text-secondary); font-size: 28px; cursor: pointer; line-height: 1; }
.qr-code-wrapper { background-color: white; border-radius: 8px; padding: 15px; margin: 20px auto; width: 200px; height: 200px; display: flex; justify-content: center; align-items: center; }
#qr-code-image { max-width: 100%; max-height: 100%; }
code#connect-url { background-color: var(--bg-color); padding: 5px 10px; border-radius: 6px; }
/* --- Auth Modal Styles --- */
.auth-modal { max-width: 520px; text-align: left; }
.auth-providers { display: grid; gap: 15px; margin-top: 20px; }
.auth-card { background-color: var(--surface-darker); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.auth-card-header { display: flex; align-items: center; justify-content: space-between; }
.auth-status { font-size: 12px; padding: 4px 8px; border-radius: 999px; background-color: var(--bg-color); color: var(--text-secondary); }
.auth-status.ready { color: var(--status-running-text); border: 1px solid var(--status-running-border); }
.auth-status.missing { color: var(--status-failed-text); border: 1px solid var(--status-failed-border); }
.auth-actions { display: flex; gap: 10px; }
.auth-actions button { flex: 1; border-radius: 12px; padding: 10px 12px; font-weight: 600; border: none; cursor: pointer; }
.auth-actions button.primary { background-color: var(--primary-action); color: var(--text-bright); }
.auth-actions button.secondary { background-color: var(--surface-active); color: var(--text-primary); border: 1px solid var(--border-color); }
.auth-actions button:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-model { width: 100%; background-color: var(--bg-color); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 10px; padding: 8px 10px; font-size: 12px; }
.auth-command { background-color: var(--bg-color); padding: 6px 10px; border-radius: 8px; font-size: 12px; display: inline-block; }
.auth-footer { display: flex; justify-content: flex-end; margin-top: 15px; }
/* --- Credentials Modal Styles --- */
.credentials-form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.credentials-form input { background-color: var(--bg-color); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px; font-size: 16px; outline: none; transition: box-shadow 0.2s; }
.credentials-form input:focus { border-color: var(--focus-ring); box-shadow: 0 0 0 2px rgba(90, 72, 148, 0.4); }
.credentials-form button { color: var(--text-bright); background-color: var(--primary-action); border: none; border-radius: 20px; padding: 12px 15px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.credentials-form button:hover { background-color: var(--primary-action-hover); }
/* --- Toast Notification Styles --- */
#toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast { background-color: var(--surface-color); color: var(--text-primary); padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); border-left: 4px solid var(--text-secondary); opacity: 0; transform: translateX(100%); transition: opacity 0.3s ease, transform 0.3s ease; }
.toast.show { opacity: 1; transform: translateX(0); }
.toast.error { border-left-color: var(--status-failed-border); }
.toast.success { border-left-color: var(--status-running-border); }
/* --- Utility & Animation --- */
.d-none { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.spinner-border { display: inline-block; width: 3rem; height: 3rem; vertical-align: text-bottom; border: .25em solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spinner-border .75s linear infinite; }
@keyframes spinner-border { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }