@zolomedia/bifrost-client 1.7.81 → 1.7.83
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.
|
@@ -75,9 +75,8 @@ export class VideoRenderer {
|
|
|
75
75
|
video.controls = true; // always give the user native controls
|
|
76
76
|
video.preload = 'metadata'; // fetch dimensions/duration, not the whole file
|
|
77
77
|
|
|
78
|
-
//
|
|
79
|
-
|
|
80
|
-
video.style.height = 'auto';
|
|
78
|
+
// Responsive sizing (max-width:100% + height:auto) is bifrost-owned in
|
|
79
|
+
// zbase.css; _zClass still wins for app-specific shaping.
|
|
81
80
|
|
|
82
81
|
if (_zClass) video.className = _zClass;
|
|
83
82
|
if (_id) video.setAttribute('id', _id);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zolomedia/bifrost-client",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.83",
|
|
4
4
|
"description": "Browser client for zBifrost — the WebSocket bridge that turns JSON events from a zOS server into live DOM. Thin bootstrap + server-controlled core.",
|
|
5
5
|
"homepage": "https://github.com/ZoloAi/zbifrost-client#readme",
|
|
6
6
|
"repository": {
|
package/zSys/theme/zbase.css
CHANGED
|
@@ -65,7 +65,7 @@ body {
|
|
|
65
65
|
line-height: 1.5;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
img, svg { display: block; max-width: 100%; }
|
|
68
|
+
img, svg, video { display: block; max-width: 100%; }
|
|
69
69
|
|
|
70
70
|
/* Default link color — zCLI/info palette, overridable via --color-link.
|
|
71
71
|
* Navbar links and buttons opt out below (they manage their own color). */
|
|
@@ -201,6 +201,66 @@ pre {
|
|
|
201
201
|
white-space: pre;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
+
/* ─── Lists (zUL / zOL / zDL) ──────────────────────────────────────────────── */
|
|
205
|
+
/* Bifrost owns the list baseline so a bare zUL/zOL/zDL — and every markdown list
|
|
206
|
+
* — renders deliberately and themed, never on raw browser UA defaults. Marker
|
|
207
|
+
* variants (circle/square/letter/roman) are set inline by the renderer; here we
|
|
208
|
+
* own the rhythm, indent, brand-tinted markers, and the dl term/definition look.
|
|
209
|
+
* Apps re-skin via _zClass — they never SUPPLY the baseline. */
|
|
210
|
+
|
|
211
|
+
ul, ol {
|
|
212
|
+
margin: 0 0 1rem;
|
|
213
|
+
padding-left: 1.4rem;
|
|
214
|
+
line-height: 1.6;
|
|
215
|
+
}
|
|
216
|
+
ul:last-child, ol:last-child { margin-bottom: 0; }
|
|
217
|
+
|
|
218
|
+
li { margin-bottom: 0.4rem; }
|
|
219
|
+
li:last-child { margin-bottom: 0; }
|
|
220
|
+
|
|
221
|
+
/* Themed markers — the modern touch (brand-tinted, not flat UA black). */
|
|
222
|
+
li::marker { color: var(--color-secondary); }
|
|
223
|
+
|
|
224
|
+
/* Nested lists tuck under their parent item with a single tight gap. */
|
|
225
|
+
li > ul, li > ol { margin: 0.4rem 0 0; }
|
|
226
|
+
|
|
227
|
+
/* Definition list (zDL) — term in ink, definition indented & muted. */
|
|
228
|
+
dl { margin: 0 0 1rem; }
|
|
229
|
+
dl:last-child { margin-bottom: 0; }
|
|
230
|
+
dt { font-weight: 700; color: var(--ink); }
|
|
231
|
+
dd {
|
|
232
|
+
margin: 0 0 0.6rem 1.2rem;
|
|
233
|
+
color: var(--ink-muted);
|
|
234
|
+
line-height: 1.6;
|
|
235
|
+
}
|
|
236
|
+
dd:last-child { margin-bottom: 0; }
|
|
237
|
+
|
|
238
|
+
/* Inline list (zList-inline) — horizontal, marker-less row of items. */
|
|
239
|
+
.zList-inline {
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-wrap: wrap;
|
|
242
|
+
gap: 0.5rem 1.25rem;
|
|
243
|
+
margin: 0 0 1rem;
|
|
244
|
+
padding-left: 0;
|
|
245
|
+
list-style: none;
|
|
246
|
+
}
|
|
247
|
+
.zList-inline-item { margin: 0; }
|
|
248
|
+
|
|
249
|
+
/* ─── Media (zImage / zVideo) ──────────────────────────────────────────────── */
|
|
250
|
+
/* Bifrost owns the media baseline. <img>/<video> stay responsive (display:block
|
|
251
|
+
* + max-width:100% in the reset above); <video> keeps its aspect via height:auto.
|
|
252
|
+
* A captioned media renders inside a <figure> — own it so the UA's default
|
|
253
|
+
* `margin: 1em 40px` side-indent never offsets the media. figcaption is themed by
|
|
254
|
+
* the renderer via bifrost utilities (zText-muted/zText-center/zmt-2). */
|
|
255
|
+
|
|
256
|
+
video { height: auto; }
|
|
257
|
+
|
|
258
|
+
figure { margin: 0 0 1rem; }
|
|
259
|
+
figure:last-child { margin-bottom: 0; }
|
|
260
|
+
figure > img,
|
|
261
|
+
figure > video { margin-bottom: 0; }
|
|
262
|
+
figcaption { line-height: 1.5; }
|
|
263
|
+
|
|
204
264
|
/* ─── Form controls — canonical field base (Bootstrap-like) ────────────────── */
|
|
205
265
|
/* The client emits a real field as `.zForm-control` (default) or `.zInput`
|
|
206
266
|
* (input-groups / explicit). Style BOTH so a field on ANY page — not just
|