-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhistory.css
More file actions
75 lines (69 loc) · 4.7 KB
/
Copy pathhistory.css
File metadata and controls
75 lines (69 loc) · 4.7 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
:root {
color-scheme: light;
--bg: #f6f5fa;
--surface: #ffffff;
--surface-high: #f0eef7;
--line: #ddd9e9;
--text: #29263a;
--muted: #6f6a7d;
--faint: #938da0;
--accent: #5b55c5;
--danger: #b63849;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 15% 0%, rgba(91, 85, 197, 0.09), transparent 32%), var(--bg); color: var(--text); }
button, input { font: inherit; }
button { border: 1px solid rgba(67, 56, 168, 0.42); border-radius: 8px; padding: 10px 13px; background: #5b55c5; color: #fff; font-weight: 800; cursor: pointer; }
button.secondary { background: var(--surface-high); border-color: var(--line); color: var(--text); }
button.danger { background: #fff0f2; border-color: #e3aeb7; color: var(--danger); }
button:disabled { cursor: not-allowed; opacity: 0.45; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(91, 85, 197, 0.34); outline-offset: 2px; }
.shell { max-width: 1160px; margin: 0 auto; padding: 42px 24px 80px; }
.hero { display: flex; justify-content: space-between; gap: 24px; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; font-weight: 800; }
h1 { margin: 0; font-size: clamp(30px, 5vw, 48px); letter-spacing: -0.035em; }
.lede { max-width: 720px; color: var(--muted); line-height: 1.55; }
.metrics { display: flex; gap: 10px; }
.metrics div { min-width: 88px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-align: center; }
.metrics strong, .metrics span { display: block; }
.metrics strong { color: var(--accent); font-size: 24px; }
.metrics span { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.toolbar { display: grid; gap: 14px; margin: 24px 0 4px; }
.search span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.search input { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.status { min-height: 20px; color: var(--accent); font-size: 13px; }
.status.error { color: var(--danger); }
.groups { display: grid; gap: 18px; margin-top: 18px; }
.group { border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.92); overflow: hidden; }
.group-header { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 16px 18px; background: var(--surface-high); border-bottom: 1px solid var(--line); }
.group-title { min-width: 0; }
.group-title h2 { margin: 0 0 4px; font-size: 17px; overflow-wrap: anywhere; }
.group-title p { margin: 0; color: var(--faint); font-size: 12px; }
.items { display: grid; }
.item { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto; gap: 16px; padding: 16px 18px; border-top: 1px solid var(--line); align-items: start; }
.item:first-child { border-top: 0; }
.evidence-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.evidence-preview figure { min-width: 0; margin: 0; }
.evidence-preview figcaption { margin-top: 5px; color: var(--faint); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; }
.thumbnail { display: block; width: 100%; height: 88px; object-fit: cover; border-radius: 7px; border: 1px solid var(--line); background: #f0eef7; }
.thumbnail.placeholder { grid-column: 1 / -1; max-width: 96px; height: 72px; }
.type { color: var(--accent); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.09em; }
.note { margin: 6px 0; white-space: pre-wrap; line-height: 1.45; }
.mutation-list { margin: 8px 0; padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.acceptance { margin: 8px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.meta { color: var(--faint); font-size: 12px; overflow-wrap: anywhere; }
.empty { padding: 52px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
@media (max-width: 720px) {
.hero { align-items: start; flex-direction: column; }
.item { grid-template-columns: minmax(130px, 180px) minmax(0, 1fr); }
.thumbnail { height: 68px; }
.item > button { grid-column: 1 / -1; }
.group-header { align-items: start; flex-direction: column; }
}
@media (max-width: 500px) {
.item { grid-template-columns: 1fr; }
.evidence-preview { max-width: 320px; }
.item > button { grid-column: 1; }
}