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