Repository navigation
Expand file tree
/
Copy pathdoctor.css
More file actions
106 lines (99 loc) · 3.56 KB
/
Copy pathdoctor.css
File metadata and controls
106 lines (99 loc) · 3.56 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
/* doctor — one task, plain styling, phone-friendly */
:root {
--bg: #f5f7fa;
--panel: #fff;
--ink: #0f172a;
--muted: #64748b;
--border: #e2e8f0;
--accent: #2563eb;
--pass: #16a34a;
--warn: #ca8a04;
--fail: #dc2626;
--skip: #94a3b8;
}
@media (prefers-color-scheme: dark) {
:root { --bg: #0f172a; --panel: #1e293b; --ink: #e2e8f0; --muted: #94a3b8; --border: #334155; --accent: #60a5fa; }
}
* { box-sizing: border-box; }
body {
font: 16px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: var(--bg);
color: var(--ink);
margin: 0;
padding: 32px 16px 64px;
}
main { max-width: 640px; margin: 0 auto; }
header h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -0.02em; }
header .tagline { margin: 0 0 24px; color: var(--muted); }
a { color: var(--accent); }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.card {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 12px;
padding: 20px;
margin-bottom: 20px;
}
.card h2 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0 0 14px; }
.lead { font-size: 17px; }
.hint { color: var(--muted); font-size: 14px; }
label { display: block; font-weight: 600; margin: 8px 0 6px; }
input[type="url"], input[type="password"] {
width: 100%;
font: inherit;
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg);
color: var(--ink);
}
button, .button {
display: inline-block;
font: inherit;
font-weight: 600;
padding: 10px 18px;
border-radius: 8px;
border: 1px solid var(--accent);
background: var(--accent);
color: #fff;
cursor: pointer;
text-decoration: none;
}
button:disabled { opacity: 0.5; cursor: default; }
button.secondary { background: transparent; color: var(--accent); }
button.link { background: none; border: none; color: var(--accent); padding: 0; font-weight: 400; text-decoration: underline; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.signer { display: flex; gap: 8px; align-items: center; margin: 12px 0; font-size: 14px; color: var(--muted); }
.signer .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--skip); flex: none; }
.signer.ok .dot { background: var(--pass); }
.signer.missing .dot { background: var(--fail); }
.steps { list-style: none; margin: 18px 0 0; padding: 0; }
.step { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.step .icon {
width: 24px; height: 24px; border-radius: 50%; flex: none;
display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--skip);
}
.step.pass .icon { background: var(--pass); }
.step.warn .icon { background: var(--warn); }
.step.fail .icon { background: var(--fail); }
.step.busy .icon { background: var(--accent); }
.step .label { font-weight: 600; }
.step .detail { color: var(--muted); font-size: 14px; word-break: break-word; }
.done { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.done h2 { color: var(--pass); }
details.advanced summary { cursor: pointer; font-weight: 600; }
details.advanced section { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
pre {
background: var(--bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
overflow: auto;
font-size: 13px;
white-space: pre-wrap;
word-break: break-all;
}
pre.ok { border-color: var(--pass); }
pre.error { border-color: var(--fail); }
footer { margin-top: 28px; color: var(--muted); font-size: 14px; text-align: center; }