flexlayout-react 0.8.5 → 0.8.7
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.
- package/ChangeLog.txt +10 -0
- package/README.md +78 -2
- package/declarations/Rect.d.ts +2 -0
- package/declarations/Types.d.ts +0 -5
- package/declarations/view/Layout.d.ts +3 -1
- package/dist/flexlayout.js +6 -6
- package/dist/flexlayout_min.js +1 -1
- package/lib/Rect.js +6 -0
- package/lib/Rect.js.map +1 -1
- package/lib/Types.js +0 -5
- package/lib/Types.js.map +1 -1
- package/lib/model/TabSetNode.js +9 -4
- package/lib/model/TabSetNode.js.map +1 -1
- package/lib/view/BorderTabSet.js +1 -2
- package/lib/view/BorderTabSet.js.map +1 -1
- package/lib/view/Layout.js +3 -2
- package/lib/view/Layout.js.map +1 -1
- package/lib/view/TabOverflowHook.js +40 -43
- package/lib/view/TabOverflowHook.js.map +1 -1
- package/package.json +2 -2
- package/src/Rect.ts +8 -0
- package/src/Types.ts +0 -6
- package/src/model/TabSetNode.ts +8 -4
- package/src/view/BorderTabSet.tsx +1 -2
- package/src/view/Layout.tsx +9 -5
- package/src/view/TabOverflowHook.tsx +46 -51
- package/style/_base.scss +564 -614
- package/style/_themes.scss +646 -0
- package/style/combined.css +1053 -0
- package/style/combined.css.map +1 -0
- package/style/combined.scss +46 -0
- package/style/dark.css +41 -63
- package/style/dark.css.map +1 -1
- package/style/dark.scss +5 -185
- package/style/gray.css +54 -56
- package/style/gray.css.map +1 -1
- package/style/gray.scss +5 -184
- package/style/light.css +23 -52
- package/style/light.css.map +1 -1
- package/style/light.scss +5 -167
- package/style/rounded.css +42 -77
- package/style/rounded.css.map +1 -1
- package/style/rounded.scss +5 -215
- package/style/underline.css +45 -65
- package/style/underline.css.map +1 -1
- package/style/underline.scss +5 -190
- package/.editorconfig +0 -8
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -104
- package/.github/ISSUE_TEMPLATE/config.yml +0 -5
- package/.prettierrc.json +0 -3
- package/Screenshot_light.png +0 -0
- package/Screenshot_rounded.png +0 -0
- package/dist/bundles/demo.js +0 -232052
- package/dist/bundles/demo.js.map +0 -1
package/style/underline.css
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
--color-background: white;
|
|
4
4
|
--color-base: white;
|
|
5
5
|
--color-1: rgb(249.9, 249.9, 249.9);
|
|
6
|
-
--color-2: rgb(244.
|
|
7
|
-
--color-3: rgb(237.
|
|
8
|
-
--color-4: rgb(
|
|
9
|
-
--color-5: rgb(
|
|
10
|
-
--color-6: rgb(
|
|
6
|
+
--color-2: rgb(244.8, 244.8, 244.8);
|
|
7
|
+
--color-3: rgb(237.15, 237.15, 237.15);
|
|
8
|
+
--color-4: rgb(229.5, 229.5, 229.5);
|
|
9
|
+
--color-5: rgb(221.85, 221.85, 221.85);
|
|
10
|
+
--color-6: rgb(214.2, 214.2, 214.2);
|
|
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);
|
|
@@ -52,11 +52,15 @@
|
|
|
52
52
|
--color-underline: rgb(65, 105, 225);
|
|
53
53
|
--color-underline-hover: #aaa;
|
|
54
54
|
--underline_height: 3px;
|
|
55
|
-
--color-mini-scroll-indicator:rgba(128, 128, 128, 0.5);
|
|
56
|
-
--color-mini-scroll-indicator-hovered:rgba(128, 128, 128, 0.7);
|
|
57
|
-
--size-mini-scroll-indicator:4px;
|
|
55
|
+
--color-mini-scroll-indicator: rgba(128, 128, 128, 0.5);
|
|
56
|
+
--color-mini-scroll-indicator-hovered: rgba(128, 128, 128, 0.7);
|
|
57
|
+
--size-mini-scroll-indicator: 4px;
|
|
58
|
+
--color-toolbar-button-hover: var(--color-3);
|
|
58
59
|
}
|
|
59
60
|
|
|
61
|
+
/*
|
|
62
|
+
base classes
|
|
63
|
+
*/
|
|
60
64
|
.flexlayout__layout {
|
|
61
65
|
left: 0;
|
|
62
66
|
top: 0;
|
|
@@ -64,6 +68,7 @@
|
|
|
64
68
|
bottom: 0;
|
|
65
69
|
position: absolute;
|
|
66
70
|
display: flex;
|
|
71
|
+
background-color: var(--color-background);
|
|
67
72
|
}
|
|
68
73
|
.flexlayout__layout_overlay {
|
|
69
74
|
left: 0;
|
|
@@ -123,6 +128,7 @@
|
|
|
123
128
|
background-color: var(--color-splitter-hover);
|
|
124
129
|
transition: background-color ease-in 0.1s;
|
|
125
130
|
transition-delay: 0.05s;
|
|
131
|
+
border-radius: 5px;
|
|
126
132
|
}
|
|
127
133
|
}
|
|
128
134
|
.flexlayout__splitter_drag {
|
|
@@ -131,6 +137,7 @@
|
|
|
131
137
|
align-items: center;
|
|
132
138
|
justify-content: center;
|
|
133
139
|
z-index: 1000;
|
|
140
|
+
border-radius: 5px;
|
|
134
141
|
background-color: var(--color-splitter-drag);
|
|
135
142
|
}
|
|
136
143
|
.flexlayout__splitter_handle {
|
|
@@ -220,9 +227,6 @@
|
|
|
220
227
|
}
|
|
221
228
|
.flexlayout__tabset_tab_divider {
|
|
222
229
|
width: 4px;
|
|
223
|
-
width: 1px;
|
|
224
|
-
margin: 4px 6px 4px 6px;
|
|
225
|
-
border-left: 1px solid #ddd;
|
|
226
230
|
}
|
|
227
231
|
.flexlayout__tabset_content {
|
|
228
232
|
display: flex;
|
|
@@ -329,7 +333,6 @@
|
|
|
329
333
|
box-sizing: border-box;
|
|
330
334
|
padding: 3px 0.5em;
|
|
331
335
|
cursor: pointer;
|
|
332
|
-
padding: 2px 0.5em calc(4px - var(--underline_height)) 0.5em;
|
|
333
336
|
}
|
|
334
337
|
.flexlayout__tab_button_stretch {
|
|
335
338
|
background-color: transparent;
|
|
@@ -351,7 +354,6 @@
|
|
|
351
354
|
.flexlayout__tab_button--selected {
|
|
352
355
|
background-color: var(--color-tab-selected-background);
|
|
353
356
|
color: var(--color-tab-selected);
|
|
354
|
-
border-bottom: var(--underline_height) solid var(--color-underline);
|
|
355
357
|
}
|
|
356
358
|
@media (hover: hover) {
|
|
357
359
|
.flexlayout__tab_button:hover {
|
|
@@ -361,8 +363,6 @@
|
|
|
361
363
|
.flexlayout__tab_button--unselected {
|
|
362
364
|
background-color: var(--color-tab-unselected-background);
|
|
363
365
|
color: var(--color-tab-unselected);
|
|
364
|
-
color: gray;
|
|
365
|
-
border-bottom: var(--underline_height) solid transparent;
|
|
366
366
|
}
|
|
367
367
|
.flexlayout__tab_button_leading {
|
|
368
368
|
display: flex;
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
border-radius: 4px;
|
|
391
391
|
}
|
|
392
392
|
.flexlayout__tab_button_trailing:hover {
|
|
393
|
-
background-color: var(--color-
|
|
393
|
+
background-color: var(--color-toolbar-button-hover);
|
|
394
394
|
}
|
|
395
395
|
@media (hover: hover) {
|
|
396
396
|
.flexlayout__tab_button:hover .flexlayout__tab_button_trailing {
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
}
|
|
437
437
|
@media (hover: hover) {
|
|
438
438
|
.flexlayout__tab_toolbar_button:hover {
|
|
439
|
-
background-color: var(--color-
|
|
439
|
+
background-color: var(--color-toolbar-button-hover);
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
.flexlayout__tab_toolbar_sticky_buttons_container {
|
|
@@ -445,30 +445,6 @@
|
|
|
445
445
|
padding-left: 5px;
|
|
446
446
|
align-items: center;
|
|
447
447
|
}
|
|
448
|
-
.flexlayout__tab_floating {
|
|
449
|
-
overflow: auto;
|
|
450
|
-
position: absolute;
|
|
451
|
-
box-sizing: border-box;
|
|
452
|
-
color: var(--color-text);
|
|
453
|
-
background-color: var(--color-background);
|
|
454
|
-
display: flex;
|
|
455
|
-
justify-content: center;
|
|
456
|
-
align-items: center;
|
|
457
|
-
}
|
|
458
|
-
.flexlayout__tab_floating_inner {
|
|
459
|
-
overflow: auto;
|
|
460
|
-
display: flex;
|
|
461
|
-
flex-direction: column;
|
|
462
|
-
justify-content: center;
|
|
463
|
-
align-items: center;
|
|
464
|
-
}
|
|
465
|
-
.flexlayout__tab_floating_inner div {
|
|
466
|
-
margin-bottom: 5px;
|
|
467
|
-
text-align: center;
|
|
468
|
-
}
|
|
469
|
-
.flexlayout__tab_floating_inner div a {
|
|
470
|
-
color: royalblue;
|
|
471
|
-
}
|
|
472
448
|
.flexlayout__border {
|
|
473
449
|
box-sizing: border-box;
|
|
474
450
|
overflow: hidden;
|
|
@@ -531,9 +507,6 @@
|
|
|
531
507
|
}
|
|
532
508
|
.flexlayout__border_tab_divider {
|
|
533
509
|
width: 4px;
|
|
534
|
-
width: 1px;
|
|
535
|
-
margin: 4px 6px 4px 6px;
|
|
536
|
-
border-left: 1px solid #ddd;
|
|
537
510
|
}
|
|
538
511
|
.flexlayout__border_button {
|
|
539
512
|
display: flex;
|
|
@@ -544,24 +517,19 @@
|
|
|
544
517
|
margin: 2px 0px;
|
|
545
518
|
box-sizing: border-box;
|
|
546
519
|
white-space: nowrap;
|
|
547
|
-
padding: 2px 0.5em calc(4px - var(--underline_height)) 0.5em;
|
|
548
520
|
}
|
|
549
521
|
.flexlayout__border_button--selected {
|
|
550
522
|
background-color: var(--color-border-tab-selected-background);
|
|
551
523
|
color: var(--color-border-tab-selected);
|
|
552
|
-
border-bottom: var(--underline_height) solid var(--color-underline);
|
|
553
524
|
}
|
|
554
525
|
@media (hover: hover) {
|
|
555
526
|
.flexlayout__border_button:hover {
|
|
556
|
-
background-color: var(--color-border-tab-selected-background);
|
|
557
527
|
color: var(--color-border-tab-selected);
|
|
558
|
-
border-bottom: var(--underline_height) solid var(--color-underline-hover);
|
|
559
528
|
}
|
|
560
529
|
}
|
|
561
530
|
.flexlayout__border_button--unselected {
|
|
562
531
|
background-color: var(--color-border-tab-unselected-background);
|
|
563
532
|
color: var(--color-border-tab-unselected);
|
|
564
|
-
border-bottom: var(--underline_height) solid transparent;
|
|
565
533
|
}
|
|
566
534
|
.flexlayout__border_button_leading {
|
|
567
535
|
display: flex;
|
|
@@ -574,9 +542,6 @@
|
|
|
574
542
|
border-radius: 4px;
|
|
575
543
|
visibility: hidden;
|
|
576
544
|
}
|
|
577
|
-
.flexlayout__border_button_trailing:hover {
|
|
578
|
-
background-color: var(--color-3);
|
|
579
|
-
}
|
|
580
545
|
@media (hover: hover) {
|
|
581
546
|
.flexlayout__border_button:hover .flexlayout__border_button_trailing {
|
|
582
547
|
visibility: visible;
|
|
@@ -609,7 +574,7 @@
|
|
|
609
574
|
}
|
|
610
575
|
@media (hover: hover) {
|
|
611
576
|
.flexlayout__border_toolbar_button:hover {
|
|
612
|
-
background-color: var(--color-
|
|
577
|
+
background-color: var(--color-toolbar-button-hover);
|
|
613
578
|
}
|
|
614
579
|
}
|
|
615
580
|
.flexlayout__border_toolbar_button_overflow {
|
|
@@ -677,18 +642,6 @@
|
|
|
677
642
|
display: flex;
|
|
678
643
|
align-items: center;
|
|
679
644
|
}
|
|
680
|
-
.flexlayout__tabset_sizer {
|
|
681
|
-
padding-top: 5px;
|
|
682
|
-
padding-bottom: 3px;
|
|
683
|
-
font-size: var(--font-size);
|
|
684
|
-
font-family: var(--font-family);
|
|
685
|
-
}
|
|
686
|
-
.flexlayout__tabset_header_sizer {
|
|
687
|
-
padding-top: 3px;
|
|
688
|
-
padding-bottom: 3px;
|
|
689
|
-
font-size: var(--font-size);
|
|
690
|
-
font-family: var(--font-family);
|
|
691
|
-
}
|
|
692
645
|
.flexlayout__border_sizer {
|
|
693
646
|
position: absolute;
|
|
694
647
|
top: -30000px;
|
|
@@ -724,6 +677,33 @@
|
|
|
724
677
|
}
|
|
725
678
|
}
|
|
726
679
|
|
|
680
|
+
/* ======================== End of Base Classes =========================== */
|
|
681
|
+
/*
|
|
682
|
+
underline theme overrides
|
|
683
|
+
*/
|
|
684
|
+
.flexlayout__tab_button {
|
|
685
|
+
padding: 2px 0.5em calc(4px - var(--underline_height)) 0.5em;
|
|
686
|
+
}
|
|
687
|
+
.flexlayout__tab_button--selected {
|
|
688
|
+
border-bottom: var(--underline_height) solid var(--color-underline);
|
|
689
|
+
}
|
|
690
|
+
.flexlayout__tab_button--unselected {
|
|
691
|
+
border-bottom: var(--underline_height) solid transparent;
|
|
692
|
+
}
|
|
693
|
+
.flexlayout__border_button {
|
|
694
|
+
padding: 2px 0.5em calc(4px - var(--underline_height)) 0.5em;
|
|
695
|
+
}
|
|
696
|
+
.flexlayout__border_button--selected {
|
|
697
|
+
border-bottom: var(--underline_height) solid var(--color-underline);
|
|
698
|
+
}
|
|
699
|
+
.flexlayout__border_button--unselected {
|
|
700
|
+
border-bottom: var(--underline_height) solid transparent;
|
|
701
|
+
}
|
|
702
|
+
.flexlayout__tabset_tab_divider, .flexlayout__border_tab_divider {
|
|
703
|
+
width: 1px;
|
|
704
|
+
margin: 4px 6px 4px 6px;
|
|
705
|
+
border-left: 1px solid #ddd;
|
|
706
|
+
}
|
|
727
707
|
.flexlayout__tab_button_textbox {
|
|
728
708
|
border: none;
|
|
729
709
|
}
|
package/style/underline.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["_themes.scss","_base.scss"],"names":[],"mappings":"AAwXQ;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;EAEA;EACA;EACA;EAEA;EACA;EACA;EAEA;;;AC/aR;AAAA;AAAA;AAII;EAnBJ;EACA;EACA;EACA;EACA;EAiBQ;EACA;;AAEA;EAxBR;EACA;EACA;EACA;EACA;EAsBY;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EAtCR;EACA;EACA;EACA;EAqCY;EACA;;AAIR;EA7CJ;EACA;EACA;EACA;EA4CQ;;AAGJ;EAlDJ;EACA;EACA;EACA;EAiDQ;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;IACI;IACA;IACA;IACA;;;AAOR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAEA;EACI;EACA;;AAGJ;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;EAzJJ;EACA;EACA;EACA;EAwJQ;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EA1KR;EACA;EACA;EACA;EAyKY;EACA;EACA;;AAGJ;EACI;;AAGJ;EArLR;EACA;EACA;EACA;EAoLY;EACA;EACA;;AAGJ;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAKJ;EAEI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EAEI;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAMhB;EACI;;AAGJ;EACI;;AAIR;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;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;IACI;;;AAKZ;EACI;EACA;;AAGJ;EACI;IACI;;;AAIR;EACI;EACA;;AASJ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAQR;EACI;IACI;;;AAIR;EACI;;AAGJ;EACI;EACA;EACA;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;;AAEA;EACI;IACI;;;AAaZ;EACI;EACA;EACA;EACA;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;EACA;EACA;;AAKZ;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;IAEI;;;AAIR;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AAUJ;EACI;IACI;;;AAIR;EACI;;AAIR;EACI;EACA;EACA;;AAEA;EAEI;EACA;EACA;;AAGJ;EAEI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;IACI;;;AAMR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAYhB;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAIR;EACI;IACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKJ;EACI;;AAGJ;EAtrBR;EACA;EACA;EACA;EACA;;AAurBI;EA3rBJ;EACA;EACA;EACA;EACA;EAyrBQ;EACA;;AAGJ;EACI;EACA;;AAOJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI;IACI;IACA;;;;AAMpB;AD9SA;AAAA;AAAA;AAKQ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EAEI;EACA;EACA;;AAGJ;EACI","file":"underline.css"}
|
package/style/underline.scss
CHANGED
|
@@ -1,191 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
$color_base: white !default;
|
|
4
|
-
$color_1: scale_color($color_base, $lightness: -2%) !default;
|
|
5
|
-
$color_2: scale_color($color_1, $lightness: -2%) !default;
|
|
6
|
-
$color_3: scale_color($color_2, $lightness: -3%) !default;
|
|
7
|
-
$color_4: scale_color($color_3, $lightness: -3%) !default;
|
|
8
|
-
$color_5: scale_color($color_4, $lightness: -3%) !default;
|
|
9
|
-
$color_6: scale_color($color_5, $lightness: -3%) !default;
|
|
10
|
-
$color_drag1: rgb(95, 134, 196) !default;
|
|
11
|
-
$color_drag2: rgb(119, 166, 119) !default;
|
|
12
|
-
$color_drag1_background: rgba(95, 134, 196, 0.1) !default;
|
|
13
|
-
$color_drag2_background: rgba(119, 166, 119, 0.075) !default;
|
|
1
|
+
@use "base";
|
|
2
|
+
@use "themes";
|
|
14
3
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
.flexlayout {
|
|
19
|
-
&__layout {
|
|
20
|
-
--color-text: #{$color_text};
|
|
21
|
-
--color-background: #{$color_background};
|
|
22
|
-
--color-base: #{$color_base};
|
|
23
|
-
--color-1: #{$color_1};
|
|
24
|
-
--color-2: #{$color_2};
|
|
25
|
-
--color-3: #{$color_3};
|
|
26
|
-
--color-4: #{$color_4};
|
|
27
|
-
--color-5: #{$color_5};
|
|
28
|
-
--color-6: #{$color_6};
|
|
29
|
-
--color-drag1: #{$color_drag1};
|
|
30
|
-
--color-drag2: #{$color_drag2};
|
|
31
|
-
--color-drag1-background: #{$color_drag1_background};
|
|
32
|
-
--color-drag2-background: #{$color_drag2_background};
|
|
33
|
-
|
|
34
|
-
--font-size: #{$font_size};
|
|
35
|
-
--font-family: #{$font_family};
|
|
36
|
-
|
|
37
|
-
--color-overflow: gray;
|
|
38
|
-
--color-icon: gray;
|
|
39
|
-
|
|
40
|
-
--color-tabset-background: var(--color-background);
|
|
41
|
-
--color-tabset-background-selected: var(--color-1);
|
|
42
|
-
--color-tabset-background-maximized: var(--color-6);
|
|
43
|
-
--color-tabset-divider-line: var(--color-3);
|
|
44
|
-
|
|
45
|
-
--color-tabset-header-background: var(--color-background);
|
|
46
|
-
--color-tabset-header: var(--color-text);
|
|
47
|
-
|
|
48
|
-
--color-border-tab-content: var(--color-background);
|
|
49
|
-
--color-border-background: var(--color-background);
|
|
50
|
-
--color-border-divider-line: var(--color-3);
|
|
51
|
-
|
|
52
|
-
--color-tab-content: var(--color-background);
|
|
53
|
-
--color-tab-selected: var(--color-text);
|
|
54
|
-
--color-tab-selected-background: transparent;
|
|
55
|
-
--color-tab-unselected: gray;
|
|
56
|
-
--color-tab-unselected-background: transparent;
|
|
57
|
-
--color-tab-textbox: var(--color-text);
|
|
58
|
-
--color-tab-textbox-background: var(--color-3);
|
|
59
|
-
|
|
60
|
-
--color-border-tab-selected: var(--color-text);
|
|
61
|
-
--color-border-tab-selected-background: transparent;
|
|
62
|
-
--color-border-tab-unselected: gray;
|
|
63
|
-
--color-border-tab-unselected-background: transparent;
|
|
64
|
-
|
|
65
|
-
--color-splitter: var(--color-1);
|
|
66
|
-
--color-splitter-hover: var(--color-4);
|
|
67
|
-
--color-splitter-drag: var(--color-4);
|
|
68
|
-
|
|
69
|
-
--color-drag-rect-border: var(--color-6);
|
|
70
|
-
--color-drag-rect-background: var(--color-4);
|
|
71
|
-
--color-drag-rect: var(--color-text);
|
|
72
|
-
|
|
73
|
-
--color-popup-border: var(--color-6);
|
|
74
|
-
--color-popup-unselected: var(--color-text);
|
|
75
|
-
--color-popup-unselected-background: #{$color_background};
|
|
76
|
-
--color-popup-selected: var(--color-text);
|
|
77
|
-
--color-popup-selected-background: var(--color-3);
|
|
78
|
-
|
|
79
|
-
--color-edge-marker: #aaa;
|
|
80
|
-
--color-edge-icon: #555;
|
|
81
|
-
|
|
82
|
-
--color-underline: rgb(65, 105, 225);
|
|
83
|
-
--color-underline-hover: #aaa;
|
|
84
|
-
--underline_height: 3px;
|
|
85
|
-
|
|
86
|
-
--color-mini-scroll-indicator:rgba(128, 128, 128, 0.5);
|
|
87
|
-
--color-mini-scroll-indicator-hovered:rgba(128, 128, 128, 0.7);
|
|
88
|
-
--size-mini-scroll-indicator:4px;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@mixin tabset_mixin {
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@mixin tabset_tabbar_mixin {
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@mixin tabset_header_mixin {
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@mixin tabset_selected_mixin {
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@mixin tabset_maximized_mixin {
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
@mixin tab_top_mixin {
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
@mixin tab_bottom_mixin {
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@mixin tab_button_mixin {
|
|
114
|
-
padding: 2px 0.5em calc(4px - var(--underline_height)) 0.5em;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@mixin tab_button_selected_mixin {
|
|
118
|
-
border-bottom: var(--underline_height) solid var(--color-underline);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@mixin tab_button_unselected_mixin {
|
|
122
|
-
color: gray;
|
|
123
|
-
border-bottom: var(--underline_height) solid transparent;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@mixin tab_button_hovered_mixin {
|
|
127
|
-
// border-bottom: var(--underline_height) solid var(--color-underline-hover);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@mixin close_button_hovered_mixin {
|
|
131
|
-
background-color:var(--color-3);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@mixin toolbar_button_hovered_mixin {
|
|
135
|
-
background-color:var(--color-2);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@mixin tab_button_stretch_mixin {
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
@mixin tab_button_stretch_hovered_mixin {
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@mixin border_mixin {
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@mixin border_button_mixin {
|
|
148
|
-
padding: 2px 0.5em calc(4px - var(--underline_height)) 0.5em;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@mixin border_button_selected_mixin {
|
|
152
|
-
border-bottom: var(--underline_height) solid var(--color-underline);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
@mixin border_button_unselected_mixin {
|
|
156
|
-
border-bottom: var(--underline_height) solid transparent;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
@mixin border_button_hovered_mixin {
|
|
160
|
-
border-bottom: var(--underline_height) solid var(--color-underline-hover);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@mixin splitter_mixin {
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
@mixin splitter_hover_mixin {
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@mixin splitter_drag_mixin {
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
@mixin splitter_border_mixin {
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@mixin tabset_tab_divider_mixin {
|
|
176
|
-
width: 1px;
|
|
177
|
-
margin: 4px 6px 4px 6px;
|
|
178
|
-
border-left: 1px solid #ddd;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
@mixin border_tab_divider_mixin {
|
|
182
|
-
width: 1px;
|
|
183
|
-
margin: 4px 6px 4px 6px;
|
|
184
|
-
border-left: 1px solid #ddd;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@import "_base";
|
|
188
|
-
|
|
189
|
-
.flexlayout__tab_button_textbox {
|
|
190
|
-
border:none;
|
|
191
|
-
}
|
|
4
|
+
@include themes.underline_theme;
|
|
5
|
+
@include base.baseMixin;
|
|
6
|
+
@include themes.underline_theme_overrides;
|
package/.editorconfig
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
name: '🐛 Bug report'
|
|
2
|
-
description: Create a report to help us improve
|
|
3
|
-
body:
|
|
4
|
-
- type: markdown
|
|
5
|
-
attributes:
|
|
6
|
-
value: |
|
|
7
|
-
Thank you for reporting an issue :pray:.
|
|
8
|
-
|
|
9
|
-
This issue tracker is for reporting bugs found in `FlexLayout` (https://github.com/caplin/FlexLayout).
|
|
10
|
-
If you have a question about how to achieve something and are struggling, please post a question
|
|
11
|
-
inside of `FlexLayout` Discussions tab: https://github.com/caplin/FlexLayout/discussions
|
|
12
|
-
|
|
13
|
-
Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already:
|
|
14
|
-
- `FlexLayout` Issues tab: https://github.com/caplin/FlexLayout/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
|
|
15
|
-
- `FlexLayout` closed issues tab: https://github.com/caplin/FlexLayout/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed
|
|
16
|
-
- `FlexLayout` Discussions tab: https://github.com/caplin/FlexLayout/discussions
|
|
17
|
-
|
|
18
|
-
The more information you fill in, the better the community can help you.
|
|
19
|
-
- type: textarea
|
|
20
|
-
id: description
|
|
21
|
-
attributes:
|
|
22
|
-
label: Describe the bug
|
|
23
|
-
description: Provide a clear and concise description of the challenge you are running into.
|
|
24
|
-
validations:
|
|
25
|
-
required: true
|
|
26
|
-
- type: input
|
|
27
|
-
id: link
|
|
28
|
-
attributes:
|
|
29
|
-
label: Your Example Website or App
|
|
30
|
-
description: |
|
|
31
|
-
Which website or app were you using when the bug happened?
|
|
32
|
-
Note:
|
|
33
|
-
- Your bug will may get fixed much faster if we can run your code and it doesn't have dependencies other than the `FlexLayout` npm package.
|
|
34
|
-
- To create a shareable code example you can use Stackblitz (https://stackblitz.com/). Please no localhost URLs.
|
|
35
|
-
- Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve.
|
|
36
|
-
placeholder: |
|
|
37
|
-
e.g. https://stackblitz.com/edit/...... OR Github Repo
|
|
38
|
-
validations:
|
|
39
|
-
required: false
|
|
40
|
-
- type: textarea
|
|
41
|
-
id: steps
|
|
42
|
-
attributes:
|
|
43
|
-
label: Steps to Reproduce the Bug or Issue
|
|
44
|
-
description: Describe the steps we have to take to reproduce the behavior.
|
|
45
|
-
placeholder: |
|
|
46
|
-
1. Go to '...'
|
|
47
|
-
2. Click on '....'
|
|
48
|
-
3. Scroll down to '....'
|
|
49
|
-
4. See error
|
|
50
|
-
validations:
|
|
51
|
-
required: true
|
|
52
|
-
- type: textarea
|
|
53
|
-
id: expected
|
|
54
|
-
attributes:
|
|
55
|
-
label: Expected behavior
|
|
56
|
-
description: Provide a clear and concise description of what you expected to happen.
|
|
57
|
-
placeholder: |
|
|
58
|
-
As a user, I expected ___ behavior, but I am seeing ___
|
|
59
|
-
validations:
|
|
60
|
-
required: true
|
|
61
|
-
- type: input
|
|
62
|
-
id: os
|
|
63
|
-
attributes:
|
|
64
|
-
label: Operating System
|
|
65
|
-
description: What opearting system are you using?
|
|
66
|
-
placeholder: |
|
|
67
|
-
- OS: [e.g. macOS, Windows, Linux]
|
|
68
|
-
validations:
|
|
69
|
-
required: true
|
|
70
|
-
- type: input
|
|
71
|
-
id: browsers
|
|
72
|
-
attributes:
|
|
73
|
-
label: Browser Type?
|
|
74
|
-
description: What browsers are you seeing the problem on?
|
|
75
|
-
placeholder: |
|
|
76
|
-
- OS: [e.g. Google Chrome, Safari, Firefox, Opera etc]
|
|
77
|
-
validations:
|
|
78
|
-
required: true
|
|
79
|
-
- type: input
|
|
80
|
-
id: browser_version
|
|
81
|
-
attributes:
|
|
82
|
-
label: Browser Version
|
|
83
|
-
description: What browser version are you using?
|
|
84
|
-
placeholder: |
|
|
85
|
-
- Version: [e.g. 91.1]
|
|
86
|
-
validations:
|
|
87
|
-
required: true
|
|
88
|
-
- type: textarea
|
|
89
|
-
id: screenshots_or_videos
|
|
90
|
-
attributes:
|
|
91
|
-
label: Screenshots or Videos
|
|
92
|
-
description: |
|
|
93
|
-
If applicable, add screenshots or a video to help explain your problem.
|
|
94
|
-
For more information on the supported file image/file types and the file size limits, please refer
|
|
95
|
-
to the following link: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files
|
|
96
|
-
placeholder: |
|
|
97
|
-
You can drag your video or image files inside of this editor ↓
|
|
98
|
-
validations:
|
|
99
|
-
required: true
|
|
100
|
-
- type: textarea
|
|
101
|
-
id: additional
|
|
102
|
-
attributes:
|
|
103
|
-
label: Additional context
|
|
104
|
-
description: Add any other context about the problem here.
|
package/.prettierrc.json
DELETED
package/Screenshot_light.png
DELETED
|
Binary file
|
package/Screenshot_rounded.png
DELETED
|
Binary file
|