d2coreui 23.0.21 → 23.0.23

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 (50) hide show
  1. package/components/codemirror/SyntaxHighlighter.js.map +1 -1
  2. package/components/color/colorSwatch.js.map +1 -1
  3. package/components/grid/cell/cellEditorUtils.js.map +1 -1
  4. package/components/grid/columnUtils.js.map +1 -1
  5. package/components/grid/dataGrid.d.ts +1 -0
  6. package/components/grid/dataGrid.js +3 -2
  7. package/components/grid/dataGrid.js.map +1 -1
  8. package/components/grid/export/progressPopup.js.map +1 -1
  9. package/components/grid/export/worker/clipboardExport.js.map +1 -1
  10. package/components/grid/export/worker/csvExport.js.map +1 -1
  11. package/components/grid/export/worker/txtExport.js.map +1 -1
  12. package/components/grid/extendedDataGrid.js +2 -1
  13. package/components/grid/extendedDataGrid.js.map +1 -1
  14. package/components/icons/ant-design-double-right-outline.svg +5 -5
  15. package/components/icons/ant-design_close-outline.svg +5 -5
  16. package/components/icons/undoIcon.js.map +1 -1
  17. package/components/input/draftUtils.js.map +1 -1
  18. package/components/input/draftail.js.map +1 -1
  19. package/components/input/mask/inputMaskCore.js.map +1 -1
  20. package/components/input/mask/pattern.js.map +1 -1
  21. package/components/input/passwordInput.js.map +1 -1
  22. package/components/input/textarea/extractSpansOfClasses.js.map +1 -1
  23. package/components/input/textarea/getRanges.js.map +1 -1
  24. package/components/input/textarea/getType.js.map +1 -1
  25. package/components/input/textarea/highlighedContents.js.map +1 -1
  26. package/components/input/textarea/mentionsWithHighlighting.js.map +1 -1
  27. package/components/keyboard/keyboardUtils.js.map +1 -1
  28. package/components/platformSpecific.js.map +1 -1
  29. package/components/text/impl/innerSize.js.map +1 -1
  30. package/components/text/impl/series.js.map +1 -1
  31. package/components/text/impl/shallowEqual.js.map +1 -1
  32. package/components/text/impl/uniqueId.js.map +1 -1
  33. package/components/text/impl/whilst.js.map +1 -1
  34. package/i18n/componentsLocaleHolder.js.map +1 -1
  35. package/package.json +1 -1
  36. package/style/ag-grid/_ag-theme-antd-vars.scss +194 -194
  37. package/style/ag-grid/ag-theme-antd.scss +87 -87
  38. package/style/ag-grid/aggrid-adaptations.css +42 -42
  39. package/style/ag-grid/aggrid.scss +11 -11
  40. package/style/flexLayout/flexLayout.scss +130 -130
  41. package/style/flexLayout/flexLayoutBase.scss +623 -623
  42. package/style/flexLayout/new/_base.scss +616 -616
  43. package/style/flexLayout/new/flexLayoutBase.scss +621 -621
  44. package/style/flexLayout/new/light.scss +107 -107
  45. package/style/flexLayout/old/_base.scss +551 -551
  46. package/style/flexLayout/old/light.scss +16 -16
  47. package/style/form/niceFormItem.css +38 -38
  48. package/style/index.less +7 -0
  49. package/style/loading.css +31 -31
  50. package/style/splitPane/splitPane.css +48 -48
@@ -1,623 +1,623 @@
1
- @mixin absoluteFill {
2
- left: 0;
3
- top: 0;
4
- right: 0;
5
- bottom: 0;
6
- position: absolute;
7
- }
8
-
9
- .flexlayout {
10
- &__layout {
11
- --color-text: #{$color_text};
12
- --color-background: #{$color_background};
13
- --color-base: #{$color_base};
14
- --color-1: #{$color_1};
15
- --color-2: #{$color_2};
16
- --color-3: #{$color_3};
17
- --color-4: #{$color_4};
18
- --color-5: #{$color_5};
19
- --color-6: #{$color_6};
20
- --color-drag1: #{$color_drag1};
21
- --color-drag2: #{$color_drag2};
22
- --color-drag1-background: #{$color_drag1_background};
23
- --color-drag2-background: #{$color_drag2_background};
24
-
25
- --font-size: #{$font-size};
26
- --font-family: #{$font-family};
27
-
28
- @include absoluteFill;
29
- overflow: hidden;
30
- background-color: $color_background;
31
- }
32
-
33
- &__splitter {
34
- @include splitter_mixin;
35
-
36
- @media (hover: hover) {
37
- &:hover {
38
- transition: background-color ease-in .1s;
39
- transition-delay: 0.05s;
40
- @include splitter_hover_mixin;
41
- }
42
- }
43
- &_border {
44
- z-index: 10;
45
- @include splitter_border_mixin;
46
- }
47
- &_drag {
48
- z-index: 1000;
49
- @include splitter_drag_mixin;
50
- }
51
- &_extra {
52
- background-color: transparent;
53
- }
54
- }
55
-
56
- &__outline_rect {
57
- position: absolute;
58
- cursor: move;
59
- box-sizing: border-box;
60
- border: 2px solid var(--color-drag1);
61
- background: var(--color-drag1-background);
62
- border-radius: 5px;
63
- z-index: 1000;
64
-
65
- &_edge {
66
- cursor: move;
67
- border: 2px solid var(--color-drag2);
68
- background: var(--color-drag2-background);
69
- border-radius: 5px;
70
- z-index: 1000;
71
- box-sizing: border-box;
72
- }
73
- }
74
-
75
- &__edge_rect {
76
- position: absolute;
77
- z-index: 1000;
78
- background-color: $color_background;
79
- }
80
-
81
- &__drag_rect {
82
- position: absolute;
83
- cursor: move;
84
- background-color: $color_background;
85
- border: 2px solid $color_background_border;
86
- border-radius: 5px;
87
- z-index: 1000;
88
- box-sizing: border-box;
89
- opacity: 0.9;
90
- text-align: center;
91
-
92
- display: flex;
93
- justify-content: center;
94
- flex-direction: column;
95
- overflow: hidden;
96
- padding: 0.5em 1em;
97
- word-wrap: break-word;
98
- font-size: var(--font-size);
99
- font-family: var(--font-family);
100
- }
101
-
102
- &__tabset {
103
- overflow: hidden;
104
- color: $color_text;
105
- background-color: $color_background;
106
- line-height: 1.5;
107
- box-sizing: border-box;
108
- font-size: $font-size;
109
- font-family: $font-family;
110
- font-feature-settings: "tnum";
111
- zoom: 1;
112
- margin: 0;
113
- padding: 0;
114
- font-variant: tabular-nums;
115
-
116
- &_header {
117
- // tabset header bar
118
- position: absolute;
119
- display: flex;
120
- align-items: center;
121
- left: 0;
122
- right: 0;
123
- background-color: $color_background;
124
- color: $color_text;
125
- padding: 3px 3px 3px 5px;
126
- box-sizing: border-box;
127
- border-bottom: 1px solid var(--color-3);
128
- @include tabset_header_mixin;
129
-
130
- &_content {
131
- flex-grow: 1;
132
- }
133
- }
134
-
135
- &_tabbar {
136
- &_outer {
137
- // tabset tabbar outer
138
- box-sizing: border-box;
139
- position: absolute;
140
- left: 2px;
141
- right: 0;
142
- overflow: hidden;
143
- display: flex;
144
- @include tabset_tabbar_mixin;
145
- }
146
-
147
- &_outer_top {
148
- border-bottom: 1px solid $color_background_selected;
149
- }
150
-
151
- &_outer_bottom {
152
- box-sizing: border-box;
153
- border-top: 1px solid $color_background_selected;
154
- }
155
-
156
- &_inner {
157
- // tabset tabbar inner
158
- position: relative;
159
- box-sizing: border-box;
160
- display: flex;
161
- flex-grow: 1;
162
- overflow: hidden;
163
-
164
- &_tab_container {
165
- display: flex;
166
- gap: 4px;
167
- padding-left: 4px;
168
- padding-right: 4px;
169
- box-sizing: border-box;
170
- position: absolute;
171
- top: 0;
172
- bottom: 0;
173
- width: 10000px;
174
-
175
- &_top {
176
- border-top: 2px solid transparent; // if you change this, update the _sizer above
177
- }
178
- &_bottom {
179
- border-bottom: 2px solid transparent;
180
- }
181
- }
182
- }
183
- }
184
-
185
- &-selected {
186
- @include tabset_selected_mixin;
187
- }
188
-
189
- &-maximized {
190
- @include tabset_maximized_mixin;
191
- }
192
- }
193
-
194
- &__tab_button_stamp {
195
- display: inline-flex;
196
- align-items: center;
197
- gap: 0.3em;
198
- white-space: nowrap;
199
- box-sizing: border-box;
200
- }
201
-
202
- &__tab {
203
- overflow: auto;
204
- position: absolute;
205
- box-sizing: border-box;
206
- color: $color_text;
207
- background-color: $color_content_background;
208
-
209
- &_button {
210
- display: flex;
211
- gap: 0.3em;
212
- align-items: center;
213
- box-sizing: border-box;
214
- padding: 5px 10px 4px 12px; // if you change top or bottom update the tabset_sizer above
215
- margin-right: 4px;
216
- vertical-align: top;
217
- cursor: pointer;
218
- @include tab_button_mixin;
219
-
220
- &--selected {
221
- @include tab_button_selected_mixin;
222
- }
223
- @media (hover: hover) {
224
- &:hover {
225
- @include tab_button_hovered_mixin;
226
- }
227
- }
228
-
229
- &--unselected {
230
- @include tab_button_unselected_mixin;
231
- }
232
-
233
- &_top {
234
- @include tab_top_mixin;
235
- }
236
-
237
- &_bottom {
238
- @include tab_bottom_mixin;
239
- }
240
-
241
- &_leading {
242
- display: flex;
243
- }
244
-
245
- &_content {
246
- display: flex;
247
- }
248
-
249
- &_textbox {
250
- border: none;
251
- font-family: var(--font-family);
252
- font-size: var(--font-size);
253
- color: $color_text;
254
- background-color: $color_content_background;
255
- border: 1px inset var(--color-1);
256
- border-radius: 3px;
257
- }
258
-
259
- &_textbox:focus {
260
- outline: none;
261
- }
262
-
263
- &_trailing {
264
- display: flex;
265
- visibility: hidden;
266
- border-radius: 4px;
267
- &:hover {
268
- @include close_button_hovered_mixin;
269
- }
270
- }
271
- @media (pointer: coarse) {
272
- &_trailing {
273
- }
274
- }
275
- @media (hover: hover) {
276
- &:hover &_trailing {
277
- visibility: visible;
278
- }
279
- }
280
-
281
- &--selected &_trailing {
282
- visibility: visible;
283
- }
284
-
285
- &_overflow {
286
- display: flex;
287
- align-items: center;
288
- border: none;
289
- color: $color_text;
290
- cursor: pointer;
291
- font-size: inherit;
292
- background-color: transparent;
293
- }
294
- }
295
-
296
- &_toolbar {
297
- display: flex;
298
- align-items: center;
299
- gap: .3em;
300
- padding-left: .5em;
301
- padding-right: .3em;
302
-
303
- &_button {
304
- border: none;
305
- outline: none;
306
- font-size: inherit;
307
- margin: 0px;
308
- background-color: transparent;
309
- border-radius: 4px;
310
- padding: 1px;
311
- @media (hover: hover) {
312
- &:hover {
313
- @include toolbar_button_hovered_mixin;
314
- }
315
- }
316
-
317
- &-min {
318
- }
319
-
320
- &-max {
321
- }
322
-
323
- &-float {
324
- }
325
-
326
- &-close {
327
- }
328
- }
329
-
330
- &_sticky_buttons_container {
331
- display: flex;
332
- gap: 0.3em;
333
- padding-left: 2px;
334
- align-items: center;
335
- }
336
- }
337
-
338
- &_floating {
339
- overflow: auto;
340
- position: absolute;
341
- box-sizing: border-box;
342
- color: $color_text;
343
- background-color: $color_content_background;
344
- display: flex;
345
- justify-content: center;
346
- align-items: center;
347
-
348
- &_inner {
349
- overflow: auto;
350
- display: flex;
351
- flex-direction: column;
352
- justify-content: center;
353
- align-items: center;
354
- }
355
-
356
- &_inner div {
357
- margin-bottom: 5px;
358
- text-align: center;
359
- }
360
-
361
- &_inner div a {
362
- color: royalblue;
363
- }
364
- }
365
- }
366
-
367
- &__border {
368
- box-sizing: border-box;
369
- overflow: hidden;
370
- display: flex;
371
- font-size: var(--font-size);
372
- font-family: var(--font-family);
373
- @include border_mixin;
374
-
375
- &_top {
376
- border-bottom: 1px solid $color_border_line;
377
- align-items: center;
378
- }
379
-
380
- &_bottom {
381
- border-top: 1px solid $color_border_line;
382
- align-items: center;
383
- }
384
-
385
- &_left {
386
- border-right: 1px solid $color_border_line;
387
- align-content: center;
388
- flex-direction: column;
389
- }
390
-
391
- &_right {
392
- border-left: 1px solid $color_border_line;
393
- align-content: center;
394
- flex-direction: column;
395
- }
396
-
397
- &_inner {
398
- position: relative;
399
- box-sizing: border-box;
400
- display: flex;
401
- overflow: hidden;
402
- flex-grow: 1;
403
-
404
- &_tab_container {
405
- white-space: nowrap;
406
- display: flex;
407
- gap: 4px;
408
- padding-left: 2px;
409
- padding-right: 2px;
410
- box-sizing: border-box;
411
- position: absolute;
412
- top: 0;
413
- bottom: 0;
414
- width: 10000px;
415
-
416
- &_right {
417
- transform-origin: top left;
418
- transform: rotate(90deg);
419
- }
420
- &_left {
421
- flex-direction: row-reverse;
422
- transform-origin: top right;
423
- transform: rotate(-90deg);
424
- }
425
- }
426
- }
427
-
428
- &_button {
429
- display: flex;
430
- gap: 0.3em;
431
- align-items: center;
432
- cursor: pointer;
433
- padding: 3px 0.5em;
434
- margin: 2px 0px;
435
- box-sizing: border-box;
436
- white-space: nowrap;
437
- @include border_button_mixin;
438
-
439
- &--selected {
440
- @include border_button_selected_mixin;
441
- }
442
- @media (hover: hover) {
443
- &:hover {
444
- @include border_button_hovered_mixin;
445
- }
446
- }
447
-
448
- &--unselected {
449
- @include border_button_unselected_mixin;
450
- }
451
-
452
- &_leading {
453
- display: flex;
454
- }
455
-
456
- &_content {
457
- display: flex;
458
- }
459
-
460
- &_trailing {
461
- display: flex;
462
- border-radius: 4px;
463
- visibility: hidden;
464
- color: $color_text;
465
- &:hover {
466
- @include close_button_hovered_mixin;
467
- }
468
- }
469
- @media (pointer: coarse) {
470
- &_trailing {
471
- }
472
- }
473
- @media (hover: hover) {
474
- &:hover &_trailing {
475
- visibility: visible;
476
- }
477
- }
478
-
479
- &--selected &_trailing {
480
- visibility: visible;
481
- }
482
- }
483
-
484
- &_toolbar {
485
- display: flex;
486
- gap: .3em;
487
- align-items: center;
488
-
489
- &_left,
490
- &_right {
491
- flex-direction: column;
492
- padding-top: .5em;
493
- padding-bottom: .3em;
494
- }
495
-
496
- &_top,
497
- &_bottom {
498
- padding-left: .5em;
499
- padding-right: .3em;
500
- }
501
-
502
- &_button {
503
- border: none;
504
- outline: none;
505
- font-size: inherit;
506
- background-color: transparent;
507
- border-radius: 4px;
508
- padding: 1px;
509
- @media (hover: hover) {
510
- &:hover {
511
- @include toolbar_button_hovered_mixin;
512
- }
513
- }
514
-
515
- &-float {
516
- }
517
-
518
- &_overflow {
519
- display: flex;
520
- align-items: center;
521
- border: none;
522
- color: gray;
523
- font-size: inherit;
524
- background-color: transparent;
525
- }
526
-
527
- &_overflow_top,
528
- &_overflow_bottom {
529
- }
530
-
531
- &_overflow_right,
532
- &_overflow_left {
533
- }
534
- }
535
- }
536
- }
537
-
538
- &__popup_menu {
539
- font-size: var(--font-size);
540
- font-family: var(--font-family);
541
-
542
- &_item {
543
- padding: 2px 0.5em;
544
- white-space: nowrap;
545
- cursor: pointer;
546
- border-radius: 2px;
547
- }
548
-
549
- @media (hover: hover) {
550
- &_item:hover {
551
- background-color: $color_border;
552
- }
553
- }
554
-
555
- &_container {
556
- box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.15);
557
- border: 1px solid $color_border;
558
- color: $color_text;
559
- background: $color_background;
560
- border-radius: 3px;
561
- position: absolute;
562
- z-index: 1000;
563
- max-height: 50%;
564
- min-width: 100px;
565
- overflow: auto;
566
- padding: 2px;
567
- }
568
- }
569
-
570
- &__floating_window {
571
- _body {
572
- height: 100%;
573
- }
574
-
575
- &_content {
576
- @include absoluteFill;
577
- }
578
-
579
- &_tab {
580
- overflow: auto;
581
- @include absoluteFill;
582
-
583
- box-sizing: border-box;
584
- background-color: var(--color-background);
585
- color: var(--color-text);
586
- }
587
- }
588
-
589
- &__error_boundary_container {
590
- @include absoluteFill;
591
- display: flex;
592
- justify-content: center;
593
- }
594
- &__error_boundary_content {
595
- display: flex;
596
- align-items: center;
597
- }
598
-
599
- // These classes are used to measure the sizes for tab header bar, tab bar and border bars,
600
- // only the height is used, the padding should match the vertical spacing (padding & margins)
601
- // that have been used in the above classes
602
-
603
- &__tabset_sizer {
604
- padding-top: 5px; // tab_button has 3 padding top, tabset header inner has 2 border
605
- padding-bottom: 3px; // tab_button has 3 padding bottom
606
- font-size: $font-size;
607
- font-family: $font-family;
608
- }
609
-
610
- &__tabset_header_sizer {
611
- padding-top: 3px;
612
- padding-bottom: 3px;
613
- font-size: $font-size;
614
- font-family: $font-family;
615
- }
616
-
617
- &__border_sizer {
618
- padding-top: 6px;
619
- padding-bottom: 5px;
620
- font-size: $font-size;
621
- font-family: $font-family;
622
- }
623
- }
1
+ @mixin absoluteFill {
2
+ left: 0;
3
+ top: 0;
4
+ right: 0;
5
+ bottom: 0;
6
+ position: absolute;
7
+ }
8
+
9
+ .flexlayout {
10
+ &__layout {
11
+ --color-text: #{$color_text};
12
+ --color-background: #{$color_background};
13
+ --color-base: #{$color_base};
14
+ --color-1: #{$color_1};
15
+ --color-2: #{$color_2};
16
+ --color-3: #{$color_3};
17
+ --color-4: #{$color_4};
18
+ --color-5: #{$color_5};
19
+ --color-6: #{$color_6};
20
+ --color-drag1: #{$color_drag1};
21
+ --color-drag2: #{$color_drag2};
22
+ --color-drag1-background: #{$color_drag1_background};
23
+ --color-drag2-background: #{$color_drag2_background};
24
+
25
+ --font-size: #{$font-size};
26
+ --font-family: #{$font-family};
27
+
28
+ @include absoluteFill;
29
+ overflow: hidden;
30
+ background-color: $color_background;
31
+ }
32
+
33
+ &__splitter {
34
+ @include splitter_mixin;
35
+
36
+ @media (hover: hover) {
37
+ &:hover {
38
+ transition: background-color ease-in .1s;
39
+ transition-delay: 0.05s;
40
+ @include splitter_hover_mixin;
41
+ }
42
+ }
43
+ &_border {
44
+ z-index: 10;
45
+ @include splitter_border_mixin;
46
+ }
47
+ &_drag {
48
+ z-index: 1000;
49
+ @include splitter_drag_mixin;
50
+ }
51
+ &_extra {
52
+ background-color: transparent;
53
+ }
54
+ }
55
+
56
+ &__outline_rect {
57
+ position: absolute;
58
+ cursor: move;
59
+ box-sizing: border-box;
60
+ border: 2px solid var(--color-drag1);
61
+ background: var(--color-drag1-background);
62
+ border-radius: 5px;
63
+ z-index: 1000;
64
+
65
+ &_edge {
66
+ cursor: move;
67
+ border: 2px solid var(--color-drag2);
68
+ background: var(--color-drag2-background);
69
+ border-radius: 5px;
70
+ z-index: 1000;
71
+ box-sizing: border-box;
72
+ }
73
+ }
74
+
75
+ &__edge_rect {
76
+ position: absolute;
77
+ z-index: 1000;
78
+ background-color: $color_background;
79
+ }
80
+
81
+ &__drag_rect {
82
+ position: absolute;
83
+ cursor: move;
84
+ background-color: $color_background;
85
+ border: 2px solid $color_background_border;
86
+ border-radius: 5px;
87
+ z-index: 1000;
88
+ box-sizing: border-box;
89
+ opacity: 0.9;
90
+ text-align: center;
91
+
92
+ display: flex;
93
+ justify-content: center;
94
+ flex-direction: column;
95
+ overflow: hidden;
96
+ padding: 0.5em 1em;
97
+ word-wrap: break-word;
98
+ font-size: var(--font-size);
99
+ font-family: var(--font-family);
100
+ }
101
+
102
+ &__tabset {
103
+ overflow: hidden;
104
+ color: $color_text;
105
+ background-color: $color_background;
106
+ line-height: 1.5;
107
+ box-sizing: border-box;
108
+ font-size: $font-size;
109
+ font-family: $font-family;
110
+ font-feature-settings: "tnum";
111
+ zoom: 1;
112
+ margin: 0;
113
+ padding: 0;
114
+ font-variant: tabular-nums;
115
+
116
+ &_header {
117
+ // tabset header bar
118
+ position: absolute;
119
+ display: flex;
120
+ align-items: center;
121
+ left: 0;
122
+ right: 0;
123
+ background-color: $color_background;
124
+ color: $color_text;
125
+ padding: 3px 3px 3px 5px;
126
+ box-sizing: border-box;
127
+ border-bottom: 1px solid var(--color-3);
128
+ @include tabset_header_mixin;
129
+
130
+ &_content {
131
+ flex-grow: 1;
132
+ }
133
+ }
134
+
135
+ &_tabbar {
136
+ &_outer {
137
+ // tabset tabbar outer
138
+ box-sizing: border-box;
139
+ position: absolute;
140
+ left: 2px;
141
+ right: 0;
142
+ overflow: hidden;
143
+ display: flex;
144
+ @include tabset_tabbar_mixin;
145
+ }
146
+
147
+ &_outer_top {
148
+ border-bottom: 1px solid $color_background_selected;
149
+ }
150
+
151
+ &_outer_bottom {
152
+ box-sizing: border-box;
153
+ border-top: 1px solid $color_background_selected;
154
+ }
155
+
156
+ &_inner {
157
+ // tabset tabbar inner
158
+ position: relative;
159
+ box-sizing: border-box;
160
+ display: flex;
161
+ flex-grow: 1;
162
+ overflow: hidden;
163
+
164
+ &_tab_container {
165
+ display: flex;
166
+ gap: 4px;
167
+ padding-left: 4px;
168
+ padding-right: 4px;
169
+ box-sizing: border-box;
170
+ position: absolute;
171
+ top: 0;
172
+ bottom: 0;
173
+ width: 10000px;
174
+
175
+ &_top {
176
+ border-top: 2px solid transparent; // if you change this, update the _sizer above
177
+ }
178
+ &_bottom {
179
+ border-bottom: 2px solid transparent;
180
+ }
181
+ }
182
+ }
183
+ }
184
+
185
+ &-selected {
186
+ @include tabset_selected_mixin;
187
+ }
188
+
189
+ &-maximized {
190
+ @include tabset_maximized_mixin;
191
+ }
192
+ }
193
+
194
+ &__tab_button_stamp {
195
+ display: inline-flex;
196
+ align-items: center;
197
+ gap: 0.3em;
198
+ white-space: nowrap;
199
+ box-sizing: border-box;
200
+ }
201
+
202
+ &__tab {
203
+ overflow: auto;
204
+ position: absolute;
205
+ box-sizing: border-box;
206
+ color: $color_text;
207
+ background-color: $color_content_background;
208
+
209
+ &_button {
210
+ display: flex;
211
+ gap: 0.3em;
212
+ align-items: center;
213
+ box-sizing: border-box;
214
+ padding: 5px 10px 4px 12px; // if you change top or bottom update the tabset_sizer above
215
+ margin-right: 4px;
216
+ vertical-align: top;
217
+ cursor: pointer;
218
+ @include tab_button_mixin;
219
+
220
+ &--selected {
221
+ @include tab_button_selected_mixin;
222
+ }
223
+ @media (hover: hover) {
224
+ &:hover {
225
+ @include tab_button_hovered_mixin;
226
+ }
227
+ }
228
+
229
+ &--unselected {
230
+ @include tab_button_unselected_mixin;
231
+ }
232
+
233
+ &_top {
234
+ @include tab_top_mixin;
235
+ }
236
+
237
+ &_bottom {
238
+ @include tab_bottom_mixin;
239
+ }
240
+
241
+ &_leading {
242
+ display: flex;
243
+ }
244
+
245
+ &_content {
246
+ display: flex;
247
+ }
248
+
249
+ &_textbox {
250
+ border: none;
251
+ font-family: var(--font-family);
252
+ font-size: var(--font-size);
253
+ color: $color_text;
254
+ background-color: $color_content_background;
255
+ border: 1px inset var(--color-1);
256
+ border-radius: 3px;
257
+ }
258
+
259
+ &_textbox:focus {
260
+ outline: none;
261
+ }
262
+
263
+ &_trailing {
264
+ display: flex;
265
+ visibility: hidden;
266
+ border-radius: 4px;
267
+ &:hover {
268
+ @include close_button_hovered_mixin;
269
+ }
270
+ }
271
+ @media (pointer: coarse) {
272
+ &_trailing {
273
+ }
274
+ }
275
+ @media (hover: hover) {
276
+ &:hover &_trailing {
277
+ visibility: visible;
278
+ }
279
+ }
280
+
281
+ &--selected &_trailing {
282
+ visibility: visible;
283
+ }
284
+
285
+ &_overflow {
286
+ display: flex;
287
+ align-items: center;
288
+ border: none;
289
+ color: $color_text;
290
+ cursor: pointer;
291
+ font-size: inherit;
292
+ background-color: transparent;
293
+ }
294
+ }
295
+
296
+ &_toolbar {
297
+ display: flex;
298
+ align-items: center;
299
+ gap: .3em;
300
+ padding-left: .5em;
301
+ padding-right: .3em;
302
+
303
+ &_button {
304
+ border: none;
305
+ outline: none;
306
+ font-size: inherit;
307
+ margin: 0px;
308
+ background-color: transparent;
309
+ border-radius: 4px;
310
+ padding: 1px;
311
+ @media (hover: hover) {
312
+ &:hover {
313
+ @include toolbar_button_hovered_mixin;
314
+ }
315
+ }
316
+
317
+ &-min {
318
+ }
319
+
320
+ &-max {
321
+ }
322
+
323
+ &-float {
324
+ }
325
+
326
+ &-close {
327
+ }
328
+ }
329
+
330
+ &_sticky_buttons_container {
331
+ display: flex;
332
+ gap: 0.3em;
333
+ padding-left: 2px;
334
+ align-items: center;
335
+ }
336
+ }
337
+
338
+ &_floating {
339
+ overflow: auto;
340
+ position: absolute;
341
+ box-sizing: border-box;
342
+ color: $color_text;
343
+ background-color: $color_content_background;
344
+ display: flex;
345
+ justify-content: center;
346
+ align-items: center;
347
+
348
+ &_inner {
349
+ overflow: auto;
350
+ display: flex;
351
+ flex-direction: column;
352
+ justify-content: center;
353
+ align-items: center;
354
+ }
355
+
356
+ &_inner div {
357
+ margin-bottom: 5px;
358
+ text-align: center;
359
+ }
360
+
361
+ &_inner div a {
362
+ color: royalblue;
363
+ }
364
+ }
365
+ }
366
+
367
+ &__border {
368
+ box-sizing: border-box;
369
+ overflow: hidden;
370
+ display: flex;
371
+ font-size: var(--font-size);
372
+ font-family: var(--font-family);
373
+ @include border_mixin;
374
+
375
+ &_top {
376
+ border-bottom: 1px solid $color_border_line;
377
+ align-items: center;
378
+ }
379
+
380
+ &_bottom {
381
+ border-top: 1px solid $color_border_line;
382
+ align-items: center;
383
+ }
384
+
385
+ &_left {
386
+ border-right: 1px solid $color_border_line;
387
+ align-content: center;
388
+ flex-direction: column;
389
+ }
390
+
391
+ &_right {
392
+ border-left: 1px solid $color_border_line;
393
+ align-content: center;
394
+ flex-direction: column;
395
+ }
396
+
397
+ &_inner {
398
+ position: relative;
399
+ box-sizing: border-box;
400
+ display: flex;
401
+ overflow: hidden;
402
+ flex-grow: 1;
403
+
404
+ &_tab_container {
405
+ white-space: nowrap;
406
+ display: flex;
407
+ gap: 4px;
408
+ padding-left: 2px;
409
+ padding-right: 2px;
410
+ box-sizing: border-box;
411
+ position: absolute;
412
+ top: 0;
413
+ bottom: 0;
414
+ width: 10000px;
415
+
416
+ &_right {
417
+ transform-origin: top left;
418
+ transform: rotate(90deg);
419
+ }
420
+ &_left {
421
+ flex-direction: row-reverse;
422
+ transform-origin: top right;
423
+ transform: rotate(-90deg);
424
+ }
425
+ }
426
+ }
427
+
428
+ &_button {
429
+ display: flex;
430
+ gap: 0.3em;
431
+ align-items: center;
432
+ cursor: pointer;
433
+ padding: 3px 0.5em;
434
+ margin: 2px 0px;
435
+ box-sizing: border-box;
436
+ white-space: nowrap;
437
+ @include border_button_mixin;
438
+
439
+ &--selected {
440
+ @include border_button_selected_mixin;
441
+ }
442
+ @media (hover: hover) {
443
+ &:hover {
444
+ @include border_button_hovered_mixin;
445
+ }
446
+ }
447
+
448
+ &--unselected {
449
+ @include border_button_unselected_mixin;
450
+ }
451
+
452
+ &_leading {
453
+ display: flex;
454
+ }
455
+
456
+ &_content {
457
+ display: flex;
458
+ }
459
+
460
+ &_trailing {
461
+ display: flex;
462
+ border-radius: 4px;
463
+ visibility: hidden;
464
+ color: $color_text;
465
+ &:hover {
466
+ @include close_button_hovered_mixin;
467
+ }
468
+ }
469
+ @media (pointer: coarse) {
470
+ &_trailing {
471
+ }
472
+ }
473
+ @media (hover: hover) {
474
+ &:hover &_trailing {
475
+ visibility: visible;
476
+ }
477
+ }
478
+
479
+ &--selected &_trailing {
480
+ visibility: visible;
481
+ }
482
+ }
483
+
484
+ &_toolbar {
485
+ display: flex;
486
+ gap: .3em;
487
+ align-items: center;
488
+
489
+ &_left,
490
+ &_right {
491
+ flex-direction: column;
492
+ padding-top: .5em;
493
+ padding-bottom: .3em;
494
+ }
495
+
496
+ &_top,
497
+ &_bottom {
498
+ padding-left: .5em;
499
+ padding-right: .3em;
500
+ }
501
+
502
+ &_button {
503
+ border: none;
504
+ outline: none;
505
+ font-size: inherit;
506
+ background-color: transparent;
507
+ border-radius: 4px;
508
+ padding: 1px;
509
+ @media (hover: hover) {
510
+ &:hover {
511
+ @include toolbar_button_hovered_mixin;
512
+ }
513
+ }
514
+
515
+ &-float {
516
+ }
517
+
518
+ &_overflow {
519
+ display: flex;
520
+ align-items: center;
521
+ border: none;
522
+ color: gray;
523
+ font-size: inherit;
524
+ background-color: transparent;
525
+ }
526
+
527
+ &_overflow_top,
528
+ &_overflow_bottom {
529
+ }
530
+
531
+ &_overflow_right,
532
+ &_overflow_left {
533
+ }
534
+ }
535
+ }
536
+ }
537
+
538
+ &__popup_menu {
539
+ font-size: var(--font-size);
540
+ font-family: var(--font-family);
541
+
542
+ &_item {
543
+ padding: 2px 0.5em;
544
+ white-space: nowrap;
545
+ cursor: pointer;
546
+ border-radius: 2px;
547
+ }
548
+
549
+ @media (hover: hover) {
550
+ &_item:hover {
551
+ background-color: $color_border;
552
+ }
553
+ }
554
+
555
+ &_container {
556
+ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.15);
557
+ border: 1px solid $color_border;
558
+ color: $color_text;
559
+ background: $color_background;
560
+ border-radius: 3px;
561
+ position: absolute;
562
+ z-index: 1000;
563
+ max-height: 50%;
564
+ min-width: 100px;
565
+ overflow: auto;
566
+ padding: 2px;
567
+ }
568
+ }
569
+
570
+ &__floating_window {
571
+ _body {
572
+ height: 100%;
573
+ }
574
+
575
+ &_content {
576
+ @include absoluteFill;
577
+ }
578
+
579
+ &_tab {
580
+ overflow: auto;
581
+ @include absoluteFill;
582
+
583
+ box-sizing: border-box;
584
+ background-color: var(--color-background);
585
+ color: var(--color-text);
586
+ }
587
+ }
588
+
589
+ &__error_boundary_container {
590
+ @include absoluteFill;
591
+ display: flex;
592
+ justify-content: center;
593
+ }
594
+ &__error_boundary_content {
595
+ display: flex;
596
+ align-items: center;
597
+ }
598
+
599
+ // These classes are used to measure the sizes for tab header bar, tab bar and border bars,
600
+ // only the height is used, the padding should match the vertical spacing (padding & margins)
601
+ // that have been used in the above classes
602
+
603
+ &__tabset_sizer {
604
+ padding-top: 5px; // tab_button has 3 padding top, tabset header inner has 2 border
605
+ padding-bottom: 3px; // tab_button has 3 padding bottom
606
+ font-size: $font-size;
607
+ font-family: $font-family;
608
+ }
609
+
610
+ &__tabset_header_sizer {
611
+ padding-top: 3px;
612
+ padding-bottom: 3px;
613
+ font-size: $font-size;
614
+ font-family: $font-family;
615
+ }
616
+
617
+ &__border_sizer {
618
+ padding-top: 6px;
619
+ padding-bottom: 5px;
620
+ font-size: $font-size;
621
+ font-family: $font-family;
622
+ }
623
+ }