@yuneta/gobj-ui 7.23.94 → 7.23.95
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 +8 -3
- package/dist/gobj-ui.es.js +8 -3
- package/package.json +1 -1
- package/src/c_yui_shell.css +6 -1
- package/src/c_yui_window_manager.js +8 -3
- package/src/shell_route_map.css +11 -0
package/dist/gobj-ui.cjs.js
CHANGED
|
@@ -4420,8 +4420,13 @@ 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 is 4.3:1 on the
|
|
4428
|
+
* light scheme for a 12px label. */
|
|
4429
|
+
.yui-dock-chip.is-min { opacity: 0.7; }
|
|
4425
4430
|
.yui-dock-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 auto; }
|
|
4426
4431
|
.yui-dock-chip.is-min .yui-dock-dot { background: var(--bulma-text-weak); }
|
|
4427
4432
|
.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 +4444,7 @@ function ensure_dock_style() {
|
|
|
4439
4444
|
}
|
|
4440
4445
|
.yui-dock-close:hover { background: #e0364a; color: #fff; }
|
|
4441
4446
|
.yui-dock-close svg { width: 11px; height: 11px; display: block; }
|
|
4442
|
-
:root[data-theme="dark"] .yui-dock-chip.is-active { border-color: #60a5fa; color: #
|
|
4447
|
+
: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
4448
|
`;
|
|
4444
4449
|
let $style = document.createElement("style");
|
|
4445
4450
|
$style.id = "yui-dock-style";
|
package/dist/gobj-ui.es.js
CHANGED
|
@@ -4415,8 +4415,13 @@ 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 is 4.3:1 on the
|
|
4423
|
+
* light scheme for a 12px label. */
|
|
4424
|
+
.yui-dock-chip.is-min { opacity: 0.7; }
|
|
4420
4425
|
.yui-dock-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 auto; }
|
|
4421
4426
|
.yui-dock-chip.is-min .yui-dock-dot { background: var(--bulma-text-weak); }
|
|
4422
4427
|
.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 +4439,7 @@ function ensure_dock_style() {
|
|
|
4434
4439
|
}
|
|
4435
4440
|
.yui-dock-close:hover { background: #e0364a; color: #fff; }
|
|
4436
4441
|
.yui-dock-close svg { width: 11px; height: 11px; display: block; }
|
|
4437
|
-
:root[data-theme="dark"] .yui-dock-chip.is-active { border-color: #60a5fa; color: #
|
|
4442
|
+
: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
4443
|
`;
|
|
4439
4444
|
let $style = document.createElement("style");
|
|
4440
4445
|
$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,13 @@ 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 is 4.3:1 on the
|
|
205
|
+
* light scheme for a 12px label. */
|
|
206
|
+
.yui-dock-chip.is-min { opacity: 0.7; }
|
|
202
207
|
.yui-dock-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 auto; }
|
|
203
208
|
.yui-dock-chip.is-min .yui-dock-dot { background: var(--bulma-text-weak); }
|
|
204
209
|
.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 +221,7 @@ function ensure_dock_style()
|
|
|
216
221
|
}
|
|
217
222
|
.yui-dock-close:hover { background: #e0364a; color: #fff; }
|
|
218
223
|
.yui-dock-close svg { width: 11px; height: 11px; display: block; }
|
|
219
|
-
:root[data-theme="dark"] .yui-dock-chip.is-active { border-color: #60a5fa; color: #
|
|
224
|
+
: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
225
|
`;
|
|
221
226
|
let $style = document.createElement('style');
|
|
222
227
|
$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
|