@aptre/flex-layout 0.2.4 → 0.3.0-beta.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 (112) hide show
  1. package/README.md +154 -311
  2. package/dist/DockLocation.d.ts +2 -2
  3. package/dist/DropInfo.d.ts +4 -4
  4. package/dist/I18nLabel.d.ts +7 -9
  5. package/dist/Rect.d.ts +14 -1
  6. package/dist/Types.d.ts +16 -0
  7. package/dist/index.d.ts +21 -22
  8. package/dist/index.mjs +4529 -4618
  9. package/dist/model/Actions.d.ts +40 -23
  10. package/dist/model/BorderNode.d.ts +10 -14
  11. package/dist/model/BorderSet.d.ts +1 -2
  12. package/dist/model/IJsonModel.d.ts +697 -35
  13. package/dist/model/LayoutWindow.d.ts +28 -0
  14. package/dist/model/Model.d.ts +29 -24
  15. package/dist/model/Node.d.ts +5 -5
  16. package/dist/model/RowNode.d.ts +5 -6
  17. package/dist/model/TabNode.d.ts +15 -8
  18. package/dist/model/TabSetNode.d.ts +13 -10
  19. package/dist/view/BorderTab.d.ts +2 -0
  20. package/dist/view/Icons.d.ts +1 -0
  21. package/dist/view/Layout.d.ts +95 -116
  22. package/dist/view/Row.d.ts +1 -0
  23. package/dist/view/SizeTracker.d.ts +10 -0
  24. package/dist/view/Utils.d.ts +11 -1
  25. package/package.json +21 -25
  26. package/style/_base.scss +138 -32
  27. package/style/dark.css +145 -40
  28. package/style/dark.css.map +1 -1
  29. package/style/dark.scss +3 -1
  30. package/style/gray.css +144 -39
  31. package/style/gray.css.map +1 -1
  32. package/style/gray.scss +2 -0
  33. package/style/light.css +147 -42
  34. package/style/light.css.map +1 -1
  35. package/style/light.scss +4 -2
  36. package/style/rounded.css +697 -0
  37. package/style/rounded.css.map +1 -0
  38. package/style/rounded.scss +193 -0
  39. package/style/underline.css +145 -40
  40. package/style/underline.css.map +1 -1
  41. package/style/underline.scss +2 -0
  42. package/tsconfig.json +3 -3
  43. package/typedoc/assets/hierarchy.js +1 -0
  44. package/typedoc/assets/highlight.css +18 -18
  45. package/typedoc/assets/icons.js +17 -14
  46. package/typedoc/assets/icons.svg +1 -1
  47. package/typedoc/assets/main.js +5 -4
  48. package/typedoc/assets/navigation.js +1 -1
  49. package/typedoc/assets/search.js +1 -1
  50. package/typedoc/assets/style.css +1422 -1224
  51. package/typedoc/classes/Action.html +2 -2
  52. package/typedoc/classes/Actions.html +65 -52
  53. package/typedoc/classes/BorderNode.html +26 -30
  54. package/typedoc/classes/BorderSet.html +2 -2
  55. package/typedoc/classes/DockLocation.html +9 -9
  56. package/typedoc/classes/DropInfo.html +3 -3
  57. package/typedoc/classes/Layout.html +99 -83
  58. package/typedoc/classes/LayoutWindow.html +12 -0
  59. package/typedoc/classes/Model.html +44 -40
  60. package/typedoc/classes/Node.html +12 -12
  61. package/typedoc/classes/Orientation.html +5 -5
  62. package/typedoc/classes/Rect.html +18 -11
  63. package/typedoc/classes/RowNode.html +16 -17
  64. package/typedoc/classes/TabNode.html +40 -34
  65. package/typedoc/classes/TabSetNode.html +40 -41
  66. package/typedoc/enums/CLASSES.html +94 -78
  67. package/typedoc/enums/I18nLabel.html +11 -13
  68. package/typedoc/enums/ICloseType.html +4 -4
  69. package/typedoc/hierarchy.html +1 -1
  70. package/typedoc/index.html +1 -51
  71. package/typedoc/interfaces/IBorderAttributes.html +32 -9
  72. package/typedoc/interfaces/IDraggable.html +1 -1
  73. package/typedoc/interfaces/IDropTarget.html +1 -1
  74. package/typedoc/interfaces/IGlobalAttributes.html +190 -47
  75. package/typedoc/interfaces/IIcons.html +5 -4
  76. package/typedoc/interfaces/IJsonBorderNode.html +32 -9
  77. package/typedoc/interfaces/IJsonModel.html +3 -2
  78. package/typedoc/interfaces/IJsonPopout.html +3 -0
  79. package/typedoc/interfaces/IJsonRect.html +5 -0
  80. package/typedoc/interfaces/IJsonRowNode.html +8 -5
  81. package/typedoc/interfaces/IJsonTabNode.html +73 -15
  82. package/typedoc/interfaces/IJsonTabSetNode.html +68 -23
  83. package/typedoc/interfaces/ILayoutProps.html +36 -22
  84. package/typedoc/interfaces/IRowAttributes.html +8 -5
  85. package/typedoc/interfaces/ITabAttributes.html +73 -15
  86. package/typedoc/interfaces/ITabRenderValues.html +5 -3
  87. package/typedoc/interfaces/ITabSetAttributes.html +63 -24
  88. package/typedoc/interfaces/ITabSetRenderValues.html +8 -7
  89. package/typedoc/types/DragRectRenderCallback.html +1 -1
  90. package/typedoc/types/IBorderLocation.html +1 -1
  91. package/typedoc/types/ITabLocation.html +1 -1
  92. package/typedoc/types/NodeMouseEvent.html +1 -1
  93. package/typedoc/types/ShowOverflowMenuCallback.html +1 -1
  94. package/typedoc/types/TabSetPlaceHolderCallback.html +1 -1
  95. package/typedoc/variables/FlexLayoutVersion.html +1 -0
  96. package/dist/DragDrop.d.ts +0 -15
  97. package/dist/model/SplitterNode.d.ts +0 -5
  98. package/typedoc/classes/DragDrop.html +0 -10
  99. package/typedoc/classes/SplitterNode.html +0 -13
  100. package/typedoc/interfaces/ICustomDropDestination.html +0 -10
  101. package/typedoc/interfaces/IFontValues.html +0 -5
  102. package/typedoc/interfaces/ILayoutState.html +0 -9
  103. package/typedoc/interfaces/ITitleObject.html +0 -3
  104. package/typedoc/types/CustomDragCallback.html +0 -1
  105. package/typedoc/types/FloatingTabPlaceholderRenderCallback.html +0 -1
  106. package/typedoc/types/IInsets.html +0 -1
  107. package/typedoc/types/IconFactory.html +0 -1
  108. package/typedoc/types/TitleFactory.html +0 -1
  109. /package/dist/{PopupMenu.d.ts → view/DragContainer.d.ts} +0 -0
  110. /package/dist/view/{FloatingWindow.d.ts → Overlay.d.ts} +0 -0
  111. /package/dist/view/{FloatingWindowTab.d.ts → PopoutWindow.d.ts} +0 -0
  112. /package/dist/view/{TabFloating.d.ts → PopupMenu.d.ts} +0 -0
package/style/gray.css CHANGED
@@ -2,12 +2,12 @@
2
2
  --color-text: black;
3
3
  --color-background: white;
4
4
  --color-base: white;
5
- --color-1: #f7f7f7;
6
- --color-2: #e6e6e6;
7
- --color-3: #d9d9d9;
5
+ --color-1: rgb(247.35, 247.35, 247.35);
6
+ --color-2: rgb(229.5, 229.5, 229.5);
7
+ --color-3: rgb(216.75, 216.75, 216.75);
8
8
  --color-4: #cccccc;
9
- --color-5: #bfbfbf;
10
- --color-6: #b3b3b3;
9
+ --color-5: rgb(191.25, 191.25, 191.25);
10
+ --color-6: rgb(178.5, 178.5, 178.5);
11
11
  --color-drag1: rgb(95, 134, 196);
12
12
  --color-drag2: rgb(119, 166, 119);
13
13
  --color-drag1-background: rgba(95, 134, 196, 0.1);
@@ -22,8 +22,10 @@
22
22
  --color-tabset-divider-line: var(--color-3);
23
23
  --color-tabset-header-background: var(--color-1);
24
24
  --color-tabset-header: var(--color-text);
25
+ --color-border-tab-content: var(--color-background);
25
26
  --color-border-background: var(--color-1);
26
27
  --color-border-divider-line: var(--color-3);
28
+ --color-tab-content: var(--color-background);
27
29
  --color-tab-selected: var(--color-text);
28
30
  --color-tab-selected-background: var(--color-3);
29
31
  --color-tab-unselected: gray;
@@ -55,10 +57,60 @@
55
57
  right: 0;
56
58
  bottom: 0;
57
59
  position: absolute;
58
- overflow: hidden;
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;
59
106
  }
60
107
  .flexlayout__splitter {
108
+ display: flex;
109
+ align-items: center;
110
+ justify-content: center;
61
111
  background-color: var(--color-splitter);
112
+ touch-action: none;
113
+ z-index: 10;
62
114
  }
63
115
  @media (hover: hover) {
64
116
  .flexlayout__splitter:hover {
@@ -67,15 +119,29 @@
67
119
  transition-delay: 0.05s;
68
120
  }
69
121
  }
70
- .flexlayout__splitter_border {
71
- z-index: 10;
72
- }
73
122
  .flexlayout__splitter_drag {
123
+ position: absolute;
124
+ display: flex;
125
+ align-items: center;
126
+ justify-content: center;
74
127
  z-index: 1000;
75
128
  background-color: var(--color-splitter-drag);
76
129
  border-radius: 5px;
77
130
  }
131
+ .flexlayout__splitter_handle {
132
+ background-color: #ccc;
133
+ border-radius: 3px;
134
+ }
135
+ .flexlayout__splitter_handle_horz {
136
+ width: 3px;
137
+ height: 30px;
138
+ }
139
+ .flexlayout__splitter_handle_vert {
140
+ width: 30px;
141
+ height: 3px;
142
+ }
78
143
  .flexlayout__splitter_extra {
144
+ touch-action: none;
79
145
  background-color: transparent;
80
146
  }
81
147
  .flexlayout__outline_rect {
@@ -105,42 +171,59 @@
105
171
  justify-content: center;
106
172
  }
107
173
  .flexlayout__drag_rect {
108
- position: absolute;
109
- cursor: move;
110
174
  color: var(--color-drag-rect);
111
175
  background-color: var(--color-drag-rect-background);
112
176
  border: 2px solid var(--color-drag-rect-border);
113
177
  border-radius: 5px;
114
- z-index: 1000;
115
178
  box-sizing: border-box;
116
- opacity: 0.9;
117
- text-align: center;
118
179
  display: flex;
119
180
  justify-content: center;
120
181
  flex-direction: column;
121
182
  overflow: hidden;
122
- padding: 0.3em 1em;
183
+ padding: 0.3em 0.8em;
123
184
  word-wrap: break-word;
124
185
  font-size: var(--font-size);
125
186
  font-family: var(--font-family);
126
187
  }
188
+ .flexlayout__row {
189
+ display: flex;
190
+ flex-basis: 0px;
191
+ min-width: 0;
192
+ min-height: 0;
193
+ position: relative;
194
+ box-sizing: border-box;
195
+ overflow: hidden;
196
+ }
127
197
  .flexlayout__tabset {
128
198
  display: flex;
129
199
  flex-direction: column;
130
- overflow: hidden;
200
+ position: relative;
131
201
  background-color: var(--color-tabset-background);
132
202
  box-sizing: border-box;
133
- font-size: var(--font-size);
134
203
  font-family: var(--font-family);
204
+ overflow: hidden;
205
+ flex-grow: 1;
206
+ }
207
+ .flexlayout__tabset_container {
208
+ display: flex;
209
+ flex-basis: 0px;
210
+ min-width: 0;
211
+ min-height: 0;
212
+ flex-direction: column;
213
+ overflow: hidden;
214
+ flex-grow: 1;
135
215
  }
136
216
  .flexlayout__tabset_tab_divider {
137
217
  width: 4px;
138
218
  }
139
219
  .flexlayout__tabset_content {
140
220
  display: flex;
221
+ flex-basis: 0px;
222
+ min-width: 0;
223
+ min-height: 0;
141
224
  flex-grow: 1;
142
- align-items: center;
143
- justify-content: center;
225
+ box-sizing: border-box;
226
+ position: relative;
144
227
  }
145
228
  .flexlayout__tabset_header {
146
229
  display: flex;
@@ -150,6 +233,7 @@
150
233
  border-bottom: 1px solid var(--color-tabset-divider-line);
151
234
  color: var(--color-tabset-header);
152
235
  background-color: var(--color-tabset-header-background);
236
+ font-size: var(--font-size);
153
237
  box-shadow: inset 0 0 3px 0 rgba(136, 136, 136, 0.54);
154
238
  }
155
239
  .flexlayout__tabset_header_content {
@@ -160,11 +244,14 @@
160
244
  background-color: var(--color-tabset-background);
161
245
  overflow: hidden;
162
246
  display: flex;
247
+ font-size: var(--font-size);
163
248
  }
164
249
  .flexlayout__tabset_tabbar_outer_top {
250
+ padding: 0px 2px 0px 2px;
165
251
  border-bottom: 1px solid var(--color-tabset-divider-line);
166
252
  }
167
253
  .flexlayout__tabset_tabbar_outer_bottom {
254
+ padding: 0px 2px 0px 2px;
168
255
  border-top: 1px solid var(--color-tabset-divider-line);
169
256
  }
170
257
  .flexlayout__tabset_tabbar_inner {
@@ -175,14 +262,12 @@
175
262
  overflow: hidden;
176
263
  }
177
264
  .flexlayout__tabset_tabbar_inner_tab_container {
265
+ position: relative;
178
266
  display: flex;
179
267
  padding-left: 4px;
180
268
  padding-right: 4px;
181
269
  box-sizing: border-box;
182
- position: absolute;
183
- top: 0;
184
- bottom: 0;
185
- width: 10000px;
270
+ white-space: nowrap;
186
271
  }
187
272
  .flexlayout__tabset_tabbar_inner_tab_container_top {
188
273
  border-top: 2px solid transparent;
@@ -206,11 +291,28 @@
206
291
  box-sizing: border-box;
207
292
  }
208
293
  .flexlayout__tab {
209
- overflow: auto;
210
- position: absolute;
294
+ overflow: hidden;
211
295
  box-sizing: border-box;
212
- background-color: var(--color-background);
296
+ background-color: var(--color-tab-content);
213
297
  color: var(--color-text);
298
+ position: relative;
299
+ }
300
+ .flexlayout__tab_moveable {
301
+ position: relative;
302
+ height: 100%;
303
+ min-width: 1px;
304
+ min-height: 1px;
305
+ overflow: auto;
306
+ box-sizing: border-box;
307
+ }
308
+ .flexlayout__tab_overlay {
309
+ z-index: 20;
310
+ position: absolute;
311
+ top: 0;
312
+ left: 0;
313
+ right: 0;
314
+ bottom: 0;
315
+ background-color: rgba(0, 0, 0, 0.2392156863);
214
316
  }
215
317
  .flexlayout__tab_button {
216
318
  display: flex;
@@ -266,6 +368,7 @@
266
368
  }
267
369
  .flexlayout__tab_button_content {
268
370
  display: flex;
371
+ text-wrap: nowrap;
269
372
  }
270
373
  .flexlayout__tab_button_textbox {
271
374
  border: none;
@@ -308,6 +411,14 @@
308
411
  padding-left: 0.5em;
309
412
  padding-right: 0.3em;
310
413
  }
414
+ .flexlayout__tab_toolbar_icon {
415
+ border: none;
416
+ outline: none;
417
+ font-size: inherit;
418
+ margin: 0px;
419
+ background-color: transparent;
420
+ padding: 1px;
421
+ }
311
422
  .flexlayout__tab_toolbar_button {
312
423
  border: none;
313
424
  outline: none;
@@ -356,6 +467,11 @@
356
467
  color: var(--color-border);
357
468
  background-color: var(--color-border-background);
358
469
  }
470
+ .flexlayout__border_tab_contents {
471
+ box-sizing: border-box;
472
+ overflow: hidden;
473
+ background-color: var(--color-border-tab-content);
474
+ }
359
475
  .flexlayout__border_top {
360
476
  border-bottom: 1px solid var(--color-border-divider-line);
361
477
  align-items: center;
@@ -388,8 +504,6 @@
388
504
  padding-right: 2px;
389
505
  box-sizing: border-box;
390
506
  position: absolute;
391
- top: 0;
392
- bottom: 0;
393
507
  width: 10000px;
394
508
  }
395
509
  .flexlayout__border_inner_tab_container_right {
@@ -517,17 +631,6 @@
517
631
  bottom: 0;
518
632
  position: absolute;
519
633
  }
520
- .flexlayout__floating_window_tab {
521
- overflow: auto;
522
- left: 0;
523
- top: 0;
524
- right: 0;
525
- bottom: 0;
526
- position: absolute;
527
- box-sizing: border-box;
528
- background-color: var(--color-background);
529
- color: var(--color-text);
530
- }
531
634
  .flexlayout__error_boundary_container {
532
635
  left: 0;
533
636
  top: 0;
@@ -554,6 +657,8 @@
554
657
  font-family: var(--font-family);
555
658
  }
556
659
  .flexlayout__border_sizer {
660
+ position: absolute;
661
+ top: -30000px;
557
662
  padding-top: 6px;
558
663
  padding-bottom: 5px;
559
664
  font-size: var(--font-size);
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["gray.scss","_base.scss"],"names":[],"mappings":"AAiBI;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EAEA;EACA;;;ACnEJ;EARA;EACA;EACA;EACA;EACA;EAMI;;AAGJ;EACI;;AAGA;EACI;IACI;IACA;IACA;;;AAIR;EACI;;AAGJ;EACI;EACA;EDqIR;;AClII;EACI;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACI;;AAIJ;EACI;EACA;EACA;EACA;;AAGJ;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;ED5BR;;AC+BQ;EACI;;AAKJ;EAEI;EACA;EACA;EACA;;AAIJ;EACI;;AAGJ;EACI;;AAGJ;EAEI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAEJ;EACI;;AAMhB;EACI;ED/ER;;ACmFI;EACI;EDhFR;;ACqFA;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EAEA;;AAGA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACI;IACI;;;AAMZ;EACI;EACA;;AAGJ;EACI;IACI;IACA;;;AAKR;EACI;EACA;;AAIJ;EDlJR;EACA;EACA;;ACoJQ;EDhJR;EACA;EACA;;ACkJQ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AASJ;EACI;IACI;;;AAIR;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAoBJ;EACI;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEJ;EACI;EACA;EACA;;AAKZ;EACI;;AAIJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDlUR;EACA;;ACoUQ;EACI;EACA;;AAGJ;EACI;IACI;IACA;;;AAKR;EACI;EACA;;AAIJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AASJ;EACI;IACI;;;AAIR;EACI;;AAIR;EACI;EACA;EACA;;AAEA;EAEI;EACA;EACA;;AAGJ;EAEI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAUA;EACI;EACA;EACA;EACA;EACA;EACA;;AAchB;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAGJ;EACI;IACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKJ;EACI;;AAGJ;EA5lBJ;EACA;EACA;EACA;EACA;;AA4lBI;EACI;EAjmBR;EACA;EACA;EACA;EACA;EAgmBQ;EACA;EACA;;AAIR;EA1mBA;EACA;EACA;EACA;EACA;EAwmBI;EACA;;AAEJ;EACI;EACA;;AAOJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA","file":"gray.css"}
1
+ {"version":3,"sourceRoot":"","sources":["gray.scss","_base.scss"],"names":[],"mappings":"AAiBI;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EAEA;EACA;;;AC9DJ;EAfA;EACA;EACA;EACA;EACA;EAaI;;AAEA;EAnBJ;EACA;EACA;EACA;EACA;EAiBQ;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EAjCJ;EACA;EACA;EACA;EAgCQ;EACA;;AAIR;EAxCA;EACA;EACA;EACA;EAuCI;;AAGJ;EA7CA;EACA;EACA;EACA;EA4CI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAGA;EACI;IACI;IACA;IACA;;;AAOR;EACI;EACA;EACA;EACA;EACA;EACA;EDkFR;;AC/EI;EACI;EACA;;AAEA;EACI;EACA;;AAEJ;EACI;EACA;;AAIR;EACI;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EAlJA;EACA;EACA;EACA;EAiJI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EApKJ;EACA;EACA;EACA;EAmKQ;EACA;EACA;;AAGJ;EACI;;AAIJ;EAhLJ;EACA;EACA;EACA;EA+KQ;EACA;EACA;;AAGJ;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDzGR;;AC4GQ;EACI;;AAKJ;EAEI;EACA;EACA;EACA;EACA;;AAIJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EAEI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAEJ;EACI;;AAMhB;EACI;ED7JR;;ACiKI;EACI;ED9JR;;ACmKA;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EAEA;;AAGA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACI;IACI;;;AAMZ;EACI;EACA;;AAGJ;EACI;IACI;IACA;;;AAKR;EACI;EACA;;AAIJ;EDnPR;EACA;EACA;;ACqPQ;EDjPR;EACA;EACA;;ACmPQ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AASJ;EACI;IACI;;;AAIR;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAoBJ;EACI;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACI;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEJ;EACI;EACA;EACA;;AAKZ;EACI;;AAIJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDjbR;EACA;;ACmbQ;EACI;EACA;;AAGJ;EACI;IACI;IACA;;;AAKR;EACI;EACA;;AAIJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AASJ;EACI;IACI;;;AAIR;EACI;;AAIR;EACI;EACA;EACA;;AAEA;EAEI;EACA;EACA;;AAGJ;EAEI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAUA;EACI;EACA;EACA;EACA;EACA;EACA;;AAchB;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAGJ;EACI;IACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKJ;EACI;;AAGJ;EA7sBJ;EACA;EACA;EACA;EACA;;AA8sBA;EAltBA;EACA;EACA;EACA;EACA;EAgtBI;EACA;;AAEJ;EACI;EACA;;AAOJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA","file":"gray.css"}
package/style/gray.scss CHANGED
@@ -44,9 +44,11 @@ $font_family: Roboto, Arial, sans-serif !default;
44
44
  --color-tabset-header-background: var(--color-1);
45
45
  --color-tabset-header: var(--color-text);
46
46
 
47
+ --color-border-tab-content: var(--color-background);
47
48
  --color-border-background: var(--color-1);
48
49
  --color-border-divider-line: var(--color-3);
49
50
 
51
+ --color-tab-content: var(--color-background);
50
52
  --color-tab-selected: var(--color-text);
51
53
  --color-tab-selected-background: var(--color-3);
52
54
  --color-tab-unselected: gray;
package/style/light.css CHANGED
@@ -2,12 +2,12 @@
2
2
  --color-text: black;
3
3
  --color-background: white;
4
4
  --color-base: white;
5
- --color-1: #f7f7f7;
6
- --color-2: #f0f0f0;
7
- --color-3: #e9e9e9;
8
- --color-4: #e2e2e2;
9
- --color-5: #dbdbdb;
10
- --color-6: #d4d4d4;
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
11
  --color-drag1: rgb(95, 134, 196);
12
12
  --color-drag2: rgb(119, 166, 119);
13
13
  --color-drag1-background: rgba(95, 134, 196, 0.1);
@@ -22,8 +22,10 @@
22
22
  --color-tabset-divider-line: var(--color-4);
23
23
  --color-tabset-header-background: var(--color-background);
24
24
  --color-tabset-header: var(--color-text);
25
+ --color-border-tab-content: var(--color-background);
25
26
  --color-border-background: var(--color-background);
26
27
  --color-border-divider-line: var(--color-4);
28
+ --color-tab-content: var(--color-background);
27
29
  --color-tab-selected: var(--color-text);
28
30
  --color-tab-selected-background: var(--color-4);
29
31
  --color-tab-unselected: gray;
@@ -37,8 +39,8 @@
37
39
  --color-splitter: var(--color-1);
38
40
  --color-splitter-hover: var(--color-4);
39
41
  --color-splitter-drag: var(--color-4);
40
- --color-drag-rect-border: var(--color-6);
41
- --color-drag-rect-background: var(--color-4);
42
+ --color-drag-rect-border: #ccc;
43
+ --color-drag-rect-background: var(--color-5);
42
44
  --color-drag-rect: var(--color-text);
43
45
  --color-popup-border: var(--color-6);
44
46
  --color-popup-unselected: var(--color-text);
@@ -55,10 +57,60 @@
55
57
  right: 0;
56
58
  bottom: 0;
57
59
  position: absolute;
58
- overflow: hidden;
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;
59
106
  }
60
107
  .flexlayout__splitter {
108
+ display: flex;
109
+ align-items: center;
110
+ justify-content: center;
61
111
  background-color: var(--color-splitter);
112
+ touch-action: none;
113
+ z-index: 10;
62
114
  }
63
115
  @media (hover: hover) {
64
116
  .flexlayout__splitter:hover {
@@ -67,14 +119,28 @@
67
119
  transition-delay: 0.05s;
68
120
  }
69
121
  }
70
- .flexlayout__splitter_border {
71
- z-index: 10;
72
- }
73
122
  .flexlayout__splitter_drag {
123
+ position: absolute;
124
+ display: flex;
125
+ align-items: center;
126
+ justify-content: center;
74
127
  z-index: 1000;
75
128
  background-color: var(--color-splitter-drag);
76
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
+ }
77
142
  .flexlayout__splitter_extra {
143
+ touch-action: none;
78
144
  background-color: transparent;
79
145
  }
80
146
  .flexlayout__outline_rect {
@@ -104,42 +170,59 @@
104
170
  justify-content: center;
105
171
  }
106
172
  .flexlayout__drag_rect {
107
- position: absolute;
108
- cursor: move;
109
173
  color: var(--color-drag-rect);
110
174
  background-color: var(--color-drag-rect-background);
111
175
  border: 2px solid var(--color-drag-rect-border);
112
176
  border-radius: 5px;
113
- z-index: 1000;
114
177
  box-sizing: border-box;
115
- opacity: 0.9;
116
- text-align: center;
117
178
  display: flex;
118
179
  justify-content: center;
119
180
  flex-direction: column;
120
181
  overflow: hidden;
121
- padding: 0.3em 1em;
182
+ padding: 0.3em 0.8em;
122
183
  word-wrap: break-word;
123
184
  font-size: var(--font-size);
124
185
  font-family: var(--font-family);
125
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
+ }
126
196
  .flexlayout__tabset {
127
197
  display: flex;
128
198
  flex-direction: column;
129
- overflow: hidden;
199
+ position: relative;
130
200
  background-color: var(--color-tabset-background);
131
201
  box-sizing: border-box;
132
- font-size: var(--font-size);
133
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;
134
214
  }
135
215
  .flexlayout__tabset_tab_divider {
136
216
  width: 4px;
137
217
  }
138
218
  .flexlayout__tabset_content {
139
219
  display: flex;
220
+ flex-basis: 0px;
221
+ min-width: 0;
222
+ min-height: 0;
140
223
  flex-grow: 1;
141
- align-items: center;
142
- justify-content: center;
224
+ box-sizing: border-box;
225
+ position: relative;
143
226
  }
144
227
  .flexlayout__tabset_header {
145
228
  display: flex;
@@ -149,6 +232,7 @@
149
232
  border-bottom: 1px solid var(--color-tabset-divider-line);
150
233
  color: var(--color-tabset-header);
151
234
  background-color: var(--color-tabset-header-background);
235
+ font-size: var(--font-size);
152
236
  }
153
237
  .flexlayout__tabset_header_content {
154
238
  flex-grow: 1;
@@ -158,11 +242,14 @@
158
242
  background-color: var(--color-tabset-background);
159
243
  overflow: hidden;
160
244
  display: flex;
245
+ font-size: var(--font-size);
161
246
  }
162
247
  .flexlayout__tabset_tabbar_outer_top {
248
+ padding: 0px 2px 0px 2px;
163
249
  border-bottom: 1px solid var(--color-tabset-divider-line);
164
250
  }
165
251
  .flexlayout__tabset_tabbar_outer_bottom {
252
+ padding: 0px 2px 0px 2px;
166
253
  border-top: 1px solid var(--color-tabset-divider-line);
167
254
  }
168
255
  .flexlayout__tabset_tabbar_inner {
@@ -173,14 +260,12 @@
173
260
  overflow: hidden;
174
261
  }
175
262
  .flexlayout__tabset_tabbar_inner_tab_container {
263
+ position: relative;
176
264
  display: flex;
177
265
  padding-left: 4px;
178
266
  padding-right: 4px;
179
267
  box-sizing: border-box;
180
- position: absolute;
181
- top: 0;
182
- bottom: 0;
183
- width: 10000px;
268
+ white-space: nowrap;
184
269
  }
185
270
  .flexlayout__tabset_tabbar_inner_tab_container_top {
186
271
  border-top: 2px solid transparent;
@@ -202,11 +287,28 @@
202
287
  box-sizing: border-box;
203
288
  }
204
289
  .flexlayout__tab {
205
- overflow: auto;
206
- position: absolute;
290
+ overflow: hidden;
207
291
  box-sizing: border-box;
208
- background-color: var(--color-background);
292
+ background-color: var(--color-tab-content);
209
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);
210
312
  }
211
313
  .flexlayout__tab_button {
212
314
  display: flex;
@@ -253,6 +355,7 @@
253
355
  }
254
356
  .flexlayout__tab_button_content {
255
357
  display: flex;
358
+ text-wrap: nowrap;
256
359
  }
257
360
  .flexlayout__tab_button_textbox {
258
361
  border: none;
@@ -298,6 +401,14 @@
298
401
  padding-left: 0.5em;
299
402
  padding-right: 0.3em;
300
403
  }
404
+ .flexlayout__tab_toolbar_icon {
405
+ border: none;
406
+ outline: none;
407
+ font-size: inherit;
408
+ margin: 0px;
409
+ background-color: transparent;
410
+ padding: 1px;
411
+ }
301
412
  .flexlayout__tab_toolbar_button {
302
413
  border: none;
303
414
  outline: none;
@@ -351,6 +462,11 @@
351
462
  color: var(--color-border);
352
463
  background-color: var(--color-border-background);
353
464
  }
465
+ .flexlayout__border_tab_contents {
466
+ box-sizing: border-box;
467
+ overflow: hidden;
468
+ background-color: var(--color-border-tab-content);
469
+ }
354
470
  .flexlayout__border_top {
355
471
  border-bottom: 1px solid var(--color-border-divider-line);
356
472
  align-items: center;
@@ -383,8 +499,6 @@
383
499
  padding-right: 2px;
384
500
  box-sizing: border-box;
385
501
  position: absolute;
386
- top: 0;
387
- bottom: 0;
388
502
  width: 10000px;
389
503
  }
390
504
  .flexlayout__border_inner_tab_container_right {
@@ -518,17 +632,6 @@
518
632
  bottom: 0;
519
633
  position: absolute;
520
634
  }
521
- .flexlayout__floating_window_tab {
522
- overflow: auto;
523
- left: 0;
524
- top: 0;
525
- right: 0;
526
- bottom: 0;
527
- position: absolute;
528
- box-sizing: border-box;
529
- background-color: var(--color-background);
530
- color: var(--color-text);
531
- }
532
635
  .flexlayout__error_boundary_container {
533
636
  left: 0;
534
637
  top: 0;
@@ -555,6 +658,8 @@
555
658
  font-family: var(--font-family);
556
659
  }
557
660
  .flexlayout__border_sizer {
661
+ position: absolute;
662
+ top: -30000px;
558
663
  padding-top: 6px;
559
664
  padding-bottom: 5px;
560
665
  font-size: var(--font-size);