react-dockable-desktop 6.3.1 → 6.4.0
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/LICENSE +21 -0
- package/README.md +4 -3
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +108 -12
- package/dist/index.d.ts +108 -12
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/styles.css +171 -383
- package/package.json +4 -1
package/dist/styles.css
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
:root {
|
|
10
10
|
--rdd-styles-loaded: 1; /* sentinel — checked at mount to detect missing CSS import */
|
|
11
11
|
--rdd-z-base: 1000; /* base for floating windows + all chrome overlays; override via WindowManagerProvider's zIndexBase */
|
|
12
|
+
/* Fonts for the library's own chrome — tabs, title bars, toolbar, sidebar, menus, toasts, drawers,
|
|
13
|
+
modals. Neither Outfit nor Inter is loaded by the library: load one yourself, or override this.
|
|
14
|
+
Set `--rdd-font-family: inherit` to use the host page's font everywhere. */
|
|
15
|
+
--rdd-font-family: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
16
|
+
--rdd-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
12
17
|
--rdd-bg-primary: #090b11;
|
|
13
18
|
--rdd-bg-workspace: #0f111a;
|
|
14
19
|
--rdd-bg-panel: #141722;
|
|
@@ -140,39 +145,35 @@ body,
|
|
|
140
145
|
overflow: hidden;
|
|
141
146
|
}
|
|
142
147
|
|
|
148
|
+
/* The library's chrome that renders outside .rdd-workspace — the toolbar and sidebar sit beside
|
|
149
|
+
or around it, and menus, flyouts, toasts, drawers and modals are portaled to <body> — so each
|
|
150
|
+
root takes the font token itself rather than inheriting the host page's. */
|
|
151
|
+
.rdd-toolbar-strip,
|
|
152
|
+
.rdd-toolbar-group-flyout,
|
|
153
|
+
.rdd-sidebar-tabs-strip,
|
|
154
|
+
.rdd-sidebar-content-drawer,
|
|
155
|
+
.rdd-toast-container,
|
|
156
|
+
.rdd-side-panel,
|
|
157
|
+
.rdd-modal-overlay,
|
|
158
|
+
.rdd-panel-toolbar-search__dropdown {
|
|
159
|
+
font-family: var(--rdd-font-family);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* Form controls don't inherit a font by default. Only the library's own controls (those with an
|
|
163
|
+
rdd- class) are told to, never the consumer's inputs and buttons inside a panel. */
|
|
164
|
+
:where(button, input, select, textarea)[class*="rdd-"] {
|
|
165
|
+
font-family: inherit;
|
|
166
|
+
}
|
|
167
|
+
|
|
143
168
|
/* Cosmetic properties are scoped to the library's own root element only — never
|
|
144
169
|
the consumer's page, html/body, or their own mount div. */
|
|
145
170
|
.rdd-workspace {
|
|
146
171
|
background-color: var(--rdd-bg-primary);
|
|
147
172
|
color: var(--rdd-text-primary);
|
|
148
|
-
font-family:
|
|
173
|
+
font-family: var(--rdd-font-family);
|
|
149
174
|
-webkit-font-smoothing: antialiased;
|
|
150
175
|
}
|
|
151
176
|
|
|
152
|
-
/* Premium full viewport layout */
|
|
153
|
-
.full-viewport-layout {
|
|
154
|
-
display: flex;
|
|
155
|
-
flex-direction: column;
|
|
156
|
-
height: 100%;
|
|
157
|
-
width: 100%;
|
|
158
|
-
background-color: var(--rdd-bg-primary);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/* Subtle, high-tech grid styling for the window manager workspace */
|
|
162
|
-
.desktop-workspace,
|
|
163
|
-
.window-manager-workspace {
|
|
164
|
-
background-color: var(--rdd-bg-workspace);
|
|
165
|
-
background-size: 32px 32px;
|
|
166
|
-
position: relative;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.show-grid .desktop-workspace,
|
|
170
|
-
.show-grid .window-manager-workspace {
|
|
171
|
-
background-image:
|
|
172
|
-
linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
|
|
173
|
-
linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
177
|
/* Workspace Panel Container */
|
|
177
178
|
.rdd-workspace-panel {
|
|
178
179
|
background-color: var(--rdd-bg-panel);
|
|
@@ -358,6 +359,54 @@ body,
|
|
|
358
359
|
}
|
|
359
360
|
|
|
360
361
|
/* Drag resizer split bars */
|
|
362
|
+
/* Structural layout of the split grid and the sidebar. These used to be inline styles, where
|
|
363
|
+
consumer CSS could neither see nor override them. Per-render values (sizes, flex-basis,
|
|
364
|
+
visibility) stay inline. */
|
|
365
|
+
.rdd-split {
|
|
366
|
+
display: flex;
|
|
367
|
+
width: 100%;
|
|
368
|
+
height: 100%;
|
|
369
|
+
overflow: hidden;
|
|
370
|
+
position: relative;
|
|
371
|
+
}
|
|
372
|
+
.rdd-split--row { flex-direction: row; }
|
|
373
|
+
.rdd-split--column { flex-direction: column; }
|
|
374
|
+
.rdd-split-child {
|
|
375
|
+
overflow: hidden;
|
|
376
|
+
position: relative;
|
|
377
|
+
min-width: 0;
|
|
378
|
+
min-height: 0;
|
|
379
|
+
}
|
|
380
|
+
/* A bar between side-by-side panes is a vertical line, dragged left/right. */
|
|
381
|
+
.rdd-resizer-bar--vertical { cursor: col-resize; width: 1px; height: 100%; flex-shrink: 0; }
|
|
382
|
+
/* A bar between stacked panes is a horizontal line, dragged up/down. */
|
|
383
|
+
.rdd-resizer-bar--horizontal { cursor: row-resize; width: 100%; height: 1px; flex-shrink: 0; }
|
|
384
|
+
|
|
385
|
+
.rdd-sidebar-layout {
|
|
386
|
+
display: flex;
|
|
387
|
+
flex-direction: row;
|
|
388
|
+
width: 100%;
|
|
389
|
+
height: 100%;
|
|
390
|
+
overflow: hidden;
|
|
391
|
+
}
|
|
392
|
+
.rdd-sidebar-content {
|
|
393
|
+
flex: 1 1 0%;
|
|
394
|
+
min-width: 0;
|
|
395
|
+
overflow: hidden;
|
|
396
|
+
}
|
|
397
|
+
/* Collapses the tab strip by animating its width (set inline) to 0. The strip inside must not
|
|
398
|
+
clip, so the active tab's negative margin can reach into the drawer border. */
|
|
399
|
+
.rdd-sidebar-strip-wrap {
|
|
400
|
+
height: 100%;
|
|
401
|
+
overflow: hidden;
|
|
402
|
+
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
403
|
+
flex-shrink: 0;
|
|
404
|
+
}
|
|
405
|
+
.rdd-sidebar-pane {
|
|
406
|
+
flex-direction: column;
|
|
407
|
+
height: 100%;
|
|
408
|
+
width: 100%;
|
|
409
|
+
}
|
|
361
410
|
.rdd-resizer-bar {
|
|
362
411
|
background-color: var(--rdd-border-panel, rgba(255, 255, 255, 0.08)) !important;
|
|
363
412
|
transition: background-color 0.15s ease, transform 0.15s ease !important;
|
|
@@ -373,7 +422,7 @@ body,
|
|
|
373
422
|
}
|
|
374
423
|
|
|
375
424
|
/* Grab hit-box for columns (cursor: col-resize) */
|
|
376
|
-
.rdd-resizer-bar
|
|
425
|
+
.rdd-resizer-bar--vertical::before {
|
|
377
426
|
top: 0;
|
|
378
427
|
bottom: 0;
|
|
379
428
|
left: -3px;
|
|
@@ -383,7 +432,7 @@ body,
|
|
|
383
432
|
|
|
384
433
|
/* Grab hit-box for rows (cursor: row-resize) — extends upward only (into safe content area),
|
|
385
434
|
never downward into the tab bar of the panel below */
|
|
386
|
-
.rdd-resizer-bar
|
|
435
|
+
.rdd-resizer-bar--horizontal::before {
|
|
387
436
|
left: 0;
|
|
388
437
|
right: 0;
|
|
389
438
|
top: -8px;
|
|
@@ -399,13 +448,13 @@ body,
|
|
|
399
448
|
z-index: 25 !important;
|
|
400
449
|
}
|
|
401
450
|
|
|
402
|
-
.rdd-resizer-bar
|
|
403
|
-
.rdd-resizer-bar
|
|
451
|
+
.rdd-resizer-bar--vertical:hover,
|
|
452
|
+
.rdd-resizer-bar--vertical.rdd-active {
|
|
404
453
|
transform: scaleX(2);
|
|
405
454
|
}
|
|
406
455
|
|
|
407
|
-
.rdd-resizer-bar
|
|
408
|
-
.rdd-resizer-bar
|
|
456
|
+
.rdd-resizer-bar--horizontal:hover,
|
|
457
|
+
.rdd-resizer-bar--horizontal.rdd-active {
|
|
409
458
|
transform: scaleY(2);
|
|
410
459
|
}
|
|
411
460
|
|
|
@@ -488,6 +537,10 @@ body.rdd-resizing-col-active * {
|
|
|
488
537
|
}
|
|
489
538
|
|
|
490
539
|
.rdd-taskbar-footer-container {
|
|
540
|
+
height: 48px;
|
|
541
|
+
/* Floating windows stack at zIndexBase + n. An auto-hide taskbar is overlaid on the bottom edge,
|
|
542
|
+
so it must sit above them or a window parked there hides it; below every popup and overlay. */
|
|
543
|
+
z-index: calc(var(--rdd-z-base, 1000) + 6500);
|
|
491
544
|
background-color: var(--rdd-taskbar-bg) !important;
|
|
492
545
|
border-top: 1px solid var(--rdd-border-panel) !important;
|
|
493
546
|
backdrop-filter: blur(12px) saturate(180%);
|
|
@@ -506,7 +559,7 @@ body.rdd-resizing-col-active * {
|
|
|
506
559
|
background: transparent;
|
|
507
560
|
border: none;
|
|
508
561
|
cursor: pointer;
|
|
509
|
-
font-family:
|
|
562
|
+
font-family: var(--rdd-font-family-mono);
|
|
510
563
|
padding: 0;
|
|
511
564
|
text-decoration: none;
|
|
512
565
|
font-size: 0.875rem;
|
|
@@ -558,7 +611,7 @@ body.rdd-resizing-col-active * {
|
|
|
558
611
|
display: block;
|
|
559
612
|
}
|
|
560
613
|
|
|
561
|
-
@keyframes
|
|
614
|
+
@keyframes rdd-tooltip-fade-in {
|
|
562
615
|
from {
|
|
563
616
|
opacity: 0;
|
|
564
617
|
transform: translateX(-50%) translateY(-90%);
|
|
@@ -570,15 +623,18 @@ body.rdd-resizing-col-active * {
|
|
|
570
623
|
}
|
|
571
624
|
|
|
572
625
|
.rdd-taskbar-item-tooltip {
|
|
626
|
+
/* Above floating windows, the taskbar and the toolbar flyout; below menus, modals and toasts.
|
|
627
|
+
Shifts with zIndexBase (it was a fixed inline 999999). */
|
|
628
|
+
z-index: calc(var(--rdd-z-base, 1000) + 8400);
|
|
573
629
|
background: var(--rdd-bg-panel, #1e1e1e) !important;
|
|
574
630
|
color: var(--rdd-text-primary, #ffffff) !important;
|
|
575
631
|
padding: 8px !important;
|
|
576
632
|
border-radius: 6px;
|
|
577
633
|
font-size: 11px !important;
|
|
578
|
-
font-family:
|
|
634
|
+
font-family: var(--rdd-font-family);
|
|
579
635
|
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
|
|
580
636
|
border: 1px solid var(--rdd-taskbar-item-border, rgba(255, 255, 255, 0.1)) !important;
|
|
581
|
-
animation:
|
|
637
|
+
animation: rdd-tooltip-fade-in 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
582
638
|
display: flex;
|
|
583
639
|
flex-direction: column;
|
|
584
640
|
gap: 0.25rem;
|
|
@@ -652,9 +708,6 @@ body.rdd-resizing-col-active * {
|
|
|
652
708
|
color: var(--rdd-close-btn-hover-color) !important;
|
|
653
709
|
opacity: 1 !important;
|
|
654
710
|
}
|
|
655
|
-
.rdd-scrollbar-hidden::-webkit-scrollbar {
|
|
656
|
-
display: none;
|
|
657
|
-
}
|
|
658
711
|
|
|
659
712
|
/* Cross-browser scrollbar styling (Firefox standard) — scoped to the library's
|
|
660
713
|
own workspace subtree, never the consumer's page. .rdd-sidebar-drawer-body is
|
|
@@ -688,12 +741,6 @@ body.rdd-resizing-col-active * {
|
|
|
688
741
|
background: var(--rdd-scrollbar-thumb-hover);
|
|
689
742
|
}
|
|
690
743
|
|
|
691
|
-
/* Premium Hover Highlight Effects */
|
|
692
|
-
.hover-bg:hover {
|
|
693
|
-
background-color: rgba(56, 189, 248, 0.08) !important;
|
|
694
|
-
border-color: rgba(56, 189, 248, 0.25) !important;
|
|
695
|
-
}
|
|
696
|
-
|
|
697
744
|
.rdd-floating-window {
|
|
698
745
|
display: flex;
|
|
699
746
|
flex-direction: column;
|
|
@@ -703,10 +750,20 @@ body.rdd-resizing-col-active * {
|
|
|
703
750
|
backdrop-filter: blur(16px) saturate(180%);
|
|
704
751
|
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
705
752
|
background-color: var(--rdd-window-bg);
|
|
706
|
-
overflow: hidden;
|
|
707
753
|
transition: box-shadow 0.2s, border-color 0.2s;
|
|
708
754
|
}
|
|
709
755
|
|
|
756
|
+
/* Clips the content to the rounded corners, in place of the window itself — so the resize
|
|
757
|
+
handles, which are the window's children outside this frame, can straddle its edge. */
|
|
758
|
+
.rdd-floating-window-frame {
|
|
759
|
+
display: flex;
|
|
760
|
+
flex-direction: column;
|
|
761
|
+
flex: 1 1 auto;
|
|
762
|
+
min-height: 0;
|
|
763
|
+
overflow: hidden;
|
|
764
|
+
border-radius: inherit;
|
|
765
|
+
}
|
|
766
|
+
|
|
710
767
|
.rdd-floating-window.rdd-window-focused {
|
|
711
768
|
box-shadow: var(--rdd-window-shadow-focused), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
712
769
|
border-color: var(--rdd-window-border-focused);
|
|
@@ -718,7 +775,7 @@ body.rdd-resizing-col-active * {
|
|
|
718
775
|
transition: opacity 0.2s ease;
|
|
719
776
|
}
|
|
720
777
|
|
|
721
|
-
.rdd-floating-window.maximized {
|
|
778
|
+
.rdd-floating-window.rdd-maximized {
|
|
722
779
|
border-radius: 0;
|
|
723
780
|
border: none;
|
|
724
781
|
box-shadow: none;
|
|
@@ -737,7 +794,7 @@ body.rdd-resizing-col-active * {
|
|
|
737
794
|
}
|
|
738
795
|
|
|
739
796
|
.rdd-floating-window-title {
|
|
740
|
-
font-family:
|
|
797
|
+
font-family: var(--rdd-font-family);
|
|
741
798
|
font-size: 0.78rem;
|
|
742
799
|
font-weight: 600;
|
|
743
800
|
color: var(--rdd-window-text);
|
|
@@ -780,7 +837,7 @@ body.rdd-resizing-col-active * {
|
|
|
780
837
|
padding: 4px 0;
|
|
781
838
|
min-width: 220px;
|
|
782
839
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
783
|
-
font-family: -
|
|
840
|
+
font-family: var(--rdd-font-family);
|
|
784
841
|
font-size: 13px;
|
|
785
842
|
animation: rdd-context-menu-in 0.1s cubic-bezier(0.16, 1, 0.3, 1);
|
|
786
843
|
outline: none;
|
|
@@ -1033,6 +1090,11 @@ body.rdd-dragging-active {
|
|
|
1033
1090
|
}
|
|
1034
1091
|
|
|
1035
1092
|
/* --- Theme Variables for Sidebar and Tabs --- */
|
|
1093
|
+
/* Dark is the default scheme, so its tokens are defined on :root as well. <Toolbar> and <Sidebar>
|
|
1094
|
+
sit outside the workspace element, and WindowManager mirrors only a *light* scheme onto <html>
|
|
1095
|
+
— so with these under [data-color-scheme="dark"] alone, the toolbar and sidebar rendered with
|
|
1096
|
+
no background, border or text colour in dark mode unless the app set the attribute itself. */
|
|
1097
|
+
:root,
|
|
1036
1098
|
[data-color-scheme="dark"] {
|
|
1037
1099
|
--sidebar-bg: #1e2024;
|
|
1038
1100
|
--sidebar-tabs-bg: #141619;
|
|
@@ -1882,6 +1944,9 @@ body.rdd-dragging-active {
|
|
|
1882
1944
|
|
|
1883
1945
|
/* --- Modern Sidebar and Tabs UI Theme Customizations --- */
|
|
1884
1946
|
.rdd-sidebar-content-drawer {
|
|
1947
|
+
flex-grow: 0;
|
|
1948
|
+
flex-shrink: 1;
|
|
1949
|
+
overflow: hidden;
|
|
1885
1950
|
background-color: var(--sidebar-bg) !important;
|
|
1886
1951
|
color: var(--sidebar-text-title) !important;
|
|
1887
1952
|
height: 100%;
|
|
@@ -1976,7 +2041,7 @@ body.rdd-dragging-active {
|
|
|
1976
2041
|
|
|
1977
2042
|
/* Sidebar Header */
|
|
1978
2043
|
.rdd-sidebar-header-title {
|
|
1979
|
-
font-family:
|
|
2044
|
+
font-family: var(--rdd-font-family-mono);
|
|
1980
2045
|
font-weight: 700;
|
|
1981
2046
|
letter-spacing: 0.05em;
|
|
1982
2047
|
text-transform: uppercase;
|
|
@@ -1998,7 +2063,6 @@ body.rdd-dragging-active {
|
|
|
1998
2063
|
position: relative;
|
|
1999
2064
|
transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
|
|
2000
2065
|
cursor: pointer;
|
|
2001
|
-
outline: none !important;
|
|
2002
2066
|
}
|
|
2003
2067
|
|
|
2004
2068
|
/* Micro-interactions & hover tactile feedback for inactive buttons */
|
|
@@ -2035,71 +2099,6 @@ body.rdd-dragging-active {
|
|
|
2035
2099
|
margin-right: 0 !important;
|
|
2036
2100
|
}
|
|
2037
2101
|
|
|
2038
|
-
/* Sidebar Window Cards */
|
|
2039
|
-
.sidebar-window-card {
|
|
2040
|
-
background-color: var(--sidebar-card-bg) !important;
|
|
2041
|
-
border: 1px solid var(--sidebar-card-border) !important;
|
|
2042
|
-
border-radius: 6px;
|
|
2043
|
-
padding: 10px;
|
|
2044
|
-
transition: all 0.15s ease;
|
|
2045
|
-
display: flex;
|
|
2046
|
-
flex-direction: column;
|
|
2047
|
-
gap: 8px;
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
.sidebar-window-card:hover {
|
|
2051
|
-
border-color: var(--sidebar-card-hover-border) !important;
|
|
2052
|
-
background-color: var(--sidebar-card-hover-bg) !important;
|
|
2053
|
-
}
|
|
2054
|
-
|
|
2055
|
-
.sidebar-window-card.rdd-active {
|
|
2056
|
-
background-color: var(--sidebar-card-active-bg) !important;
|
|
2057
|
-
border-color: var(--sidebar-card-active-border) !important;
|
|
2058
|
-
box-shadow: 0 0 10px var(--sidebar-card-active-shadow);
|
|
2059
|
-
}
|
|
2060
|
-
|
|
2061
|
-
/* Custom Outlined Front Button */
|
|
2062
|
-
.btn-pill-outline {
|
|
2063
|
-
border: 1px solid var(--sidebar-btn-front-border) !important;
|
|
2064
|
-
color: var(--sidebar-btn-front-text) !important;
|
|
2065
|
-
background: var(--sidebar-btn-front-bg) !important;
|
|
2066
|
-
font-size: 0.68rem !important;
|
|
2067
|
-
font-weight: 500 !important;
|
|
2068
|
-
border-radius: 12px !important;
|
|
2069
|
-
padding: 2px 10px !important;
|
|
2070
|
-
transition: all 0.15s ease !important;
|
|
2071
|
-
line-height: 1 !important;
|
|
2072
|
-
text-decoration: none !important;
|
|
2073
|
-
}
|
|
2074
|
-
|
|
2075
|
-
.btn-pill-outline:hover {
|
|
2076
|
-
background: var(--sidebar-btn-front-hover-bg) !important;
|
|
2077
|
-
transform: scale(1.03);
|
|
2078
|
-
}
|
|
2079
|
-
|
|
2080
|
-
/* Badge (Grid / Float) */
|
|
2081
|
-
.badge-pill-dark {
|
|
2082
|
-
background-color: var(--sidebar-badge-bg) !important;
|
|
2083
|
-
color: var(--sidebar-badge-text) !important;
|
|
2084
|
-
font-size: 0.65rem;
|
|
2085
|
-
font-weight: 600;
|
|
2086
|
-
padding: 3px 8px;
|
|
2087
|
-
border-radius: 4px;
|
|
2088
|
-
text-transform: uppercase;
|
|
2089
|
-
}
|
|
2090
|
-
|
|
2091
|
-
/* Title text */
|
|
2092
|
-
.sidebar-card-title {
|
|
2093
|
-
font-size: 0.82rem;
|
|
2094
|
-
font-weight: 600;
|
|
2095
|
-
color: var(--sidebar-text-title);
|
|
2096
|
-
max-width: 130px;
|
|
2097
|
-
white-space: nowrap;
|
|
2098
|
-
overflow: hidden;
|
|
2099
|
-
text-overflow: ellipsis;
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
2102
|
/* Animations are on by default. `animations={false}` on <WindowManager /> adds
|
|
2104
2103
|
`rdd-no-animations` to the workspace root and mirrors it onto <html> (so
|
|
2105
2104
|
portaled elements — ContextMenu, Toast, Toolbar's flyout — are covered too).
|
|
@@ -2118,12 +2117,12 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2118
2117
|
|
|
2119
2118
|
|
|
2120
2119
|
|
|
2121
|
-
@keyframes
|
|
2120
|
+
@keyframes rdd-fade-in {
|
|
2122
2121
|
from { opacity: 0; }
|
|
2123
2122
|
to { opacity: 1; }
|
|
2124
2123
|
}
|
|
2125
2124
|
|
|
2126
|
-
@keyframes
|
|
2125
|
+
@keyframes rdd-scale-up {
|
|
2127
2126
|
from { transform: scale(0.95); opacity: 0; }
|
|
2128
2127
|
to { transform: scale(1); opacity: 1; }
|
|
2129
2128
|
}
|
|
@@ -2136,7 +2135,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2136
2135
|
align-items: center;
|
|
2137
2136
|
justify-content: center;
|
|
2138
2137
|
z-index: calc(var(--rdd-z-base, 1000) + 9000);
|
|
2139
|
-
animation:
|
|
2138
|
+
animation: rdd-fade-in 0.18s ease-out;
|
|
2140
2139
|
}
|
|
2141
2140
|
|
|
2142
2141
|
.rdd-modal-curtain {
|
|
@@ -2157,7 +2156,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2157
2156
|
color: var(--rdd-text-primary);
|
|
2158
2157
|
max-width: 90%;
|
|
2159
2158
|
max-height: 90vh;
|
|
2160
|
-
animation:
|
|
2159
|
+
animation: rdd-scale-up 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
2161
2160
|
overflow: hidden;
|
|
2162
2161
|
}
|
|
2163
2162
|
|
|
@@ -2324,19 +2323,19 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2324
2323
|
}
|
|
2325
2324
|
|
|
2326
2325
|
.rdd-side-panel-left.rdd-side-panel-visible {
|
|
2327
|
-
animation:
|
|
2326
|
+
animation: rdd-slide-in-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
2328
2327
|
}
|
|
2329
2328
|
|
|
2330
2329
|
.rdd-side-panel-right.rdd-side-panel-visible {
|
|
2331
|
-
animation:
|
|
2330
|
+
animation: rdd-slide-in-right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
2332
2331
|
}
|
|
2333
2332
|
|
|
2334
|
-
@keyframes
|
|
2333
|
+
@keyframes rdd-slide-in-left {
|
|
2335
2334
|
from { transform: translateX(-100%); }
|
|
2336
2335
|
to { transform: translateX(0); }
|
|
2337
2336
|
}
|
|
2338
2337
|
|
|
2339
|
-
@keyframes
|
|
2338
|
+
@keyframes rdd-slide-in-right {
|
|
2340
2339
|
from { transform: translateX(100%); }
|
|
2341
2340
|
to { transform: translateX(0); }
|
|
2342
2341
|
}
|
|
@@ -2387,7 +2386,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2387
2386
|
background-color: rgba(0, 123, 255, 0.2);
|
|
2388
2387
|
border: 2px dashed #007bff;
|
|
2389
2388
|
pointer-events: none;
|
|
2390
|
-
animation:
|
|
2389
|
+
animation: rdd-fade-in 0.15s ease-out;
|
|
2391
2390
|
}
|
|
2392
2391
|
|
|
2393
2392
|
/* Workspace corner anchor drop zones */
|
|
@@ -2420,20 +2419,23 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2420
2419
|
|
|
2421
2420
|
|
|
2422
2421
|
/*
|
|
2423
|
-
* Counteract scale for canvas and its siblings inside
|
|
2422
|
+
* Counteract scale for canvas and its siblings inside a marked container.
|
|
2423
|
+
*
|
|
2424
|
+
* Put `data-rdd-preview-unscale` on the element that holds a canvas-rendered view (a WebGL map,
|
|
2425
|
+
* a chart).
|
|
2424
2426
|
*
|
|
2425
2427
|
* When rendering a panel's mini hover-preview in the taskbar, the parent container
|
|
2426
2428
|
* is scaled down using CSS transform scale(var(--rdd-preview-scale)). For standard HTML UI,
|
|
2427
2429
|
* this works natively. However, for web maps (like WebGL / canvas-based engines such as
|
|
2428
|
-
*
|
|
2430
|
+
* a WebGL map), scaling down the browser container causes the rendering canvas and its absolute
|
|
2429
2431
|
* siblings (e.g. HTML overlays, labels, shapes) to blur or offset.
|
|
2430
2432
|
*
|
|
2431
2433
|
* To counteract this, we apply a reverse scale transform (1 / scale) and multiply the size
|
|
2432
2434
|
* of the canvas and its siblings by the scale factor. This forces the map engine to render
|
|
2433
2435
|
* at full resolution inside the preview container without positioning glitches.
|
|
2434
2436
|
*/
|
|
2435
|
-
.rdd-taskbar-item-preview-host
|
|
2436
|
-
.rdd-taskbar-item-preview-host
|
|
2437
|
+
.rdd-taskbar-item-preview-host [data-rdd-preview-unscale] canvas,
|
|
2438
|
+
.rdd-taskbar-item-preview-host [data-rdd-preview-unscale] canvas ~ * {
|
|
2437
2439
|
transform: scale(calc(1 / var(--rdd-preview-scale, 1))) !important;
|
|
2438
2440
|
transform-origin: top left;
|
|
2439
2441
|
width: calc(100% * var(--rdd-preview-scale, 1)) !important;
|
|
@@ -2653,7 +2655,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2653
2655
|
display: flex;
|
|
2654
2656
|
align-items: center;
|
|
2655
2657
|
justify-content: center;
|
|
2656
|
-
font-family:
|
|
2658
|
+
font-family: var(--rdd-font-family-mono);
|
|
2657
2659
|
font-size: 0.875rem;
|
|
2658
2660
|
color: var(--rdd-text-secondary, #94a3b8);
|
|
2659
2661
|
}
|
|
@@ -2666,7 +2668,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2666
2668
|
align-items: center;
|
|
2667
2669
|
justify-content: center;
|
|
2668
2670
|
color: var(--rdd-text-secondary, #94a3b8);
|
|
2669
|
-
font-family:
|
|
2671
|
+
font-family: var(--rdd-font-family-mono);
|
|
2670
2672
|
font-size: 0.875rem;
|
|
2671
2673
|
}
|
|
2672
2674
|
|
|
@@ -2680,7 +2682,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2680
2682
|
justify-content: center;
|
|
2681
2683
|
background: transparent;
|
|
2682
2684
|
color: #dc3545;
|
|
2683
|
-
font-family:
|
|
2685
|
+
font-family: var(--rdd-font-family-mono);
|
|
2684
2686
|
padding: 1rem;
|
|
2685
2687
|
text-align: center;
|
|
2686
2688
|
box-sizing: border-box;
|
|
@@ -2717,13 +2719,15 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2717
2719
|
|
|
2718
2720
|
/* Drag ghost tab preview (floating label while dragging) */
|
|
2719
2721
|
.rdd-drag-ghost-tab {
|
|
2722
|
+
/* Follows the pointer above everything while a tab is dragged. Shifts with zIndexBase. */
|
|
2723
|
+
z-index: calc(var(--rdd-z-base, 1000) + 9300);
|
|
2720
2724
|
position: fixed;
|
|
2721
2725
|
background: rgba(0, 0, 0, 0.8);
|
|
2722
2726
|
border: 1px solid var(--rdd-accent-color, #38bdf8);
|
|
2723
2727
|
border-left: 3px solid var(--rdd-accent-color, #38bdf8);
|
|
2724
2728
|
border-radius: 4px;
|
|
2725
2729
|
color: var(--rdd-accent-color, #38bdf8);
|
|
2726
|
-
font-family:
|
|
2730
|
+
font-family: var(--rdd-font-family-mono);
|
|
2727
2731
|
padding: 0.375rem 1rem;
|
|
2728
2732
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
|
|
2729
2733
|
display: flex;
|
|
@@ -2821,242 +2825,6 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2821
2825
|
overflow: auto;
|
|
2822
2826
|
}
|
|
2823
2827
|
|
|
2824
|
-
/* ==========================================================================
|
|
2825
|
-
SIDEBAR CONTENT PRIMITIVES (.sb-*)
|
|
2826
|
-
Library-native classes for building sidebar tab content.
|
|
2827
|
-
All values reference CSS variables — override via theme or custom CSS.
|
|
2828
|
-
========================================================================== */
|
|
2829
|
-
|
|
2830
|
-
/* Section wrapper — use to group related controls */
|
|
2831
|
-
.sb-section {
|
|
2832
|
-
display: flex;
|
|
2833
|
-
flex-direction: column;
|
|
2834
|
-
gap: 8px;
|
|
2835
|
-
padding: 12px;
|
|
2836
|
-
}
|
|
2837
|
-
|
|
2838
|
-
/* Section heading — UPPERCASE monospace label */
|
|
2839
|
-
.sb-section-title {
|
|
2840
|
-
font-family: monospace;
|
|
2841
|
-
font-size: 0.72rem;
|
|
2842
|
-
font-weight: 700;
|
|
2843
|
-
letter-spacing: 0.08em;
|
|
2844
|
-
text-transform: uppercase;
|
|
2845
|
-
color: var(--sidebar-text-muted, var(--rdd-text-secondary));
|
|
2846
|
-
margin: 0 0 4px 0;
|
|
2847
|
-
}
|
|
2848
|
-
|
|
2849
|
-
/* Horizontal rule between sections */
|
|
2850
|
-
.sb-separator {
|
|
2851
|
-
border: none;
|
|
2852
|
-
border-top: 1px solid var(--sidebar-border);
|
|
2853
|
-
margin: 4px 0;
|
|
2854
|
-
}
|
|
2855
|
-
|
|
2856
|
-
/* Empty state placeholder */
|
|
2857
|
-
.sb-empty-state {
|
|
2858
|
-
font-size: 0.8rem;
|
|
2859
|
-
color: var(--sidebar-text-muted, var(--rdd-text-secondary));
|
|
2860
|
-
text-align: center;
|
|
2861
|
-
padding: 16px 12px;
|
|
2862
|
-
}
|
|
2863
|
-
|
|
2864
|
-
/* Item card */
|
|
2865
|
-
.sb-card {
|
|
2866
|
-
background-color: var(--sidebar-card-bg);
|
|
2867
|
-
border: 1px solid var(--sidebar-card-border);
|
|
2868
|
-
border-radius: 6px;
|
|
2869
|
-
padding: 10px;
|
|
2870
|
-
display: flex;
|
|
2871
|
-
flex-direction: column;
|
|
2872
|
-
gap: 8px;
|
|
2873
|
-
transition: border-color 0.15s ease, background-color 0.15s ease;
|
|
2874
|
-
}
|
|
2875
|
-
.sb-card:hover {
|
|
2876
|
-
border-color: var(--sidebar-card-hover-border);
|
|
2877
|
-
background-color: var(--sidebar-card-hover-bg);
|
|
2878
|
-
}
|
|
2879
|
-
.sb-card.rdd-active {
|
|
2880
|
-
background-color: var(--sidebar-card-active-bg);
|
|
2881
|
-
border-color: var(--sidebar-card-active-border);
|
|
2882
|
-
box-shadow: 0 0 10px var(--sidebar-card-active-shadow);
|
|
2883
|
-
}
|
|
2884
|
-
|
|
2885
|
-
/* Card title — truncated single line */
|
|
2886
|
-
.sb-card-title {
|
|
2887
|
-
font-size: 0.82rem;
|
|
2888
|
-
font-weight: 600;
|
|
2889
|
-
color: var(--sidebar-text-title);
|
|
2890
|
-
white-space: nowrap;
|
|
2891
|
-
overflow: hidden;
|
|
2892
|
-
text-overflow: ellipsis;
|
|
2893
|
-
min-width: 0;
|
|
2894
|
-
}
|
|
2895
|
-
|
|
2896
|
-
/* Card metadata row — secondary info, badges, action buttons */
|
|
2897
|
-
.sb-card-meta {
|
|
2898
|
-
display: flex;
|
|
2899
|
-
align-items: center;
|
|
2900
|
-
justify-content: space-between;
|
|
2901
|
-
gap: 6px;
|
|
2902
|
-
}
|
|
2903
|
-
|
|
2904
|
-
/* Status badge */
|
|
2905
|
-
.sb-badge {
|
|
2906
|
-
background-color: var(--sidebar-badge-bg);
|
|
2907
|
-
color: var(--sidebar-badge-text);
|
|
2908
|
-
font-family: monospace;
|
|
2909
|
-
font-size: 0.65rem;
|
|
2910
|
-
font-weight: 600;
|
|
2911
|
-
letter-spacing: 0.04em;
|
|
2912
|
-
text-transform: uppercase;
|
|
2913
|
-
padding: 2px 7px;
|
|
2914
|
-
border-radius: 4px;
|
|
2915
|
-
white-space: nowrap;
|
|
2916
|
-
}
|
|
2917
|
-
|
|
2918
|
-
/* Primary filled button */
|
|
2919
|
-
.sb-btn {
|
|
2920
|
-
display: inline-flex;
|
|
2921
|
-
align-items: center;
|
|
2922
|
-
justify-content: center;
|
|
2923
|
-
gap: 4px;
|
|
2924
|
-
background: var(--rdd-accent-color);
|
|
2925
|
-
color: var(--rdd-bg-primary);
|
|
2926
|
-
border: none;
|
|
2927
|
-
border-radius: 5px;
|
|
2928
|
-
padding: 5px 12px;
|
|
2929
|
-
font-size: 0.78rem;
|
|
2930
|
-
font-weight: 600;
|
|
2931
|
-
cursor: pointer;
|
|
2932
|
-
transition: opacity 0.15s ease, transform 0.1s ease;
|
|
2933
|
-
}
|
|
2934
|
-
.sb-btn:hover { opacity: 0.88; transform: scale(1.02); }
|
|
2935
|
-
.sb-btn:active { transform: scale(0.98); }
|
|
2936
|
-
|
|
2937
|
-
/* Outlined accent button */
|
|
2938
|
-
.sb-btn-outline {
|
|
2939
|
-
display: inline-flex;
|
|
2940
|
-
align-items: center;
|
|
2941
|
-
justify-content: center;
|
|
2942
|
-
gap: 4px;
|
|
2943
|
-
background: transparent;
|
|
2944
|
-
color: var(--sidebar-btn-front-text);
|
|
2945
|
-
border: 1px solid var(--sidebar-btn-front-border);
|
|
2946
|
-
border-radius: 12px;
|
|
2947
|
-
padding: 2px 10px;
|
|
2948
|
-
font-size: 0.68rem;
|
|
2949
|
-
font-weight: 500;
|
|
2950
|
-
cursor: pointer;
|
|
2951
|
-
transition: background-color 0.15s ease, transform 0.1s ease;
|
|
2952
|
-
line-height: 1;
|
|
2953
|
-
}
|
|
2954
|
-
.sb-btn-outline:hover {
|
|
2955
|
-
background-color: var(--sidebar-btn-front-hover-bg);
|
|
2956
|
-
transform: scale(1.03);
|
|
2957
|
-
}
|
|
2958
|
-
|
|
2959
|
-
/* Icon-only ghost button — for card action rows */
|
|
2960
|
-
.sb-btn-ghost {
|
|
2961
|
-
display: inline-flex;
|
|
2962
|
-
align-items: center;
|
|
2963
|
-
justify-content: center;
|
|
2964
|
-
background: transparent;
|
|
2965
|
-
color: var(--rdd-text-secondary);
|
|
2966
|
-
border: none;
|
|
2967
|
-
border-radius: 4px;
|
|
2968
|
-
padding: 3px 5px;
|
|
2969
|
-
cursor: pointer;
|
|
2970
|
-
transition: color 0.15s ease, background-color 0.15s ease;
|
|
2971
|
-
}
|
|
2972
|
-
.sb-btn-ghost:hover {
|
|
2973
|
-
color: var(--rdd-text-primary);
|
|
2974
|
-
background-color: var(--sidebar-btn-hover-bg);
|
|
2975
|
-
}
|
|
2976
|
-
.sb-btn-ghost.danger:hover { color: #f87171; }
|
|
2977
|
-
|
|
2978
|
-
/* Field: label + control */
|
|
2979
|
-
.sb-field {
|
|
2980
|
-
display: flex;
|
|
2981
|
-
flex-direction: column;
|
|
2982
|
-
gap: 5px;
|
|
2983
|
-
}
|
|
2984
|
-
|
|
2985
|
-
/* Field label */
|
|
2986
|
-
.sb-label {
|
|
2987
|
-
font-size: 0.75rem;
|
|
2988
|
-
font-weight: 500;
|
|
2989
|
-
color: var(--sidebar-text-title);
|
|
2990
|
-
}
|
|
2991
|
-
|
|
2992
|
-
/* Text input */
|
|
2993
|
-
.sb-input {
|
|
2994
|
-
background: var(--rdd-bg-panel);
|
|
2995
|
-
color: var(--rdd-text-primary);
|
|
2996
|
-
border: 1px solid var(--sidebar-border);
|
|
2997
|
-
border-radius: 5px;
|
|
2998
|
-
padding: 5px 8px;
|
|
2999
|
-
font-size: 0.8rem;
|
|
3000
|
-
width: 100%;
|
|
3001
|
-
box-sizing: border-box;
|
|
3002
|
-
transition: border-color 0.15s ease;
|
|
3003
|
-
outline: none;
|
|
3004
|
-
}
|
|
3005
|
-
.sb-input:focus { border-color: var(--rdd-accent-color); }
|
|
3006
|
-
.sb-input::placeholder { color: var(--rdd-text-secondary); }
|
|
3007
|
-
|
|
3008
|
-
/* Select control */
|
|
3009
|
-
.sb-select {
|
|
3010
|
-
background: var(--rdd-bg-panel);
|
|
3011
|
-
color: var(--rdd-text-primary);
|
|
3012
|
-
border: 1px solid var(--sidebar-border);
|
|
3013
|
-
border-radius: 5px;
|
|
3014
|
-
padding: 5px 8px;
|
|
3015
|
-
font-size: 0.8rem;
|
|
3016
|
-
width: 100%;
|
|
3017
|
-
box-sizing: border-box;
|
|
3018
|
-
cursor: pointer;
|
|
3019
|
-
transition: border-color 0.15s ease;
|
|
3020
|
-
outline: none;
|
|
3021
|
-
}
|
|
3022
|
-
.sb-select:focus { border-color: var(--rdd-accent-color); }
|
|
3023
|
-
|
|
3024
|
-
/* Range slider */
|
|
3025
|
-
.sb-range {
|
|
3026
|
-
width: 100%;
|
|
3027
|
-
accent-color: var(--rdd-accent-color);
|
|
3028
|
-
cursor: pointer;
|
|
3029
|
-
}
|
|
3030
|
-
|
|
3031
|
-
/* Inline row of controls (e.g. range + value label) */
|
|
3032
|
-
.sb-field-row {
|
|
3033
|
-
display: flex;
|
|
3034
|
-
align-items: center;
|
|
3035
|
-
gap: 8px;
|
|
3036
|
-
}
|
|
3037
|
-
|
|
3038
|
-
/* Monospace value readout next to a range */
|
|
3039
|
-
.sb-field-value {
|
|
3040
|
-
font-family: monospace;
|
|
3041
|
-
font-size: 0.78rem;
|
|
3042
|
-
color: var(--rdd-text-primary);
|
|
3043
|
-
white-space: nowrap;
|
|
3044
|
-
min-width: 36px;
|
|
3045
|
-
text-align: right;
|
|
3046
|
-
}
|
|
3047
|
-
|
|
3048
|
-
/* Toggle switch row: label on left, switch on right */
|
|
3049
|
-
.sb-toggle-row {
|
|
3050
|
-
display: flex;
|
|
3051
|
-
align-items: center;
|
|
3052
|
-
justify-content: space-between;
|
|
3053
|
-
gap: 8px;
|
|
3054
|
-
}
|
|
3055
|
-
.sb-toggle-label {
|
|
3056
|
-
font-size: 0.8rem;
|
|
3057
|
-
color: var(--rdd-text-primary);
|
|
3058
|
-
}
|
|
3059
|
-
|
|
3060
2828
|
/* ==========================================================================
|
|
3061
2829
|
TOOLBAR STRIP
|
|
3062
2830
|
========================================================================== */
|
|
@@ -3069,6 +2837,14 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3069
2837
|
z-index: 5;
|
|
3070
2838
|
}
|
|
3071
2839
|
|
|
2840
|
+
/* A hidden strip (visible={false}) is collapsed to 0 on its cross axis. Its edge border and
|
|
2841
|
+
padding would otherwise still paint a 1px line; the strip is also made inert in Toolbar.tsx so
|
|
2842
|
+
its buttons leave the Tab order. */
|
|
2843
|
+
.rdd-toolbar-strip.rdd-collapsed {
|
|
2844
|
+
border-width: 0 !important;
|
|
2845
|
+
padding: 0 !important;
|
|
2846
|
+
}
|
|
2847
|
+
|
|
3072
2848
|
.rdd-toolbar-strip.rdd-left,
|
|
3073
2849
|
.rdd-toolbar-strip.rdd-right {
|
|
3074
2850
|
flex-direction: column;
|
|
@@ -3114,7 +2890,6 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3114
2890
|
color: var(--tab-icon-inactive);
|
|
3115
2891
|
cursor: pointer;
|
|
3116
2892
|
flex-shrink: 0;
|
|
3117
|
-
outline: none !important;
|
|
3118
2893
|
position: relative;
|
|
3119
2894
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
3120
2895
|
}
|
|
@@ -3223,10 +2998,10 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3223
2998
|
flex-direction: column;
|
|
3224
2999
|
gap: 1px;
|
|
3225
3000
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
3226
|
-
animation: toolbar-flyout-in 0.12s cubic-bezier(0.16, 1, 0.3, 1);
|
|
3001
|
+
animation: rdd-toolbar-flyout-in 0.12s cubic-bezier(0.16, 1, 0.3, 1);
|
|
3227
3002
|
}
|
|
3228
3003
|
|
|
3229
|
-
@keyframes toolbar-flyout-in {
|
|
3004
|
+
@keyframes rdd-toolbar-flyout-in {
|
|
3230
3005
|
from { opacity: 0; transform: scale(0.95); }
|
|
3231
3006
|
to { opacity: 1; transform: scale(1); }
|
|
3232
3007
|
}
|
|
@@ -3316,7 +3091,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3316
3091
|
display: inline-flex;
|
|
3317
3092
|
align-items: center;
|
|
3318
3093
|
justify-content: center;
|
|
3319
|
-
font-family:
|
|
3094
|
+
font-family: var(--rdd-font-family-mono);
|
|
3320
3095
|
font-weight: 500;
|
|
3321
3096
|
cursor: pointer;
|
|
3322
3097
|
border-radius: 4px;
|
|
@@ -3381,11 +3156,11 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3381
3156
|
|
|
3382
3157
|
/* Phase 2A: Expand resizer hit area to 44px on touch devices */
|
|
3383
3158
|
@media (pointer: coarse) {
|
|
3384
|
-
.rdd-resizer-bar
|
|
3159
|
+
.rdd-resizer-bar--vertical::before {
|
|
3385
3160
|
left: -20px;
|
|
3386
3161
|
width: 44px;
|
|
3387
3162
|
}
|
|
3388
|
-
.rdd-resizer-bar
|
|
3163
|
+
.rdd-resizer-bar--horizontal::before {
|
|
3389
3164
|
top: -32px;
|
|
3390
3165
|
height: 33px; /* 32px upward into safe content area, 0px downward into tab bar */
|
|
3391
3166
|
}
|
|
@@ -3831,7 +3606,17 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3831
3606
|
border: 1px solid var(--rdd-panel-float-border, rgba(255, 255, 255, 0.1));
|
|
3832
3607
|
box-shadow: var(--rdd-panel-float-shadow, 0 4px 16px rgba(0, 0, 0, 0.35));
|
|
3833
3608
|
backdrop-filter: blur(8px);
|
|
3609
|
+
}
|
|
3610
|
+
|
|
3611
|
+
/* Clips the content to the rounded corners, in place of the window itself — so the resize
|
|
3612
|
+
handles, which are the window's children outside this frame, can straddle its edge. */
|
|
3613
|
+
.rdd-panel-float__frame {
|
|
3614
|
+
display: flex;
|
|
3615
|
+
flex-direction: column;
|
|
3616
|
+
flex: 1 1 auto;
|
|
3617
|
+
min-height: 0;
|
|
3834
3618
|
overflow: hidden;
|
|
3619
|
+
border-radius: inherit;
|
|
3835
3620
|
}
|
|
3836
3621
|
|
|
3837
3622
|
.rdd-panel-float--active {
|
|
@@ -3917,15 +3702,6 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3917
3702
|
min-height: 0;
|
|
3918
3703
|
}
|
|
3919
3704
|
|
|
3920
|
-
/* Resize grip — bottom-right corner */
|
|
3921
|
-
.rdd-panel-float__resize {
|
|
3922
|
-
position: absolute;
|
|
3923
|
-
bottom: 0;
|
|
3924
|
-
right: 0;
|
|
3925
|
-
width: 12px;
|
|
3926
|
-
height: 12px;
|
|
3927
|
-
cursor: nwse-resize;
|
|
3928
|
-
}
|
|
3929
3705
|
|
|
3930
3706
|
/* ── Docking drop zones (visible while dragging a floating window) ── */
|
|
3931
3707
|
/* Armed for resize-to-stretch: the clamps already hold the widget exactly where a stretched axis
|
|
@@ -4070,3 +3846,15 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
4070
3846
|
/* Toast RTL: flip icon/body order and progress bar collapse direction */
|
|
4071
3847
|
[dir="rtl"] .rdd-toast { flex-direction: row-reverse; }
|
|
4072
3848
|
[dir="rtl"] .rdd-toast__progress { transform-origin: right; }
|
|
3849
|
+
|
|
3850
|
+
/* ==========================================================================
|
|
3851
|
+
KEYBOARD FOCUS
|
|
3852
|
+
A visible ring on every library control reached from the keyboard (WCAG 2.4.7). Only
|
|
3853
|
+
:focus-visible, so pointer clicks don't show it; only elements with an rdd- class, so the
|
|
3854
|
+
consumer's own controls inside panels keep their own focus styles. Last in the file so it wins
|
|
3855
|
+
ties with the controls' own rules. Override --rdd-focus-ring to restyle it.
|
|
3856
|
+
========================================================================== */
|
|
3857
|
+
:where([class*="rdd-"]):focus-visible {
|
|
3858
|
+
outline: var(--rdd-focus-ring, 2px solid var(--rdd-accent-color));
|
|
3859
|
+
outline-offset: -2px;
|
|
3860
|
+
}
|