~bigbes/lethe

ref: f6611d76465acb94b949abe87462ad0c33e43585 lethe/web/src/styles/stats.css -rw-r--r-- 1.4 KiB
f6611d76 — Eugene Blikh web: regenerate embedded SPA bundle for stats route a month ago
                                                                                
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
/* Stats route — card grid */

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  overflow: auto;
}

.stats-grid .full {
  grid-column: 1 / -1;
}

/* Card base (mirrors prototype.css) */
.card {
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  background: var(--paper-4);
}

.card .card-head {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  padding: 8px 10px 6px;
  border-bottom: 1px solid var(--rule-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card .card-body {
  padding: 10px;
}

/* Per-tool rollup rows */
.per-tool-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 6px 12px;
  border-bottom: 1px solid var(--rule-2);
  font-size: 11.5px;
}

.per-tool-row:last-child {
  border-bottom: none;
}

/* Range button group — reuse the same .since-btn-group / .since-btn pattern */
.range-btn-group {
  display: flex;
  gap: 2px;
}

.range-btn {
  padding: 2px 8px;
  font-size: 10.5px;
  font-family: var(--mono);
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  border-radius: 3px;
  line-height: 1.6;
}

.range-btn:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.range-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
}