aboutsummaryrefslogtreecommitdiffstats
path: root/static/deck.css
blob: e4728a531697ef878a38cbac31ec690c81083713 (plain)
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
* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  background: var(--udt-base);
  color: var(--udt-text);
  font: 400 14px/20px "Noto Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
}

#grid {
  height: 100dvh;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
           max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: minmax(0, auto);
  align-content: start;
  overflow-y: auto;
}

.panel {
  background: var(--udt-surface0);
  border: 1px solid var(--udt-surface1);
  border-radius: 16px;
  padding: 16px;
  min-height: 0;
  min-width: 0;
}

.panel h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--udt-subtext0);
  margin-bottom: 12px;
}

.num {
  font-family: "Inconsolata Nerd Font Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

.muted { color: var(--udt-overlay0); }

button {
  font: inherit;
  color: inherit;
  background: var(--udt-surface1);
  border: 1px solid var(--udt-surface2);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  touch-action: manipulation;
}

button:active { background: var(--udt-surface2); }

button.on { background: var(--udt-accent); color: var(--udt-crust); border-color: var(--udt-accent); }

.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.obs-scenes, .obs-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.obs-audio .row span { flex: 1; min-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

select {
  font: inherit;
  color: inherit;
  background: var(--udt-surface1);
  border: 1px solid var(--udt-surface2);
  border-radius: 10px;
  padding: 8px;
}

.llm .meter { height: 6px; background: var(--udt-surface1); border-radius: 3px; overflow: hidden; margin: 2px 0 8px; }
.llm .meter > i { display: block; height: 100%; background: var(--udt-accent); }

.good { color: var(--udt-green); }
.bad { color: var(--udt-red); }
.warn { color: var(--udt-yellow); }