@sentinel-nvr/web 0.5.4 → 0.5.5

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.
Files changed (2) hide show
  1. package/dist/ui/ui.css +3 -2
  2. package/package.json +1 -1
package/dist/ui/ui.css CHANGED
@@ -244,7 +244,7 @@
244
244
  .nvr-stage-card { overflow: hidden; display: flex; flex-direction: column; padding: 0; gap: 0; height: auto; width: 100%; }
245
245
  .nvr-stage-wrap { position: relative; display: block; }
246
246
  /* the picture's own aspect (set by the player as --stage-ar); max-height transfers to the width via aspect-ratio → no bars, ever */
247
- .nvr-stage { position: relative; width: 100%; aspect-ratio: var(--stage-ar, 16 / 9); max-height: var(--stage-maxh, calc(100dvh - 240px)); background: color-mix(in srgb, var(--text) 92%, var(--bg)); overflow: hidden; }
247
+ .nvr-stage { position: relative; width: 100%; aspect-ratio: var(--stage-ar, 16 / 9); max-height: var(--stage-maxh, calc(100dvh - 240px)); background: color-mix(in srgb, var(--bg) 35%, black); overflow: hidden; }
248
248
  .nvr-stage:fullscreen, .nvr-stage:-webkit-full-screen { aspect-ratio: auto; width: 100%; height: 100%; }
249
249
  /* the stage box already has the picture's aspect → cover (not contain): a contained picture leaves a sub-pixel
250
250
  sliver of stage background at one edge = a hairline; cover crops at most that fraction. Fullscreen boxes are
@@ -265,7 +265,8 @@
265
265
  .nvr-pb:hover:not(:disabled) { background: color-mix(in srgb, var(--nvr-on-overlay) 14%, transparent); }
266
266
  .nvr-pb:disabled { opacity: 0.35; cursor: default; }
267
267
  .nvr-pb--speed { font-size: 0.78rem; font-weight: 700; }
268
- .nvr-stage-bar { flex: none; display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem; border-top: 1px solid var(--line); }
268
+ /* no rule between picture and bar: on dark themes it read as a grey line under the picture */
269
+ .nvr-stage-bar { flex: none; display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem; }
269
270
  .nvr-statusdot { width: 12px; height: 12px; border-radius: 50%; background: var(--text-faint); flex: none; }
270
271
  .nvr-statusdot--live { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
271
272
  .nvr-stage-title { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentinel-nvr/web",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "Shared browser code for the Sentinel NVR plugin for Scrypted: API model + client (/api), player (/player) and React UI with i18n + themes (/ui). Consumed by the plugin's own web UI and the HAPulse dashboard.",
5
5
  "license": "MIT",
6
6
  "author": "Muggedadscher",