wenay-react2 1.0.36 → 1.0.38
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/README.md +5 -4
- package/lib/common/src/components/Modal/ModalContextProvider.js +1 -1
- package/lib/common/src/components/Settings/SettingsDialog.d.ts +12 -2
- package/lib/common/src/components/Settings/SettingsDialog.js +401 -16
- package/lib/common/src/components/Toolbar/Toolbar.d.ts +21 -2
- package/lib/common/src/components/Toolbar/Toolbar.js +84 -14
- package/lib/common/src/grid/columnState/CardList.js +5 -2
- package/lib/common/src/grid/columnState/ColumnDots.js +8 -18
- package/lib/common/src/grid/columnState/columnState.d.ts +4 -0
- package/lib/common/src/grid/columnState/columnState.js +39 -14
- package/lib/common/src/hooks/useReplay.d.ts +54 -0
- package/lib/common/src/hooks/useReplay.js +222 -0
- package/lib/common/src/logs/logStyles.d.ts +13 -0
- package/lib/common/src/logs/logStyles.js +18 -0
- package/lib/common/src/logs/logs.js +5 -7
- package/lib/common/src/logs/logsContext.js +22 -26
- package/lib/common/src/menu/menu.d.ts +2 -1
- package/lib/common/src/menu/menu.js +28 -21
- package/lib/common/src/styles/tokens.d.ts +14 -1
- package/lib/common/src/styles/tokens.js +14 -1
- package/lib/common/src/utils/index.d.ts +1 -0
- package/lib/common/src/utils/index.js +1 -0
- package/lib/common/src/utils/searchHistory.d.ts +14 -0
- package/lib/common/src/utils/searchHistory.js +59 -0
- package/lib/style/menuRight.css +2 -2
- package/lib/style/style.css +563 -54
- package/lib/style/tokens.css +15 -3
- package/package.json +2 -2
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { renderBy, updateBy } from "../../updateBy";
|
|
2
|
+
import { memoryGetOrCreate, memoryMarkDirty } from "./memoryStore";
|
|
3
|
+
function normalizeSearchHistoryItem(value) {
|
|
4
|
+
return value.replace(/\s+/g, " ").trim();
|
|
5
|
+
}
|
|
6
|
+
export function createSearchHistory(opts) {
|
|
7
|
+
const max = Math.max(1, opts.max ?? 8);
|
|
8
|
+
const st = memoryGetOrCreate(opts.key, { items: [] });
|
|
9
|
+
function normalize() {
|
|
10
|
+
const seen = new Set();
|
|
11
|
+
st.items = st.items
|
|
12
|
+
.map(normalizeSearchHistoryItem)
|
|
13
|
+
.filter(Boolean)
|
|
14
|
+
.filter(item => {
|
|
15
|
+
const k = item.toLocaleLowerCase();
|
|
16
|
+
if (seen.has(k))
|
|
17
|
+
return false;
|
|
18
|
+
seen.add(k);
|
|
19
|
+
return true;
|
|
20
|
+
})
|
|
21
|
+
.slice(0, max);
|
|
22
|
+
return st.items;
|
|
23
|
+
}
|
|
24
|
+
function emit() {
|
|
25
|
+
normalize();
|
|
26
|
+
renderBy(st);
|
|
27
|
+
memoryMarkDirty(opts.key);
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
get items() {
|
|
31
|
+
return normalize().slice();
|
|
32
|
+
},
|
|
33
|
+
use() {
|
|
34
|
+
updateBy(st);
|
|
35
|
+
return normalize().slice();
|
|
36
|
+
},
|
|
37
|
+
add(value) {
|
|
38
|
+
const item = normalizeSearchHistoryItem(value);
|
|
39
|
+
if (!item)
|
|
40
|
+
return;
|
|
41
|
+
st.items = [item, ...st.items.filter(e => e.toLocaleLowerCase() != item.toLocaleLowerCase())];
|
|
42
|
+
emit();
|
|
43
|
+
},
|
|
44
|
+
remove(value) {
|
|
45
|
+
const item = normalizeSearchHistoryItem(value);
|
|
46
|
+
const next = st.items.filter(e => e.toLocaleLowerCase() != item.toLocaleLowerCase());
|
|
47
|
+
if (next.length == st.items.length)
|
|
48
|
+
return;
|
|
49
|
+
st.items = next;
|
|
50
|
+
emit();
|
|
51
|
+
},
|
|
52
|
+
clear() {
|
|
53
|
+
if (st.items.length == 0)
|
|
54
|
+
return;
|
|
55
|
+
st.items = [];
|
|
56
|
+
emit();
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
}
|
package/lib/style/menuRight.css
CHANGED
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
|
|
97
97
|
/* If the animation completed, the outline remains */
|
|
98
98
|
.draggable-div.outline-complete::after {
|
|
99
|
-
border-color:
|
|
99
|
+
border-color: var(--menu-outline-color);
|
|
100
100
|
/* Ensure the pseudo-element shows the full outline */
|
|
101
101
|
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
|
102
102
|
}
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
clip-path: polygon(0 0, 0 0, 0 0, 0 0);
|
|
109
109
|
}
|
|
110
110
|
25% {
|
|
111
|
-
border-color:
|
|
111
|
+
border-color: var(--menu-outline-color);
|
|
112
112
|
/* Draw the top line */
|
|
113
113
|
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
|
|
114
114
|
}
|
package/lib/style/style.css
CHANGED
|
@@ -186,12 +186,29 @@ input:invalid {
|
|
|
186
186
|
display: block;
|
|
187
187
|
padding: 8px 10px;
|
|
188
188
|
}
|
|
189
|
-
.toButtonA:hover {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
189
|
+
.toButtonA:hover {
|
|
190
|
+
color: var(--base-color-hover);
|
|
191
|
+
}
|
|
192
|
+
.toButtonEasy:hover {
|
|
193
|
+
color: var(--color-text-theme);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/* Mouse context menu items (Menu/MenuR). Keep legacy class names, but route
|
|
197
|
+
menu-specific colors through the shared --menu-* token contract. */
|
|
198
|
+
.MenuR.toButton,
|
|
199
|
+
.MenuR.toButtonA {
|
|
200
|
+
color: var(--menu-item-color);
|
|
201
|
+
border-bottom: var(--menu-border);
|
|
202
|
+
}
|
|
203
|
+
.MenuR.toButtonA {
|
|
204
|
+
background: var(--menu-active-background);
|
|
205
|
+
}
|
|
206
|
+
.MenuR.toButton:hover,
|
|
207
|
+
.MenuR.toButton:active,
|
|
208
|
+
.MenuR.toButtonA:hover {
|
|
209
|
+
background: var(--menu-item-hover-bg-color);
|
|
210
|
+
color: var(--menu-item-hover-color);
|
|
211
|
+
border-bottom: var(--menu-border);
|
|
195
212
|
}
|
|
196
213
|
|
|
197
214
|
/* Menu indicator elements */
|
|
@@ -386,54 +403,529 @@ body {
|
|
|
386
403
|
right: var(--wnd-close-right, -12px);
|
|
387
404
|
}
|
|
388
405
|
|
|
389
|
-
/* Settings dialog (SettingsDialog). Themed via --dlg-* (tokens.css), dark defaults. */
|
|
390
|
-
.wenayDlgScrim {
|
|
391
|
-
position: fixed;
|
|
392
|
-
inset: 0;
|
|
393
|
-
z-index: var(--wenay-z-modal, 9999);
|
|
394
|
-
background: var(--dlg-scrim, rgba(0, 0, 0, 0.5));
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
406
|
+
/* Settings dialog (SettingsDialog). Themed via --dlg-* (tokens.css), dark defaults. */
|
|
407
|
+
.wenayDlgScrim {
|
|
408
|
+
position: fixed;
|
|
409
|
+
inset: 0;
|
|
410
|
+
z-index: var(--wenay-z-modal, 9999);
|
|
411
|
+
background: var(--dlg-scrim, rgba(0, 0, 0, 0.5));
|
|
412
|
+
}
|
|
413
|
+
.wenayDlgOutside {
|
|
414
|
+
position: absolute;
|
|
415
|
+
top: 50%;
|
|
416
|
+
left: 50%;
|
|
417
|
+
}
|
|
418
|
+
.wenayDlgWindow {
|
|
419
|
+
--wnd-bg: var(--dlg-bg, var(--color-bg-dark));
|
|
420
|
+
--wnd-border: var(--dlg-border, 1px solid var(--color-border-common));
|
|
421
|
+
--wnd-radius: var(--dlg-radius, 10px);
|
|
422
|
+
--wnd-shadow: var(--dlg-shadow, 0 12px 40px rgba(0, 0, 0, 0.5));
|
|
423
|
+
--wnd-header-bg: var(--dlg-nav-bg, var(--color-bg-light));
|
|
424
|
+
--wnd-header-border: 1px solid rgba(255, 255, 255, 0.08);
|
|
425
|
+
--wnd-header-padding: 0;
|
|
426
|
+
--wnd-close-size: 24px;
|
|
427
|
+
--wnd-close-top: 6px;
|
|
428
|
+
--wnd-close-right: 8px;
|
|
429
|
+
--wnd-close-bg: transparent;
|
|
430
|
+
--wnd-close-border: 1px solid transparent;
|
|
431
|
+
--wnd-close-shadow: none;
|
|
432
|
+
max-width: 92vw;
|
|
433
|
+
max-height: 82vh;
|
|
434
|
+
}
|
|
435
|
+
.wenayDlgWindow .wenayWnd {
|
|
436
|
+
color: var(--color-text-base);
|
|
437
|
+
overflow: hidden;
|
|
438
|
+
}
|
|
439
|
+
.wenayDlgWindow .wenayWndHeader {
|
|
440
|
+
cursor: grab;
|
|
441
|
+
}
|
|
442
|
+
.wenayDlgWindow .wenayWndHeader:active {
|
|
443
|
+
cursor: grabbing;
|
|
444
|
+
}
|
|
445
|
+
.wenayDlgHeader {
|
|
446
|
+
height: 36px;
|
|
447
|
+
box-sizing: border-box;
|
|
448
|
+
display: flex;
|
|
449
|
+
align-items: center;
|
|
450
|
+
padding: 0 44px 0 14px;
|
|
451
|
+
font-size: 13px;
|
|
452
|
+
font-weight: 600;
|
|
453
|
+
color: var(--color-text-base);
|
|
454
|
+
}
|
|
455
|
+
.wenayDlgTriggerBar {
|
|
456
|
+
--tb-bg: var(--dlg-nav-bg, var(--color-bg-light));
|
|
457
|
+
padding: 2px;
|
|
458
|
+
vertical-align: middle;
|
|
459
|
+
}
|
|
460
|
+
.wenayDlgTriggerItem {
|
|
461
|
+
width: 24px;
|
|
462
|
+
height: 24px;
|
|
463
|
+
justify-content: center;
|
|
464
|
+
padding: 0;
|
|
465
|
+
}
|
|
466
|
+
.wenayDlg {
|
|
467
|
+
display: flex;
|
|
468
|
+
width: 100%;
|
|
469
|
+
height: 100%;
|
|
470
|
+
min-width: 0;
|
|
471
|
+
min-height: 0;
|
|
472
|
+
background: var(--dlg-bg, var(--color-bg-dark));
|
|
473
|
+
color: var(--color-text-base);
|
|
474
|
+
overflow: hidden;
|
|
475
|
+
}
|
|
476
|
+
.wenayDlgNav {
|
|
477
|
+
width: var(--dlg-nav-width, 220px);
|
|
478
|
+
flex: none;
|
|
479
|
+
min-width: 0;
|
|
480
|
+
background: var(--dlg-nav-bg, var(--color-bg-light));
|
|
481
|
+
padding: 8px 6px;
|
|
482
|
+
display: flex;
|
|
483
|
+
flex-direction: column;
|
|
484
|
+
gap: 5px;
|
|
485
|
+
overflow: hidden;
|
|
486
|
+
}
|
|
487
|
+
.wenayDlgNavTop {
|
|
488
|
+
position: relative;
|
|
489
|
+
flex: none;
|
|
490
|
+
display: flex;
|
|
491
|
+
align-items: center;
|
|
492
|
+
gap: 4px;
|
|
493
|
+
}
|
|
494
|
+
.wenayDlgSearchBox {
|
|
495
|
+
position: relative;
|
|
496
|
+
flex: 1;
|
|
497
|
+
min-width: 0;
|
|
498
|
+
}
|
|
499
|
+
.wenayDlgSearch {
|
|
500
|
+
width: 100%;
|
|
501
|
+
box-sizing: border-box;
|
|
502
|
+
height: 24px;
|
|
503
|
+
padding: 3px 44px 3px 7px;
|
|
504
|
+
border-radius: 6px;
|
|
505
|
+
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
506
|
+
background: rgba(0, 0, 0, 0.16);
|
|
507
|
+
color: inherit;
|
|
508
|
+
outline: none;
|
|
509
|
+
}
|
|
510
|
+
.wenayDlgSearchHistoryBtn,
|
|
511
|
+
.wenayDlgSearchClear {
|
|
512
|
+
position: absolute;
|
|
513
|
+
top: 50%;
|
|
514
|
+
transform: translateY(-50%);
|
|
515
|
+
width: 18px;
|
|
516
|
+
height: 18px;
|
|
517
|
+
display: inline-flex;
|
|
518
|
+
align-items: center;
|
|
519
|
+
justify-content: center;
|
|
520
|
+
padding: 0;
|
|
521
|
+
border: 0;
|
|
522
|
+
border-radius: 4px;
|
|
523
|
+
background: transparent;
|
|
524
|
+
color: rgba(255, 255, 255, 0.68);
|
|
525
|
+
cursor: pointer;
|
|
526
|
+
}
|
|
527
|
+
.wenayDlgSearchHistoryBtn {
|
|
528
|
+
right: 22px;
|
|
529
|
+
}
|
|
530
|
+
.wenayDlgSearchClear {
|
|
531
|
+
right: 4px;
|
|
532
|
+
}
|
|
533
|
+
.wenayDlgSearchHistoryBtn svg {
|
|
534
|
+
fill: none;
|
|
535
|
+
stroke: currentColor;
|
|
536
|
+
stroke-width: 1.5;
|
|
537
|
+
stroke-linecap: round;
|
|
538
|
+
stroke-linejoin: round;
|
|
539
|
+
}
|
|
540
|
+
.wenayDlgSearchHistoryBtn:hover,
|
|
541
|
+
.wenayDlgSearchHistoryBtn:focus-visible,
|
|
542
|
+
.wenayDlgSearchClear:hover,
|
|
543
|
+
.wenayDlgSearchClear:focus-visible {
|
|
544
|
+
background: rgba(255, 255, 255, 0.1);
|
|
545
|
+
color: #fff;
|
|
546
|
+
outline: none;
|
|
547
|
+
}
|
|
548
|
+
.wenayDlgSearch:focus {
|
|
549
|
+
border-color: #0969da;
|
|
550
|
+
box-shadow: 0 0 0 1px rgba(9, 105, 218, 0.35);
|
|
551
|
+
}
|
|
552
|
+
.wenayDlgSearchHistory {
|
|
553
|
+
position: absolute;
|
|
554
|
+
z-index: 3;
|
|
555
|
+
top: calc(100% + 4px);
|
|
556
|
+
left: 0;
|
|
557
|
+
right: 0;
|
|
558
|
+
max-height: 180px;
|
|
559
|
+
overflow: auto;
|
|
560
|
+
padding: 4px;
|
|
561
|
+
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
562
|
+
border-radius: 6px;
|
|
563
|
+
background: var(--dlg-bg, var(--color-bg-dark));
|
|
564
|
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
|
|
565
|
+
}
|
|
566
|
+
.wenayDlgSearchHistoryItem,
|
|
567
|
+
.wenayDlgSearchHistoryClear {
|
|
568
|
+
width: 100%;
|
|
569
|
+
min-height: 24px;
|
|
570
|
+
box-sizing: border-box;
|
|
571
|
+
display: block;
|
|
572
|
+
padding: 4px 7px;
|
|
573
|
+
border: 0;
|
|
574
|
+
border-radius: 4px;
|
|
575
|
+
background: transparent;
|
|
576
|
+
color: inherit;
|
|
577
|
+
text-align: left;
|
|
578
|
+
overflow: hidden;
|
|
579
|
+
text-overflow: ellipsis;
|
|
580
|
+
white-space: nowrap;
|
|
581
|
+
cursor: pointer;
|
|
582
|
+
}
|
|
583
|
+
.wenayDlgSearchHistoryClear {
|
|
584
|
+
margin-top: 3px;
|
|
585
|
+
color: rgba(255, 255, 255, 0.58);
|
|
586
|
+
}
|
|
587
|
+
.wenayDlgSearchHistoryItem:hover,
|
|
588
|
+
.wenayDlgSearchHistoryItem:focus-visible,
|
|
589
|
+
.wenayDlgSearchHistoryClear:hover,
|
|
590
|
+
.wenayDlgSearchHistoryClear:focus-visible {
|
|
591
|
+
background: rgba(255, 255, 255, 0.09);
|
|
592
|
+
color: #fff;
|
|
593
|
+
outline: none;
|
|
594
|
+
}
|
|
595
|
+
.wenayDlgTreeTool {
|
|
596
|
+
width: 22px;
|
|
597
|
+
height: 24px;
|
|
598
|
+
flex: none;
|
|
599
|
+
display: inline-flex;
|
|
600
|
+
align-items: center;
|
|
601
|
+
justify-content: center;
|
|
602
|
+
padding: 0;
|
|
603
|
+
border: 1px solid transparent;
|
|
604
|
+
border-radius: 5px;
|
|
605
|
+
background: transparent;
|
|
606
|
+
color: rgba(255, 255, 255, 0.72);
|
|
607
|
+
cursor: pointer;
|
|
608
|
+
}
|
|
609
|
+
.wenayDlgTreeTool:hover,
|
|
610
|
+
.wenayDlgTreeTool:focus-visible {
|
|
611
|
+
background: rgba(255, 255, 255, 0.08);
|
|
612
|
+
color: #fff;
|
|
613
|
+
outline: none;
|
|
614
|
+
}
|
|
615
|
+
.wenayDlgTreeToolDots {
|
|
616
|
+
width: 12px;
|
|
617
|
+
height: 14px;
|
|
618
|
+
display: grid;
|
|
619
|
+
grid-template-rows: repeat(3, 1fr);
|
|
620
|
+
align-items: center;
|
|
621
|
+
justify-items: center;
|
|
622
|
+
}
|
|
623
|
+
.wenayDlgTreeToolDots span {
|
|
624
|
+
width: 3px;
|
|
625
|
+
height: 3px;
|
|
626
|
+
border-radius: 50%;
|
|
627
|
+
background: currentColor;
|
|
628
|
+
opacity: 0.36;
|
|
629
|
+
}
|
|
630
|
+
.wenayDlgTreeTool_expanded .wenayDlgTreeToolDots span,
|
|
631
|
+
.wenayDlgTreeTool_branch .wenayDlgTreeToolDots span:nth-child(-n+2),
|
|
632
|
+
.wenayDlgTreeTool_collapsed .wenayDlgTreeToolDots span:first-child {
|
|
633
|
+
opacity: 1;
|
|
634
|
+
}
|
|
635
|
+
.wenayDlgTree {
|
|
636
|
+
flex: 1;
|
|
637
|
+
min-height: 0;
|
|
638
|
+
display: flex;
|
|
639
|
+
flex-direction: column;
|
|
640
|
+
gap: 1px;
|
|
641
|
+
overflow: auto;
|
|
642
|
+
}
|
|
643
|
+
.wenayDlgTreeRow {
|
|
644
|
+
display: flex;
|
|
645
|
+
align-items: center;
|
|
646
|
+
gap: 3px;
|
|
647
|
+
min-height: 22px;
|
|
648
|
+
box-sizing: border-box;
|
|
649
|
+
outline: none;
|
|
650
|
+
}
|
|
651
|
+
.wenayDlgTreeRow.wenayDlgSection {
|
|
652
|
+
padding: 2px 5px;
|
|
653
|
+
}
|
|
654
|
+
.wenayDlgTreeRow:focus-visible {
|
|
655
|
+
box-shadow: 0 0 0 1px rgba(9, 105, 218, 0.65) inset;
|
|
656
|
+
}
|
|
657
|
+
.wenayDlgTreeToggle {
|
|
658
|
+
position: relative;
|
|
659
|
+
width: 14px;
|
|
660
|
+
height: 16px;
|
|
661
|
+
flex: none;
|
|
662
|
+
padding: 0;
|
|
663
|
+
border: 0;
|
|
664
|
+
border-radius: 4px;
|
|
665
|
+
background: transparent;
|
|
666
|
+
color: inherit;
|
|
667
|
+
cursor: pointer;
|
|
668
|
+
opacity: 0.75;
|
|
669
|
+
}
|
|
670
|
+
.wenayDlgTreeToggle:hover {
|
|
671
|
+
background: rgba(255, 255, 255, 0.08);
|
|
672
|
+
opacity: 1;
|
|
673
|
+
}
|
|
674
|
+
.wenayDlgTreeToggle::before {
|
|
675
|
+
content: "";
|
|
676
|
+
position: absolute;
|
|
677
|
+
left: 5px;
|
|
678
|
+
top: 4px;
|
|
679
|
+
width: 0;
|
|
680
|
+
height: 0;
|
|
681
|
+
border-top: 3px solid transparent;
|
|
682
|
+
border-bottom: 3px solid transparent;
|
|
683
|
+
border-left: 4px solid currentColor;
|
|
684
|
+
transform-origin: 2px 3px;
|
|
685
|
+
transition: transform 120ms ease;
|
|
686
|
+
}
|
|
687
|
+
.wenayDlgTreeToggleOpen::before {
|
|
688
|
+
transform: rotate(90deg);
|
|
689
|
+
}
|
|
690
|
+
.wenayDlgTreeToggleEmpty {
|
|
691
|
+
visibility: hidden;
|
|
692
|
+
pointer-events: none;
|
|
693
|
+
}
|
|
694
|
+
.wenayDlgTreeLabel {
|
|
695
|
+
flex: 1;
|
|
696
|
+
min-width: 0;
|
|
697
|
+
overflow: hidden;
|
|
698
|
+
text-overflow: ellipsis;
|
|
699
|
+
white-space: nowrap;
|
|
700
|
+
}
|
|
701
|
+
.wenayDlgTreeMark {
|
|
702
|
+
border-radius: 3px;
|
|
703
|
+
padding: 0 1px;
|
|
704
|
+
background: rgba(255, 212, 0, 0.34);
|
|
705
|
+
color: inherit;
|
|
706
|
+
font-weight: 700;
|
|
707
|
+
}
|
|
708
|
+
.wenayDlgNoResults {
|
|
709
|
+
padding: 8px 10px;
|
|
710
|
+
color: rgba(255, 255, 255, 0.62);
|
|
711
|
+
font-size: 12px;
|
|
712
|
+
}
|
|
713
|
+
.wenayDlg_resizing {
|
|
714
|
+
cursor: col-resize;
|
|
715
|
+
user-select: none;
|
|
716
|
+
}
|
|
717
|
+
.wenayDlgDivider {
|
|
718
|
+
position: relative;
|
|
719
|
+
width: 7px;
|
|
720
|
+
flex: none;
|
|
721
|
+
cursor: col-resize;
|
|
722
|
+
touch-action: none;
|
|
723
|
+
background: transparent;
|
|
724
|
+
}
|
|
725
|
+
.wenayDlgDivider span {
|
|
726
|
+
position: absolute;
|
|
727
|
+
top: 8px;
|
|
728
|
+
bottom: 8px;
|
|
729
|
+
left: 3px;
|
|
730
|
+
width: 1px;
|
|
731
|
+
background: rgba(255, 255, 255, 0.12);
|
|
732
|
+
}
|
|
733
|
+
.wenayDlgDivider:hover span,
|
|
734
|
+
.wenayDlgDivider:focus-visible span {
|
|
735
|
+
background: #0969da;
|
|
736
|
+
}
|
|
737
|
+
.wenayDlgDivider:focus-visible {
|
|
738
|
+
outline: none;
|
|
739
|
+
}
|
|
740
|
+
.wenayDlgContent {
|
|
741
|
+
position: relative;
|
|
742
|
+
flex: 1;
|
|
743
|
+
min-width: 0;
|
|
744
|
+
padding: 14px 40px 14px 16px;
|
|
745
|
+
overflow: auto;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
/* Column state mobile primitives (ColumnDots/CardList). Visual defaults mirror the
|
|
749
|
+
original stand-29 inline look; apps can still override with className/style. */
|
|
750
|
+
.wenayColDots {
|
|
751
|
+
user-select: none;
|
|
752
|
+
color: #24292f;
|
|
753
|
+
}
|
|
754
|
+
.wenayColDotsHead {
|
|
755
|
+
display: flex;
|
|
756
|
+
align-items: center;
|
|
757
|
+
gap: 10px;
|
|
758
|
+
margin-bottom: 6px;
|
|
759
|
+
font-size: 12px;
|
|
760
|
+
}
|
|
761
|
+
.wenayColDotsMeta {
|
|
762
|
+
color: #57606a;
|
|
763
|
+
}
|
|
764
|
+
.wenayColDotsSpacer {
|
|
765
|
+
flex: 1;
|
|
766
|
+
}
|
|
767
|
+
.wenayColDotsSort {
|
|
768
|
+
border: 1px solid #6e7781;
|
|
769
|
+
border-radius: 6px;
|
|
770
|
+
padding: 2px 8px;
|
|
771
|
+
font-size: 12px;
|
|
772
|
+
cursor: pointer;
|
|
773
|
+
background: #fff;
|
|
774
|
+
}
|
|
775
|
+
.wenayColDotsSort:disabled {
|
|
776
|
+
cursor: default;
|
|
777
|
+
opacity: 0.5;
|
|
778
|
+
}
|
|
779
|
+
.wenayColDotsTrack {
|
|
780
|
+
position: relative;
|
|
781
|
+
height: 56px;
|
|
782
|
+
margin: 0 14px;
|
|
783
|
+
touch-action: none;
|
|
784
|
+
}
|
|
785
|
+
.wenayColDotsRail {
|
|
786
|
+
position: absolute;
|
|
787
|
+
left: -8px;
|
|
788
|
+
right: -8px;
|
|
789
|
+
top: 27px;
|
|
790
|
+
height: 2px;
|
|
791
|
+
border-radius: 1px;
|
|
792
|
+
background: #d0d7de;
|
|
793
|
+
}
|
|
794
|
+
.wenayColDotsMark {
|
|
795
|
+
position: absolute;
|
|
796
|
+
top: 0;
|
|
797
|
+
width: 44px;
|
|
798
|
+
height: 56px;
|
|
799
|
+
margin-left: -22px;
|
|
800
|
+
}
|
|
801
|
+
.wenayColDotsSortMark {
|
|
802
|
+
position: absolute;
|
|
803
|
+
left: 0;
|
|
804
|
+
right: 0;
|
|
805
|
+
top: 0;
|
|
806
|
+
text-align: center;
|
|
807
|
+
font-size: 11px;
|
|
808
|
+
color: #0969da;
|
|
809
|
+
font-weight: 700;
|
|
810
|
+
}
|
|
811
|
+
.wenayColDotsMarkPin {
|
|
812
|
+
position: absolute;
|
|
813
|
+
left: 50%;
|
|
814
|
+
top: 24px;
|
|
815
|
+
width: 8px;
|
|
816
|
+
height: 8px;
|
|
817
|
+
margin-left: -4px;
|
|
818
|
+
border-radius: 4px;
|
|
819
|
+
background: #afb8c1;
|
|
820
|
+
}
|
|
821
|
+
.wenayColDotsMark_on .wenayColDotsMarkPin {
|
|
822
|
+
background: transparent;
|
|
823
|
+
}
|
|
824
|
+
.wenayColDotsMarkLabel {
|
|
825
|
+
position: absolute;
|
|
826
|
+
left: 0;
|
|
827
|
+
right: 0;
|
|
828
|
+
top: 40px;
|
|
829
|
+
text-align: center;
|
|
830
|
+
font-size: 10px;
|
|
831
|
+
color: #8c959f;
|
|
832
|
+
overflow: hidden;
|
|
833
|
+
text-overflow: ellipsis;
|
|
834
|
+
white-space: nowrap;
|
|
835
|
+
}
|
|
836
|
+
.wenayColDotsMark_on .wenayColDotsMarkLabel {
|
|
837
|
+
color: #24292f;
|
|
838
|
+
}
|
|
839
|
+
.wenayColDotsDotWrap {
|
|
840
|
+
position: absolute;
|
|
841
|
+
left: 0;
|
|
842
|
+
top: 28px;
|
|
843
|
+
width: 44px;
|
|
844
|
+
height: 44px;
|
|
845
|
+
margin: -22px 0 0 -22px;
|
|
846
|
+
display: flex;
|
|
847
|
+
align-items: center;
|
|
848
|
+
justify-content: center;
|
|
849
|
+
touch-action: none;
|
|
850
|
+
cursor: grab;
|
|
851
|
+
z-index: 2;
|
|
852
|
+
transition: transform 0.15s ease;
|
|
853
|
+
}
|
|
854
|
+
.wenayColDotsDotWrap_dragging {
|
|
855
|
+
z-index: 3;
|
|
856
|
+
cursor: grabbing;
|
|
857
|
+
transition: none;
|
|
858
|
+
}
|
|
859
|
+
.wenayColDotsDotWrap_removing {
|
|
860
|
+
opacity: 0.4;
|
|
861
|
+
}
|
|
862
|
+
.wenayColDotsDot {
|
|
863
|
+
width: 18px;
|
|
864
|
+
height: 18px;
|
|
865
|
+
border-radius: 9px;
|
|
866
|
+
background: #24292f;
|
|
867
|
+
border: 2px solid transparent;
|
|
868
|
+
}
|
|
869
|
+
.wenayColDotsDotWrap_dragging .wenayColDotsDot {
|
|
870
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
|
|
871
|
+
}
|
|
872
|
+
.wenayColDotsDot_selected {
|
|
873
|
+
background: #0969da;
|
|
874
|
+
border-color: #b6d4fe;
|
|
875
|
+
}
|
|
876
|
+
.wenayColDotsDot_fixed {
|
|
877
|
+
border-color: #afb8c1;
|
|
878
|
+
}
|
|
879
|
+
.wenayCardList {
|
|
880
|
+
display: grid;
|
|
881
|
+
gap: 8px;
|
|
882
|
+
}
|
|
883
|
+
.wenayCardListItem {
|
|
884
|
+
border: 1px solid #d0d7de;
|
|
885
|
+
border-radius: 8px;
|
|
886
|
+
padding: 8px 10px;
|
|
887
|
+
background: #fff;
|
|
888
|
+
}
|
|
889
|
+
.wenayCardListHeader {
|
|
890
|
+
display: flex;
|
|
891
|
+
align-items: center;
|
|
892
|
+
gap: 8px;
|
|
893
|
+
margin-bottom: 6px;
|
|
894
|
+
}
|
|
895
|
+
.wenayCardListHeader_compact {
|
|
896
|
+
margin-bottom: 0;
|
|
897
|
+
}
|
|
898
|
+
.wenayCardListTitle {
|
|
899
|
+
flex: 1;
|
|
900
|
+
overflow: hidden;
|
|
901
|
+
text-overflow: ellipsis;
|
|
902
|
+
white-space: nowrap;
|
|
903
|
+
font-size: 14px;
|
|
904
|
+
}
|
|
905
|
+
.wenayCardListAccent {
|
|
906
|
+
font-size: 11px;
|
|
907
|
+
padding: 1px 8px;
|
|
908
|
+
border-radius: 10px;
|
|
909
|
+
background: #ddf4ff;
|
|
910
|
+
color: #0969da;
|
|
911
|
+
white-space: nowrap;
|
|
912
|
+
}
|
|
913
|
+
.wenayCardListField {
|
|
914
|
+
display: flex;
|
|
915
|
+
gap: 10px;
|
|
916
|
+
font-size: 12px;
|
|
917
|
+
line-height: 1.7;
|
|
918
|
+
}
|
|
919
|
+
.wenayCardListLabel {
|
|
920
|
+
color: #57606a;
|
|
921
|
+
min-width: 72px;
|
|
922
|
+
}
|
|
923
|
+
.wenayCardListValue {
|
|
924
|
+
flex: 1;
|
|
925
|
+
text-align: right;
|
|
926
|
+
overflow: hidden;
|
|
927
|
+
text-overflow: ellipsis;
|
|
928
|
+
}
|
|
437
929
|
/* Toolbar (createToolbar). Themed via --tb-* (tokens.css), dark defaults. */
|
|
438
930
|
.wenayTb {
|
|
439
931
|
display: inline-flex;
|
|
@@ -561,6 +1053,23 @@ body {
|
|
|
561
1053
|
outline: none;
|
|
562
1054
|
color: #fff;
|
|
563
1055
|
}
|
|
1056
|
+
.wenayTbMetaAction {
|
|
1057
|
+
display: inline-flex;
|
|
1058
|
+
align-items: center;
|
|
1059
|
+
justify-content: center;
|
|
1060
|
+
width: 24px;
|
|
1061
|
+
height: 24px;
|
|
1062
|
+
padding: 0;
|
|
1063
|
+
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
1064
|
+
border-radius: 6px;
|
|
1065
|
+
background: transparent;
|
|
1066
|
+
color: inherit;
|
|
1067
|
+
cursor: pointer;
|
|
1068
|
+
}
|
|
1069
|
+
.wenayTbMetaAction:hover {
|
|
1070
|
+
background: rgba(255, 255, 255, 0.08);
|
|
1071
|
+
color: #fff;
|
|
1072
|
+
}
|
|
564
1073
|
|
|
565
1074
|
/* Minimal default section/segment buttons; apps override via sectionClassName /
|
|
566
1075
|
sectionActiveClassName (SettingsDialog) and className / activeClassName (PlacementSetting) */
|