@deadragdoll/reactnu 0.1.15 → 0.1.16
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/dist/styles.css +12 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -49,6 +49,11 @@
|
|
|
49
49
|
--nu-window-shadow-offset-x: 1ch;
|
|
50
50
|
--nu-window-shadow-offset-y: 1em;
|
|
51
51
|
--nu-window-inactive-overlay: rgba(0, 0, 0, 0.22);
|
|
52
|
+
--nu-window-inactive-border: color-mix(
|
|
53
|
+
in srgb,
|
|
54
|
+
var(--nu-border-light) 78%,
|
|
55
|
+
var(--nu-border-dark)
|
|
56
|
+
);
|
|
52
57
|
--nu-window-modal-backdrop: rgba(0, 0, 0, 0.32);
|
|
53
58
|
--nu-scrollbar-track: transparent;
|
|
54
59
|
--nu-scrollbar-thumb: var(--nu-color-button-face);
|
|
@@ -3345,10 +3350,17 @@
|
|
|
3345
3350
|
.nu-window[data-border="single"] {
|
|
3346
3351
|
border: 1px solid var(--nu-border-light);
|
|
3347
3352
|
}
|
|
3353
|
+
.nu-window:not([data-active])[data-border="single"] {
|
|
3354
|
+
border-color: var(--nu-window-inactive-border);
|
|
3355
|
+
}
|
|
3348
3356
|
.nu-window[data-border="double"] {
|
|
3349
3357
|
border: 1px solid var(--nu-border-light);
|
|
3350
3358
|
box-shadow: inset 0 0 0 1px var(--nu-border-light);
|
|
3351
3359
|
}
|
|
3360
|
+
.nu-window:not([data-active])[data-border="double"] {
|
|
3361
|
+
border-color: var(--nu-window-inactive-border);
|
|
3362
|
+
box-shadow: inset 0 0 0 1px var(--nu-window-inactive-border);
|
|
3363
|
+
}
|
|
3352
3364
|
.nu-window__shadow {
|
|
3353
3365
|
position: absolute;
|
|
3354
3366
|
z-index: -1;
|