dockview-react 0.0.0-beta-0 → 1.14.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,870 @@
1
+ .dv-render-overlay {
2
+ position: absolute;
3
+ z-index: 1;
4
+ height: 100%;
5
+ }
6
+ .dv-render-overlay.dv-render-overlay-float {
7
+ z-index: 999;
8
+ }
9
+
10
+ .dv-debug .dv-render-overlay {
11
+ outline: 1px solid red;
12
+ outline-offset: -1;
13
+ }
14
+ .dockview-svg {
15
+ display: inline-block;
16
+ fill: currentcolor;
17
+ line-height: 1;
18
+ stroke: currentcolor;
19
+ stroke-width: 0;
20
+ }
21
+ .dockview-theme-dark {
22
+ --dv-background-color: black;
23
+ --dv-paneview-active-outline-color: dodgerblue;
24
+ --dv-tabs-and-actions-container-font-size: 13px;
25
+ --dv-tabs-and-actions-container-height: 35px;
26
+ --dv-drag-over-background-color: rgba(83, 89, 93, 0.5);
27
+ --dv-drag-over-border-color: white;
28
+ --dv-tabs-container-scrollbar-color: #888;
29
+ --dv-icon-hover-background-color: rgba(90, 93, 94, 0.31);
30
+ --dv-floating-box-shadow: 8px 8px 8px 0px rgba(83, 89, 93, 0.5);
31
+ --dv-group-view-background-color: #1e1e1e;
32
+ --dv-tabs-and-actions-container-background-color: #252526;
33
+ --dv-activegroup-visiblepanel-tab-background-color: #1e1e1e;
34
+ --dv-activegroup-hiddenpanel-tab-background-color: #2d2d2d;
35
+ --dv-inactivegroup-visiblepanel-tab-background-color: #1e1e1e;
36
+ --dv-inactivegroup-hiddenpanel-tab-background-color: #2d2d2d;
37
+ --dv-tab-divider-color: #1e1e1e;
38
+ --dv-activegroup-visiblepanel-tab-color: white;
39
+ --dv-activegroup-hiddenpanel-tab-color: #969696;
40
+ --dv-inactivegroup-visiblepanel-tab-color: #8f8f8f;
41
+ --dv-inactivegroup-hiddenpanel-tab-color: #626262;
42
+ --dv-separator-border: rgb(68, 68, 68);
43
+ --dv-paneview-header-border-color: rgba(204, 204, 204, 0.2);
44
+ }
45
+
46
+ .dockview-theme-light {
47
+ --dv-background-color: black;
48
+ --dv-paneview-active-outline-color: dodgerblue;
49
+ --dv-tabs-and-actions-container-font-size: 13px;
50
+ --dv-tabs-and-actions-container-height: 35px;
51
+ --dv-drag-over-background-color: rgba(83, 89, 93, 0.5);
52
+ --dv-drag-over-border-color: white;
53
+ --dv-tabs-container-scrollbar-color: #888;
54
+ --dv-icon-hover-background-color: rgba(90, 93, 94, 0.31);
55
+ --dv-floating-box-shadow: 8px 8px 8px 0px rgba(83, 89, 93, 0.5);
56
+ --dv-group-view-background-color: white;
57
+ --dv-tabs-and-actions-container-background-color: #f3f3f3;
58
+ --dv-activegroup-visiblepanel-tab-background-color: white;
59
+ --dv-activegroup-hiddenpanel-tab-background-color: #ececec;
60
+ --dv-inactivegroup-visiblepanel-tab-background-color: white;
61
+ --dv-inactivegroup-hiddenpanel-tab-background-color: #ececec;
62
+ --dv-tab-divider-color: white;
63
+ --dv-activegroup-visiblepanel-tab-color: rgb(51, 51, 51);
64
+ --dv-activegroup-hiddenpanel-tab-color: rgba(51, 51, 51, 0.7);
65
+ --dv-inactivegroup-visiblepanel-tab-color: rgba(51, 51, 51, 0.7);
66
+ --dv-inactivegroup-hiddenpanel-tab-color: rgba(51, 51, 51, 0.35);
67
+ --dv-separator-border: rgba(128, 128, 128, 0.35);
68
+ --dv-paneview-header-border-color: rgb(51, 51, 51);
69
+ }
70
+
71
+ .dockview-theme-vs {
72
+ --dv-background-color: black;
73
+ --dv-paneview-active-outline-color: dodgerblue;
74
+ --dv-tabs-and-actions-container-font-size: 13px;
75
+ --dv-tabs-and-actions-container-height: 35px;
76
+ --dv-drag-over-background-color: rgba(83, 89, 93, 0.5);
77
+ --dv-drag-over-border-color: white;
78
+ --dv-tabs-container-scrollbar-color: #888;
79
+ --dv-icon-hover-background-color: rgba(90, 93, 94, 0.31);
80
+ --dv-floating-box-shadow: 8px 8px 8px 0px rgba(83, 89, 93, 0.5);
81
+ --dv-group-view-background-color: #1e1e1e;
82
+ --dv-tabs-and-actions-container-background-color: #252526;
83
+ --dv-activegroup-visiblepanel-tab-background-color: #1e1e1e;
84
+ --dv-activegroup-hiddenpanel-tab-background-color: #2d2d2d;
85
+ --dv-inactivegroup-visiblepanel-tab-background-color: #1e1e1e;
86
+ --dv-inactivegroup-hiddenpanel-tab-background-color: #2d2d2d;
87
+ --dv-tab-divider-color: #1e1e1e;
88
+ --dv-activegroup-visiblepanel-tab-color: white;
89
+ --dv-activegroup-hiddenpanel-tab-color: #969696;
90
+ --dv-inactivegroup-visiblepanel-tab-color: #8f8f8f;
91
+ --dv-inactivegroup-hiddenpanel-tab-color: #626262;
92
+ --dv-separator-border: rgb(68, 68, 68);
93
+ --dv-paneview-header-border-color: rgba(204, 204, 204, 0.2);
94
+ --dv-tabs-and-actions-container-background-color: #2d2d30;
95
+ --dv-tabs-and-actions-container-height: 20px;
96
+ --dv-tabs-and-actions-container-font-size: 11px;
97
+ --dv-activegroup-visiblepanel-tab-background-color: #007acc;
98
+ --dv-inactivegroup-visiblepanel-tab-background-color: #3f3f46;
99
+ --dv-activegroup-visiblepanel-tab-color: white;
100
+ --dv-activegroup-hiddenpanel-tab-color: white;
101
+ --dv-inactivegroup-visiblepanel-tab-color: white;
102
+ --dv-inactivegroup-hiddenpanel-tab-color: white;
103
+ }
104
+ .dockview-theme-vs .groupview.active-group > .tabs-and-actions-container {
105
+ box-sizing: content-box;
106
+ border-bottom: 2px solid var(--dv-activegroup-visiblepanel-tab-background-color);
107
+ }
108
+ .dockview-theme-vs .groupview.active-group > .tabs-and-actions-container .tab.active-tab {
109
+ border-top: 2px solid var(--dv-activegroup-visiblepanel-tab-background-color);
110
+ }
111
+ .dockview-theme-vs .groupview.active-group > .tabs-and-actions-container .tab.inactive-tab {
112
+ border-top: 2px solid var(--dv-activegroup-hiddenpanel-tab-background-color);
113
+ }
114
+ .dockview-theme-vs .groupview.inactive-group > .tabs-and-actions-container {
115
+ box-sizing: content-box;
116
+ border-bottom: 2px solid var(--dv-inactivegroup-visiblepanel-tab-background-color);
117
+ }
118
+ .dockview-theme-vs .groupview.inactive-group > .tabs-and-actions-container .tab.active-tab {
119
+ border-top: 2px solid var(--dv-inactivegroup-visiblepanel-tab-background-color);
120
+ }
121
+ .dockview-theme-vs .groupview.inactive-group > .tabs-and-actions-container .tab.inactive-tab {
122
+ border-top: 2px solid var(--dv-inactivegroup-hiddenpanel-tab-background-color);
123
+ }
124
+
125
+ .dockview-theme-abyss {
126
+ --dv-background-color: black;
127
+ --dv-paneview-active-outline-color: dodgerblue;
128
+ --dv-tabs-and-actions-container-font-size: 13px;
129
+ --dv-tabs-and-actions-container-height: 35px;
130
+ --dv-drag-over-background-color: rgba(83, 89, 93, 0.5);
131
+ --dv-drag-over-border-color: white;
132
+ --dv-tabs-container-scrollbar-color: #888;
133
+ --dv-icon-hover-background-color: rgba(90, 93, 94, 0.31);
134
+ --dv-floating-box-shadow: 8px 8px 8px 0px rgba(83, 89, 93, 0.5);
135
+ --dv-group-view-background-color: #000c18;
136
+ --dv-tabs-and-actions-container-background-color: #1c1c2a;
137
+ --dv-activegroup-visiblepanel-tab-background-color: #000c18;
138
+ --dv-activegroup-hiddenpanel-tab-background-color: #10192c;
139
+ --dv-inactivegroup-visiblepanel-tab-background-color: #000c18;
140
+ --dv-inactivegroup-hiddenpanel-tab-background-color: #10192c;
141
+ --dv-tab-divider-color: #2b2b4a;
142
+ --dv-activegroup-visiblepanel-tab-color: white;
143
+ --dv-activegroup-hiddenpanel-tab-color: rgba(255, 255, 255, 0.5);
144
+ --dv-inactivegroup-visiblepanel-tab-color: rgba(255, 255, 255, 0.5);
145
+ --dv-inactivegroup-hiddenpanel-tab-color: rgba(255, 255, 255, 0.25);
146
+ --dv-separator-border: #2b2b4a;
147
+ --dv-paneview-header-border-color: #2b2b4a;
148
+ --dv-paneview-active-outline-color: #596f99;
149
+ }
150
+
151
+ .dockview-theme-dracula {
152
+ --dv-background-color: black;
153
+ --dv-paneview-active-outline-color: dodgerblue;
154
+ --dv-tabs-and-actions-container-font-size: 13px;
155
+ --dv-tabs-and-actions-container-height: 35px;
156
+ --dv-drag-over-background-color: rgba(83, 89, 93, 0.5);
157
+ --dv-drag-over-border-color: white;
158
+ --dv-tabs-container-scrollbar-color: #888;
159
+ --dv-icon-hover-background-color: rgba(90, 93, 94, 0.31);
160
+ --dv-floating-box-shadow: 8px 8px 8px 0px rgba(83, 89, 93, 0.5);
161
+ --dv-group-view-background-color: #282a36;
162
+ --dv-tabs-and-actions-container-background-color: #191a21;
163
+ --dv-activegroup-visiblepanel-tab-background-color: #282a36;
164
+ --dv-activegroup-hiddenpanel-tab-background-color: #21222c;
165
+ --dv-inactivegroup-visiblepanel-tab-background-color: #282a36;
166
+ --dv-inactivegroup-hiddenpanel-tab-background-color: #21222c;
167
+ --dv-tab-divider-color: #191a21;
168
+ --dv-activegroup-visiblepanel-tab-color: rgb(248, 248, 242);
169
+ --dv-activegroup-hiddenpanel-tab-color: rgb(98, 114, 164);
170
+ --dv-inactivegroup-visiblepanel-tab-color: rgba(248, 248, 242, 0.5);
171
+ --dv-inactivegroup-hiddenpanel-tab-color: rgba(98, 114, 164, 0.5);
172
+ --dv-separator-border: #bd93f9;
173
+ --dv-paneview-header-border-color: #bd93f9;
174
+ --dv-paneview-active-outline-color: #6272a4;
175
+ }
176
+ .dockview-theme-dracula .groupview.active-group > .tabs-and-actions-container > .tabs-container > .tab.active-tab {
177
+ position: relative;
178
+ }
179
+ .dockview-theme-dracula .groupview.active-group > .tabs-and-actions-container > .tabs-container > .tab.active-tab::after {
180
+ position: absolute;
181
+ left: 0px;
182
+ top: 0px;
183
+ content: "";
184
+ width: 100%;
185
+ height: 1px;
186
+ background-color: #94527e;
187
+ z-index: 999;
188
+ }
189
+ .dockview-theme-dracula .groupview.inactive-group > .tabs-and-actions-container > .tabs-container > .tab.active-tab {
190
+ position: relative;
191
+ }
192
+ .dockview-theme-dracula .groupview.inactive-group > .tabs-and-actions-container > .tabs-container > .tab.active-tab::after {
193
+ position: absolute;
194
+ left: 0px;
195
+ bottom: 0px;
196
+ content: "";
197
+ width: 100%;
198
+ height: 1px;
199
+ background-color: #5e3d5a;
200
+ z-index: 999;
201
+ }
202
+
203
+ .dockview-theme-replit {
204
+ --dv-background-color: black;
205
+ --dv-paneview-active-outline-color: dodgerblue;
206
+ --dv-tabs-and-actions-container-font-size: 13px;
207
+ --dv-tabs-and-actions-container-height: 35px;
208
+ --dv-drag-over-background-color: rgba(83, 89, 93, 0.5);
209
+ --dv-drag-over-border-color: white;
210
+ --dv-tabs-container-scrollbar-color: #888;
211
+ --dv-icon-hover-background-color: rgba(90, 93, 94, 0.31);
212
+ --dv-floating-box-shadow: 8px 8px 8px 0px rgba(83, 89, 93, 0.5);
213
+ --dv-group-gap-size: 3px;
214
+ --dv-group-view-background-color: #ebeced;
215
+ --dv-tabs-and-actions-container-background-color: #fcfcfc;
216
+ --dv-activegroup-visiblepanel-tab-background-color: #f0f1f2;
217
+ --dv-activegroup-hiddenpanel-tab-background-color: ##fcfcfc;
218
+ --dv-inactivegroup-visiblepanel-tab-background-color: #f0f1f2;
219
+ --dv-inactivegroup-hiddenpanel-tab-background-color: #fcfcfc;
220
+ --dv-tab-divider-color: transparent;
221
+ --dv-activegroup-visiblepanel-tab-color: rgb(51, 51, 51);
222
+ --dv-activegroup-hiddenpanel-tab-color: rgb(51, 51, 51);
223
+ --dv-inactivegroup-visiblepanel-tab-color: rgb(51, 51, 51);
224
+ --dv-inactivegroup-hiddenpanel-tab-color: rgb(51, 51, 51);
225
+ --dv-separator-border: transparent;
226
+ --dv-paneview-header-border-color: rgb(51, 51, 51);
227
+ --dv-background-color: #ebeced;
228
+ --dv-separator-handle-background-color: #cfd1d3;
229
+ --dv-separator-handle-hover-background-color: #babbbb;
230
+ }
231
+ .dockview-theme-replit .dv-resize-container:has(> .groupview) {
232
+ border-radius: 8px;
233
+ }
234
+ .dockview-theme-replit .groupview {
235
+ overflow: hidden;
236
+ border-radius: 10px;
237
+ }
238
+ .dockview-theme-replit .groupview .tabs-and-actions-container {
239
+ border-bottom: 1px solid rgba(128, 128, 128, 0.35);
240
+ }
241
+ .dockview-theme-replit .groupview .tabs-and-actions-container .tab {
242
+ margin: 4px;
243
+ border-radius: 8px;
244
+ }
245
+ .dockview-theme-replit .groupview .tabs-and-actions-container .tab .dockview-svg {
246
+ height: 8px;
247
+ width: 8px;
248
+ }
249
+ .dockview-theme-replit .groupview .tabs-and-actions-container .tab:hover {
250
+ background-color: #e4e5e6 !important;
251
+ }
252
+ .dockview-theme-replit .groupview .content-container {
253
+ background-color: #fcfcfc;
254
+ }
255
+ .dockview-theme-replit .groupview.active-group {
256
+ border: 1px solid rgba(128, 128, 128, 0.35);
257
+ }
258
+ .dockview-theme-replit .groupview.inactive-group {
259
+ border: 1px solid transparent;
260
+ }
261
+ .dockview-theme-replit .vertical > .sash-container > .sash::after {
262
+ content: "";
263
+ height: 4px;
264
+ width: 40px;
265
+ border-radius: 2px;
266
+ top: 50%;
267
+ left: 50%;
268
+ transform: translate(-50%, -50%);
269
+ background-color: var(--dv-separator-handle-background-color);
270
+ position: absolute;
271
+ }
272
+ .dockview-theme-replit .vertical > .sash-container > .sash:hover::after {
273
+ background-color: var(--dv-separator-handle-hover-background-color);
274
+ }
275
+ .dockview-theme-replit .horizontal > .sash-container > .sash::after {
276
+ content: "";
277
+ height: 40px;
278
+ width: 4px;
279
+ border-radius: 2px;
280
+ top: 50%;
281
+ left: 50%;
282
+ transform: translate(-50%, -50%);
283
+ background-color: var(--dv-separator-handle-background-color);
284
+ position: absolute;
285
+ }
286
+ .dockview-theme-replit .horizontal > .sash-container > .sash:hover::after {
287
+ background-color: var(--dv-separator-handle-hover-background-color);
288
+ }
289
+ .drop-target {
290
+ position: relative;
291
+ }
292
+ .drop-target > .drop-target-dropzone {
293
+ position: absolute;
294
+ left: 0px;
295
+ top: 0px;
296
+ height: 100%;
297
+ width: 100%;
298
+ z-index: 1000;
299
+ pointer-events: none;
300
+ }
301
+ .drop-target > .drop-target-dropzone > .drop-target-selection {
302
+ position: relative;
303
+ box-sizing: border-box;
304
+ height: 100%;
305
+ width: 100%;
306
+ background-color: var(--dv-drag-over-background-color);
307
+ transition: top 70ms ease-out, left 70ms ease-out, width 70ms ease-out, height 70ms ease-out, opacity 0.15s ease-out;
308
+ will-change: transform;
309
+ pointer-events: none;
310
+ }
311
+ .drop-target > .drop-target-dropzone > .drop-target-selection.dv-drop-target-top.dv-drop-target-small-vertical {
312
+ border-top: 1px solid var(--dv-drag-over-border-color);
313
+ }
314
+ .drop-target > .drop-target-dropzone > .drop-target-selection.dv-drop-target-bottom.dv-drop-target-small-vertical {
315
+ border-bottom: 1px solid var(--dv-drag-over-border-color);
316
+ }
317
+ .drop-target > .drop-target-dropzone > .drop-target-selection.dv-drop-target-left.dv-drop-target-small-horizontal {
318
+ border-left: 1px solid var(--dv-drag-over-border-color);
319
+ }
320
+ .drop-target > .drop-target-dropzone > .drop-target-selection.dv-drop-target-right.dv-drop-target-small-horizontal {
321
+ border-right: 1px solid var(--dv-drag-over-border-color);
322
+ }
323
+ .dv-debug .dv-resize-container .dv-resize-handle-top {
324
+ background-color: red;
325
+ }
326
+ .dv-debug .dv-resize-container .dv-resize-handle-bottom {
327
+ background-color: green;
328
+ }
329
+ .dv-debug .dv-resize-container .dv-resize-handle-left {
330
+ background-color: yellow;
331
+ }
332
+ .dv-debug .dv-resize-container .dv-resize-handle-right {
333
+ background-color: blue;
334
+ }
335
+ .dv-debug .dv-resize-container .dv-resize-handle-topleft,
336
+ .dv-debug .dv-resize-container .dv-resize-handle-topright,
337
+ .dv-debug .dv-resize-container .dv-resize-handle-bottomleft,
338
+ .dv-debug .dv-resize-container .dv-resize-handle-bottomright {
339
+ background-color: cyan;
340
+ }
341
+
342
+ .dv-resize-container {
343
+ position: absolute;
344
+ z-index: 997;
345
+ border: 1px solid var(--dv-tab-divider-color);
346
+ box-shadow: var(--dv-floating-box-shadow);
347
+ }
348
+ .dv-resize-container.dv-bring-to-front {
349
+ z-index: 998;
350
+ }
351
+ .dv-resize-container.dv-resize-container-dragging {
352
+ opacity: 0.5;
353
+ }
354
+ .dv-resize-container .dv-resize-handle-top {
355
+ height: 4px;
356
+ width: calc(100% - 8px);
357
+ left: 4px;
358
+ top: -2px;
359
+ z-index: 999;
360
+ position: absolute;
361
+ cursor: ns-resize;
362
+ }
363
+ .dv-resize-container .dv-resize-handle-bottom {
364
+ height: 4px;
365
+ width: calc(100% - 8px);
366
+ left: 4px;
367
+ bottom: -2px;
368
+ z-index: 999;
369
+ position: absolute;
370
+ cursor: ns-resize;
371
+ }
372
+ .dv-resize-container .dv-resize-handle-left {
373
+ height: calc(100% - 8px);
374
+ width: 4px;
375
+ left: -2px;
376
+ top: 4px;
377
+ z-index: 999;
378
+ position: absolute;
379
+ cursor: ew-resize;
380
+ }
381
+ .dv-resize-container .dv-resize-handle-right {
382
+ height: calc(100% - 8px);
383
+ width: 4px;
384
+ right: -2px;
385
+ top: 4px;
386
+ z-index: 999;
387
+ position: absolute;
388
+ cursor: ew-resize;
389
+ }
390
+ .dv-resize-container .dv-resize-handle-topleft {
391
+ height: 4px;
392
+ width: 4px;
393
+ top: -2px;
394
+ left: -2px;
395
+ z-index: 999;
396
+ position: absolute;
397
+ cursor: nw-resize;
398
+ }
399
+ .dv-resize-container .dv-resize-handle-topright {
400
+ height: 4px;
401
+ width: 4px;
402
+ right: -2px;
403
+ top: -2px;
404
+ z-index: 999;
405
+ position: absolute;
406
+ cursor: ne-resize;
407
+ }
408
+ .dv-resize-container .dv-resize-handle-bottomleft {
409
+ height: 4px;
410
+ width: 4px;
411
+ left: -2px;
412
+ bottom: -2px;
413
+ z-index: 999;
414
+ position: absolute;
415
+ cursor: sw-resize;
416
+ }
417
+ .dv-resize-container .dv-resize-handle-bottomright {
418
+ height: 4px;
419
+ width: 4px;
420
+ right: -2px;
421
+ bottom: -2px;
422
+ z-index: 999;
423
+ position: absolute;
424
+ cursor: se-resize;
425
+ }
426
+ .dv-dockview {
427
+ position: relative;
428
+ background-color: var(--dv-group-view-background-color);
429
+ }
430
+ .dv-dockview .dv-watermark-container {
431
+ position: absolute;
432
+ top: 0px;
433
+ left: 0px;
434
+ height: 100%;
435
+ width: 100%;
436
+ z-index: 1;
437
+ }
438
+ .dv-dockview .dv-overlay-render-container {
439
+ position: relative;
440
+ }
441
+ .dv-dockview .split-view-container.horizontal > .view-container > .view:not(:last-child) {
442
+ border-right: var(--dv-group-gap-size) solid transparent;
443
+ }
444
+ .dv-dockview .split-view-container.horizontal > .view-container > .view:not(:first-child) {
445
+ border-left: var(--dv-group-gap-size) solid transparent;
446
+ }
447
+ .dv-dockview .split-view-container.vertical > .view-container > .view:not(:last-child) {
448
+ border-bottom: var(--dv-group-gap-size) solid transparent;
449
+ }
450
+ .dv-dockview .split-view-container.vertical > .view-container > .view:not(:first-child) {
451
+ border-top: var(--dv-group-gap-size) solid transparent;
452
+ }
453
+
454
+ .groupview.active-group > .tabs-and-actions-container > .tabs-container > .tab.active-tab {
455
+ background-color: var(--dv-activegroup-visiblepanel-tab-background-color);
456
+ color: var(--dv-activegroup-visiblepanel-tab-color);
457
+ }
458
+ .groupview.active-group > .tabs-and-actions-container > .tabs-container > .tab.inactive-tab {
459
+ background-color: var(--dv-activegroup-hiddenpanel-tab-background-color);
460
+ color: var(--dv-activegroup-hiddenpanel-tab-color);
461
+ }
462
+ .groupview.inactive-group > .tabs-and-actions-container > .tabs-container > .tab.active-tab {
463
+ background-color: var(--dv-inactivegroup-visiblepanel-tab-background-color);
464
+ color: var(--dv-inactivegroup-visiblepanel-tab-color);
465
+ }
466
+ .groupview.inactive-group > .tabs-and-actions-container > .tabs-container > .tab.inactive-tab {
467
+ background-color: var(--dv-inactivegroup-hiddenpanel-tab-background-color);
468
+ color: var(--dv-inactivegroup-hiddenpanel-tab-color);
469
+ }
470
+
471
+ /**
472
+ * when a tab is dragged we lose the above stylings because they are conditional on parent elements
473
+ * therefore we also set some stylings for the dragging event
474
+ **/
475
+ .tab.dv-tab-dragging {
476
+ background-color: var(--dv-activegroup-visiblepanel-tab-background-color);
477
+ color: var(--dv-activegroup-visiblepanel-tab-color);
478
+ }
479
+ .groupview {
480
+ display: flex;
481
+ flex-direction: column;
482
+ height: 100%;
483
+ background-color: var(--dv-group-view-background-color);
484
+ overflow: hidden;
485
+ }
486
+ .groupview:focus {
487
+ outline: none;
488
+ }
489
+ .groupview.empty > .tabs-and-actions-container {
490
+ display: none;
491
+ }
492
+ .groupview > .content-container {
493
+ flex-grow: 1;
494
+ min-height: 0;
495
+ outline: none;
496
+ }
497
+ .dv-root-wrapper {
498
+ height: 100%;
499
+ width: 100%;
500
+ }
501
+ .grid-view,
502
+ .branch-node {
503
+ height: 100%;
504
+ width: 100%;
505
+ }
506
+ .pane-container {
507
+ height: 100%;
508
+ width: 100%;
509
+ }
510
+ .pane-container.animated .view {
511
+ transition-duration: 0.15s;
512
+ transition-timing-function: ease-out;
513
+ }
514
+ .pane-container .view {
515
+ overflow: hidden;
516
+ display: flex;
517
+ flex-direction: column;
518
+ padding: 0px !important;
519
+ }
520
+ .pane-container .view:not(:first-child)::before {
521
+ background-color: transparent !important;
522
+ }
523
+ .pane-container .view:not(:first-child) .pane > .pane-header {
524
+ border-top: 1px solid var(--dv-paneview-header-border-color);
525
+ }
526
+ .pane-container .view .default-header {
527
+ background-color: var(--dv-group-view-background-color);
528
+ color: var(--dv-activegroup-visiblepanel-tab-color);
529
+ display: flex;
530
+ padding: 0px 8px;
531
+ cursor: pointer;
532
+ }
533
+ .pane-container .view .default-header .dockview-pane-header-icon {
534
+ display: flex;
535
+ justify-content: center;
536
+ align-items: center;
537
+ }
538
+ .pane-container .view .default-header > span {
539
+ padding-left: 8px;
540
+ flex-grow: 1;
541
+ }
542
+ .pane-container:first-of-type > .pane > .pane-header {
543
+ border-top: none !important;
544
+ }
545
+ .pane-container .pane {
546
+ display: flex;
547
+ flex-direction: column;
548
+ overflow: hidden;
549
+ height: 100%;
550
+ }
551
+ .pane-container .pane .pane-header {
552
+ box-sizing: border-box;
553
+ user-select: none;
554
+ position: relative;
555
+ outline: none;
556
+ }
557
+ .pane-container .pane .pane-header.pane-draggable {
558
+ cursor: pointer;
559
+ }
560
+ .pane-container .pane .pane-header:focus:before, .pane-container .pane .pane-header:focus-within:before {
561
+ position: absolute;
562
+ top: 0;
563
+ left: 0;
564
+ width: 100%;
565
+ height: 100%;
566
+ z-index: 5;
567
+ content: "";
568
+ pointer-events: none;
569
+ outline: 1px solid;
570
+ outline-width: -1px;
571
+ outline-style: solid;
572
+ outline-offset: -1px;
573
+ outline-color: var(--dv-paneview-active-outline-color);
574
+ }
575
+ .pane-container .pane .pane-body {
576
+ overflow-y: auto;
577
+ overflow-x: hidden;
578
+ flex-grow: 1;
579
+ position: relative;
580
+ outline: none;
581
+ }
582
+ .pane-container .pane .pane-body:focus:before, .pane-container .pane .pane-body:focus-within:before {
583
+ position: absolute;
584
+ top: 0;
585
+ left: 0;
586
+ width: 100%;
587
+ height: 100%;
588
+ z-index: 5;
589
+ content: "";
590
+ pointer-events: none;
591
+ outline: 1px solid;
592
+ outline-width: -1px;
593
+ outline-style: solid;
594
+ outline-offset: -1px;
595
+ outline-color: var(--dv-paneview-active-outline-color);
596
+ }
597
+ .dv-debug .split-view-container .sash-container .sash.enabled {
598
+ background-color: black;
599
+ }
600
+ .dv-debug .split-view-container .sash-container .sash.disabled {
601
+ background-color: orange;
602
+ }
603
+ .dv-debug .split-view-container .sash-container .sash.maximum {
604
+ background-color: green;
605
+ }
606
+ .dv-debug .split-view-container .sash-container .sash.minimum {
607
+ background-color: red;
608
+ }
609
+
610
+ .split-view-container {
611
+ position: relative;
612
+ overflow: hidden;
613
+ height: 100%;
614
+ width: 100%;
615
+ }
616
+ .split-view-container.dv-splitview-disabled > .sash-container > .sash {
617
+ pointer-events: none;
618
+ }
619
+ .split-view-container.animation .view,
620
+ .split-view-container.animation .sash {
621
+ transition-duration: 0.15s;
622
+ transition-timing-function: ease-out;
623
+ }
624
+ .split-view-container.horizontal {
625
+ height: 100%;
626
+ }
627
+ .split-view-container.horizontal > .sash-container > .sash {
628
+ height: 100%;
629
+ width: 4px;
630
+ }
631
+ .split-view-container.horizontal > .sash-container > .sash.enabled {
632
+ cursor: ew-resize;
633
+ }
634
+ .split-view-container.horizontal > .sash-container > .sash.disabled {
635
+ cursor: default;
636
+ }
637
+ .split-view-container.horizontal > .sash-container > .sash.maximum {
638
+ cursor: w-resize;
639
+ }
640
+ .split-view-container.horizontal > .sash-container > .sash.minimum {
641
+ cursor: e-resize;
642
+ }
643
+ .split-view-container.horizontal > .view-container > .view:not(:first-child)::before {
644
+ height: 100%;
645
+ width: 1px;
646
+ }
647
+ .split-view-container.vertical {
648
+ width: 100%;
649
+ }
650
+ .split-view-container.vertical > .sash-container > .sash {
651
+ width: 100%;
652
+ height: 4px;
653
+ }
654
+ .split-view-container.vertical > .sash-container > .sash.enabled {
655
+ cursor: ns-resize;
656
+ }
657
+ .split-view-container.vertical > .sash-container > .sash.disabled {
658
+ cursor: default;
659
+ }
660
+ .split-view-container.vertical > .sash-container > .sash.maximum {
661
+ cursor: n-resize;
662
+ }
663
+ .split-view-container.vertical > .sash-container > .sash.minimum {
664
+ cursor: s-resize;
665
+ }
666
+ .split-view-container.vertical > .view-container > .view {
667
+ width: 100%;
668
+ }
669
+ .split-view-container.vertical > .view-container > .view:not(:first-child)::before {
670
+ height: 1px;
671
+ width: 100%;
672
+ }
673
+ .split-view-container .sash-container {
674
+ height: 100%;
675
+ width: 100%;
676
+ position: absolute;
677
+ }
678
+ .split-view-container .sash-container .sash {
679
+ position: absolute;
680
+ z-index: 99;
681
+ outline: none;
682
+ user-select: none;
683
+ -webkit-user-select: none;
684
+ -moz-user-select: none;
685
+ -ms-user-select: none;
686
+ touch-action: none;
687
+ }
688
+ .split-view-container .sash-container .sash:not(.disabled):active {
689
+ transition: background-color 0.1s ease-in-out;
690
+ background-color: var(--dv-active-sash-color, transparent);
691
+ }
692
+ .split-view-container .sash-container .sash:not(.disabled):hover {
693
+ background-color: var(--dv-active-sash-color, transparent);
694
+ transition: background-color 0.1s ease-in-out;
695
+ transition-delay: 0.5s;
696
+ }
697
+ .split-view-container .view-container {
698
+ position: relative;
699
+ height: 100%;
700
+ width: 100%;
701
+ background-color: var(--dv-background-color);
702
+ }
703
+ .split-view-container .view-container .view {
704
+ height: 100%;
705
+ box-sizing: border-box;
706
+ overflow: auto;
707
+ position: absolute;
708
+ }
709
+ .split-view-container.separator-border .view:not(:first-child)::before {
710
+ content: " ";
711
+ position: absolute;
712
+ top: 0;
713
+ left: 0;
714
+ z-index: 5;
715
+ pointer-events: none;
716
+ background-color: var(--dv-separator-border);
717
+ }
718
+ .dv-dragged {
719
+ transform: translate3d(0px, 0px, 0px); /* forces tab to be drawn on a separate layer (see https://github.com/microsoft/vscode/issues/18733) */
720
+ }
721
+
722
+ .tab {
723
+ flex-shrink: 0;
724
+ }
725
+ .tab:focus-within, .tab:focus {
726
+ position: relative;
727
+ }
728
+ .tab:focus-within::after, .tab:focus::after {
729
+ position: absolute;
730
+ content: "";
731
+ height: 100%;
732
+ width: 100%;
733
+ top: 0px;
734
+ left: 0px;
735
+ pointer-events: none;
736
+ outline: 1px solid var(--dv-tab-divider-color) !important;
737
+ outline-offset: -1px;
738
+ z-index: 5;
739
+ }
740
+ .tab.dv-tab-dragging .dv-default-tab-action {
741
+ background-color: var(--dv-activegroup-visiblepanel-tab-color);
742
+ }
743
+ .tab.active-tab .dv-default-tab .dv-default-tab-action {
744
+ visibility: visible;
745
+ }
746
+ .tab.inactive-tab .dv-default-tab .dv-default-tab-action {
747
+ visibility: hidden;
748
+ }
749
+ .tab.inactive-tab .dv-default-tab:hover .dv-default-tab-action {
750
+ visibility: visible;
751
+ }
752
+ .tab .dv-default-tab {
753
+ position: relative;
754
+ height: 100%;
755
+ display: flex;
756
+ min-width: 80px;
757
+ align-items: center;
758
+ padding: 0px 8px;
759
+ white-space: nowrap;
760
+ text-overflow: elipsis;
761
+ }
762
+ .tab .dv-default-tab .dv-default-tab-content {
763
+ padding: 0px 8px;
764
+ flex-grow: 1;
765
+ }
766
+ .tab .dv-default-tab .dv-default-tab-action {
767
+ padding: 4px;
768
+ display: flex;
769
+ align-items: center;
770
+ justify-content: center;
771
+ box-sizing: border-box;
772
+ }
773
+ .tab .dv-default-tab .dv-default-tab-action:hover {
774
+ border-radius: 2px;
775
+ background-color: var(--dv-icon-hover-background-color);
776
+ }
777
+ .tabs-and-actions-container {
778
+ display: flex;
779
+ background-color: var(--dv-tabs-and-actions-container-background-color);
780
+ flex-shrink: 0;
781
+ box-sizing: border-box;
782
+ height: var(--dv-tabs-and-actions-container-height);
783
+ font-size: var(--dv-tabs-and-actions-container-font-size);
784
+ }
785
+ .tabs-and-actions-container.hidden {
786
+ display: none;
787
+ }
788
+ .tabs-and-actions-container.dv-single-tab.dv-full-width-single-tab .tabs-container {
789
+ flex-grow: 1;
790
+ }
791
+ .tabs-and-actions-container.dv-single-tab.dv-full-width-single-tab .tabs-container .tab {
792
+ flex-grow: 1;
793
+ }
794
+ .tabs-and-actions-container.dv-single-tab.dv-full-width-single-tab .void-container {
795
+ flex-grow: 0;
796
+ }
797
+ .tabs-and-actions-container .void-container {
798
+ display: flex;
799
+ flex-grow: 1;
800
+ cursor: grab;
801
+ }
802
+ .tabs-and-actions-container .tabs-container {
803
+ display: flex;
804
+ overflow-x: overlay;
805
+ overflow-y: hidden;
806
+ scrollbar-width: thin;
807
+ /* Track */
808
+ /* Handle */
809
+ }
810
+ .tabs-and-actions-container .tabs-container::-webkit-scrollbar {
811
+ height: 3px;
812
+ }
813
+ .tabs-and-actions-container .tabs-container::-webkit-scrollbar-track {
814
+ background: transparent;
815
+ }
816
+ .tabs-and-actions-container .tabs-container::-webkit-scrollbar-thumb {
817
+ background: var(--dv-tabs-container-scrollbar-color);
818
+ }
819
+ .tabs-and-actions-container .tabs-container .tab {
820
+ -webkit-user-drag: element;
821
+ outline: none;
822
+ min-width: 75px;
823
+ cursor: pointer;
824
+ position: relative;
825
+ box-sizing: border-box;
826
+ }
827
+ .tabs-and-actions-container .tabs-container .tab:not(:first-child)::before {
828
+ content: " ";
829
+ position: absolute;
830
+ top: 0;
831
+ left: 0;
832
+ z-index: 5;
833
+ pointer-events: none;
834
+ background-color: var(--dv-tab-divider-color);
835
+ width: 1px;
836
+ height: 100%;
837
+ }
838
+ .watermark {
839
+ display: flex;
840
+ width: 100%;
841
+ }
842
+ .watermark.has-actions .watermark-title .actions-container {
843
+ display: none;
844
+ }
845
+ .watermark .watermark-title {
846
+ height: 35px;
847
+ width: 100%;
848
+ display: flex;
849
+ }
850
+ .watermark .watermark-content {
851
+ flex-grow: 1;
852
+ }
853
+ .watermark .actions-container {
854
+ display: flex;
855
+ align-items: center;
856
+ padding: 0px 8px;
857
+ }
858
+ .watermark .actions-container .close-action {
859
+ padding: 4px;
860
+ display: flex;
861
+ align-items: center;
862
+ justify-content: center;
863
+ box-sizing: border-box;
864
+ cursor: pointer;
865
+ color: var(--dv-activegroup-hiddenpanel-tab-color);
866
+ }
867
+ .watermark .actions-container .close-action:hover {
868
+ border-radius: 2px;
869
+ background-color: var(--dv-icon-hover-background-color);
870
+ }