@altopelago/sansa 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,251 @@
1
+ :root {
2
+ color-scheme: light;
3
+ --bg: #f4f1ea;
4
+ --panel: #fffdf8;
5
+ --ink: #20231d;
6
+ --muted: #666a5f;
7
+ --line: #d7d3c9;
8
+ --accent: #245b4f;
9
+ --accent-dark: #183e36;
10
+ --danger: #9b2f2f;
11
+ --code: #161a18;
12
+ }
13
+
14
+ * {
15
+ box-sizing: border-box;
16
+ }
17
+
18
+ body {
19
+ margin: 0;
20
+ min-width: 320px;
21
+ background: var(--bg);
22
+ color: var(--ink);
23
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
24
+ }
25
+
26
+ button,
27
+ select,
28
+ textarea,
29
+ input {
30
+ font: inherit;
31
+ }
32
+
33
+ .app-shell {
34
+ min-height: 100vh;
35
+ display: grid;
36
+ grid-template-rows: auto minmax(0, 1fr);
37
+ }
38
+
39
+ .topbar {
40
+ display: flex;
41
+ align-items: end;
42
+ justify-content: space-between;
43
+ gap: 24px;
44
+ padding: 20px 24px;
45
+ border-bottom: 1px solid var(--line);
46
+ background: #fbfaf5;
47
+ }
48
+
49
+ h1 {
50
+ margin: 0;
51
+ font-family: ui-serif, Georgia, "Times New Roman", serif;
52
+ font-size: 32px;
53
+ line-height: 1.1;
54
+ letter-spacing: 0;
55
+ }
56
+
57
+ p {
58
+ margin: 6px 0 0;
59
+ color: var(--muted);
60
+ font-size: 14px;
61
+ }
62
+
63
+ .topbar-actions {
64
+ display: flex;
65
+ flex-wrap: wrap;
66
+ justify-content: flex-end;
67
+ gap: 8px;
68
+ }
69
+
70
+ button,
71
+ select {
72
+ min-height: 40px;
73
+ border: 1px solid var(--line);
74
+ border-radius: 6px;
75
+ background: var(--panel);
76
+ color: var(--ink);
77
+ padding: 0 12px;
78
+ }
79
+
80
+ button {
81
+ cursor: pointer;
82
+ font-weight: 700;
83
+ }
84
+
85
+ #runButton {
86
+ border-color: var(--accent);
87
+ background: var(--accent);
88
+ color: white;
89
+ }
90
+
91
+ #runButton:hover {
92
+ background: var(--accent-dark);
93
+ }
94
+
95
+ .workspace {
96
+ min-height: 0;
97
+ display: grid;
98
+ grid-template-columns: minmax(360px, 1fr) minmax(420px, 1fr);
99
+ gap: 14px;
100
+ padding: 14px;
101
+ }
102
+
103
+ .panel {
104
+ min-height: 0;
105
+ display: grid;
106
+ border: 1px solid var(--line);
107
+ border-radius: 8px;
108
+ background: var(--panel);
109
+ overflow: hidden;
110
+ }
111
+
112
+ .source-panel {
113
+ grid-template-rows: auto auto minmax(180px, 0.72fr) auto minmax(120px, 0.28fr);
114
+ }
115
+
116
+ .query-panel {
117
+ grid-template-rows: auto minmax(140px, 0.55fr) auto auto auto minmax(180px, 0.45fr);
118
+ }
119
+
120
+ .panel-head {
121
+ display: flex;
122
+ align-items: center;
123
+ justify-content: space-between;
124
+ gap: 16px;
125
+ min-height: 42px;
126
+ padding: 10px 14px;
127
+ border-bottom: 1px solid var(--line);
128
+ }
129
+
130
+ .results-head {
131
+ border-top: 1px solid var(--line);
132
+ }
133
+
134
+ .params-head {
135
+ border-top: 1px solid var(--line);
136
+ }
137
+
138
+ label,
139
+ .panel-head span {
140
+ font-size: 12px;
141
+ font-weight: 800;
142
+ letter-spacing: 0.08em;
143
+ text-transform: uppercase;
144
+ }
145
+
146
+ .panel-head span {
147
+ color: var(--muted);
148
+ }
149
+
150
+ textarea,
151
+ pre {
152
+ width: 100%;
153
+ min-width: 0;
154
+ min-height: 0;
155
+ margin: 0;
156
+ border: 0;
157
+ outline: 0;
158
+ resize: none;
159
+ background: var(--code);
160
+ color: #f5f1e8;
161
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
162
+ font-size: 13px;
163
+ line-height: 1.55;
164
+ letter-spacing: 0;
165
+ tab-size: 2;
166
+ }
167
+
168
+ textarea {
169
+ padding: 14px;
170
+ }
171
+
172
+ textarea:focus {
173
+ box-shadow: inset 0 0 0 2px #3478d4;
174
+ }
175
+
176
+ pre {
177
+ overflow: auto;
178
+ padding: 14px;
179
+ white-space: pre-wrap;
180
+ word-break: break-word;
181
+ }
182
+
183
+ .mode-row,
184
+ .budget-row,
185
+ .source-mode-row {
186
+ display: flex;
187
+ align-items: center;
188
+ gap: 16px;
189
+ min-height: 42px;
190
+ padding: 0 14px;
191
+ border-top: 1px solid var(--line);
192
+ }
193
+
194
+ .source-mode-row {
195
+ border-top: 0;
196
+ border-bottom: 1px solid var(--line);
197
+ }
198
+
199
+ .mode-row label,
200
+ .budget-row label,
201
+ .source-mode-row label {
202
+ display: inline-flex;
203
+ align-items: center;
204
+ gap: 6px;
205
+ color: var(--muted);
206
+ letter-spacing: 0;
207
+ text-transform: none;
208
+ }
209
+
210
+ .mode-row input,
211
+ .source-mode-row input {
212
+ accent-color: var(--accent);
213
+ }
214
+
215
+ .budget-row {
216
+ flex-wrap: wrap;
217
+ }
218
+
219
+ .budget-row label {
220
+ gap: 8px;
221
+ }
222
+
223
+ .budget-row input {
224
+ width: 96px;
225
+ min-height: 30px;
226
+ border: 1px solid var(--line);
227
+ border-radius: 6px;
228
+ background: #fffdf8;
229
+ color: var(--ink);
230
+ padding: 0 8px;
231
+ }
232
+
233
+ @media (max-width: 860px) {
234
+ .topbar {
235
+ align-items: stretch;
236
+ flex-direction: column;
237
+ }
238
+
239
+ .topbar-actions {
240
+ justify-content: stretch;
241
+ }
242
+
243
+ .topbar-actions > * {
244
+ flex: 1 1 140px;
245
+ }
246
+
247
+ .workspace {
248
+ grid-template-columns: minmax(0, 1fr);
249
+ grid-template-rows: minmax(520px, 52vh) minmax(520px, 1fr);
250
+ }
251
+ }