flexlayout-react 0.8.4 → 0.8.6

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 (56) hide show
  1. package/ChangeLog.txt +9 -0
  2. package/README.md +29 -2
  3. package/declarations/Types.d.ts +2 -6
  4. package/declarations/view/Layout.d.ts +3 -1
  5. package/dist/flexlayout.js +7 -7
  6. package/dist/flexlayout_min.js +1 -1
  7. package/lib/Types.js +2 -6
  8. package/lib/Types.js.map +1 -1
  9. package/lib/model/TabSetNode.js +9 -4
  10. package/lib/model/TabSetNode.js.map +1 -1
  11. package/lib/view/BorderTabSet.js +11 -5
  12. package/lib/view/BorderTabSet.js.map +1 -1
  13. package/lib/view/Layout.js +3 -2
  14. package/lib/view/Layout.js.map +1 -1
  15. package/lib/view/PopupMenu.js +11 -5
  16. package/lib/view/PopupMenu.js.map +1 -1
  17. package/lib/view/TabOverflowHook.js +104 -21
  18. package/lib/view/TabOverflowHook.js.map +1 -1
  19. package/lib/view/TabSet.js +11 -5
  20. package/lib/view/TabSet.js.map +1 -1
  21. package/package.json +2 -2
  22. package/src/Types.ts +3 -8
  23. package/src/model/TabSetNode.ts +8 -4
  24. package/src/view/BorderTabSet.tsx +38 -24
  25. package/src/view/Layout.tsx +9 -5
  26. package/src/view/PopupMenu.tsx +31 -19
  27. package/src/view/TabOverflowHook.tsx +112 -21
  28. package/src/view/TabSet.tsx +36 -22
  29. package/style/_base.scss +569 -595
  30. package/style/_themes.scss +649 -0
  31. package/style/combined.css +1055 -0
  32. package/style/combined.css.map +1 -0
  33. package/style/combined.scss +46 -0
  34. package/style/dark.css +704 -701
  35. package/style/dark.css.map +1 -1
  36. package/style/dark.scss +5 -181
  37. package/style/gray.css +707 -684
  38. package/style/gray.css.map +1 -1
  39. package/style/gray.scss +5 -180
  40. package/style/light.css +681 -685
  41. package/style/light.css.map +1 -1
  42. package/style/light.scss +5 -163
  43. package/style/rounded.css +723 -730
  44. package/style/rounded.css.map +1 -1
  45. package/style/rounded.scss +5 -210
  46. package/style/underline.css +710 -705
  47. package/style/underline.css.map +1 -1
  48. package/style/underline.scss +5 -186
  49. package/.editorconfig +0 -8
  50. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -104
  51. package/.github/ISSUE_TEMPLATE/config.yml +0 -5
  52. package/.prettierrc.json +0 -3
  53. package/Screenshot_light.png +0 -0
  54. package/Screenshot_rounded.png +0 -0
  55. package/dist/bundles/demo.js +0 -232052
  56. package/dist/bundles/demo.js.map +0 -1
package/style/light.css CHANGED
@@ -1,685 +1,681 @@
1
- .flexlayout__layout {
2
- --color-text: black;
3
- --color-background: white;
4
- --color-base: white;
5
- --color-1: rgb(247.35, 247.35, 247.35);
6
- --color-2: rgb(239.9295, 239.9295, 239.9295);
7
- --color-3: rgb(232.731615, 232.731615, 232.731615);
8
- --color-4: rgb(225.74966655, 225.74966655, 225.74966655);
9
- --color-5: rgb(218.9771765535, 218.9771765535, 218.9771765535);
10
- --color-6: rgb(212.4078612569, 212.4078612569, 212.4078612569);
11
- --color-drag1: rgb(95, 134, 196);
12
- --color-drag2: rgb(119, 166, 119);
13
- --color-drag1-background: rgba(95, 134, 196, 0.1);
14
- --color-drag2-background: rgba(119, 166, 119, 0.075);
15
- --font-size: medium;
16
- --font-family: Roboto, Arial, sans-serif;
17
- --color-overflow: gray;
18
- --color-icon: gray;
19
- --color-tabset-background: var(--color-background);
20
- --color-tabset-background-selected: var(--color-1);
21
- --color-tabset-background-maximized: var(--color-6);
22
- --color-tabset-divider-line: var(--color-4);
23
- --color-tabset-header-background: var(--color-background);
24
- --color-tabset-header: var(--color-text);
25
- --color-border-tab-content: var(--color-background);
26
- --color-border-background: var(--color-background);
27
- --color-border-divider-line: var(--color-4);
28
- --color-tab-content: var(--color-background);
29
- --color-tab-selected: var(--color-text);
30
- --color-tab-selected-background: var(--color-4);
31
- --color-tab-unselected: gray;
32
- --color-tab-unselected-background: transparent;
33
- --color-tab-textbox: var(--color-text);
34
- --color-tab-textbox-background: var(--color-3);
35
- --color-border-tab-selected: var(--color-text);
36
- --color-border-tab-selected-background: var(--color-4);
37
- --color-border-tab-unselected: gray;
38
- --color-border-tab-unselected-background: var(--color-2);
39
- --color-splitter: var(--color-1);
40
- --color-splitter-hover: var(--color-4);
41
- --color-splitter-drag: var(--color-4);
42
- --color-drag-rect-border: #ccc;
43
- --color-drag-rect-background: var(--color-5);
44
- --color-drag-rect: var(--color-text);
45
- --color-popup-border: var(--color-6);
46
- --color-popup-unselected: var(--color-text);
47
- --color-popup-unselected-background: white;
48
- --color-popup-selected: var(--color-text);
49
- --color-popup-selected-background: var(--color-3);
50
- --color-edge-marker: #aaa;
51
- --color-edge-icon: #555;
52
- }
53
-
54
- .flexlayout__layout {
55
- left: 0;
56
- top: 0;
57
- right: 0;
58
- bottom: 0;
59
- position: absolute;
60
- display: flex;
61
- }
62
- .flexlayout__layout_overlay {
63
- left: 0;
64
- top: 0;
65
- right: 0;
66
- bottom: 0;
67
- position: absolute;
68
- z-index: 1000;
69
- }
70
- .flexlayout__layout_tab_stamps {
71
- position: absolute;
72
- top: -10000px;
73
- z-index: 100;
74
- display: flex;
75
- flex-direction: column;
76
- align-items: start;
77
- }
78
- .flexlayout__layout_moveables {
79
- visibility: hidden;
80
- position: absolute;
81
- width: 100px;
82
- height: 100px;
83
- top: -20000px;
84
- }
85
- .flexlayout__layout_main {
86
- display: flex;
87
- flex-basis: 0px;
88
- min-width: 0;
89
- min-height: 0;
90
- flex-grow: 1;
91
- position: relative;
92
- }
93
- .flexlayout__layout_border_container {
94
- display: flex;
95
- flex-basis: 0px;
96
- min-width: 0;
97
- min-height: 0;
98
- flex-grow: 1;
99
- }
100
- .flexlayout__layout_border_container_inner {
101
- display: flex;
102
- flex-basis: 0px;
103
- min-width: 0;
104
- min-height: 0;
105
- flex-grow: 1;
106
- }
107
- .flexlayout__splitter {
108
- display: flex;
109
- align-items: center;
110
- justify-content: center;
111
- background-color: var(--color-splitter);
112
- touch-action: none;
113
- z-index: 10;
114
- }
115
- @media (hover: hover) {
116
- .flexlayout__splitter:hover {
117
- background-color: var(--color-splitter-hover);
118
- transition: background-color ease-in 0.1s;
119
- transition-delay: 0.05s;
120
- }
121
- }
122
- .flexlayout__splitter_drag {
123
- position: absolute;
124
- display: flex;
125
- align-items: center;
126
- justify-content: center;
127
- z-index: 1000;
128
- background-color: var(--color-splitter-drag);
129
- }
130
- .flexlayout__splitter_handle {
131
- background-color: #ccc;
132
- border-radius: 3px;
133
- }
134
- .flexlayout__splitter_handle_horz {
135
- width: 3px;
136
- height: 30px;
137
- }
138
- .flexlayout__splitter_handle_vert {
139
- width: 30px;
140
- height: 3px;
141
- }
142
- .flexlayout__splitter_extra {
143
- touch-action: none;
144
- background-color: transparent;
145
- }
146
- .flexlayout__outline_rect {
147
- position: absolute;
148
- pointer-events: none;
149
- box-sizing: border-box;
150
- border: 2px solid var(--color-drag1);
151
- background: var(--color-drag1-background);
152
- border-radius: 5px;
153
- z-index: 1000;
154
- }
155
- .flexlayout__outline_rect_edge {
156
- pointer-events: none;
157
- border: 2px solid var(--color-drag2);
158
- background: var(--color-drag2-background);
159
- border-radius: 5px;
160
- z-index: 1000;
161
- box-sizing: border-box;
162
- }
163
- .flexlayout__edge_rect {
164
- position: absolute;
165
- z-index: 1000;
166
- background-color: var(--color-edge-marker);
167
- pointer-events: none;
168
- display: flex;
169
- align-items: center;
170
- justify-content: center;
171
- }
172
- .flexlayout__drag_rect {
173
- color: var(--color-drag-rect);
174
- background-color: var(--color-drag-rect-background);
175
- border: 2px solid var(--color-drag-rect-border);
176
- border-radius: 5px;
177
- box-sizing: border-box;
178
- display: flex;
179
- justify-content: center;
180
- flex-direction: column;
181
- overflow: hidden;
182
- padding: 0.3em 0.8em;
183
- word-wrap: break-word;
184
- font-size: var(--font-size);
185
- font-family: var(--font-family);
186
- }
187
- .flexlayout__row {
188
- display: flex;
189
- flex-basis: 0px;
190
- min-width: 0;
191
- min-height: 0;
192
- position: relative;
193
- box-sizing: border-box;
194
- overflow: hidden;
195
- }
196
- .flexlayout__tabset {
197
- display: flex;
198
- flex-direction: column;
199
- position: relative;
200
- background-color: var(--color-tabset-background);
201
- box-sizing: border-box;
202
- font-family: var(--font-family);
203
- overflow: hidden;
204
- flex-grow: 1;
205
- }
206
- .flexlayout__tabset_container {
207
- display: flex;
208
- flex-basis: 0px;
209
- min-width: 0;
210
- min-height: 0;
211
- flex-direction: column;
212
- overflow: hidden;
213
- flex-grow: 1;
214
- }
215
- .flexlayout__tabset_tab_divider {
216
- width: 4px;
217
- }
218
- .flexlayout__tabset_content {
219
- display: flex;
220
- flex-basis: 0px;
221
- min-width: 0;
222
- min-height: 0;
223
- flex-grow: 1;
224
- box-sizing: border-box;
225
- position: relative;
226
- }
227
- .flexlayout__tabset_header {
228
- display: flex;
229
- align-items: center;
230
- padding: 3px 3px 3px 5px;
231
- box-sizing: border-box;
232
- border-bottom: 1px solid var(--color-tabset-divider-line);
233
- color: var(--color-tabset-header);
234
- background-color: var(--color-tabset-header-background);
235
- font-size: var(--font-size);
236
- }
237
- .flexlayout__tabset_header_content {
238
- flex-grow: 1;
239
- }
240
- .flexlayout__tabset_tabbar_outer {
241
- box-sizing: border-box;
242
- background-color: var(--color-tabset-background);
243
- overflow: hidden;
244
- display: flex;
245
- font-size: var(--font-size);
246
- }
247
- .flexlayout__tabset_tabbar_outer_top {
248
- padding: 0px 2px 0px 2px;
249
- border-bottom: 1px solid var(--color-tabset-divider-line);
250
- }
251
- .flexlayout__tabset_tabbar_outer_bottom {
252
- padding: 0px 2px 0px 2px;
253
- border-top: 1px solid var(--color-tabset-divider-line);
254
- }
255
- .flexlayout__tabset_tabbar_inner {
256
- position: relative;
257
- box-sizing: border-box;
258
- display: flex;
259
- flex-grow: 1;
260
- overflow: hidden;
261
- }
262
- .flexlayout__tabset_tabbar_inner_tab_container {
263
- position: relative;
264
- display: flex;
265
- padding-left: 4px;
266
- padding-right: 4px;
267
- box-sizing: border-box;
268
- white-space: nowrap;
269
- }
270
- .flexlayout__tabset_tabbar_inner_tab_container_top {
271
- border-top: 2px solid transparent;
272
- }
273
- .flexlayout__tabset_tabbar_inner_tab_container_bottom {
274
- border-bottom: 2px solid transparent;
275
- }
276
- .flexlayout__tabset-selected {
277
- background-color: var(--color-tabset-background-selected);
278
- }
279
- .flexlayout__tabset-maximized {
280
- background-color: var(--color-tabset-background-maximized);
281
- }
282
- .flexlayout__tab_button_stamp {
283
- display: inline-flex;
284
- align-items: center;
285
- gap: 0.3em;
286
- white-space: nowrap;
287
- box-sizing: border-box;
288
- }
289
- .flexlayout__tab {
290
- overflow: hidden;
291
- box-sizing: border-box;
292
- background-color: var(--color-tab-content);
293
- color: var(--color-text);
294
- position: relative;
295
- }
296
- .flexlayout__tab_moveable {
297
- position: relative;
298
- height: 100%;
299
- min-width: 1px;
300
- min-height: 1px;
301
- overflow: auto;
302
- box-sizing: border-box;
303
- }
304
- .flexlayout__tab_overlay {
305
- z-index: 20;
306
- position: absolute;
307
- top: 0;
308
- left: 0;
309
- right: 0;
310
- bottom: 0;
311
- background-color: rgba(0, 0, 0, 0.2392156863);
312
- }
313
- .flexlayout__tab_button {
314
- display: flex;
315
- gap: 0.3em;
316
- align-items: center;
317
- box-sizing: border-box;
318
- padding: 3px 0.5em;
319
- cursor: pointer;
320
- }
321
- .flexlayout__tab_button_stretch {
322
- background-color: transparent;
323
- color: var(--color-tab-selected);
324
- width: 100%;
325
- padding: 3px 0em;
326
- text-wrap: nowrap;
327
- display: flex;
328
- gap: 0.3em;
329
- align-items: center;
330
- box-sizing: border-box;
331
- cursor: pointer;
332
- }
333
- @media (hover: hover) {
334
- .flexlayout__tab_button_stretch:hover {
335
- color: var(--color-tab-selected);
336
- }
337
- }
338
- .flexlayout__tab_button--selected {
339
- background-color: var(--color-tab-selected-background);
340
- color: var(--color-tab-selected);
341
- }
342
- @media (hover: hover) {
343
- .flexlayout__tab_button:hover {
344
- color: var(--color-tab-selected);
345
- }
346
- }
347
- .flexlayout__tab_button--unselected {
348
- background-color: var(--color-tab-unselected-background);
349
- color: var(--color-tab-unselected);
350
- color: gray;
351
- }
352
- .flexlayout__tab_button_leading {
353
- display: flex;
354
- }
355
- .flexlayout__tab_button_content {
356
- display: flex;
357
- text-wrap: nowrap;
358
- }
359
- .flexlayout__tab_button_textbox {
360
- border: none;
361
- font-family: var(--font-family);
362
- font-size: var(--font-size);
363
- color: var(--color-tab-textbox);
364
- background-color: var(--color-tab-textbox-background);
365
- border: 1px inset var(--color-1);
366
- border-radius: 3px;
367
- width: 10em;
368
- }
369
- .flexlayout__tab_button_textbox:focus {
370
- outline: none;
371
- }
372
- .flexlayout__tab_button_trailing {
373
- display: flex;
374
- visibility: hidden;
375
- border-radius: 4px;
376
- }
377
- .flexlayout__tab_button_trailing:hover {
378
- background-color: var(--color-3);
379
- }
380
- @media (hover: hover) {
381
- .flexlayout__tab_button:hover .flexlayout__tab_button_trailing {
382
- visibility: visible;
383
- }
384
- }
385
- .flexlayout__tab_button--selected .flexlayout__tab_button_trailing {
386
- visibility: visible;
387
- }
388
- .flexlayout__tab_button_overflow {
389
- display: flex;
390
- align-items: center;
391
- border: none;
392
- color: var(--color-overflow);
393
- font-size: inherit;
394
- background-color: transparent;
395
- width: 2em;
396
- overflow: hidden;
397
- }
398
- .flexlayout__tab_toolbar {
399
- display: flex;
400
- align-items: center;
401
- gap: 0.3em;
402
- padding-left: 0.5em;
403
- padding-right: 0.3em;
404
- }
405
- .flexlayout__tab_toolbar_icon {
406
- border: none;
407
- outline: none;
408
- font-size: inherit;
409
- margin: 0px;
410
- background-color: transparent;
411
- padding: 1px;
412
- }
413
- .flexlayout__tab_toolbar_button {
414
- border: none;
415
- outline: none;
416
- font-size: inherit;
417
- margin: 0px;
418
- background-color: transparent;
419
- border-radius: 4px;
420
- padding: 1px;
421
- }
422
- @media (hover: hover) {
423
- .flexlayout__tab_toolbar_button:hover {
424
- background-color: var(--color-2);
425
- }
426
- }
427
- .flexlayout__tab_toolbar_sticky_buttons_container {
428
- display: flex;
429
- gap: 0.3em;
430
- padding-left: 5px;
431
- align-items: center;
432
- }
433
- .flexlayout__tab_floating {
434
- overflow: auto;
435
- position: absolute;
436
- box-sizing: border-box;
437
- color: var(--color-text);
438
- background-color: var(--color-background);
439
- display: flex;
440
- justify-content: center;
441
- align-items: center;
442
- }
443
- .flexlayout__tab_floating_inner {
444
- overflow: auto;
445
- display: flex;
446
- flex-direction: column;
447
- justify-content: center;
448
- align-items: center;
449
- }
450
- .flexlayout__tab_floating_inner div {
451
- margin-bottom: 5px;
452
- text-align: center;
453
- }
454
- .flexlayout__tab_floating_inner div a {
455
- color: royalblue;
456
- }
457
- .flexlayout__border {
458
- box-sizing: border-box;
459
- overflow: hidden;
460
- display: flex;
461
- font-size: var(--font-size);
462
- font-family: var(--font-family);
463
- color: var(--color-border);
464
- background-color: var(--color-border-background);
465
- }
466
- .flexlayout__border_tab_contents {
467
- box-sizing: border-box;
468
- overflow: hidden;
469
- background-color: var(--color-border-tab-content);
470
- }
471
- .flexlayout__border_top {
472
- border-bottom: 1px solid var(--color-border-divider-line);
473
- align-items: center;
474
- }
475
- .flexlayout__border_bottom {
476
- border-top: 1px solid var(--color-border-divider-line);
477
- align-items: center;
478
- }
479
- .flexlayout__border_left {
480
- border-right: 1px solid var(--color-border-divider-line);
481
- align-content: center;
482
- flex-direction: column;
483
- }
484
- .flexlayout__border_right {
485
- border-left: 1px solid var(--color-border-divider-line);
486
- align-content: center;
487
- flex-direction: column;
488
- }
489
- .flexlayout__border_inner {
490
- position: relative;
491
- box-sizing: border-box;
492
- align-items: center;
493
- display: flex;
494
- overflow: hidden;
495
- flex-grow: 1;
496
- }
497
- .flexlayout__border_inner_tab_container {
498
- white-space: nowrap;
499
- display: flex;
500
- padding-left: 2px;
501
- padding-right: 2px;
502
- box-sizing: border-box;
503
- position: absolute;
504
- }
505
- .flexlayout__border_inner_tab_container_right {
506
- transform-origin: top left;
507
- transform: rotate(90deg);
508
- }
509
- .flexlayout__border_inner_tab_container_left {
510
- flex-direction: row-reverse;
511
- transform-origin: top right;
512
- transform: rotate(-90deg);
513
- }
514
- .flexlayout__border_tab_divider {
515
- width: 4px;
516
- }
517
- .flexlayout__border_button {
518
- display: flex;
519
- gap: 0.3em;
520
- align-items: center;
521
- cursor: pointer;
522
- padding: 3px 0.5em;
523
- margin: 2px 0px;
524
- box-sizing: border-box;
525
- white-space: nowrap;
526
- }
527
- .flexlayout__border_button--selected {
528
- background-color: var(--color-border-tab-selected-background);
529
- color: var(--color-border-tab-selected);
530
- }
531
- @media (hover: hover) {
532
- .flexlayout__border_button:hover {
533
- background-color: var(--color-border-tab-selected-background);
534
- color: var(--color-border-tab-selected);
535
- }
536
- }
537
- .flexlayout__border_button--unselected {
538
- background-color: var(--color-border-tab-unselected-background);
539
- color: var(--color-border-tab-unselected);
540
- }
541
- .flexlayout__border_button_leading {
542
- display: flex;
543
- }
544
- .flexlayout__border_button_content {
545
- display: flex;
546
- }
547
- .flexlayout__border_button_trailing {
548
- display: flex;
549
- border-radius: 4px;
550
- visibility: hidden;
551
- }
552
- .flexlayout__border_button_trailing:hover {
553
- background-color: var(--color-3);
554
- }
555
- @media (hover: hover) {
556
- .flexlayout__border_button:hover .flexlayout__border_button_trailing {
557
- visibility: visible;
558
- }
559
- }
560
- .flexlayout__border_button--selected .flexlayout__border_button_trailing {
561
- visibility: visible;
562
- }
563
- .flexlayout__border_toolbar {
564
- display: flex;
565
- gap: 0.3em;
566
- align-items: center;
567
- }
568
- .flexlayout__border_toolbar_left, .flexlayout__border_toolbar_right {
569
- flex-direction: column;
570
- padding-top: 0.5em;
571
- padding-bottom: 0.3em;
572
- }
573
- .flexlayout__border_toolbar_top, .flexlayout__border_toolbar_bottom {
574
- padding-left: 0.5em;
575
- padding-right: 0.3em;
576
- }
577
- .flexlayout__border_toolbar_button {
578
- border: none;
579
- outline: none;
580
- font-size: inherit;
581
- background-color: transparent;
582
- border-radius: 4px;
583
- padding: 1px;
584
- }
585
- @media (hover: hover) {
586
- .flexlayout__border_toolbar_button:hover {
587
- background-color: var(--color-2);
588
- }
589
- }
590
- .flexlayout__border_toolbar_button_overflow {
591
- display: flex;
592
- align-items: center;
593
- border: none;
594
- color: var(--color-overflow);
595
- font-size: inherit;
596
- background-color: transparent;
597
- width: 2em;
598
- }
599
- .flexlayout__popup_menu {
600
- font-size: var(--font-size);
601
- font-family: var(--font-family);
602
- }
603
- .flexlayout__popup_menu_item {
604
- padding: 2px 0.5em;
605
- white-space: nowrap;
606
- cursor: pointer;
607
- border-radius: 2px;
608
- }
609
- @media (hover: hover) {
610
- .flexlayout__popup_menu_item:hover {
611
- background-color: var(--color-6);
612
- }
613
- }
614
- .flexlayout__popup_menu_container {
615
- box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.15);
616
- border: 1px solid var(--color-popup-border);
617
- color: var(--color-popup-unselected);
618
- background: var(--color-popup-unselected-background);
619
- border-radius: 3px;
620
- position: absolute;
621
- z-index: 1000;
622
- max-height: 50%;
623
- min-width: 100px;
624
- overflow: auto;
625
- padding: 2px;
626
- }
627
- .flexlayout__floating_window _body {
628
- height: 100%;
629
- }
630
- .flexlayout__floating_window_content {
631
- left: 0;
632
- top: 0;
633
- right: 0;
634
- bottom: 0;
635
- position: absolute;
636
- }
637
- .flexlayout__error_boundary_container {
638
- left: 0;
639
- top: 0;
640
- right: 0;
641
- bottom: 0;
642
- position: absolute;
643
- display: flex;
644
- justify-content: center;
645
- }
646
- .flexlayout__error_boundary_content {
647
- display: flex;
648
- align-items: center;
649
- }
650
- .flexlayout__tabset_sizer {
651
- padding-top: 5px;
652
- padding-bottom: 3px;
653
- font-size: var(--font-size);
654
- font-family: var(--font-family);
655
- }
656
- .flexlayout__tabset_header_sizer {
657
- padding-top: 3px;
658
- padding-bottom: 3px;
659
- font-size: var(--font-size);
660
- font-family: var(--font-family);
661
- }
662
- .flexlayout__border_sizer {
663
- position: absolute;
664
- top: -30000px;
665
- padding-top: 6px;
666
- padding-bottom: 5px;
667
- font-size: var(--font-size);
668
- font-family: var(--font-family);
669
- }
670
- .flexlayout__mini_scrollbar::-webkit-scrollbar {
671
- width: 3px;
672
- height: 3px;
673
- }
674
- .flexlayout__mini_scrollbar_hidden::-webkit-scrollbar {
675
- display: none;
676
- }
677
- .flexlayout__mini_scrollbar::-webkit-scrollbar-button {
678
- display: none;
679
- }
680
- .flexlayout__mini_scrollbar::-webkit-scrollbar-thumb {
681
- background: #aaa;
682
- border-radius: 10px;
683
- }
684
-
685
- /*# sourceMappingURL=light.css.map */
1
+ .flexlayout__layout {
2
+ --color-text: black;
3
+ --color-background: white;
4
+ --color-base: white;
5
+ --color-1: rgb(247.35, 247.35, 247.35);
6
+ --color-2: rgb(239.7, 239.7, 239.7);
7
+ --color-3: rgb(232.05, 232.05, 232.05);
8
+ --color-4: rgb(224.4, 224.4, 224.4);
9
+ --color-5: rgb(216.75, 216.75, 216.75);
10
+ --color-6: rgb(209.1, 209.1, 209.1);
11
+ --color-drag1: rgb(95, 134, 196);
12
+ --color-drag2: rgb(119, 166, 119);
13
+ --color-drag1-background: rgba(95, 134, 196, 0.1);
14
+ --color-drag2-background: rgba(119, 166, 119, 0.075);
15
+ --font-size: medium;
16
+ --font-family: Roboto, Arial, sans-serif;
17
+ --color-overflow: gray;
18
+ --color-icon: gray;
19
+ --color-tabset-background: var(--color-background);
20
+ --color-tabset-background-selected: var(--color-1);
21
+ --color-tabset-background-maximized: var(--color-2);
22
+ --color-tabset-divider-line: var(--color-4);
23
+ --color-tabset-header-background: var(--color-background);
24
+ --color-tabset-header: var(--color-text);
25
+ --color-border-tab-content: var(--color-background);
26
+ --color-border-background: var(--color-background);
27
+ --color-border-divider-line: var(--color-4);
28
+ --color-tab-content: var(--color-background);
29
+ --color-tab-selected: var(--color-text);
30
+ --color-tab-selected-background: var(--color-4);
31
+ --color-tab-unselected: gray;
32
+ --color-tab-unselected-background: transparent;
33
+ --color-tab-textbox: var(--color-text);
34
+ --color-tab-textbox-background: var(--color-3);
35
+ --color-border-tab-selected: var(--color-text);
36
+ --color-border-tab-selected-background: var(--color-4);
37
+ --color-border-tab-unselected: gray;
38
+ --color-border-tab-unselected-background: var(--color-2);
39
+ --color-splitter: var(--color-1);
40
+ --color-splitter-hover: var(--color-4);
41
+ --color-splitter-drag: var(--color-4);
42
+ --color-drag-rect-border: #ccc;
43
+ --color-drag-rect-background: var(--color-5);
44
+ --color-drag-rect: var(--color-text);
45
+ --color-popup-border: var(--color-6);
46
+ --color-popup-unselected: var(--color-text);
47
+ --color-popup-unselected-background: white;
48
+ --color-popup-selected: var(--color-text);
49
+ --color-popup-selected-background: var(--color-3);
50
+ --color-edge-marker: #aaa;
51
+ --color-edge-icon: #555;
52
+ --color-mini-scroll-indicator: rgba(128, 128, 128, 0.5);
53
+ --color-mini-scroll-indicator-hovered: rgba(128, 128, 128, 0.7);
54
+ --size-mini-scroll-indicator: 3px;
55
+ --color-toolbar-button-hover: var(--color-3);
56
+ }
57
+
58
+ /*
59
+ base classes
60
+ */
61
+ .flexlayout__layout {
62
+ left: 0;
63
+ top: 0;
64
+ right: 0;
65
+ bottom: 0;
66
+ position: absolute;
67
+ display: flex;
68
+ background-color: var(--color-background);
69
+ }
70
+ .flexlayout__layout_overlay {
71
+ left: 0;
72
+ top: 0;
73
+ right: 0;
74
+ bottom: 0;
75
+ position: absolute;
76
+ z-index: 1000;
77
+ }
78
+ .flexlayout__layout_tab_stamps {
79
+ position: absolute;
80
+ top: -10000px;
81
+ z-index: 100;
82
+ display: flex;
83
+ flex-direction: column;
84
+ align-items: start;
85
+ }
86
+ .flexlayout__layout_moveables {
87
+ visibility: hidden;
88
+ position: absolute;
89
+ width: 100px;
90
+ height: 100px;
91
+ top: -20000px;
92
+ }
93
+ .flexlayout__layout_main {
94
+ display: flex;
95
+ flex-basis: 0px;
96
+ min-width: 0;
97
+ min-height: 0;
98
+ flex-grow: 1;
99
+ position: relative;
100
+ }
101
+ .flexlayout__layout_border_container {
102
+ display: flex;
103
+ flex-basis: 0px;
104
+ min-width: 0;
105
+ min-height: 0;
106
+ flex-grow: 1;
107
+ }
108
+ .flexlayout__layout_border_container_inner {
109
+ display: flex;
110
+ flex-basis: 0px;
111
+ min-width: 0;
112
+ min-height: 0;
113
+ flex-grow: 1;
114
+ }
115
+ .flexlayout__splitter {
116
+ display: flex;
117
+ align-items: center;
118
+ justify-content: center;
119
+ background-color: var(--color-splitter);
120
+ touch-action: none;
121
+ z-index: 10;
122
+ }
123
+ @media (hover: hover) {
124
+ .flexlayout__splitter:hover {
125
+ background-color: var(--color-splitter-hover);
126
+ transition: background-color ease-in 0.1s;
127
+ transition-delay: 0.05s;
128
+ }
129
+ }
130
+ .flexlayout__splitter_drag {
131
+ position: absolute;
132
+ display: flex;
133
+ align-items: center;
134
+ justify-content: center;
135
+ z-index: 1000;
136
+ border-radius: 5px;
137
+ background-color: var(--color-splitter-drag);
138
+ }
139
+ .flexlayout__splitter_handle {
140
+ background-color: #ccc;
141
+ border-radius: 3px;
142
+ }
143
+ .flexlayout__splitter_handle_horz {
144
+ width: 3px;
145
+ height: 30px;
146
+ }
147
+ .flexlayout__splitter_handle_vert {
148
+ width: 30px;
149
+ height: 3px;
150
+ }
151
+ .flexlayout__splitter_extra {
152
+ touch-action: none;
153
+ background-color: transparent;
154
+ }
155
+ .flexlayout__outline_rect {
156
+ position: absolute;
157
+ pointer-events: none;
158
+ box-sizing: border-box;
159
+ border: 2px solid var(--color-drag1);
160
+ background: var(--color-drag1-background);
161
+ border-radius: 5px;
162
+ z-index: 1000;
163
+ }
164
+ .flexlayout__outline_rect_edge {
165
+ pointer-events: none;
166
+ border: 2px solid var(--color-drag2);
167
+ background: var(--color-drag2-background);
168
+ border-radius: 5px;
169
+ z-index: 1000;
170
+ box-sizing: border-box;
171
+ }
172
+ .flexlayout__edge_rect {
173
+ position: absolute;
174
+ z-index: 1000;
175
+ background-color: var(--color-edge-marker);
176
+ pointer-events: none;
177
+ display: flex;
178
+ align-items: center;
179
+ justify-content: center;
180
+ }
181
+ .flexlayout__drag_rect {
182
+ color: var(--color-drag-rect);
183
+ background-color: var(--color-drag-rect-background);
184
+ border: 2px solid var(--color-drag-rect-border);
185
+ border-radius: 5px;
186
+ box-sizing: border-box;
187
+ display: flex;
188
+ justify-content: center;
189
+ flex-direction: column;
190
+ overflow: hidden;
191
+ padding: 0.3em 0.8em;
192
+ word-wrap: break-word;
193
+ font-size: var(--font-size);
194
+ font-family: var(--font-family);
195
+ }
196
+ .flexlayout__row {
197
+ display: flex;
198
+ flex-basis: 0px;
199
+ min-width: 0;
200
+ min-height: 0;
201
+ position: relative;
202
+ box-sizing: border-box;
203
+ overflow: hidden;
204
+ }
205
+ .flexlayout__tabset {
206
+ display: flex;
207
+ flex-direction: column;
208
+ position: relative;
209
+ background-color: var(--color-tabset-background);
210
+ box-sizing: border-box;
211
+ font-family: var(--font-family);
212
+ overflow: hidden;
213
+ flex-grow: 1;
214
+ }
215
+ .flexlayout__tabset_container {
216
+ display: flex;
217
+ flex-basis: 0px;
218
+ min-width: 0;
219
+ min-height: 0;
220
+ flex-direction: column;
221
+ overflow: hidden;
222
+ flex-grow: 1;
223
+ }
224
+ .flexlayout__tabset_tab_divider {
225
+ width: 4px;
226
+ }
227
+ .flexlayout__tabset_content {
228
+ display: flex;
229
+ flex-basis: 0px;
230
+ min-width: 0;
231
+ min-height: 0;
232
+ flex-grow: 1;
233
+ box-sizing: border-box;
234
+ position: relative;
235
+ }
236
+ .flexlayout__tabset_header {
237
+ display: flex;
238
+ align-items: center;
239
+ padding: 3px 3px 3px 5px;
240
+ box-sizing: border-box;
241
+ border-bottom: 1px solid var(--color-tabset-divider-line);
242
+ color: var(--color-tabset-header);
243
+ background-color: var(--color-tabset-header-background);
244
+ font-size: var(--font-size);
245
+ }
246
+ .flexlayout__tabset_header_content {
247
+ flex-grow: 1;
248
+ }
249
+ .flexlayout__tabset_tabbar_outer {
250
+ box-sizing: border-box;
251
+ background-color: var(--color-tabset-background);
252
+ overflow: hidden;
253
+ display: flex;
254
+ font-size: var(--font-size);
255
+ }
256
+ .flexlayout__tabset_tabbar_outer_top {
257
+ padding: 0px 2px 0px 2px;
258
+ border-bottom: 1px solid var(--color-tabset-divider-line);
259
+ }
260
+ .flexlayout__tabset_tabbar_outer_bottom {
261
+ padding: 0px 2px 0px 2px;
262
+ border-top: 1px solid var(--color-tabset-divider-line);
263
+ }
264
+ .flexlayout__tabset_tabbar_inner {
265
+ position: relative;
266
+ box-sizing: border-box;
267
+ display: flex;
268
+ flex-grow: 1;
269
+ scrollbar-width: none;
270
+ }
271
+ .flexlayout__tabset_tabbar_inner::-webkit-scrollbar {
272
+ display: none;
273
+ }
274
+ .flexlayout__tabset_tabbar_inner_tab_container {
275
+ position: relative;
276
+ display: flex;
277
+ padding-left: 4px;
278
+ padding-right: 4px;
279
+ box-sizing: border-box;
280
+ white-space: nowrap;
281
+ }
282
+ .flexlayout__tabset_tabbar_inner_tab_container_top {
283
+ border-top: 2px solid transparent;
284
+ }
285
+ .flexlayout__tabset_tabbar_inner_tab_container_bottom {
286
+ border-bottom: 2px solid transparent;
287
+ }
288
+ .flexlayout__tabset-selected {
289
+ background-color: var(--color-tabset-background-selected);
290
+ }
291
+ .flexlayout__tabset-maximized {
292
+ background-color: var(--color-tabset-background-maximized);
293
+ }
294
+ .flexlayout__tab_button_stamp {
295
+ display: inline-flex;
296
+ align-items: center;
297
+ gap: 0.3em;
298
+ white-space: nowrap;
299
+ box-sizing: border-box;
300
+ }
301
+ .flexlayout__tab {
302
+ overflow: hidden;
303
+ box-sizing: border-box;
304
+ background-color: var(--color-tab-content);
305
+ color: var(--color-text);
306
+ position: relative;
307
+ }
308
+ .flexlayout__tab_moveable {
309
+ position: relative;
310
+ height: 100%;
311
+ min-width: 1px;
312
+ min-height: 1px;
313
+ overflow: auto;
314
+ box-sizing: border-box;
315
+ }
316
+ .flexlayout__tab_overlay {
317
+ z-index: 20;
318
+ position: absolute;
319
+ top: 0;
320
+ left: 0;
321
+ right: 0;
322
+ bottom: 0;
323
+ background-color: rgba(0, 0, 0, 0.2392156863);
324
+ }
325
+ .flexlayout__tab_button {
326
+ display: flex;
327
+ gap: 0.3em;
328
+ align-items: center;
329
+ box-sizing: border-box;
330
+ padding: 3px 0.5em;
331
+ cursor: pointer;
332
+ }
333
+ .flexlayout__tab_button_stretch {
334
+ background-color: transparent;
335
+ color: var(--color-tab-selected);
336
+ width: 100%;
337
+ padding: 3px 0em;
338
+ text-wrap: nowrap;
339
+ display: flex;
340
+ gap: 0.3em;
341
+ align-items: center;
342
+ box-sizing: border-box;
343
+ cursor: pointer;
344
+ }
345
+ @media (hover: hover) {
346
+ .flexlayout__tab_button_stretch:hover {
347
+ color: var(--color-tab-selected);
348
+ }
349
+ }
350
+ .flexlayout__tab_button--selected {
351
+ background-color: var(--color-tab-selected-background);
352
+ color: var(--color-tab-selected);
353
+ }
354
+ @media (hover: hover) {
355
+ .flexlayout__tab_button:hover {
356
+ color: var(--color-tab-selected);
357
+ }
358
+ }
359
+ .flexlayout__tab_button--unselected {
360
+ background-color: var(--color-tab-unselected-background);
361
+ color: var(--color-tab-unselected);
362
+ }
363
+ .flexlayout__tab_button_leading {
364
+ display: flex;
365
+ }
366
+ .flexlayout__tab_button_content {
367
+ display: flex;
368
+ text-wrap: nowrap;
369
+ }
370
+ .flexlayout__tab_button_textbox {
371
+ border: none;
372
+ font-family: var(--font-family);
373
+ font-size: var(--font-size);
374
+ color: var(--color-tab-textbox);
375
+ background-color: var(--color-tab-textbox-background);
376
+ border: 1px inset var(--color-1);
377
+ border-radius: 3px;
378
+ width: 10em;
379
+ }
380
+ .flexlayout__tab_button_textbox:focus {
381
+ outline: none;
382
+ }
383
+ .flexlayout__tab_button_trailing {
384
+ display: flex;
385
+ visibility: hidden;
386
+ border-radius: 4px;
387
+ }
388
+ .flexlayout__tab_button_trailing:hover {
389
+ background-color: var(--color-toolbar-button-hover);
390
+ }
391
+ @media (hover: hover) {
392
+ .flexlayout__tab_button:hover .flexlayout__tab_button_trailing {
393
+ visibility: visible;
394
+ }
395
+ }
396
+ .flexlayout__tab_button--selected .flexlayout__tab_button_trailing {
397
+ visibility: visible;
398
+ }
399
+ .flexlayout__tab_button_overflow {
400
+ display: flex;
401
+ align-items: center;
402
+ border: none;
403
+ color: var(--color-overflow);
404
+ font-size: inherit;
405
+ background-color: transparent;
406
+ width: 2em;
407
+ overflow: hidden;
408
+ }
409
+ .flexlayout__tab_toolbar {
410
+ display: flex;
411
+ align-items: center;
412
+ gap: 0.3em;
413
+ padding-left: 0.5em;
414
+ padding-right: 0.3em;
415
+ }
416
+ .flexlayout__tab_toolbar_icon {
417
+ border: none;
418
+ outline: none;
419
+ font-size: inherit;
420
+ margin: 0px;
421
+ background-color: transparent;
422
+ padding: 1px;
423
+ }
424
+ .flexlayout__tab_toolbar_button {
425
+ border: none;
426
+ outline: none;
427
+ font-size: inherit;
428
+ margin: 0px;
429
+ background-color: transparent;
430
+ border-radius: 4px;
431
+ padding: 1px;
432
+ }
433
+ @media (hover: hover) {
434
+ .flexlayout__tab_toolbar_button:hover {
435
+ background-color: var(--color-toolbar-button-hover);
436
+ }
437
+ }
438
+ .flexlayout__tab_toolbar_sticky_buttons_container {
439
+ display: flex;
440
+ gap: 0.3em;
441
+ padding-left: 5px;
442
+ align-items: center;
443
+ }
444
+ .flexlayout__border {
445
+ box-sizing: border-box;
446
+ overflow: hidden;
447
+ display: flex;
448
+ font-size: var(--font-size);
449
+ font-family: var(--font-family);
450
+ color: var(--color-border);
451
+ background-color: var(--color-border-background);
452
+ }
453
+ .flexlayout__border_tab_contents {
454
+ box-sizing: border-box;
455
+ overflow: hidden;
456
+ background-color: var(--color-border-tab-content);
457
+ }
458
+ .flexlayout__border_top {
459
+ border-bottom: 1px solid var(--color-border-divider-line);
460
+ align-items: center;
461
+ }
462
+ .flexlayout__border_bottom {
463
+ border-top: 1px solid var(--color-border-divider-line);
464
+ align-items: center;
465
+ }
466
+ .flexlayout__border_left {
467
+ border-right: 1px solid var(--color-border-divider-line);
468
+ align-content: center;
469
+ flex-direction: column;
470
+ }
471
+ .flexlayout__border_right {
472
+ border-left: 1px solid var(--color-border-divider-line);
473
+ align-content: center;
474
+ flex-direction: column;
475
+ }
476
+ .flexlayout__border_inner {
477
+ position: relative;
478
+ box-sizing: border-box;
479
+ align-items: center;
480
+ display: flex;
481
+ flex-grow: 1;
482
+ scrollbar-width: none;
483
+ }
484
+ .flexlayout__border_inner::-webkit-scrollbar {
485
+ display: none;
486
+ }
487
+ .flexlayout__border_inner_tab_container {
488
+ white-space: nowrap;
489
+ display: flex;
490
+ padding-left: 2px;
491
+ padding-right: 2px;
492
+ box-sizing: border-box;
493
+ position: absolute;
494
+ }
495
+ .flexlayout__border_inner_tab_container_right {
496
+ transform-origin: top left;
497
+ transform: rotate(90deg);
498
+ }
499
+ .flexlayout__border_inner_tab_container_left {
500
+ flex-direction: row-reverse;
501
+ transform-origin: top right;
502
+ transform: rotate(-90deg);
503
+ }
504
+ .flexlayout__border_tab_divider {
505
+ width: 4px;
506
+ }
507
+ .flexlayout__border_button {
508
+ display: flex;
509
+ gap: 0.3em;
510
+ align-items: center;
511
+ cursor: pointer;
512
+ padding: 3px 0.5em;
513
+ margin: 2px 0px;
514
+ box-sizing: border-box;
515
+ white-space: nowrap;
516
+ }
517
+ .flexlayout__border_button--selected {
518
+ background-color: var(--color-border-tab-selected-background);
519
+ color: var(--color-border-tab-selected);
520
+ }
521
+ @media (hover: hover) {
522
+ .flexlayout__border_button:hover {
523
+ color: var(--color-border-tab-selected);
524
+ }
525
+ }
526
+ .flexlayout__border_button--unselected {
527
+ background-color: var(--color-border-tab-unselected-background);
528
+ color: var(--color-border-tab-unselected);
529
+ }
530
+ .flexlayout__border_button_leading {
531
+ display: flex;
532
+ }
533
+ .flexlayout__border_button_content {
534
+ display: flex;
535
+ }
536
+ .flexlayout__border_button_trailing {
537
+ display: flex;
538
+ border-radius: 4px;
539
+ visibility: hidden;
540
+ }
541
+ @media (hover: hover) {
542
+ .flexlayout__border_button:hover .flexlayout__border_button_trailing {
543
+ visibility: visible;
544
+ }
545
+ }
546
+ .flexlayout__border_button--selected .flexlayout__border_button_trailing {
547
+ visibility: visible;
548
+ }
549
+ .flexlayout__border_toolbar {
550
+ display: flex;
551
+ gap: 0.3em;
552
+ align-items: center;
553
+ }
554
+ .flexlayout__border_toolbar_left, .flexlayout__border_toolbar_right {
555
+ flex-direction: column;
556
+ padding-top: 0.5em;
557
+ padding-bottom: 0.3em;
558
+ }
559
+ .flexlayout__border_toolbar_top, .flexlayout__border_toolbar_bottom {
560
+ padding-left: 0.5em;
561
+ padding-right: 0.3em;
562
+ }
563
+ .flexlayout__border_toolbar_button {
564
+ border: none;
565
+ outline: none;
566
+ font-size: inherit;
567
+ background-color: transparent;
568
+ border-radius: 4px;
569
+ padding: 1px;
570
+ }
571
+ @media (hover: hover) {
572
+ .flexlayout__border_toolbar_button:hover {
573
+ background-color: var(--color-toolbar-button-hover);
574
+ }
575
+ }
576
+ .flexlayout__border_toolbar_button_overflow {
577
+ display: flex;
578
+ align-items: center;
579
+ border: none;
580
+ color: var(--color-overflow);
581
+ font-size: inherit;
582
+ background-color: transparent;
583
+ width: 1.5em;
584
+ }
585
+ .flexlayout__popup_menu {
586
+ font-size: var(--font-size);
587
+ font-family: var(--font-family);
588
+ }
589
+ .flexlayout__popup_menu_item {
590
+ padding: 2px 0.5em;
591
+ white-space: nowrap;
592
+ cursor: pointer;
593
+ border-radius: 2px;
594
+ }
595
+ .flexlayout__popup_menu_item--selected {
596
+ font-weight: 500;
597
+ background-color: var(--color-tab-selected-background);
598
+ color: var(--color-tab-selected);
599
+ }
600
+ @media (hover: hover) {
601
+ .flexlayout__popup_menu_item:hover {
602
+ background-color: var(--color-6);
603
+ }
604
+ }
605
+ .flexlayout__popup_menu_container {
606
+ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.15);
607
+ border: 1px solid var(--color-popup-border);
608
+ color: var(--color-popup-unselected);
609
+ background: var(--color-popup-unselected-background);
610
+ border-radius: 3px;
611
+ position: absolute;
612
+ z-index: 1000;
613
+ max-height: 50%;
614
+ min-width: 100px;
615
+ overflow: auto;
616
+ padding: 2px;
617
+ }
618
+ .flexlayout__floating_window _body {
619
+ height: 100%;
620
+ }
621
+ .flexlayout__floating_window_content {
622
+ left: 0;
623
+ top: 0;
624
+ right: 0;
625
+ bottom: 0;
626
+ position: absolute;
627
+ }
628
+ .flexlayout__error_boundary_container {
629
+ left: 0;
630
+ top: 0;
631
+ right: 0;
632
+ bottom: 0;
633
+ position: absolute;
634
+ display: flex;
635
+ justify-content: center;
636
+ }
637
+ .flexlayout__error_boundary_content {
638
+ display: flex;
639
+ align-items: center;
640
+ }
641
+ .flexlayout__border_sizer {
642
+ position: absolute;
643
+ top: -30000px;
644
+ padding-top: 6px;
645
+ padding-bottom: 5px;
646
+ font-size: var(--font-size);
647
+ font-family: var(--font-family);
648
+ }
649
+ .flexlayout__mini_scrollbar {
650
+ position: absolute;
651
+ background-color: var(--color-mini-scroll-indicator);
652
+ border-radius: 5px;
653
+ width: var(--size-mini-scroll-indicator);
654
+ height: var(--size-mini-scroll-indicator);
655
+ visibility: hidden;
656
+ opacity: 0;
657
+ transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
658
+ }
659
+ .flexlayout__mini_scrollbar:hover {
660
+ background-color: var(--color-mini-scroll-indicator-hovered);
661
+ transition: background-color 0.3s ease-in-out;
662
+ }
663
+ .flexlayout__mini_scrollbar_container {
664
+ position: relative;
665
+ display: flex;
666
+ flex-grow: 1;
667
+ overflow: hidden;
668
+ }
669
+ @media (hover: hover) {
670
+ .flexlayout__mini_scrollbar_container:hover .flexlayout__mini_scrollbar {
671
+ opacity: 1;
672
+ visibility: visible;
673
+ }
674
+ }
675
+
676
+ /* ======================== End of Base Classes =========================== */
677
+ /*
678
+ light theme overrides
679
+ */
680
+
681
+ /*# sourceMappingURL=light.css.map */