@yuneta/gobj-ui 7.23.94 → 7.23.96
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/gobj-ui.cjs.js +11 -3
- package/dist/gobj-ui.es.js +11 -3
- package/package.json +1 -1
- package/src/c_yui_shell.css +6 -1
- package/src/c_yui_window_manager.js +11 -3
- package/src/shell_route_map.css +11 -0
package/dist/gobj-ui.cjs.js
CHANGED
|
@@ -4420,8 +4420,16 @@ function ensure_dock_style() {
|
|
|
4420
4420
|
background: var(--bulma-scheme-main); color: var(--bulma-text); cursor: pointer; white-space: nowrap;
|
|
4421
4421
|
}
|
|
4422
4422
|
.yui-dock-chip:hover { border-color: var(--bulma-text-weak); }
|
|
4423
|
-
|
|
4424
|
-
.
|
|
4423
|
+
/* The BORDER says active, not the text: blue ink on a blue tint is
|
|
4424
|
+
* the same hue on itself -- 4.49:1 on the light chip, under the 4.5
|
|
4425
|
+
* its 12px label needs. The label takes the text colour (11:1). */
|
|
4426
|
+
.yui-dock-chip.is-active { border-color: #2563eb; color: var(--bulma-text, #2e333d); background: rgba(37,99,235,0.10); font-weight: 600; }
|
|
4427
|
+
/* A minimised window is quieter, not unreadable. 0.65 was 4.3:1 for a
|
|
4428
|
+
* 12px label; 0.7 (7.23.95) was measured against the PAGE and is 4.10
|
|
4429
|
+
* against what the label actually sits on, which is the chip's own
|
|
4430
|
+
* white. 0.8 is 5.34 / 5.81, and an active chip at 9.45 is still
|
|
4431
|
+
* plainly the loud one. */
|
|
4432
|
+
.yui-dock-chip.is-min { opacity: 0.8; }
|
|
4425
4433
|
.yui-dock-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 auto; }
|
|
4426
4434
|
.yui-dock-chip.is-min .yui-dock-dot { background: var(--bulma-text-weak); }
|
|
4427
4435
|
.yui-dock-icon { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; font-size: 14px; flex: 0 0 auto; }
|
|
@@ -4439,7 +4447,7 @@ function ensure_dock_style() {
|
|
|
4439
4447
|
}
|
|
4440
4448
|
.yui-dock-close:hover { background: #e0364a; color: #fff; }
|
|
4441
4449
|
.yui-dock-close svg { width: 11px; height: 11px; display: block; }
|
|
4442
|
-
:root[data-theme="dark"] .yui-dock-chip.is-active { border-color: #60a5fa; color: #
|
|
4450
|
+
:root[data-theme="dark"] .yui-dock-chip.is-active { border-color: #60a5fa; color: var(--bulma-text, #ebecf0); background: rgba(96,165,250,0.16); }
|
|
4443
4451
|
`;
|
|
4444
4452
|
let $style = document.createElement("style");
|
|
4445
4453
|
$style.id = "yui-dock-style";
|
package/dist/gobj-ui.es.js
CHANGED
|
@@ -4415,8 +4415,16 @@ function ensure_dock_style() {
|
|
|
4415
4415
|
background: var(--bulma-scheme-main); color: var(--bulma-text); cursor: pointer; white-space: nowrap;
|
|
4416
4416
|
}
|
|
4417
4417
|
.yui-dock-chip:hover { border-color: var(--bulma-text-weak); }
|
|
4418
|
-
|
|
4419
|
-
.
|
|
4418
|
+
/* The BORDER says active, not the text: blue ink on a blue tint is
|
|
4419
|
+
* the same hue on itself -- 4.49:1 on the light chip, under the 4.5
|
|
4420
|
+
* its 12px label needs. The label takes the text colour (11:1). */
|
|
4421
|
+
.yui-dock-chip.is-active { border-color: #2563eb; color: var(--bulma-text, #2e333d); background: rgba(37,99,235,0.10); font-weight: 600; }
|
|
4422
|
+
/* A minimised window is quieter, not unreadable. 0.65 was 4.3:1 for a
|
|
4423
|
+
* 12px label; 0.7 (7.23.95) was measured against the PAGE and is 4.10
|
|
4424
|
+
* against what the label actually sits on, which is the chip's own
|
|
4425
|
+
* white. 0.8 is 5.34 / 5.81, and an active chip at 9.45 is still
|
|
4426
|
+
* plainly the loud one. */
|
|
4427
|
+
.yui-dock-chip.is-min { opacity: 0.8; }
|
|
4420
4428
|
.yui-dock-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 auto; }
|
|
4421
4429
|
.yui-dock-chip.is-min .yui-dock-dot { background: var(--bulma-text-weak); }
|
|
4422
4430
|
.yui-dock-icon { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; font-size: 14px; flex: 0 0 auto; }
|
|
@@ -4434,7 +4442,7 @@ function ensure_dock_style() {
|
|
|
4434
4442
|
}
|
|
4435
4443
|
.yui-dock-close:hover { background: #e0364a; color: #fff; }
|
|
4436
4444
|
.yui-dock-close svg { width: 11px; height: 11px; display: block; }
|
|
4437
|
-
:root[data-theme="dark"] .yui-dock-chip.is-active { border-color: #60a5fa; color: #
|
|
4445
|
+
:root[data-theme="dark"] .yui-dock-chip.is-active { border-color: #60a5fa; color: var(--bulma-text, #ebecf0); background: rgba(96,165,250,0.16); }
|
|
4438
4446
|
`;
|
|
4439
4447
|
let $style = document.createElement("style");
|
|
4440
4448
|
$style.id = "yui-dock-style";
|
package/package.json
CHANGED
package/src/c_yui_shell.css
CHANGED
|
@@ -269,8 +269,13 @@
|
|
|
269
269
|
.yui-nav-cards .yui-nav-card.is-active {
|
|
270
270
|
border-color: var(--bulma-link-on-scheme, var(--bulma-link, #485fc7));
|
|
271
271
|
}
|
|
272
|
+
/* Dimmed, not erased. WCAG exempts a DISABLED control from its
|
|
273
|
+
* contrast minimum, and half opacity is 2.85:1 in light -- but a nav
|
|
274
|
+
* entry you cannot reach is one you still have to be able to READ, or
|
|
275
|
+
* it is a door with no sign. 0.7 is 4.96 and still plainly quieter
|
|
276
|
+
* than a live card at 12.67. */
|
|
272
277
|
.yui-nav-cards .yui-nav-card[data-disabled="1"] {
|
|
273
|
-
opacity: 0.
|
|
278
|
+
opacity: 0.7;
|
|
274
279
|
}
|
|
275
280
|
|
|
276
281
|
/*--- breadcrumb: the path as one line (C_YUI_NODE's `projection.path`) ---*/
|
|
@@ -197,8 +197,16 @@ function ensure_dock_style()
|
|
|
197
197
|
background: var(--bulma-scheme-main); color: var(--bulma-text); cursor: pointer; white-space: nowrap;
|
|
198
198
|
}
|
|
199
199
|
.yui-dock-chip:hover { border-color: var(--bulma-text-weak); }
|
|
200
|
-
|
|
201
|
-
.
|
|
200
|
+
/* The BORDER says active, not the text: blue ink on a blue tint is
|
|
201
|
+
* the same hue on itself -- 4.49:1 on the light chip, under the 4.5
|
|
202
|
+
* its 12px label needs. The label takes the text colour (11:1). */
|
|
203
|
+
.yui-dock-chip.is-active { border-color: #2563eb; color: var(--bulma-text, #2e333d); background: rgba(37,99,235,0.10); font-weight: 600; }
|
|
204
|
+
/* A minimised window is quieter, not unreadable. 0.65 was 4.3:1 for a
|
|
205
|
+
* 12px label; 0.7 (7.23.95) was measured against the PAGE and is 4.10
|
|
206
|
+
* against what the label actually sits on, which is the chip's own
|
|
207
|
+
* white. 0.8 is 5.34 / 5.81, and an active chip at 9.45 is still
|
|
208
|
+
* plainly the loud one. */
|
|
209
|
+
.yui-dock-chip.is-min { opacity: 0.8; }
|
|
202
210
|
.yui-dock-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 auto; }
|
|
203
211
|
.yui-dock-chip.is-min .yui-dock-dot { background: var(--bulma-text-weak); }
|
|
204
212
|
.yui-dock-icon { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; font-size: 14px; flex: 0 0 auto; }
|
|
@@ -216,7 +224,7 @@ function ensure_dock_style()
|
|
|
216
224
|
}
|
|
217
225
|
.yui-dock-close:hover { background: #e0364a; color: #fff; }
|
|
218
226
|
.yui-dock-close svg { width: 11px; height: 11px; display: block; }
|
|
219
|
-
:root[data-theme="dark"] .yui-dock-chip.is-active { border-color: #60a5fa; color: #
|
|
227
|
+
:root[data-theme="dark"] .yui-dock-chip.is-active { border-color: #60a5fa; color: var(--bulma-text, #ebecf0); background: rgba(96,165,250,0.16); }
|
|
220
228
|
`;
|
|
221
229
|
let $style = document.createElement('style');
|
|
222
230
|
$style.id = 'yui-dock-style';
|
package/src/shell_route_map.css
CHANGED
|
@@ -177,6 +177,17 @@ a.ROUTEMAP_LINK .ROUTEMAP_NAME {
|
|
|
177
177
|
background: rgba(120, 150, 255, 0.16) !important;
|
|
178
178
|
outline-color: rgba(120, 150, 255, 0.55);
|
|
179
179
|
}
|
|
180
|
+
/* On the row you are ON, the route leaves the blue.
|
|
181
|
+
*
|
|
182
|
+
* The tint that marks the row and the ink of a route are the SAME
|
|
183
|
+
* HUE, so the ink lands on its own colour: 3.95:1 in light (the row
|
|
184
|
+
* is a saturated `--bulma-link-light`) and 4.42 in dark. The row is
|
|
185
|
+
* already marked by that tint and its outline, so the blue says
|
|
186
|
+
* nothing there -- and the NAME beside it has always been written
|
|
187
|
+
* in the text colour, at 5.89 and 6.59. The route joins it. */
|
|
188
|
+
.ROUTEMAP_CURRENT .ROUTEMAP_ROUTE {
|
|
189
|
+
color: var(--bulma-text, #2e333d);
|
|
190
|
+
}
|
|
180
191
|
/*--- reference row: this route's subtree is drawn where the nav owns
|
|
181
192
|
* it, so the copy reachable from a drawer or the account menu is a
|
|
182
193
|
* live link without the repeated branch. Quiet on purpose: it is a
|