@tanstack/query-devtools 5.108.1 → 5.108.2

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.
Files changed (52) hide show
  1. package/build/{DevtoolsComponent-e0KiEsCw.js → DevtoolsComponent-BBTUIw3a.js} +2 -2
  2. package/build/DevtoolsComponent-CqaQIX_J.cjs +45 -0
  3. package/build/DevtoolsComponent-KaCCT4mO.js +3 -0
  4. package/build/{DevtoolsComponent-CJG_H2ix.js.map → DevtoolsComponent-KaCCT4mO.js.map} +1 -1
  5. package/build/DevtoolsComponent-NOj66Dgq.cjs +2 -0
  6. package/build/DevtoolsPanelComponent-1en47poS.js +3 -0
  7. package/build/{DevtoolsPanelComponent-By2KdGQW.js.map → DevtoolsPanelComponent-1en47poS.js.map} +1 -1
  8. package/build/DevtoolsPanelComponent-C6-KUZMt.cjs +2 -0
  9. package/build/{DevtoolsPanelComponent-D9e2k2ne.js → DevtoolsPanelComponent-DA61oPj3.js} +2 -2
  10. package/build/DevtoolsPanelComponent-DHv0HzmU.cjs +52 -0
  11. package/build/{DevtoolsSubscriptionsProvider-CtZ2t7t0.js → DevtoolsSubscriptionsProvider-Cl_PUkf2.js} +1636 -2295
  12. package/build/{DevtoolsSubscriptionsProvider-D9zXQvDq.cjs → DevtoolsSubscriptionsProvider-DC-V1gB8.cjs} +2520 -3173
  13. package/build/DevtoolsSubscriptionsProvider-DpHm90Dj.js +10 -0
  14. package/build/DevtoolsSubscriptionsProvider-DpHm90Dj.js.map +1 -0
  15. package/build/DevtoolsSubscriptionsProvider-gZwQB0lN.cjs +9 -0
  16. package/build/dev.cjs +30 -30
  17. package/build/dev.js +11 -11
  18. package/build/index.cjs +1 -1
  19. package/build/index.d.cts +26 -10
  20. package/build/index.d.cts.map +1 -1
  21. package/build/index.d.ts +26 -10
  22. package/build/index.d.ts.map +1 -1
  23. package/build/index.js +1 -1
  24. package/build/index.js.map +1 -1
  25. package/build/{utils-CzP8C7c0.cjs → web-BD1Jlb-z.cjs} +43 -1036
  26. package/build/web-BRnEZuZ3.cjs +2 -0
  27. package/build/{utils-D7iZi04l.js → web-BZdVkndN.js} +42 -939
  28. package/build/web-da-lPyZC.js +3 -0
  29. package/build/web-da-lPyZC.js.map +1 -0
  30. package/package.json +3 -5
  31. package/src/Devtools.tsx +127 -1712
  32. package/src/Explorer.tsx +78 -285
  33. package/src/TanstackQueryDevtools.tsx +19 -10
  34. package/src/TanstackQueryDevtoolsPanel.tsx +19 -10
  35. package/src/contexts/PiPContext.tsx +4 -31
  36. package/src/contexts/types.ts +2 -2
  37. package/src/global.d.ts +1 -0
  38. package/src/styles.css +2158 -0
  39. package/src/styles.ts +49 -0
  40. package/src/utils.tsx +0 -23
  41. package/build/DevtoolsComponent-CJG_H2ix.js +0 -3
  42. package/build/DevtoolsComponent-CJb6tQE-.cjs +0 -2
  43. package/build/DevtoolsComponent-KSaqMRUY.cjs +0 -45
  44. package/build/DevtoolsPanelComponent-BXsLpTv2.cjs +0 -2
  45. package/build/DevtoolsPanelComponent-By2KdGQW.js +0 -3
  46. package/build/DevtoolsPanelComponent-CpAkTR9C.cjs +0 -52
  47. package/build/DevtoolsSubscriptionsProvider-CBn1lU_l.cjs +0 -1291
  48. package/build/DevtoolsSubscriptionsProvider-DQhbYH9U.js +0 -1292
  49. package/build/DevtoolsSubscriptionsProvider-DQhbYH9U.js.map +0 -1
  50. package/build/utils-DC2pN79q.js +0 -3
  51. package/build/utils-DC2pN79q.js.map +0 -1
  52. package/build/utils-DJl-N7L2.cjs +0 -2
package/src/styles.css ADDED
@@ -0,0 +1,2158 @@
1
+ /*
2
+ * The devtools styles. Classes are prefixed with `tsqd-style-` so they do not
3
+ * clash with the `tsqd-*` classes that users can style. A class with different
4
+ * values in the dark theme is followed by its `-dark` modifier class.
5
+ */
6
+
7
+ /* Devtools */
8
+
9
+ .tsqd-style-devtools-btn {
10
+ z-index: 100000;
11
+ position: fixed;
12
+ padding: 4px;
13
+ text-align: left;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ border-radius: 9999px;
18
+ box-shadow:
19
+ 0 4px 6px -1px rgb(0 0 0 / 0.1),
20
+ 0 2px 4px -2px rgb(0 0 0 / 0.1);
21
+ overflow: hidden;
22
+ }
23
+
24
+ .tsqd-style-devtools-btn div {
25
+ position: absolute;
26
+ top: -8px;
27
+ left: -8px;
28
+ right: -8px;
29
+ bottom: -8px;
30
+ border-radius: 9999px;
31
+ transform: translateZ(0);
32
+ filter: blur(6px) saturate(1.2) contrast(1.1);
33
+ }
34
+
35
+ .tsqd-style-devtools-btn div svg {
36
+ position: absolute;
37
+ width: 100%;
38
+ height: 100%;
39
+ }
40
+
41
+ .tsqd-style-devtools-btn:focus-within {
42
+ outline-offset: 2px;
43
+ outline: 3px solid #039855;
44
+ }
45
+
46
+ .tsqd-style-devtools-btn button {
47
+ position: relative;
48
+ z-index: 1;
49
+ padding: 0;
50
+ border-radius: 9999px;
51
+ background-color: transparent;
52
+ border: none;
53
+ height: 40px;
54
+ display: flex;
55
+ width: 40px;
56
+ overflow: hidden;
57
+ cursor: pointer;
58
+ outline: none;
59
+ }
60
+
61
+ .tsqd-style-devtools-btn button svg {
62
+ position: absolute;
63
+ width: 100%;
64
+ height: 100%;
65
+ }
66
+
67
+ .tsqd-style-panel,
68
+ .tsqd-style-parent-panel {
69
+ z-index: 9999;
70
+ display: flex;
71
+ gap: calc(var(--tsqd-font-size) * 0.125);
72
+ }
73
+
74
+ .tsqd-style-panel {
75
+ position: fixed;
76
+ }
77
+
78
+ .tsqd-style-parent-panel {
79
+ height: 100%;
80
+ flex: 1 1 500px;
81
+ min-height: 0;
82
+ }
83
+
84
+ .tsqd-style-panel *,
85
+ .tsqd-style-parent-panel * {
86
+ box-sizing: border-box;
87
+ text-transform: none;
88
+ }
89
+
90
+ .tsqd-style-panel *::-webkit-scrollbar,
91
+ .tsqd-style-parent-panel *::-webkit-scrollbar {
92
+ width: 7px;
93
+ }
94
+
95
+ .tsqd-style-panel *::-webkit-scrollbar-track,
96
+ .tsqd-style-parent-panel *::-webkit-scrollbar-track {
97
+ background: transparent;
98
+ }
99
+
100
+ .tsqd-style-panel *::-webkit-scrollbar-thumb,
101
+ .tsqd-style-parent-panel *::-webkit-scrollbar-thumb {
102
+ background: #d0d5dd;
103
+ }
104
+
105
+ .tsqd-style-panel *::-webkit-scrollbar-thumb:hover,
106
+ .tsqd-style-parent-panel *::-webkit-scrollbar-thumb:hover {
107
+ background: #98a2b3;
108
+ }
109
+
110
+ .tsqd-style-panel-dark *::-webkit-scrollbar-thumb,
111
+ .tsqd-style-parent-panel-dark *::-webkit-scrollbar-thumb {
112
+ background: #414962;
113
+ }
114
+
115
+ .tsqd-style-panel-dark *::-webkit-scrollbar-thumb:hover,
116
+ .tsqd-style-parent-panel-dark *::-webkit-scrollbar-thumb:hover {
117
+ background: #394056;
118
+ }
119
+
120
+ .tsqd-style-devtools-btn-position-bottom-right {
121
+ bottom: 12px;
122
+ right: 12px;
123
+ }
124
+
125
+ .tsqd-style-devtools-btn-position-bottom-left {
126
+ bottom: 12px;
127
+ left: 12px;
128
+ }
129
+
130
+ .tsqd-style-devtools-btn-position-top-left {
131
+ top: 12px;
132
+ left: 12px;
133
+ }
134
+
135
+ .tsqd-style-devtools-btn-position-top-right {
136
+ top: 12px;
137
+ right: 12px;
138
+ }
139
+
140
+ .tsqd-style-devtools-btn-position-relative {
141
+ position: relative;
142
+ }
143
+
144
+ .tsqd-style-panel-position-top {
145
+ top: 0;
146
+ right: 0;
147
+ left: 0;
148
+ max-height: 90%;
149
+ min-height: calc(var(--tsqd-font-size) * 3.5);
150
+ border-bottom: #98a2b3 1px solid;
151
+ }
152
+
153
+ .tsqd-style-panel-position-top-dark {
154
+ border-bottom: #394056 1px solid;
155
+ }
156
+
157
+ .tsqd-style-panel-position-bottom {
158
+ bottom: 0;
159
+ right: 0;
160
+ left: 0;
161
+ max-height: 90%;
162
+ min-height: calc(var(--tsqd-font-size) * 3.5);
163
+ border-top: #98a2b3 1px solid;
164
+ }
165
+
166
+ .tsqd-style-panel-position-bottom-dark {
167
+ border-top: #394056 1px solid;
168
+ }
169
+
170
+ .tsqd-style-panel-position-right {
171
+ bottom: 0;
172
+ right: 0;
173
+ top: 0;
174
+ border-left: #98a2b3 1px solid;
175
+ max-width: 90%;
176
+ }
177
+
178
+ .tsqd-style-panel-position-right-dark {
179
+ border-left: #394056 1px solid;
180
+ }
181
+
182
+ .tsqd-style-panel-position-left {
183
+ bottom: 0;
184
+ left: 0;
185
+ top: 0;
186
+ border-right: #98a2b3 1px solid;
187
+ max-width: 90%;
188
+ }
189
+
190
+ .tsqd-style-panel-position-left-dark {
191
+ border-right: #394056 1px solid;
192
+ }
193
+
194
+ .tsqd-style-close-btn {
195
+ position: absolute;
196
+ cursor: pointer;
197
+ z-index: 5;
198
+ display: flex;
199
+ align-items: center;
200
+ justify-content: center;
201
+ outline: none;
202
+ background-color: #f9fafb;
203
+ }
204
+
205
+ .tsqd-style-close-btn:hover {
206
+ background-color: #eaecf0;
207
+ }
208
+
209
+ .tsqd-style-close-btn:focus-visible {
210
+ outline: 2px solid #1570ef;
211
+ }
212
+
213
+ .tsqd-style-close-btn svg {
214
+ color: #475467;
215
+ width: calc(var(--tsqd-font-size) * 0.5);
216
+ height: calc(var(--tsqd-font-size) * 0.5);
217
+ }
218
+
219
+ .tsqd-style-close-btn-dark {
220
+ background-color: #191c24;
221
+ }
222
+
223
+ .tsqd-style-close-btn-dark:hover {
224
+ background-color: #292e3d;
225
+ }
226
+
227
+ .tsqd-style-close-btn-dark svg {
228
+ color: #98a2b3;
229
+ }
230
+
231
+ .tsqd-style-close-btn-position-top {
232
+ bottom: 0;
233
+ right: calc(var(--tsqd-font-size) * 0.5);
234
+ transform: translate(0, 100%);
235
+ border-right: #98a2b3 1px solid;
236
+ border-left: #98a2b3 1px solid;
237
+ border-top: none;
238
+ border-bottom: #98a2b3 1px solid;
239
+ border-radius: 0 0 calc(var(--tsqd-font-size) * 0.25)
240
+ calc(var(--tsqd-font-size) * 0.25);
241
+ padding: calc(var(--tsqd-font-size) * 0.125)
242
+ calc(var(--tsqd-font-size) * 0.375) calc(var(--tsqd-font-size) * 0.25)
243
+ calc(var(--tsqd-font-size) * 0.375);
244
+ }
245
+
246
+ .tsqd-style-close-btn-position-top::after {
247
+ content: ' ';
248
+ position: absolute;
249
+ bottom: 100%;
250
+ height: calc(var(--tsqd-font-size) * 0.375);
251
+ width: calc(100% + var(--tsqd-font-size) * 1.25);
252
+ }
253
+
254
+ .tsqd-style-close-btn-position-top svg {
255
+ transform: rotate(180deg);
256
+ }
257
+
258
+ .tsqd-style-close-btn-position-top-dark {
259
+ border-right: #394056 1px solid;
260
+ border-left: #394056 1px solid;
261
+ border-bottom: #394056 1px solid;
262
+ }
263
+
264
+ .tsqd-style-close-btn-position-bottom {
265
+ top: 0;
266
+ right: calc(var(--tsqd-font-size) * 0.5);
267
+ transform: translate(0, -100%);
268
+ border-right: #98a2b3 1px solid;
269
+ border-left: #98a2b3 1px solid;
270
+ border-top: #98a2b3 1px solid;
271
+ border-bottom: none;
272
+ border-radius: calc(var(--tsqd-font-size) * 0.25)
273
+ calc(var(--tsqd-font-size) * 0.25) 0 0;
274
+ padding: calc(var(--tsqd-font-size) * 0.25)
275
+ calc(var(--tsqd-font-size) * 0.375) calc(var(--tsqd-font-size) * 0.125)
276
+ calc(var(--tsqd-font-size) * 0.375);
277
+ }
278
+
279
+ .tsqd-style-close-btn-position-bottom::after {
280
+ content: ' ';
281
+ position: absolute;
282
+ top: 100%;
283
+ height: calc(var(--tsqd-font-size) * 0.375);
284
+ width: calc(100% + var(--tsqd-font-size) * 1.25);
285
+ }
286
+
287
+ .tsqd-style-close-btn-position-bottom-dark {
288
+ border-right: #394056 1px solid;
289
+ border-left: #394056 1px solid;
290
+ border-top: #394056 1px solid;
291
+ }
292
+
293
+ .tsqd-style-close-btn-position-right {
294
+ bottom: calc(var(--tsqd-font-size) * 0.5);
295
+ left: 0;
296
+ transform: translate(-100%, 0);
297
+ border-right: none;
298
+ border-left: #98a2b3 1px solid;
299
+ border-top: #98a2b3 1px solid;
300
+ border-bottom: #98a2b3 1px solid;
301
+ border-radius: calc(var(--tsqd-font-size) * 0.25) 0 0
302
+ calc(var(--tsqd-font-size) * 0.25);
303
+ padding: calc(var(--tsqd-font-size) * 0.375)
304
+ calc(var(--tsqd-font-size) * 0.125) calc(var(--tsqd-font-size) * 0.375)
305
+ calc(var(--tsqd-font-size) * 0.25);
306
+ }
307
+
308
+ .tsqd-style-close-btn-position-right::after {
309
+ content: ' ';
310
+ position: absolute;
311
+ left: 100%;
312
+ height: calc(100% + var(--tsqd-font-size) * 1.25);
313
+ width: calc(var(--tsqd-font-size) * 0.375);
314
+ }
315
+
316
+ .tsqd-style-close-btn-position-right svg {
317
+ transform: rotate(-90deg);
318
+ }
319
+
320
+ .tsqd-style-close-btn-position-right-dark {
321
+ border-left: #394056 1px solid;
322
+ border-top: #394056 1px solid;
323
+ border-bottom: #394056 1px solid;
324
+ }
325
+
326
+ .tsqd-style-close-btn-position-left {
327
+ bottom: calc(var(--tsqd-font-size) * 0.5);
328
+ right: 0;
329
+ transform: translate(100%, 0);
330
+ border-left: none;
331
+ border-right: #98a2b3 1px solid;
332
+ border-top: #98a2b3 1px solid;
333
+ border-bottom: #98a2b3 1px solid;
334
+ border-radius: 0 calc(var(--tsqd-font-size) * 0.25)
335
+ calc(var(--tsqd-font-size) * 0.25) 0;
336
+ padding: calc(var(--tsqd-font-size) * 0.375)
337
+ calc(var(--tsqd-font-size) * 0.25) calc(var(--tsqd-font-size) * 0.375)
338
+ calc(var(--tsqd-font-size) * 0.125);
339
+ }
340
+
341
+ .tsqd-style-close-btn-position-left::after {
342
+ content: ' ';
343
+ position: absolute;
344
+ right: 100%;
345
+ height: calc(100% + var(--tsqd-font-size) * 1.25);
346
+ width: calc(var(--tsqd-font-size) * 0.375);
347
+ }
348
+
349
+ .tsqd-style-close-btn-position-left svg {
350
+ transform: rotate(90deg);
351
+ }
352
+
353
+ .tsqd-style-close-btn-position-left-dark {
354
+ border-right: #394056 1px solid;
355
+ border-top: #394056 1px solid;
356
+ border-bottom: #394056 1px solid;
357
+ }
358
+
359
+ .tsqd-style-queries-container {
360
+ flex: 1 1 700px;
361
+ background-color: #f9fafb;
362
+ display: flex;
363
+ flex-direction: column;
364
+ }
365
+
366
+ .tsqd-style-queries-container * {
367
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif;
368
+ }
369
+
370
+ .tsqd-style-queries-container-dark {
371
+ background-color: #191c24;
372
+ }
373
+
374
+ .tsqd-style-drag-handle {
375
+ position: absolute;
376
+ transition: background-color 0.125s ease;
377
+ z-index: 4;
378
+ }
379
+
380
+ .tsqd-style-drag-handle:hover {
381
+ background-color: #9b8afb;
382
+ }
383
+
384
+ .tsqd-style-drag-handle:focus {
385
+ outline: none;
386
+ background-color: #9b8afb;
387
+ }
388
+
389
+ .tsqd-style-drag-handle:focus-visible {
390
+ outline: 2px solid #1849a9;
391
+ outline-offset: -2px;
392
+ background-color: #9b8afb;
393
+ }
394
+
395
+ .tsqd-style-drag-handle-dark:hover {
396
+ background-color: #9b8afbe5;
397
+ }
398
+
399
+ .tsqd-style-drag-handle-dark:focus {
400
+ background-color: #9b8afbe5;
401
+ }
402
+
403
+ .tsqd-style-drag-handle-dark:focus-visible {
404
+ background-color: #9b8afbe5;
405
+ }
406
+
407
+ .tsqd-style-drag-handle-position-top {
408
+ bottom: 0;
409
+ width: 100%;
410
+ height: 3px;
411
+ cursor: ns-resize;
412
+ }
413
+
414
+ .tsqd-style-drag-handle-position-bottom {
415
+ top: 0;
416
+ width: 100%;
417
+ height: 3px;
418
+ cursor: ns-resize;
419
+ }
420
+
421
+ .tsqd-style-drag-handle-position-right {
422
+ left: 0;
423
+ width: 3px;
424
+ height: 100%;
425
+ cursor: ew-resize;
426
+ }
427
+
428
+ .tsqd-style-drag-handle-position-left {
429
+ right: 0;
430
+ width: 3px;
431
+ height: 100%;
432
+ cursor: ew-resize;
433
+ }
434
+
435
+ .tsqd-style-row {
436
+ display: flex;
437
+ justify-content: space-between;
438
+ align-items: center;
439
+ padding: calc(var(--tsqd-font-size) * 0.5) calc(var(--tsqd-font-size) * 0.625);
440
+ gap: calc(var(--tsqd-font-size) * 0.625);
441
+ border-bottom: #d0d5dd 1px solid;
442
+ }
443
+
444
+ .tsqd-style-row > button {
445
+ padding: 0;
446
+ background: transparent;
447
+ border: none;
448
+ display: flex;
449
+ gap: calc(var(--tsqd-font-size) * 0.125);
450
+ flex-direction: column;
451
+ }
452
+
453
+ .tsqd-style-row-dark {
454
+ border-bottom: #292e3d 1px solid;
455
+ }
456
+
457
+ .tsqd-style-logo-and-toggle-container {
458
+ display: flex;
459
+ gap: calc(var(--tsqd-font-size) * 0.75);
460
+ align-items: center;
461
+ }
462
+
463
+ .tsqd-style-logo {
464
+ cursor: pointer;
465
+ display: flex;
466
+ flex-direction: column;
467
+ background-color: transparent;
468
+ border: none;
469
+ gap: calc(var(--tsqd-font-size) * 0.125);
470
+ padding: 0;
471
+ }
472
+
473
+ .tsqd-style-logo:hover {
474
+ opacity: 0.7;
475
+ }
476
+
477
+ .tsqd-style-logo:focus-visible {
478
+ outline-offset: 4px;
479
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
480
+ outline: 2px solid #1849a9;
481
+ }
482
+
483
+ .tsqd-style-tanstack-logo {
484
+ font-size: var(--tsqd-font-size);
485
+ font-weight: 700;
486
+ line-height: calc(var(--tsqd-font-size) * 1);
487
+ white-space: nowrap;
488
+ color: #475467;
489
+ }
490
+
491
+ .tsqd-style-tanstack-logo-dark {
492
+ color: #d0d5dd;
493
+ }
494
+
495
+ .tsqd-style-query-flavor-logo {
496
+ font-weight: 600;
497
+ font-size: calc(var(--tsqd-font-size) * 0.75);
498
+ background: linear-gradient(to right, #ea4037, #ff9b11);
499
+ background-clip: text;
500
+ -webkit-background-clip: text;
501
+ line-height: 1;
502
+ -webkit-text-fill-color: transparent;
503
+ white-space: nowrap;
504
+ }
505
+
506
+ .tsqd-style-query-flavor-logo-dark {
507
+ background-image: linear-gradient(to right, #dd524b, #e9a03b);
508
+ }
509
+
510
+ .tsqd-style-query-status-container {
511
+ display: flex;
512
+ gap: calc(var(--tsqd-font-size) * 0.5);
513
+ height: min-content;
514
+ }
515
+
516
+ .tsqd-style-query-status-tag {
517
+ display: flex;
518
+ gap: calc(var(--tsqd-font-size) * 0.375);
519
+ box-sizing: border-box;
520
+ height: calc(var(--tsqd-font-size) * 1.625);
521
+ background: #f9fafb;
522
+ color: #344054;
523
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
524
+ font-size: calc(var(--tsqd-font-size) * 0.875);
525
+ padding: calc(var(--tsqd-font-size) * 0.25);
526
+ padding-left: calc(var(--tsqd-font-size) * 0.375);
527
+ align-items: center;
528
+ font-weight: 500;
529
+ border: 1px solid #d0d5dd;
530
+ user-select: none;
531
+ position: relative;
532
+ }
533
+
534
+ .tsqd-style-query-status-tag:focus-visible {
535
+ outline-offset: 2px;
536
+ outline: 2px solid #1849a9;
537
+ }
538
+
539
+ .tsqd-style-query-status-tag-dark {
540
+ background: #292e3d;
541
+ color: #d0d5dd;
542
+ border: 1px solid transparent;
543
+ }
544
+
545
+ .tsqd-style-query-status-tag-label {
546
+ font-size: calc(var(--tsqd-font-size) * 0.75);
547
+ }
548
+
549
+ .tsqd-style-query-status-count {
550
+ font-size: calc(var(--tsqd-font-size) * 0.75);
551
+ padding: 0 5px;
552
+ display: flex;
553
+ align-items: center;
554
+ justify-content: center;
555
+ color: #667085;
556
+ background-color: #eaecf0;
557
+ border-radius: 2px;
558
+ font-variant-numeric: tabular-nums;
559
+ height: calc(var(--tsqd-font-size) * 1.125);
560
+ }
561
+
562
+ .tsqd-style-query-status-count-dark {
563
+ color: #98a2b3;
564
+ background-color: #394056;
565
+ }
566
+
567
+ .tsqd-style-status-tooltip {
568
+ position: absolute;
569
+ z-index: 1;
570
+ background-color: #f9fafb;
571
+ top: 100%;
572
+ left: 50%;
573
+ transform: translate(-50%, calc(var(--tsqd-font-size) * 0.5));
574
+ padding: calc(var(--tsqd-font-size) * 0.125) calc(var(--tsqd-font-size) * 0.5);
575
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
576
+ font-size: calc(var(--tsqd-font-size) * 0.75);
577
+ border: 1px solid #98a2b3;
578
+ color: #475467;
579
+ }
580
+
581
+ .tsqd-style-status-tooltip::before {
582
+ top: 0;
583
+ content: ' ';
584
+ display: block;
585
+ left: 50%;
586
+ transform: translate(-50%, -100%);
587
+ position: absolute;
588
+ border-color: transparent transparent #98a2b3 transparent;
589
+ border-style: solid;
590
+ border-width: 7px;
591
+ }
592
+
593
+ .tsqd-style-status-tooltip::after {
594
+ top: 0;
595
+ content: ' ';
596
+ display: block;
597
+ left: 50%;
598
+ transform: translate(-50%, calc(-100% + 2px));
599
+ position: absolute;
600
+ border-color: transparent transparent #f2f4f7 transparent;
601
+ border-style: solid;
602
+ border-width: 7px;
603
+ }
604
+
605
+ .tsqd-style-status-tooltip-dark {
606
+ background-color: #292e3d;
607
+ border: 1px solid #475467;
608
+ color: #d0d5dd;
609
+ }
610
+
611
+ .tsqd-style-status-tooltip-dark::before {
612
+ border-color: transparent transparent #475467 transparent;
613
+ }
614
+
615
+ .tsqd-style-status-tooltip-dark::after {
616
+ border-color: transparent transparent #292e3d transparent;
617
+ }
618
+
619
+ .tsqd-style-filters-container {
620
+ display: flex;
621
+ gap: calc(var(--tsqd-font-size) * 0.5);
622
+ }
623
+
624
+ .tsqd-style-filters-container > button {
625
+ cursor: pointer;
626
+ padding: calc(var(--tsqd-font-size) * 0.125)
627
+ calc(var(--tsqd-font-size) * 0.375) calc(var(--tsqd-font-size) * 0.125)
628
+ calc(var(--tsqd-font-size) * 0.5);
629
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
630
+ background-color: #f2f4f7;
631
+ border: 1px solid #d0d5dd;
632
+ color: #344054;
633
+ font-size: calc(var(--tsqd-font-size) * 0.75);
634
+ display: flex;
635
+ align-items: center;
636
+ line-height: calc(var(--tsqd-font-size) * 1.25);
637
+ gap: calc(var(--tsqd-font-size) * 0.375);
638
+ max-width: 160px;
639
+ }
640
+
641
+ .tsqd-style-filters-container > button:focus-visible {
642
+ outline-offset: 2px;
643
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
644
+ outline: 2px solid #1849a9;
645
+ }
646
+
647
+ .tsqd-style-filters-container > button svg {
648
+ width: calc(var(--tsqd-font-size) * 0.75);
649
+ height: calc(var(--tsqd-font-size) * 0.75);
650
+ color: #667085;
651
+ }
652
+
653
+ .tsqd-style-filters-container-dark > button {
654
+ background-color: #313749;
655
+ border: 1px solid #414962;
656
+ color: #d0d5dd;
657
+ }
658
+
659
+ .tsqd-style-filters-container-dark > button svg {
660
+ color: #98a2b3;
661
+ }
662
+
663
+ .tsqd-style-filter-input {
664
+ padding: calc(var(--tsqd-font-size) * 0.125) calc(var(--tsqd-font-size) * 0.5);
665
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
666
+ background-color: #f2f4f7;
667
+ display: flex;
668
+ box-sizing: content-box;
669
+ align-items: center;
670
+ gap: calc(var(--tsqd-font-size) * 0.375);
671
+ max-width: 160px;
672
+ min-width: 100px;
673
+ border: 1px solid #d0d5dd;
674
+ height: min-content;
675
+ color: #475467;
676
+ }
677
+
678
+ .tsqd-style-filter-input > svg {
679
+ width: calc(var(--tsqd-font-size) * 0.75);
680
+ height: calc(var(--tsqd-font-size) * 0.75);
681
+ }
682
+
683
+ .tsqd-style-filter-input input {
684
+ font-size: calc(var(--tsqd-font-size) * 0.75);
685
+ width: 100%;
686
+ min-width: 0;
687
+ flex: 1;
688
+ background-color: #f2f4f7;
689
+ border: none;
690
+ padding: 0;
691
+ line-height: calc(var(--tsqd-font-size) * 1.25);
692
+ color: #344054;
693
+ }
694
+
695
+ .tsqd-style-filter-input input::placeholder {
696
+ color: #344054;
697
+ }
698
+
699
+ .tsqd-style-filter-input input:focus {
700
+ outline: none;
701
+ }
702
+
703
+ .tsqd-style-filter-input:focus-within {
704
+ outline-offset: 2px;
705
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
706
+ outline: 2px solid #1849a9;
707
+ }
708
+
709
+ .tsqd-style-filter-input-dark {
710
+ background-color: #313749;
711
+ border: 1px solid #414962;
712
+ color: #98a2b3;
713
+ }
714
+
715
+ .tsqd-style-filter-input-dark input {
716
+ background-color: #313749;
717
+ color: #d0d5dd;
718
+ }
719
+
720
+ .tsqd-style-filter-input-dark input::placeholder {
721
+ color: #d0d5dd;
722
+ }
723
+
724
+ .tsqd-style-filter-scope-btn {
725
+ flex-shrink: 0;
726
+ cursor: pointer;
727
+ padding: 0 calc(var(--tsqd-font-size) * 0.25);
728
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
729
+ border: 1px solid #d0d5dd;
730
+ background-color: #eaecf0;
731
+ color: #344054;
732
+ font-size: calc(var(--tsqd-font-size) * 0.75);
733
+ line-height: calc(var(--tsqd-font-size) * 1);
734
+ }
735
+
736
+ .tsqd-style-filter-scope-btn[data-scope='data'],
737
+ .tsqd-style-filter-scope-btn[data-scope='all'] {
738
+ border-color: #84caff;
739
+ background-color: #d1e9ff;
740
+ color: #175cd3;
741
+ }
742
+
743
+ .tsqd-style-filter-scope-btn:focus-visible {
744
+ outline-offset: 2px;
745
+ outline: 2px solid #1849a9;
746
+ }
747
+
748
+ .tsqd-style-filter-scope-btn-dark {
749
+ border: 1px solid #414962;
750
+ background-color: #292e3d;
751
+ color: #d0d5dd;
752
+ }
753
+
754
+ .tsqd-style-filter-scope-btn-dark[data-scope='data'],
755
+ .tsqd-style-filter-scope-btn-dark[data-scope='all'] {
756
+ border-color: #175cd3;
757
+ background-color: #194185;
758
+ color: #84caff;
759
+ }
760
+
761
+ .tsqd-style-filter-select {
762
+ padding: calc(var(--tsqd-font-size) * 0.125) calc(var(--tsqd-font-size) * 0.5);
763
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
764
+ background-color: #f2f4f7;
765
+ display: flex;
766
+ align-items: center;
767
+ gap: calc(var(--tsqd-font-size) * 0.375);
768
+ box-sizing: content-box;
769
+ max-width: 160px;
770
+ border: 1px solid #d0d5dd;
771
+ height: min-content;
772
+ }
773
+
774
+ .tsqd-style-filter-select > svg {
775
+ color: #475467;
776
+ width: calc(var(--tsqd-font-size) * 0.5);
777
+ height: calc(var(--tsqd-font-size) * 0.5);
778
+ }
779
+
780
+ .tsqd-style-filter-select > select {
781
+ appearance: none;
782
+ color: #344054;
783
+ min-width: 100px;
784
+ line-height: calc(var(--tsqd-font-size) * 1.25);
785
+ font-size: calc(var(--tsqd-font-size) * 0.75);
786
+ background-color: #f2f4f7;
787
+ border: none;
788
+ }
789
+
790
+ .tsqd-style-filter-select > select:focus {
791
+ outline: none;
792
+ }
793
+
794
+ .tsqd-style-filter-select:focus-within {
795
+ outline-offset: 2px;
796
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
797
+ outline: 2px solid #1849a9;
798
+ }
799
+
800
+ .tsqd-style-filter-select-dark {
801
+ background-color: #313749;
802
+ border: 1px solid #414962;
803
+ }
804
+
805
+ .tsqd-style-filter-select-dark > svg {
806
+ color: #98a2b3;
807
+ }
808
+
809
+ .tsqd-style-filter-select-dark > select {
810
+ color: #d0d5dd;
811
+ background-color: #313749;
812
+ }
813
+
814
+ .tsqd-style-actions-container {
815
+ display: flex;
816
+ gap: calc(var(--tsqd-font-size) * 0.5);
817
+ }
818
+
819
+ .tsqd-style-actions-btn {
820
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
821
+ background-color: #f2f4f7;
822
+ border: 1px solid #d0d5dd;
823
+ width: calc(var(--tsqd-font-size) * 1.625);
824
+ height: calc(var(--tsqd-font-size) * 1.625);
825
+ justify-content: center;
826
+ display: flex;
827
+ align-items: center;
828
+ gap: calc(var(--tsqd-font-size) * 0.375);
829
+ max-width: 160px;
830
+ cursor: pointer;
831
+ padding: 0;
832
+ }
833
+
834
+ .tsqd-style-actions-btn:hover {
835
+ background-color: #eaecf0;
836
+ }
837
+
838
+ .tsqd-style-actions-btn svg {
839
+ color: #344054;
840
+ width: calc(var(--tsqd-font-size) * 0.75);
841
+ height: calc(var(--tsqd-font-size) * 0.75);
842
+ }
843
+
844
+ .tsqd-style-actions-btn:focus-visible {
845
+ outline-offset: 2px;
846
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
847
+ outline: 2px solid #1849a9;
848
+ }
849
+
850
+ .tsqd-style-actions-btn-dark {
851
+ background-color: #313749;
852
+ border: 1px solid #414962;
853
+ }
854
+
855
+ .tsqd-style-actions-btn-dark:hover {
856
+ background-color: #292e3d;
857
+ }
858
+
859
+ .tsqd-style-actions-btn-dark svg {
860
+ color: #d0d5dd;
861
+ }
862
+
863
+ .tsqd-style-actions-btn-offline svg {
864
+ stroke: #b54708;
865
+ fill: #b54708;
866
+ }
867
+
868
+ .tsqd-style-actions-btn-offline-dark svg {
869
+ stroke: #f79009;
870
+ fill: #f79009;
871
+ }
872
+
873
+ .tsqd-style-overflow-query-container {
874
+ flex: 1;
875
+ min-height: 0;
876
+ overflow-y: auto;
877
+ }
878
+
879
+ .tsqd-style-overflow-query-container > div {
880
+ display: flex;
881
+ flex-direction: column;
882
+ }
883
+
884
+ .tsqd-style-query-row {
885
+ display: flex;
886
+ width: 100%;
887
+ align-items: center;
888
+ padding: 0;
889
+ border: none;
890
+ cursor: pointer;
891
+ color: #344054;
892
+ background-color: #f9fafb;
893
+ line-height: 1;
894
+ }
895
+
896
+ .tsqd-style-query-row:focus {
897
+ outline: none;
898
+ }
899
+
900
+ .tsqd-style-query-row:focus-visible {
901
+ outline-offset: -2px;
902
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
903
+ outline: 2px solid #1849a9;
904
+ }
905
+
906
+ .tsqd-style-query-row:hover .tsqd-query-hash {
907
+ background-color: #eaecf0;
908
+ }
909
+
910
+ .tsqd-style-query-row .tsqd-query-observer-count {
911
+ padding: 0 calc(var(--tsqd-font-size) * 0.25);
912
+ user-select: none;
913
+ min-width: calc(var(--tsqd-font-size) * 1.625);
914
+ align-self: stretch;
915
+ display: flex;
916
+ align-items: center;
917
+ justify-content: center;
918
+ font-size: calc(var(--tsqd-font-size) * 0.75);
919
+ font-weight: 500;
920
+ border-bottom: 1px solid #d0d5dd;
921
+ }
922
+
923
+ .tsqd-style-query-row .tsqd-query-hash {
924
+ user-select: text;
925
+ font-size: calc(var(--tsqd-font-size) * 0.75);
926
+ display: flex;
927
+ align-items: center;
928
+ min-height: calc(var(--tsqd-font-size) * 1.5);
929
+ flex: 1;
930
+ padding: calc(var(--tsqd-font-size) * 0.25) calc(var(--tsqd-font-size) * 0.5);
931
+ font-family:
932
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
933
+ 'Courier New', monospace;
934
+ border-bottom: 1px solid #d0d5dd;
935
+ text-align: left;
936
+ text-overflow: clip;
937
+ word-break: break-word;
938
+ }
939
+
940
+ .tsqd-style-query-row .tsqd-query-disabled-indicator {
941
+ align-self: stretch;
942
+ display: flex;
943
+ align-items: center;
944
+ padding: 0 calc(var(--tsqd-font-size) * 0.5);
945
+ color: #1d2939;
946
+ background-color: #d0d5dd;
947
+ border-bottom: 1px solid #d0d5dd;
948
+ font-size: calc(var(--tsqd-font-size) * 0.75);
949
+ }
950
+
951
+ .tsqd-style-query-row .tsqd-query-static-indicator {
952
+ align-self: stretch;
953
+ display: flex;
954
+ align-items: center;
955
+ padding: 0 calc(var(--tsqd-font-size) * 0.5);
956
+ color: #125d56;
957
+ background-color: #ccfbef;
958
+ border-bottom: 1px solid #5fe9d0;
959
+ font-size: calc(var(--tsqd-font-size) * 0.75);
960
+ }
961
+
962
+ .tsqd-style-query-row-dark {
963
+ color: #d0d5dd;
964
+ background-color: #191c24;
965
+ }
966
+
967
+ .tsqd-style-query-row-dark:hover .tsqd-query-hash {
968
+ background-color: #212530;
969
+ }
970
+
971
+ .tsqd-style-query-row-dark .tsqd-query-observer-count {
972
+ border-bottom: 1px solid #191c24;
973
+ }
974
+
975
+ .tsqd-style-query-row-dark .tsqd-query-hash {
976
+ border-bottom: 1px solid #313749;
977
+ }
978
+
979
+ .tsqd-style-query-row-dark .tsqd-query-disabled-indicator {
980
+ color: #d0d5dd;
981
+ background-color: #212530;
982
+ border-bottom: 1px solid #313749;
983
+ }
984
+
985
+ .tsqd-style-query-row-dark .tsqd-query-static-indicator {
986
+ color: #5fe9d0;
987
+ background-color: #134e48;
988
+ border-bottom: 1px solid #107569;
989
+ }
990
+
991
+ .tsqd-style-selected-query-row {
992
+ background-color: #eaecf0;
993
+ }
994
+
995
+ .tsqd-style-selected-query-row-dark {
996
+ background-color: #292e3d;
997
+ }
998
+
999
+ .tsqd-style-details-container {
1000
+ flex: 1 1 700px;
1001
+ background-color: #f9fafb;
1002
+ color: #344054;
1003
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif;
1004
+ display: flex;
1005
+ flex-direction: column;
1006
+ overflow-y: auto;
1007
+ text-align: left;
1008
+ }
1009
+
1010
+ .tsqd-style-details-container-dark {
1011
+ background-color: #191c24;
1012
+ color: #d0d5dd;
1013
+ }
1014
+
1015
+ .tsqd-style-details-header {
1016
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif;
1017
+ position: sticky;
1018
+ top: 0;
1019
+ z-index: 2;
1020
+ background-color: #eaecf0;
1021
+ padding: calc(var(--tsqd-font-size) * 0.375) calc(var(--tsqd-font-size) * 0.5);
1022
+ font-weight: 500;
1023
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1024
+ line-height: calc(var(--tsqd-font-size) * 1);
1025
+ text-align: left;
1026
+ }
1027
+
1028
+ .tsqd-style-details-header-dark {
1029
+ background-color: #212530;
1030
+ }
1031
+
1032
+ .tsqd-style-details-body {
1033
+ margin: calc(var(--tsqd-font-size) * 0.375) 0
1034
+ calc(var(--tsqd-font-size) * 0.5);
1035
+ }
1036
+
1037
+ .tsqd-style-details-body > div {
1038
+ display: flex;
1039
+ align-items: stretch;
1040
+ padding: 0 calc(var(--tsqd-font-size) * 0.5);
1041
+ line-height: calc(var(--tsqd-font-size) * 1.25);
1042
+ justify-content: space-between;
1043
+ }
1044
+
1045
+ .tsqd-style-details-body > div > span {
1046
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1047
+ }
1048
+
1049
+ .tsqd-style-details-body > div > span:nth-child(2) {
1050
+ font-variant-numeric: tabular-nums;
1051
+ }
1052
+
1053
+ .tsqd-style-details-body > div:first-child {
1054
+ margin-bottom: calc(var(--tsqd-font-size) * 0.375);
1055
+ }
1056
+
1057
+ .tsqd-style-details-body code {
1058
+ font-family:
1059
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
1060
+ 'Courier New', monospace;
1061
+ margin: 0;
1062
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1063
+ line-height: calc(var(--tsqd-font-size) * 1);
1064
+ max-width: 100%;
1065
+ white-space: pre-wrap;
1066
+ overflow-wrap: anywhere;
1067
+ word-break: break-word;
1068
+ }
1069
+
1070
+ .tsqd-style-details-body pre {
1071
+ margin: 0;
1072
+ display: flex;
1073
+ align-items: center;
1074
+ }
1075
+
1076
+ .tsqd-style-query-details-status {
1077
+ border: 1px solid #414962;
1078
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
1079
+ font-weight: 500;
1080
+ padding: calc(var(--tsqd-font-size) * 0.25)
1081
+ calc(var(--tsqd-font-size) * 0.625);
1082
+ }
1083
+
1084
+ .tsqd-style-actions-body {
1085
+ flex-wrap: wrap;
1086
+ margin: calc(var(--tsqd-font-size) * 0.5) 0;
1087
+ display: flex;
1088
+ gap: calc(var(--tsqd-font-size) * 0.5);
1089
+ padding: 0 calc(var(--tsqd-font-size) * 0.5);
1090
+ }
1091
+
1092
+ .tsqd-style-actions-body > button {
1093
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif;
1094
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1095
+ padding: calc(var(--tsqd-font-size) * 0.25) calc(var(--tsqd-font-size) * 0.5);
1096
+ display: flex;
1097
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
1098
+ background-color: #f2f4f7;
1099
+ border: 1px solid #d0d5dd;
1100
+ align-items: center;
1101
+ gap: calc(var(--tsqd-font-size) * 0.5);
1102
+ font-weight: 500;
1103
+ line-height: calc(var(--tsqd-font-size) * 1);
1104
+ cursor: pointer;
1105
+ }
1106
+
1107
+ .tsqd-style-actions-body > button:focus-visible {
1108
+ outline-offset: 2px;
1109
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
1110
+ outline: 2px solid #1849a9;
1111
+ }
1112
+
1113
+ .tsqd-style-actions-body > button:hover {
1114
+ background-color: #eaecf0;
1115
+ }
1116
+
1117
+ .tsqd-style-actions-body > button:disabled {
1118
+ opacity: 0.6;
1119
+ cursor: not-allowed;
1120
+ }
1121
+
1122
+ .tsqd-style-actions-body > button > span {
1123
+ width: calc(var(--tsqd-font-size) * 0.375);
1124
+ height: calc(var(--tsqd-font-size) * 0.375);
1125
+ border-radius: 9999px;
1126
+ }
1127
+
1128
+ .tsqd-style-actions-body-dark > button {
1129
+ background-color: #212530;
1130
+ border: 1px solid #313749;
1131
+ }
1132
+
1133
+ .tsqd-style-actions-body-dark > button:hover {
1134
+ background-color: #292e3d;
1135
+ }
1136
+
1137
+ .tsqd-style-actions-select {
1138
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1139
+ padding: calc(var(--tsqd-font-size) * 0.125) calc(var(--tsqd-font-size) * 0.5);
1140
+ display: flex;
1141
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
1142
+ overflow: hidden;
1143
+ background-color: #f2f4f7;
1144
+ border: 1px solid #d0d5dd;
1145
+ align-items: center;
1146
+ gap: calc(var(--tsqd-font-size) * 0.5);
1147
+ font-weight: 500;
1148
+ line-height: calc(var(--tsqd-font-size) * 1.25);
1149
+ color: #ef4444;
1150
+ cursor: pointer;
1151
+ position: relative;
1152
+ }
1153
+
1154
+ .tsqd-style-actions-select:hover {
1155
+ background-color: #eaecf0;
1156
+ }
1157
+
1158
+ .tsqd-style-actions-select > span {
1159
+ width: calc(var(--tsqd-font-size) * 0.375);
1160
+ height: calc(var(--tsqd-font-size) * 0.375);
1161
+ border-radius: 9999px;
1162
+ }
1163
+
1164
+ .tsqd-style-actions-select:focus-within {
1165
+ outline-offset: 2px;
1166
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
1167
+ outline: 2px solid #1849a9;
1168
+ }
1169
+
1170
+ .tsqd-style-actions-select select {
1171
+ position: absolute;
1172
+ top: 0;
1173
+ left: 0;
1174
+ width: 100%;
1175
+ height: 100%;
1176
+ appearance: none;
1177
+ background-color: transparent;
1178
+ border: none;
1179
+ color: transparent;
1180
+ outline: none;
1181
+ }
1182
+
1183
+ .tsqd-style-actions-select svg path {
1184
+ stroke: #f87171;
1185
+ }
1186
+
1187
+ .tsqd-style-actions-select svg {
1188
+ width: calc(var(--tsqd-font-size) * 0.5);
1189
+ height: calc(var(--tsqd-font-size) * 0.5);
1190
+ }
1191
+
1192
+ .tsqd-style-actions-select-dark {
1193
+ background-color: #212530;
1194
+ border: 1px solid #313749;
1195
+ color: #f87171;
1196
+ }
1197
+
1198
+ .tsqd-style-actions-select-dark:hover {
1199
+ background-color: #292e3d;
1200
+ }
1201
+
1202
+ .tsqd-style-settings-menu {
1203
+ display: flex;
1204
+ flex-direction: column;
1205
+ gap: calc(var(--tsqd-font-size) * 0.125);
1206
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
1207
+ border: 1px solid #d0d5dd;
1208
+ background-color: #f9fafb;
1209
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1210
+ color: #344054;
1211
+ z-index: 99999;
1212
+ min-width: 120px;
1213
+ padding: calc(var(--tsqd-font-size) * 0.125);
1214
+ }
1215
+
1216
+ .tsqd-style-settings-menu * {
1217
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif;
1218
+ }
1219
+
1220
+ .tsqd-style-settings-menu-dark {
1221
+ border: 1px solid #344054;
1222
+ background-color: #212530;
1223
+ color: #d0d5dd;
1224
+ }
1225
+
1226
+ .tsqd-style-settings-sub-trigger {
1227
+ display: flex;
1228
+ align-items: center;
1229
+ justify-content: space-between;
1230
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
1231
+ padding: calc(var(--tsqd-font-size) * 0.25) calc(var(--tsqd-font-size) * 0.25);
1232
+ cursor: pointer;
1233
+ background-color: transparent;
1234
+ border: none;
1235
+ color: #344054;
1236
+ }
1237
+
1238
+ .tsqd-style-settings-sub-trigger svg {
1239
+ color: #475467;
1240
+ transform: rotate(-90deg);
1241
+ width: calc(var(--tsqd-font-size) * 0.5);
1242
+ height: calc(var(--tsqd-font-size) * 0.5);
1243
+ }
1244
+
1245
+ .tsqd-style-settings-sub-trigger:hover {
1246
+ background-color: #eaecf0;
1247
+ }
1248
+
1249
+ .tsqd-style-settings-sub-trigger:focus-visible {
1250
+ outline-offset: 2px;
1251
+ outline: 2px solid #1849a9;
1252
+ }
1253
+
1254
+ .tsqd-style-settings-sub-trigger.data-disabled {
1255
+ opacity: 0.6;
1256
+ cursor: not-allowed;
1257
+ }
1258
+
1259
+ .tsqd-style-settings-sub-trigger-dark {
1260
+ color: #d0d5dd;
1261
+ }
1262
+
1263
+ .tsqd-style-settings-sub-trigger-dark svg {
1264
+ color: #98a2b3;
1265
+ }
1266
+
1267
+ .tsqd-style-settings-sub-trigger-dark:hover {
1268
+ background-color: #292e3d;
1269
+ }
1270
+
1271
+ .tsqd-style-settings-menu-header {
1272
+ padding: calc(var(--tsqd-font-size) * 0.25) calc(var(--tsqd-font-size) * 0.25);
1273
+ font-weight: 500;
1274
+ border-bottom: 1px solid #d0d5dd;
1275
+ color: #667085;
1276
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1277
+ }
1278
+
1279
+ .tsqd-style-settings-menu-header-dark {
1280
+ border-bottom: 1px solid #313749;
1281
+ color: #98a2b3;
1282
+ }
1283
+
1284
+ .tsqd-style-settings-sub-button {
1285
+ display: flex;
1286
+ align-items: center;
1287
+ justify-content: space-between;
1288
+ color: #344054;
1289
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1290
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
1291
+ padding: calc(var(--tsqd-font-size) * 0.25) calc(var(--tsqd-font-size) * 0.25);
1292
+ cursor: pointer;
1293
+ background-color: transparent;
1294
+ border: none;
1295
+ }
1296
+
1297
+ .tsqd-style-settings-sub-button svg {
1298
+ color: #475467;
1299
+ }
1300
+
1301
+ .tsqd-style-settings-sub-button:hover {
1302
+ background-color: #eaecf0;
1303
+ }
1304
+
1305
+ .tsqd-style-settings-sub-button:focus-visible {
1306
+ outline-offset: 2px;
1307
+ outline: 2px solid #1849a9;
1308
+ }
1309
+
1310
+ .tsqd-style-settings-sub-button[data-checked] {
1311
+ background-color: #ebe9fe;
1312
+ color: #5925dc;
1313
+ }
1314
+
1315
+ .tsqd-style-settings-sub-button[data-checked] svg {
1316
+ color: #5925dc;
1317
+ }
1318
+
1319
+ .tsqd-style-settings-sub-button[data-checked]:hover {
1320
+ background-color: #ebe9fe;
1321
+ }
1322
+
1323
+ .tsqd-style-settings-sub-button-dark {
1324
+ color: #d0d5dd;
1325
+ }
1326
+
1327
+ .tsqd-style-settings-sub-button-dark svg {
1328
+ color: #98a2b3;
1329
+ }
1330
+
1331
+ .tsqd-style-settings-sub-button-dark:hover {
1332
+ background-color: #292e3d;
1333
+ }
1334
+
1335
+ .tsqd-style-settings-sub-button-dark[data-checked] {
1336
+ background-color: #3e1c96;
1337
+ color: #bdb4fe;
1338
+ }
1339
+
1340
+ .tsqd-style-settings-sub-button-dark[data-checked] svg {
1341
+ color: #bdb4fe;
1342
+ }
1343
+
1344
+ .tsqd-style-settings-sub-button-dark[data-checked]:hover {
1345
+ background-color: #3e1c96;
1346
+ }
1347
+
1348
+ .tsqd-style-view-toggle {
1349
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
1350
+ background-color: #eaecf0;
1351
+ border: 1px solid #d0d5dd;
1352
+ display: flex;
1353
+ padding: 0;
1354
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1355
+ color: #344054;
1356
+ overflow: hidden;
1357
+ }
1358
+
1359
+ .tsqd-style-view-toggle:has(:focus-visible) {
1360
+ outline: 2px solid #1849a9;
1361
+ }
1362
+
1363
+ .tsqd-style-view-toggle .tsqd-radio-toggle {
1364
+ opacity: 0.5;
1365
+ display: flex;
1366
+ }
1367
+
1368
+ .tsqd-style-view-toggle .tsqd-radio-toggle label {
1369
+ display: flex;
1370
+ align-items: center;
1371
+ cursor: pointer;
1372
+ line-height: calc(var(--tsqd-font-size) * 1.5);
1373
+ }
1374
+
1375
+ .tsqd-style-view-toggle .tsqd-radio-toggle label:hover {
1376
+ background-color: #f2f4f7;
1377
+ }
1378
+
1379
+ .tsqd-style-view-toggle > [data-checked] {
1380
+ opacity: 1;
1381
+ background-color: #f2f4f7;
1382
+ }
1383
+
1384
+ .tsqd-style-view-toggle > [data-checked] label:hover {
1385
+ background-color: #f2f4f7;
1386
+ }
1387
+
1388
+ .tsqd-style-view-toggle .tsqd-radio-toggle:first-child {
1389
+ border-right: 1px solid #d0d5dd;
1390
+ }
1391
+
1392
+ .tsqd-style-view-toggle .tsqd-radio-toggle:first-child label {
1393
+ padding: 0 calc(var(--tsqd-font-size) * 0.375) 0
1394
+ calc(var(--tsqd-font-size) * 0.5);
1395
+ }
1396
+
1397
+ .tsqd-style-view-toggle .tsqd-radio-toggle:nth-child(2) label {
1398
+ padding: 0 calc(var(--tsqd-font-size) * 0.5) 0
1399
+ calc(var(--tsqd-font-size) * 0.375);
1400
+ }
1401
+
1402
+ .tsqd-style-view-toggle-dark {
1403
+ background-color: #212530;
1404
+ border: 1px solid #414962;
1405
+ color: #d0d5dd;
1406
+ }
1407
+
1408
+ .tsqd-style-view-toggle-dark .tsqd-radio-toggle label:hover {
1409
+ background-color: #292e3d;
1410
+ }
1411
+
1412
+ .tsqd-style-view-toggle-dark > [data-checked] {
1413
+ background-color: #313749;
1414
+ }
1415
+
1416
+ .tsqd-style-view-toggle-dark > [data-checked] label:hover {
1417
+ background-color: #313749;
1418
+ }
1419
+
1420
+ .tsqd-style-view-toggle-dark .tsqd-radio-toggle:first-child {
1421
+ border-right: 1px solid #414962;
1422
+ }
1423
+
1424
+ .tsqd-style-devtools-edit-form {
1425
+ padding: calc(var(--tsqd-font-size) * 0.5);
1426
+ }
1427
+
1428
+ .tsqd-style-devtools-edit-form > [data-error='true'] {
1429
+ outline: 2px solid #fecaca;
1430
+ outline-offset: 2px;
1431
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
1432
+ }
1433
+
1434
+ .tsqd-style-devtools-edit-form-dark > [data-error='true'] {
1435
+ outline: 2px solid #991b1b;
1436
+ }
1437
+
1438
+ .tsqd-style-devtools-edit-textarea {
1439
+ width: 100%;
1440
+ max-height: 500px;
1441
+ font-family: 'Fira Code', monospace;
1442
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1443
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
1444
+ field-sizing: content;
1445
+ padding: calc(var(--tsqd-font-size) * 0.5);
1446
+ background-color: #f2f4f7;
1447
+ color: #101828;
1448
+ border: 1px solid #eaecf0;
1449
+ resize: none;
1450
+ }
1451
+
1452
+ .tsqd-style-devtools-edit-textarea:focus {
1453
+ outline-offset: 2px;
1454
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
1455
+ outline: 2px solid #b2ddff;
1456
+ }
1457
+
1458
+ .tsqd-style-devtools-edit-textarea-dark {
1459
+ background-color: #111318;
1460
+ color: #f2f4f7;
1461
+ border: 1px solid #344054;
1462
+ }
1463
+
1464
+ .tsqd-style-devtools-edit-textarea-dark:focus {
1465
+ outline: 2px solid #1849a9;
1466
+ }
1467
+
1468
+ .tsqd-style-devtools-edit-form-actions {
1469
+ display: flex;
1470
+ justify-content: space-between;
1471
+ gap: calc(var(--tsqd-font-size) * 0.5);
1472
+ align-items: center;
1473
+ padding-top: calc(var(--tsqd-font-size) * 0.25);
1474
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1475
+ }
1476
+
1477
+ .tsqd-style-devtools-edit-form-error {
1478
+ color: #b91c1c;
1479
+ }
1480
+
1481
+ .tsqd-style-devtools-edit-form-error-dark {
1482
+ color: #ef4444;
1483
+ }
1484
+
1485
+ .tsqd-style-devtools-edit-form-action-container {
1486
+ display: flex;
1487
+ gap: calc(var(--tsqd-font-size) * 0.5);
1488
+ }
1489
+
1490
+ .tsqd-style-devtools-edit-form-action {
1491
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif;
1492
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1493
+ padding: calc(var(--tsqd-font-size) * 0.25) calc(var(--tsqd-font-size) * 0.5);
1494
+ display: flex;
1495
+ border-radius: calc(var(--tsqd-font-size) * 0.25);
1496
+ background-color: #f2f4f7;
1497
+ border: 1px solid #d0d5dd;
1498
+ align-items: center;
1499
+ gap: calc(var(--tsqd-font-size) * 0.5);
1500
+ font-weight: 500;
1501
+ line-height: calc(var(--tsqd-font-size) * 1);
1502
+ cursor: pointer;
1503
+ }
1504
+
1505
+ .tsqd-style-devtools-edit-form-action:focus-visible {
1506
+ outline-offset: 2px;
1507
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
1508
+ outline: 2px solid #1849a9;
1509
+ }
1510
+
1511
+ .tsqd-style-devtools-edit-form-action:hover {
1512
+ background-color: #eaecf0;
1513
+ }
1514
+
1515
+ .tsqd-style-devtools-edit-form-action:disabled {
1516
+ opacity: 0.6;
1517
+ cursor: not-allowed;
1518
+ }
1519
+
1520
+ .tsqd-style-devtools-edit-form-action-dark {
1521
+ background-color: #212530;
1522
+ border: 1px solid #313749;
1523
+ }
1524
+
1525
+ .tsqd-style-devtools-edit-form-action-dark:hover {
1526
+ background-color: #292e3d;
1527
+ }
1528
+
1529
+ /* Devtools: component styles */
1530
+
1531
+ .tsqd-style-transitions .tsqd-panel-transition-exit-active,
1532
+ .tsqd-style-transitions .tsqd-panel-transition-enter-active {
1533
+ transition:
1534
+ opacity 0.3s,
1535
+ transform 0.3s;
1536
+ }
1537
+
1538
+ .tsqd-style-transitions-vertical .tsqd-panel-transition-exit-to,
1539
+ .tsqd-style-transitions-vertical .tsqd-panel-transition-enter {
1540
+ transform: translateY(var(--tsqd-panel-height));
1541
+ }
1542
+
1543
+ .tsqd-style-transitions-horizontal .tsqd-panel-transition-exit-to,
1544
+ .tsqd-style-transitions-horizontal .tsqd-panel-transition-enter {
1545
+ transform: translateX(var(--tsqd-panel-width));
1546
+ }
1547
+
1548
+ .tsqd-style-transitions .tsqd-button-transition-exit-active,
1549
+ .tsqd-style-transitions .tsqd-button-transition-enter-active {
1550
+ transition:
1551
+ opacity 0.3s,
1552
+ transform 0.3s;
1553
+ opacity: 1;
1554
+ }
1555
+
1556
+ .tsqd-style-transitions .tsqd-button-transition-exit-to,
1557
+ .tsqd-style-transitions .tsqd-button-transition-enter {
1558
+ transform: translateY(72px);
1559
+ opacity: 0;
1560
+ }
1561
+
1562
+ .tsqd-style-transitions-button-relative .tsqd-button-transition-exit-to,
1563
+ .tsqd-style-transitions-button-relative .tsqd-button-transition-enter {
1564
+ transform: none;
1565
+ }
1566
+
1567
+ .tsqd-style-transitions-button-top-left .tsqd-button-transition-exit-to,
1568
+ .tsqd-style-transitions-button-top-left .tsqd-button-transition-enter {
1569
+ transform: translateX(-72px);
1570
+ }
1571
+
1572
+ .tsqd-style-transitions-button-top-right .tsqd-button-transition-exit-to,
1573
+ .tsqd-style-transitions-button-top-right .tsqd-button-transition-enter {
1574
+ transform: translateX(72px);
1575
+ }
1576
+
1577
+ .tsqd-style-panel-column {
1578
+ flex-direction: column;
1579
+ background-color: #d0d5dd;
1580
+ }
1581
+
1582
+ .tsqd-style-panel-column-dark {
1583
+ background-color: #475467;
1584
+ }
1585
+
1586
+ .tsqd-style-panel-row {
1587
+ flex-direction: row;
1588
+ background-color: #eaecf0;
1589
+ }
1590
+
1591
+ .tsqd-style-panel-row-dark {
1592
+ background-color: #0b0d10;
1593
+ }
1594
+
1595
+ .tsqd-style-panel-min-content {
1596
+ min-width: min-content;
1597
+ }
1598
+
1599
+ .tsqd-style-queries-container-half {
1600
+ height: 50%;
1601
+ max-height: 50%;
1602
+ }
1603
+
1604
+ .tsqd-style-queries-container-full {
1605
+ height: 100%;
1606
+ max-height: 100%;
1607
+ }
1608
+
1609
+ .tsqd-style-observer-count-green {
1610
+ background-color: #a6f4c5cc;
1611
+ color: #05603a;
1612
+ }
1613
+
1614
+ .tsqd-style-observer-count-green-dark {
1615
+ background-color: #054f31;
1616
+ color: #6ce9a6;
1617
+ }
1618
+
1619
+ .tsqd-style-observer-count-yellow {
1620
+ background-color: #fedf89cc;
1621
+ color: #93370d;
1622
+ }
1623
+
1624
+ .tsqd-style-observer-count-yellow-dark {
1625
+ background-color: #7a2e0e;
1626
+ color: #fec84b;
1627
+ }
1628
+
1629
+ .tsqd-style-observer-count-gray {
1630
+ background-color: #eaecf0;
1631
+ color: #344054;
1632
+ }
1633
+
1634
+ .tsqd-style-observer-count-gray-dark {
1635
+ background-color: #344054;
1636
+ color: #d0d5dd;
1637
+ }
1638
+
1639
+ .tsqd-style-observer-count-blue {
1640
+ background-color: #b2ddffcc;
1641
+ color: #1849a9;
1642
+ }
1643
+
1644
+ .tsqd-style-observer-count-blue-dark {
1645
+ background-color: #194185;
1646
+ color: #84caff;
1647
+ }
1648
+
1649
+ .tsqd-style-observer-count-purple {
1650
+ background-color: #d9d6fecc;
1651
+ color: #4a1fb8;
1652
+ }
1653
+
1654
+ .tsqd-style-observer-count-purple-dark {
1655
+ background-color: #3e1c96;
1656
+ color: #bdb4fe;
1657
+ }
1658
+
1659
+ .tsqd-style-observer-count-red {
1660
+ background-color: #fecacacc;
1661
+ color: #991b1b;
1662
+ }
1663
+
1664
+ .tsqd-style-observer-count-red-dark {
1665
+ background-color: #7f1d1d;
1666
+ color: #fca5a5;
1667
+ }
1668
+
1669
+ .tsqd-style-query-status-tag-clickable {
1670
+ cursor: pointer;
1671
+ }
1672
+
1673
+ .tsqd-style-query-status-tag-clickable:hover {
1674
+ background: #eaecf0cc;
1675
+ }
1676
+
1677
+ .tsqd-style-query-status-tag-clickable-dark:hover {
1678
+ background: #313749cc;
1679
+ }
1680
+
1681
+ .tsqd-style-query-status-dot {
1682
+ width: calc(var(--tsqd-font-size) * 0.375);
1683
+ height: calc(var(--tsqd-font-size) * 0.375);
1684
+ border-radius: 9999px;
1685
+ }
1686
+
1687
+ .tsqd-style-query-status-dot-green {
1688
+ background-color: #12b76a;
1689
+ }
1690
+
1691
+ .tsqd-style-query-status-dot-yellow {
1692
+ background-color: #f79009;
1693
+ }
1694
+
1695
+ .tsqd-style-query-status-dot-gray {
1696
+ background-color: #667085;
1697
+ }
1698
+
1699
+ .tsqd-style-query-status-dot-blue {
1700
+ background-color: #2e90fa;
1701
+ }
1702
+
1703
+ .tsqd-style-query-status-dot-purple {
1704
+ background-color: #7a5af8;
1705
+ }
1706
+
1707
+ .tsqd-style-query-status-dot-red {
1708
+ background-color: #ef4444;
1709
+ }
1710
+
1711
+ .tsqd-style-query-status-count-green {
1712
+ background-color: #d1fadf;
1713
+ color: #027a48;
1714
+ }
1715
+
1716
+ .tsqd-style-query-status-count-green-dark {
1717
+ background-color: #054f31;
1718
+ color: #6ce9a6;
1719
+ }
1720
+
1721
+ .tsqd-style-query-status-count-yellow {
1722
+ background-color: #fef0c7;
1723
+ color: #b54708;
1724
+ }
1725
+
1726
+ .tsqd-style-query-status-count-yellow-dark {
1727
+ background-color: #7a2e0e;
1728
+ color: #fec84b;
1729
+ }
1730
+
1731
+ .tsqd-style-query-status-count-blue {
1732
+ background-color: #d1e9ff;
1733
+ color: #175cd3;
1734
+ }
1735
+
1736
+ .tsqd-style-query-status-count-blue-dark {
1737
+ background-color: #194185;
1738
+ color: #84caff;
1739
+ }
1740
+
1741
+ .tsqd-style-query-status-count-purple {
1742
+ background-color: #ebe9fe;
1743
+ color: #5925dc;
1744
+ }
1745
+
1746
+ .tsqd-style-query-status-count-purple-dark {
1747
+ background-color: #3e1c96;
1748
+ color: #bdb4fe;
1749
+ }
1750
+
1751
+ .tsqd-style-query-status-count-red {
1752
+ background-color: #fee2e2;
1753
+ color: #b91c1c;
1754
+ }
1755
+
1756
+ .tsqd-style-query-status-count-red-dark {
1757
+ background-color: #7f1d1d;
1758
+ color: #fca5a5;
1759
+ }
1760
+
1761
+ .tsqd-style-details-status-green {
1762
+ background-color: #d1fadf;
1763
+ color: #027a48;
1764
+ border-color: #32d583;
1765
+ }
1766
+
1767
+ .tsqd-style-details-status-green-dark {
1768
+ background-color: #054f31;
1769
+ color: #6ce9a6;
1770
+ border-color: #039855;
1771
+ }
1772
+
1773
+ .tsqd-style-details-status-yellow {
1774
+ background-color: #fef0c7;
1775
+ color: #b54708;
1776
+ border-color: #fdb022;
1777
+ }
1778
+
1779
+ .tsqd-style-details-status-yellow-dark {
1780
+ background-color: #7a2e0e;
1781
+ color: #fec84b;
1782
+ border-color: #dc6803;
1783
+ }
1784
+
1785
+ .tsqd-style-details-status-gray {
1786
+ background-color: #eaecf0;
1787
+ color: #344054;
1788
+ border-color: #98a2b3;
1789
+ }
1790
+
1791
+ .tsqd-style-details-status-gray-dark {
1792
+ background-color: #344054;
1793
+ color: #d0d5dd;
1794
+ border-color: #475467;
1795
+ }
1796
+
1797
+ .tsqd-style-details-status-blue {
1798
+ background-color: #d1e9ff;
1799
+ color: #175cd3;
1800
+ border-color: #53b1fd;
1801
+ }
1802
+
1803
+ .tsqd-style-details-status-blue-dark {
1804
+ background-color: #194185;
1805
+ color: #84caff;
1806
+ border-color: #1570ef;
1807
+ }
1808
+
1809
+ .tsqd-style-details-status-purple {
1810
+ background-color: #ebe9fe;
1811
+ color: #5925dc;
1812
+ border-color: #9b8afb;
1813
+ }
1814
+
1815
+ .tsqd-style-details-status-purple-dark {
1816
+ background-color: #3e1c96;
1817
+ color: #bdb4fe;
1818
+ border-color: #6938ef;
1819
+ }
1820
+
1821
+ .tsqd-style-details-status-red {
1822
+ background-color: #fee2e2;
1823
+ color: #b91c1c;
1824
+ border-color: #f87171;
1825
+ }
1826
+
1827
+ .tsqd-style-details-status-red-dark {
1828
+ background-color: #7f1d1d;
1829
+ color: #fca5a5;
1830
+ border-color: #dc2626;
1831
+ }
1832
+
1833
+ .tsqd-style-action-blue {
1834
+ color: #1570ef;
1835
+ }
1836
+
1837
+ .tsqd-style-action-blue-dark {
1838
+ color: #53b1fd;
1839
+ }
1840
+
1841
+ .tsqd-style-action-yellow {
1842
+ color: #dc6803;
1843
+ }
1844
+
1845
+ .tsqd-style-action-yellow-dark {
1846
+ color: #fdb022;
1847
+ }
1848
+
1849
+ .tsqd-style-action-gray {
1850
+ color: #475467;
1851
+ }
1852
+
1853
+ .tsqd-style-action-gray-dark {
1854
+ color: #d0d5dd;
1855
+ }
1856
+
1857
+ .tsqd-style-action-pink {
1858
+ color: #db2777;
1859
+ }
1860
+
1861
+ .tsqd-style-action-pink-dark {
1862
+ color: #ec4899;
1863
+ }
1864
+
1865
+ .tsqd-style-action-cyan {
1866
+ color: #0891b2;
1867
+ }
1868
+
1869
+ .tsqd-style-action-cyan-dark {
1870
+ color: #06b6d4;
1871
+ }
1872
+
1873
+ .tsqd-style-action-red {
1874
+ color: #ef4444;
1875
+ }
1876
+
1877
+ .tsqd-style-action-red-dark {
1878
+ color: #f87171;
1879
+ }
1880
+
1881
+ .tsqd-style-action-dot-blue {
1882
+ background-color: #1570ef;
1883
+ }
1884
+
1885
+ .tsqd-style-action-dot-blue-dark {
1886
+ background-color: #53b1fd;
1887
+ }
1888
+
1889
+ .tsqd-style-action-dot-yellow {
1890
+ background-color: #dc6803;
1891
+ }
1892
+
1893
+ .tsqd-style-action-dot-yellow-dark {
1894
+ background-color: #fdb022;
1895
+ }
1896
+
1897
+ .tsqd-style-action-dot-gray {
1898
+ background-color: #475467;
1899
+ }
1900
+
1901
+ .tsqd-style-action-dot-gray-dark {
1902
+ background-color: #98a2b3;
1903
+ }
1904
+
1905
+ .tsqd-style-action-dot-pink {
1906
+ background-color: #db2777;
1907
+ }
1908
+
1909
+ .tsqd-style-action-dot-pink-dark {
1910
+ background-color: #ec4899;
1911
+ }
1912
+
1913
+ .tsqd-style-action-dot-cyan {
1914
+ background-color: #0891b2;
1915
+ }
1916
+
1917
+ .tsqd-style-action-dot-cyan-dark {
1918
+ background-color: #06b6d4;
1919
+ }
1920
+
1921
+ .tsqd-style-action-dot-red {
1922
+ background-color: #ef4444;
1923
+ }
1924
+
1925
+ .tsqd-style-action-dot-red-dark {
1926
+ background-color: #f87171;
1927
+ }
1928
+
1929
+ .tsqd-style-action-select-dot {
1930
+ background-color: #f87171;
1931
+ }
1932
+
1933
+ /* Explorer */
1934
+
1935
+ .tsqd-style-explorer-search {
1936
+ display: flex;
1937
+ gap: calc(var(--tsqd-font-size) * 0.5);
1938
+ margin-bottom: calc(var(--tsqd-font-size) * 0.5);
1939
+ }
1940
+
1941
+ .tsqd-style-explorer-search-input {
1942
+ min-width: 0;
1943
+ flex: 1;
1944
+ padding: calc(var(--tsqd-font-size) * 0.25) calc(var(--tsqd-font-size) * 0.5);
1945
+ color: inherit;
1946
+ background: #f2f4f7;
1947
+ border: 1px solid #d0d5dd;
1948
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
1949
+ }
1950
+
1951
+ .tsqd-style-explorer-search-input-dark {
1952
+ background: #212530;
1953
+ border: 1px solid #313749;
1954
+ }
1955
+
1956
+ .tsqd-style-explorer-clear-search {
1957
+ color: inherit;
1958
+ background: transparent;
1959
+ border: none;
1960
+ cursor: pointer;
1961
+ }
1962
+
1963
+ .tsqd-style-explorer-highlight.tsqd-style-explorer-highlight {
1964
+ color: #101828;
1965
+ background-color: #fedf89;
1966
+ }
1967
+
1968
+ .tsqd-style-explorer-highlight-dark.tsqd-style-explorer-highlight-dark {
1969
+ color: #f2f4f7;
1970
+ background-color: #7a2e0e;
1971
+ }
1972
+
1973
+ .tsqd-style-explorer-entry {
1974
+ position: relative;
1975
+ outline: none;
1976
+ word-break: break-word;
1977
+ }
1978
+
1979
+ .tsqd-style-explorer-entry * {
1980
+ font-size: calc(var(--tsqd-font-size) * 0.75);
1981
+ font-family:
1982
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
1983
+ 'Courier New', monospace;
1984
+ }
1985
+
1986
+ .tsqd-style-explorer-sub-entry {
1987
+ margin: 0 0 0 0.5em;
1988
+ padding-left: 0.75em;
1989
+ border-left: 2px solid #d0d5dd;
1990
+ }
1991
+
1992
+ .tsqd-style-explorer-sub-entry-dark {
1993
+ border-left: 2px solid #313749;
1994
+ }
1995
+
1996
+ .tsqd-style-explorer-expander {
1997
+ transform: rotate(0deg);
1998
+ display: inline-flex;
1999
+ align-items: center;
2000
+ transition: all 0.1s ease;
2001
+ }
2002
+
2003
+ .tsqd-style-explorer-expander path {
2004
+ stroke: #98a2b3;
2005
+ }
2006
+
2007
+ .tsqd-style-explorer-expander svg {
2008
+ width: calc(var(--tsqd-font-size) * 0.75);
2009
+ height: calc(var(--tsqd-font-size) * 0.75);
2010
+ }
2011
+
2012
+ .tsqd-style-explorer-expander-button-container {
2013
+ display: flex;
2014
+ align-items: center;
2015
+ line-height: calc(var(--tsqd-font-size) * 1);
2016
+ min-height: calc(var(--tsqd-font-size) * 1);
2017
+ gap: calc(var(--tsqd-font-size) * 0.5);
2018
+ }
2019
+
2020
+ .tsqd-style-explorer-expander-button {
2021
+ cursor: pointer;
2022
+ color: inherit;
2023
+ font: inherit;
2024
+ outline: inherit;
2025
+ height: calc(var(--tsqd-font-size) * 1.25);
2026
+ background: transparent;
2027
+ border: none;
2028
+ padding: 0;
2029
+ display: inline-flex;
2030
+ align-items: center;
2031
+ gap: calc(var(--tsqd-font-size) * 0.25);
2032
+ position: relative;
2033
+ }
2034
+
2035
+ .tsqd-style-explorer-expander-button:focus-visible {
2036
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
2037
+ outline: 2px solid #1849a9;
2038
+ }
2039
+
2040
+ .tsqd-style-explorer-expander-button svg {
2041
+ position: relative;
2042
+ left: 1px;
2043
+ }
2044
+
2045
+ .tsqd-style-explorer-info {
2046
+ color: #667085;
2047
+ font-size: calc(var(--tsqd-font-size) * 0.75);
2048
+ margin-left: calc(var(--tsqd-font-size) * 0.25);
2049
+ }
2050
+
2051
+ .tsqd-style-explorer-label {
2052
+ color: #344054;
2053
+ white-space: nowrap;
2054
+ }
2055
+
2056
+ .tsqd-style-explorer-label-dark {
2057
+ color: #d0d5dd;
2058
+ }
2059
+
2060
+ .tsqd-style-explorer-value {
2061
+ color: #6938ef;
2062
+ flex-grow: 1;
2063
+ }
2064
+
2065
+ .tsqd-style-explorer-value-dark {
2066
+ color: #9b8afb;
2067
+ }
2068
+
2069
+ .tsqd-style-explorer-actions {
2070
+ display: inline-flex;
2071
+ gap: calc(var(--tsqd-font-size) * 0.5);
2072
+ align-items: center;
2073
+ }
2074
+
2075
+ .tsqd-style-explorer-row {
2076
+ display: inline-flex;
2077
+ gap: calc(var(--tsqd-font-size) * 0.5);
2078
+ width: 100%;
2079
+ margin: calc(var(--tsqd-font-size) * 0.0625) 0;
2080
+ line-height: calc(var(--tsqd-font-size) * 1.125);
2081
+ align-items: center;
2082
+ }
2083
+
2084
+ .tsqd-style-explorer-editable-input {
2085
+ border: none;
2086
+ padding: calc(var(--tsqd-font-size) * 0.125)
2087
+ calc(var(--tsqd-font-size) * 0.25) calc(var(--tsqd-font-size) * 0.125)
2088
+ calc(var(--tsqd-font-size) * 0.375);
2089
+ flex-grow: 1;
2090
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
2091
+ background-color: #eaecf0;
2092
+ }
2093
+
2094
+ .tsqd-style-explorer-editable-input:hover {
2095
+ background-color: #d0d5dd;
2096
+ }
2097
+
2098
+ .tsqd-style-explorer-editable-input-dark {
2099
+ background-color: #292e3d;
2100
+ }
2101
+
2102
+ .tsqd-style-explorer-editable-input-dark:hover {
2103
+ background-color: #212530;
2104
+ }
2105
+
2106
+ .tsqd-style-explorer-action-button {
2107
+ background-color: transparent;
2108
+ color: #667085;
2109
+ border: none;
2110
+ display: inline-flex;
2111
+ padding: 0;
2112
+ align-items: center;
2113
+ justify-content: center;
2114
+ cursor: pointer;
2115
+ width: calc(var(--tsqd-font-size) * 0.75);
2116
+ height: calc(var(--tsqd-font-size) * 0.75);
2117
+ position: relative;
2118
+ z-index: 1;
2119
+ }
2120
+
2121
+ .tsqd-style-explorer-action-button:hover svg {
2122
+ color: #475467;
2123
+ }
2124
+
2125
+ .tsqd-style-explorer-action-button:focus-visible {
2126
+ border-radius: calc(var(--tsqd-font-size) * 0.125);
2127
+ outline: 2px solid #1849a9;
2128
+ outline-offset: 2px;
2129
+ }
2130
+
2131
+ .tsqd-style-explorer-action-button-dark:hover svg {
2132
+ color: #98a2b3;
2133
+ }
2134
+
2135
+ /* Explorer: component styles */
2136
+
2137
+ .tsqd-style-explorer-expander-expanded {
2138
+ transform: rotate(90deg);
2139
+ }
2140
+
2141
+ .tsqd-style-explorer-expander-expanded svg {
2142
+ top: -1px;
2143
+ }
2144
+
2145
+ .tsqd-style-explorer-toggle-button {
2146
+ width: calc(var(--tsqd-font-size) * 0.875);
2147
+ height: calc(var(--tsqd-font-size) * 0.875);
2148
+ }
2149
+
2150
+ .tsqd-style-explorer-search-root ::highlight(tsqd-data-search) {
2151
+ color: #101828;
2152
+ background-color: #fedf89;
2153
+ }
2154
+
2155
+ .tsqd-style-explorer-search-root-dark ::highlight(tsqd-data-search) {
2156
+ color: #f2f4f7;
2157
+ background-color: #7a2e0e;
2158
+ }