aboutsummaryrefslogtreecommitdiffstats
path: root/static/deck.css
blob: 5c4af849dd20cfd0c8661daa0e3ed44b9f0ee787 (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
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
* { 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-y: auto;
  overflow-x: hidden;
}

#grid {
  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));
}

.grid-stack { min-height: 100dvh; }

.panel { min-height: 0; min-width: 0; }

.grid-stack-item-content.panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--udt-surface0);
  border: 1px solid var(--udt-surface1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.panel-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--udt-mantle);
  border-bottom: 1px solid var(--udt-surface1);
}
.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--udt-accent);
  flex: none;
}
.panel .panel-head h2 {
  flex: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--udt-text);
}
.panel-drag {
  font: inherit;
  color: var(--udt-overlay0);
  background: transparent;
  border: 0;
  padding: 2px 6px;
  border-radius: 6px;
  cursor: grab;
  touch-action: none;
}
.panel-drag:hover { color: var(--udt-subtext0); background: var(--udt-surface1); }
.panel-body { flex: 1; min-height: 0; overflow: auto; padding: 14px; }

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--udt-overlay0);
  margin: 12px 0 6px;
}
.section-label:first-child { margin-top: 0; }

.music .top { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.music .art {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--udt-surface1);
  flex: none;
}
.music .art.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--udt-overlay0);
  font-size: 22px;
}
.music .meta { min-width: 0; }
.music .title {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.music .artist, .music .album { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music .album { font-size: 12px; color: var(--udt-overlay0); }
.music .seek { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.music .seek input { flex: 1; accent-color: var(--udt-accent); }
.music .time { font-size: 12px; color: var(--udt-subtext0); white-space: nowrap; }
.music .controls { display: flex; flex-wrap: wrap; gap: 8px; }

.sbb .sbb-summary { margin-bottom: 8px; font-size: 12px; }
.sbb .row.job .kind { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.grid-stack-item .ui-resizable-se { width: 22px; height: 22px; right: 2px; bottom: 2px; opacity: .45; }
.grid-stack-item:hover .ui-resizable-se { opacity: 1; }

.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;
}

.sbb .id { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stats .row, .windows .row { margin-bottom: 6px; }
.now b { display: block; font-size: 16px; }
.wt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.windows .row.on { color: var(--udt-accent); }

.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); }