-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.css
More file actions
382 lines (326 loc) · 6.28 KB
/
styles.css
File metadata and controls
382 lines (326 loc) · 6.28 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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* CSS variable for consistent backgrounds in <code> elements, inline or inside <pre> */
:root {
--code-bg: #f7fafc;
}
body {
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
line-height: 1.6;
color: #333;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
/* Layout */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
min-height: 100vh;
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 50px;
justify-content: flex-end;
}
.step-list {
width: 400px;
flex-shrink: 0;
font-size: 85%;
}
.step-content {
width: 750px;
}
.workflow-card {
background: white;
border-radius: 15px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
padding: 40px;
//width: 100%;
max-width: 900px;
position: relative;
overflow: hidden;
flex-shrink: 0;
}
/* Step header */
.step-header {
margin-bottom: 30px;
}
.step-title {
font-size: 28px;
font-weight: 700;
color: #2d3748;
margin-bottom: 10px;
}
.step-content {
margin-bottom: 40px;
font-size: 16px;
}
.step-content h2 {
color: #2d3748;
margin-bottom: 20px;
font-size: 24px;
}
.step-content h3 {
color: #4a5568;
margin: 20px 0 15px 0;
font-size: 18px;
}
.step-content ul,
.step-content ol {
margin: 15px 0;
padding-left: 25px;
}
.step-content li {
margin: 8px 0;
}
.step-content a {
color: #667eea;
text-decoration: none;
font-weight: 600;
}
.step-content a:hover {
text-decoration: underline;
}
.step-content code {
background: var(--code-bg);
padding: 2px 6px;
border-radius: 4px;
font-family: "Monaco", "Consolas", monospace;
color: #2d3748;
border: 1px solid #e2e8f0;
}
.step-content pre code {
background: transparent;
padding-left: 0px;
border: none;
font-family: "Monaco", "Consolas", monospace;
}
.step-content pre {
background: var(--code-bg);
}
/* Reminder boxes */
.reminder {
background: #e6fffa;
border-left: 4px solid #38b2ac;
padding: 15px 20px;
margin: 20px 0;
border-radius: 0 8px 8px 0;
}
.reminder.urgent {
background: #fed7d7;
border-left-color: #f56565;
}
/* Actions and buttons */
.actions {
display: flex;
flex-direction: column;
gap: 20px;
align-items: center;
}
.button-container {
display: flex;
flex-direction: column;
gap: 15px;
width: 100%;
align-items: center;
}
.main-actions {
display: flex;
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}
.action-btn {
border: none;
padding: 15px 30px;
font-size: 16px;
font-weight: 600;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
color: white;
min-width: 150px;
}
.action-btn-enabled {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.action-btn-disabled {
background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
color: gray;
}
.action-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.action-btn:active {
transform: translateY(0);
}
.back-btn {
background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
box-shadow: 0 4px 15px rgba(113, 128, 150, 0.3);
font-size: 14px;
min-width: 120px;
align-self: flex-start;
}
.back-btn:hover {
background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
box-shadow: 0 8px 25px rgba(113, 128, 150, 0.4);
}
/* Progress bar */
.progress-bar {
width: 100%;
height: 6px;
background: #e2e8f0;
border-radius: 3px;
margin-bottom: 30px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #667eea, #764ba2);
border-radius: 3px;
transition: width 0.5s ease;
}
/* Loading state */
.loading {
display: none;
text-align: center;
padding: 20px;
}
.loading.show {
display: block;
}
.spinner {
border: 3px solid #e2e8f0;
border-top: 3px solid #667eea;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin: 0 auto 15px;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Responsive design */
@media (max-width: 600px) {
.container {
padding: 10px;
}
.workflow-card {
padding: 25px;
}
.step-title {
font-size: 24px;
}
.main-actions {
flex-direction: column;
width: 100%;
}
.action-btn {
width: 100%;
}
.back-btn {
align-self: center;
width: 100%;
}
}
/* This seems to be the most standards-compliant, idiomatic way to say,
in HTML+CSS, "I want a blank line between this element the previous
one". Gotta love CSS's adjacent sibling combinator....
*/
p + p,
p + div.reminder,
div.this-platform + p,
p + div.this-platform,
div.other-platform + p,
p + div.other-platform,
p + pre,
div.this-platform + div.other-platform,
div.other-platform + div.this-platform,
pre + p,
details + p,
p + dl,
dl + p,
p + blockquote,
blockquote + p {
margin-top: 1em;
}
/* Classes for marking platform-specific content. No specific styling
right now; we use them for the semantics and functionality.
*/
.intel-mac {
}
.win {
}
.apple-silicon-mac {
}
.this-platform {
}
/* De-emphasize / dim / suppress content for the "other" platforms. We
could hide it entirely, but for now I'm not confident enough to do
that. So we just dim it out.
*/
.other-platform {
color: lightgray;
opacity: 0.6;
transition: opacity 0.2s ease;
}
/* The 0.9 opacity for images doesn't seem to match the text; turn it
down a bit more */
.other-platform img {
opacity: 0.4;
transition: opacity 0.2s ease;
}
.other-platform img:hover {
opacity: 0.9;
}
/* Allow the user to more easily read that non-applicable content if
they hover.
*/
.other-platform:hover,
.other-platform:focus-within {
color: gray;
opacity: 0.9;
}
dt {
font-weight: bold;
margin-top: 1em;
}
dd {
margin-left: 1em;
}
/* Styling for links on <li> elements to show a right-clickable 🔗 when
hovering:
*/
ol {
position: relative;
}
.anchor-link {
position: absolute;
left: -1.5em;
opacity: 0;
transition: opacity 0.2s ease;
text-decoration: none;
line-height: inherit;
}
li:hover .anchor-link,
li:focus-within .anchor-link,
.anchor-link:focus {
opacity: 1;
}
.anchor-link::before {
content: "🔗";
}