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