@sentinel-nvr/web 0.17.1 → 0.19.0
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/README.md +24 -0
- package/dist/api/index.d.ts +5 -2
- package/dist/api/index.js +3 -1
- package/dist/{chunk-5RHE6TBS.js → chunk-7W5ORHOB.js} +2 -2
- package/dist/{chunk-UK7LBC3R.js → chunk-P7VKKFVA.js} +16 -2
- package/dist/chunk-P7VKKFVA.js.map +1 -0
- package/dist/{client-Db79VnMp.d.ts → client-BZP21uB4.d.ts} +45 -3
- package/dist/{controller-B5d2PRav.d.ts → controller-DwyUCzWR.d.ts} +1 -1
- package/dist/player/index.d.ts +2 -2
- package/dist/player/index.js +2 -2
- package/dist/ui/index.d.ts +30 -9
- package/dist/ui/index.js +45 -17
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/ui.css +731 -0
- package/package.json +1 -1
- package/dist/chunk-UK7LBC3R.js.map +0 -1
- /package/dist/{chunk-5RHE6TBS.js.map → chunk-7W5ORHOB.js.map} +0 -0
package/dist/ui/ui.css
CHANGED
|
@@ -98,6 +98,12 @@
|
|
|
98
98
|
flex-direction: column;
|
|
99
99
|
gap: 0.625rem;
|
|
100
100
|
}
|
|
101
|
+
/* an optional symbol in front of a section title (EventsStrip / CameraGrid `icon`, 0.19.0) */
|
|
102
|
+
.nvr-section__icon {
|
|
103
|
+
display: inline-flex;
|
|
104
|
+
margin-right: 0.4rem;
|
|
105
|
+
vertical-align: -0.15em;
|
|
106
|
+
}
|
|
101
107
|
.nvr-muted {
|
|
102
108
|
font-size: 0.875rem;
|
|
103
109
|
color: var(--text-faint);
|
|
@@ -1632,6 +1638,22 @@
|
|
|
1632
1638
|
.nvr-clipbar__close {
|
|
1633
1639
|
margin-left: auto;
|
|
1634
1640
|
}
|
|
1641
|
+
/* the first row never wraps: a time too wide for its chip (12-hour clock, a time zone) puts the time under the key,
|
|
1642
|
+
and one still too wide breaks at its spaces, instead of pushing the close button into a line of its own (0.19.0) */
|
|
1643
|
+
.nvr-clipbar__row:first-child {
|
|
1644
|
+
flex-wrap: nowrap;
|
|
1645
|
+
}
|
|
1646
|
+
.nvr-clipbar__row:first-child > .nvr-clipchip {
|
|
1647
|
+
flex: 0 1 auto;
|
|
1648
|
+
flex-wrap: wrap;
|
|
1649
|
+
justify-content: center;
|
|
1650
|
+
row-gap: 0;
|
|
1651
|
+
min-width: 0;
|
|
1652
|
+
}
|
|
1653
|
+
.nvr-clipbar__row:first-child > .nvr-clipchip > .nvr-clipchip__v {
|
|
1654
|
+
white-space: normal;
|
|
1655
|
+
text-align: center;
|
|
1656
|
+
}
|
|
1635
1657
|
/* clip mode hides the date chip: the live pill moves down to its place (else it covers the LIVE chip / a marker) */
|
|
1636
1658
|
.nvr-cam__right--clip .nvr-vtl .livejump {
|
|
1637
1659
|
bottom: 10px;
|
|
@@ -2046,3 +2068,712 @@
|
|
|
2046
2068
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
|
2047
2069
|
cursor: pointer;
|
|
2048
2070
|
}
|
|
2071
|
+
|
|
2072
|
+
/* ---- Camera page: badge next to the name (CameraTitle `live` / `at`) ------------------------------------------
|
|
2073
|
+
Only rendered when the host passes them; without, the header row is as before. */
|
|
2074
|
+
.nvr-cam__name {
|
|
2075
|
+
display: flex;
|
|
2076
|
+
align-items: center;
|
|
2077
|
+
gap: 0.5rem;
|
|
2078
|
+
min-width: 0;
|
|
2079
|
+
}
|
|
2080
|
+
.nvr-cam__badge {
|
|
2081
|
+
flex: none;
|
|
2082
|
+
white-space: nowrap;
|
|
2083
|
+
}
|
|
2084
|
+
.nvr-cam__badge--live {
|
|
2085
|
+
height: 20px;
|
|
2086
|
+
padding: 0 7px;
|
|
2087
|
+
border-radius: 10px;
|
|
2088
|
+
background: var(--nvr-live-bg, var(--danger));
|
|
2089
|
+
color: var(--nvr-live-fg, var(--on-accent));
|
|
2090
|
+
box-shadow: var(--nvr-live-shadow, none);
|
|
2091
|
+
font-size: 11px;
|
|
2092
|
+
font-weight: 700;
|
|
2093
|
+
line-height: 20px;
|
|
2094
|
+
letter-spacing: 0.6px;
|
|
2095
|
+
}
|
|
2096
|
+
.nvr-cam__badge--time {
|
|
2097
|
+
font-size: 15px;
|
|
2098
|
+
font-weight: 600;
|
|
2099
|
+
color: var(--text-dim);
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
/* ---- Camera page, immersive appearance (CameraPage `appearance="immersive"`, 0.18.0) ----------------------------
|
|
2103
|
+
Phones: the page owns the screen (the host hides its own bars) — the picture edge to edge with the header over it
|
|
2104
|
+
(back, name + badge, the host's `nvr-iconbtn` actions), gradients over the picture, the controls as floating
|
|
2105
|
+
capsules, the tabs as a segment, the timeline down to the bottom edge (safe area kept). From 900 px: the header row
|
|
2106
|
+
above the columns as before, the picture without card frame (radius 18), the timeline column a surface without
|
|
2107
|
+
border. Every rule is scoped to [data-nvr-appearance='immersive']: the default page is unchanged
|
|
2108
|
+
(test/ui/immersive-css.test.ts). The timeline keeps its geometry (the code places markers and thumbnails with
|
|
2109
|
+
these offsets).
|
|
2110
|
+
Hooks (all optional, fallback = the default look): over the picture --nvr-ctl-bg / -filter / -rim / -shadow / -fg /
|
|
2111
|
+
-text-shadow; floating over the timeline (date chip, zoom) --nvr-float-bg / -filter / -rim / -shadow / -fg /
|
|
2112
|
+
-accent; segment --nvr-seg-track / -lens / -shadow; motion --nvr-ease / --nvr-dur; LIVE --nvr-live-bg / -fg (badge,
|
|
2113
|
+
live jump, the live line's label) and --nvr-live-shadow (badge, live jump); the gradients' dark end --nvr-shade-top
|
|
2114
|
+
(104 px under the header, fading down) and --nvr-shade-bottom (120 px under the controls, full from half way). Meant
|
|
2115
|
+
for dark tokens: the host scopes its theme dark on this page. The header's name and time sit on the top gradient,
|
|
2116
|
+
which is dark in every theme: without --nvr-ctl-fg they are white. */
|
|
2117
|
+
.nvr-cam[data-nvr-appearance='immersive'] {
|
|
2118
|
+
/* the package derives these on :root and a custom property is computed where it is declared: under a host that
|
|
2119
|
+
scopes dark tokens to this page they would keep the root's (light) values — derive them again here (the overlay
|
|
2120
|
+
with the dark formula, so with the host's dark tokens it is dark with light glyphs) */
|
|
2121
|
+
--nvr-c-person: var(--info);
|
|
2122
|
+
--nvr-c-car: color-mix(in srgb, var(--warning) 58%, var(--danger));
|
|
2123
|
+
--nvr-c-bike: color-mix(in srgb, var(--info) 55%, var(--danger));
|
|
2124
|
+
--nvr-c-animal: var(--positive);
|
|
2125
|
+
--nvr-c-package: var(--warning);
|
|
2126
|
+
--nvr-c-motion: var(--text-faint);
|
|
2127
|
+
--nvr-rec: color-mix(in srgb, var(--info) 60%, var(--bg-subtle));
|
|
2128
|
+
--nvr-rec-motion: var(--positive);
|
|
2129
|
+
--nvr-overlay: color-mix(in srgb, var(--bg) 70%, transparent);
|
|
2130
|
+
--nvr-on-overlay: var(--text);
|
|
2131
|
+
position: relative;
|
|
2132
|
+
color: var(--text);
|
|
2133
|
+
}
|
|
2134
|
+
/* the 1-px rim of a floating capsule (a gradient, masked to the edge) */
|
|
2135
|
+
.nvr-cam[data-nvr-appearance='immersive'] :is(.nvr-pill-ctl, .nvr-mute)::before,
|
|
2136
|
+
.nvr-cam[data-nvr-appearance='immersive'] :is(.nvr-datechip, .nvr-vtl .tool, .nvr-clipbar)::before {
|
|
2137
|
+
content: '';
|
|
2138
|
+
position: absolute;
|
|
2139
|
+
inset: 0;
|
|
2140
|
+
border-radius: inherit;
|
|
2141
|
+
padding: 1px;
|
|
2142
|
+
pointer-events: none;
|
|
2143
|
+
background: var(--nvr-ctl-rim, transparent);
|
|
2144
|
+
-webkit-mask:
|
|
2145
|
+
linear-gradient(black 0 0) content-box,
|
|
2146
|
+
linear-gradient(black 0 0);
|
|
2147
|
+
-webkit-mask-composite: xor;
|
|
2148
|
+
mask-composite: exclude;
|
|
2149
|
+
}
|
|
2150
|
+
.nvr-cam[data-nvr-appearance='immersive'] :is(.nvr-datechip, .nvr-vtl .tool, .nvr-clipbar)::before {
|
|
2151
|
+
background: var(--nvr-float-rim, transparent);
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
/* ---- over the picture: control capsule, sound, gradients ---- */
|
|
2155
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage::after {
|
|
2156
|
+
content: '';
|
|
2157
|
+
position: absolute;
|
|
2158
|
+
inset: auto 0 0;
|
|
2159
|
+
height: 120px;
|
|
2160
|
+
z-index: 2;
|
|
2161
|
+
pointer-events: none;
|
|
2162
|
+
background: linear-gradient(transparent, var(--nvr-shade-bottom, color-mix(in srgb, black 35%, transparent)) 50%);
|
|
2163
|
+
opacity: 0;
|
|
2164
|
+
transition: opacity 0.2s;
|
|
2165
|
+
}
|
|
2166
|
+
/* the bottom gradient carries the capsule: shown when the capsule is (the default page shows it on hover or focus,
|
|
2167
|
+
always without a hovering pointer) */
|
|
2168
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage:is(:hover, :focus-within)::after {
|
|
2169
|
+
opacity: 1;
|
|
2170
|
+
}
|
|
2171
|
+
@media (hover: none) {
|
|
2172
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage::after {
|
|
2173
|
+
opacity: 1;
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-pill-ctl {
|
|
2177
|
+
bottom: 16px;
|
|
2178
|
+
gap: 0;
|
|
2179
|
+
height: 52px;
|
|
2180
|
+
padding: 4px;
|
|
2181
|
+
border-radius: 26px;
|
|
2182
|
+
background: var(--nvr-ctl-bg, var(--nvr-overlay));
|
|
2183
|
+
-webkit-backdrop-filter: var(--nvr-ctl-filter, blur(8px));
|
|
2184
|
+
backdrop-filter: var(--nvr-ctl-filter, blur(8px));
|
|
2185
|
+
box-shadow: var(--nvr-ctl-shadow, none);
|
|
2186
|
+
}
|
|
2187
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-pb {
|
|
2188
|
+
width: 44px;
|
|
2189
|
+
height: 44px;
|
|
2190
|
+
border-radius: 22px;
|
|
2191
|
+
color: var(--nvr-ctl-fg, var(--nvr-on-overlay));
|
|
2192
|
+
}
|
|
2193
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-pb:disabled {
|
|
2194
|
+
opacity: 0.4;
|
|
2195
|
+
}
|
|
2196
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-pb--speed {
|
|
2197
|
+
width: auto;
|
|
2198
|
+
min-width: 44px;
|
|
2199
|
+
padding: 0 8px;
|
|
2200
|
+
font-size: 15px;
|
|
2201
|
+
font-weight: 600;
|
|
2202
|
+
}
|
|
2203
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-mute {
|
|
2204
|
+
right: 16px;
|
|
2205
|
+
bottom: 20px;
|
|
2206
|
+
width: 44px;
|
|
2207
|
+
height: 44px;
|
|
2208
|
+
border: 0;
|
|
2209
|
+
background: var(--nvr-ctl-bg, var(--nvr-overlay));
|
|
2210
|
+
-webkit-backdrop-filter: var(--nvr-ctl-filter, blur(8px));
|
|
2211
|
+
backdrop-filter: var(--nvr-ctl-filter, blur(8px));
|
|
2212
|
+
box-shadow: var(--nvr-ctl-shadow, none);
|
|
2213
|
+
color: var(--nvr-ctl-fg, var(--nvr-on-overlay));
|
|
2214
|
+
}
|
|
2215
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-mute[aria-pressed='true'] {
|
|
2216
|
+
background: var(--accent);
|
|
2217
|
+
color: var(--on-accent);
|
|
2218
|
+
}
|
|
2219
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage:fullscreen,
|
|
2220
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage:-webkit-full-screen {
|
|
2221
|
+
border-radius: 0;
|
|
2222
|
+
}
|
|
2223
|
+
/* fullscreen is the stage alone: the header and its top gradient stay on the page */
|
|
2224
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage:fullscreen::before,
|
|
2225
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage:-webkit-full-screen::before {
|
|
2226
|
+
display: none;
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
/* ---- info bar, tabs as a segment, filters ---- */
|
|
2230
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-bar {
|
|
2231
|
+
min-height: 48px;
|
|
2232
|
+
gap: 8px;
|
|
2233
|
+
padding: 0 4px 0 12px;
|
|
2234
|
+
}
|
|
2235
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-statusdot {
|
|
2236
|
+
width: 8px;
|
|
2237
|
+
height: 8px;
|
|
2238
|
+
}
|
|
2239
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-statusdot--live {
|
|
2240
|
+
box-shadow: none;
|
|
2241
|
+
}
|
|
2242
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-title small {
|
|
2243
|
+
font-size: 13px;
|
|
2244
|
+
line-height: 18px;
|
|
2245
|
+
}
|
|
2246
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-actions {
|
|
2247
|
+
gap: 0;
|
|
2248
|
+
}
|
|
2249
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-actions .nvr-iconbtn {
|
|
2250
|
+
width: 44px;
|
|
2251
|
+
height: 44px;
|
|
2252
|
+
min-width: 44px;
|
|
2253
|
+
border-radius: 22px;
|
|
2254
|
+
background: transparent;
|
|
2255
|
+
color: var(--text-dim);
|
|
2256
|
+
}
|
|
2257
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-actions .nvr-iconbtn--on {
|
|
2258
|
+
background: var(--accent-soft);
|
|
2259
|
+
color: var(--accent);
|
|
2260
|
+
}
|
|
2261
|
+
@media (hover: hover) {
|
|
2262
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-actions .nvr-iconbtn:not(.nvr-iconbtn--on):hover {
|
|
2263
|
+
background: var(--bg-subtle);
|
|
2264
|
+
color: var(--text);
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-tabs {
|
|
2268
|
+
position: relative;
|
|
2269
|
+
height: 40px;
|
|
2270
|
+
margin: 8px 12px 4px;
|
|
2271
|
+
padding: 3px;
|
|
2272
|
+
border-radius: 20px;
|
|
2273
|
+
background: var(--nvr-seg-track, var(--bg-subtle));
|
|
2274
|
+
}
|
|
2275
|
+
/* the lens under the chosen tab, sliding (data-active = the chosen tab) */
|
|
2276
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-tabs::before {
|
|
2277
|
+
content: '';
|
|
2278
|
+
position: absolute;
|
|
2279
|
+
top: 3px;
|
|
2280
|
+
bottom: 3px;
|
|
2281
|
+
left: 3px;
|
|
2282
|
+
width: calc(50% - 3px);
|
|
2283
|
+
border-radius: 17px;
|
|
2284
|
+
background: var(--nvr-seg-lens, var(--bg-card));
|
|
2285
|
+
box-shadow: var(--nvr-seg-shadow, var(--shadow-card));
|
|
2286
|
+
transition: translate var(--nvr-dur, 250ms) var(--nvr-ease, ease-out);
|
|
2287
|
+
pointer-events: none;
|
|
2288
|
+
}
|
|
2289
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-tabs[data-active='ev']::before {
|
|
2290
|
+
translate: 100% 0;
|
|
2291
|
+
}
|
|
2292
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-tabs button {
|
|
2293
|
+
position: relative;
|
|
2294
|
+
z-index: 1;
|
|
2295
|
+
height: 34px;
|
|
2296
|
+
padding: 0 8px;
|
|
2297
|
+
border: 0;
|
|
2298
|
+
border-radius: 17px;
|
|
2299
|
+
font-size: 13px;
|
|
2300
|
+
font-weight: 600;
|
|
2301
|
+
letter-spacing: normal;
|
|
2302
|
+
text-transform: none;
|
|
2303
|
+
white-space: nowrap;
|
|
2304
|
+
color: var(--text-dim);
|
|
2305
|
+
}
|
|
2306
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-tabs button.nvr-tabs__tab--active {
|
|
2307
|
+
color: var(--text);
|
|
2308
|
+
}
|
|
2309
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-tabs button:focus-visible {
|
|
2310
|
+
outline: 2px solid var(--accent);
|
|
2311
|
+
outline-offset: -2px;
|
|
2312
|
+
}
|
|
2313
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-filters {
|
|
2314
|
+
gap: 6px;
|
|
2315
|
+
min-height: 0;
|
|
2316
|
+
padding: 4px 12px 8px;
|
|
2317
|
+
border-bottom: 0;
|
|
2318
|
+
}
|
|
2319
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-filters:empty {
|
|
2320
|
+
padding: 0;
|
|
2321
|
+
}
|
|
2322
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-fchip {
|
|
2323
|
+
height: 32px;
|
|
2324
|
+
gap: 6px;
|
|
2325
|
+
padding: 0 12px 0 6px;
|
|
2326
|
+
border-radius: 16px;
|
|
2327
|
+
font-size: 13px;
|
|
2328
|
+
font-weight: 600;
|
|
2329
|
+
color: var(--text);
|
|
2330
|
+
}
|
|
2331
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-fchip:focus-visible {
|
|
2332
|
+
outline: 2px solid var(--accent);
|
|
2333
|
+
outline-offset: 2px;
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
/* ---- floating over the timeline: date chip, zoom, live jump ---- */
|
|
2337
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-datechip {
|
|
2338
|
+
height: 44px;
|
|
2339
|
+
gap: 0;
|
|
2340
|
+
padding: 0 4px;
|
|
2341
|
+
border: 0;
|
|
2342
|
+
border-radius: 22px;
|
|
2343
|
+
background: var(--nvr-float-bg, var(--bg-card));
|
|
2344
|
+
-webkit-backdrop-filter: var(--nvr-float-filter, none);
|
|
2345
|
+
backdrop-filter: var(--nvr-float-filter, none);
|
|
2346
|
+
box-shadow: var(--nvr-float-shadow, var(--shadow-elevated));
|
|
2347
|
+
font-size: 15px;
|
|
2348
|
+
}
|
|
2349
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-datechip > button {
|
|
2350
|
+
width: 36px;
|
|
2351
|
+
height: 36px;
|
|
2352
|
+
color: var(--nvr-float-fg, var(--text-dim));
|
|
2353
|
+
}
|
|
2354
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-datechip .nvr-datechip__lbl {
|
|
2355
|
+
width: auto;
|
|
2356
|
+
padding: 0 6px;
|
|
2357
|
+
border-radius: 18px;
|
|
2358
|
+
font-size: 15px;
|
|
2359
|
+
font-weight: 600;
|
|
2360
|
+
color: var(--nvr-float-fg, var(--text));
|
|
2361
|
+
}
|
|
2362
|
+
/* playing a recording: the chip stays a floating surface, its text takes the accent (fallback: the accent chip) */
|
|
2363
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-datechip--rec {
|
|
2364
|
+
background: var(--nvr-float-bg, var(--accent));
|
|
2365
|
+
}
|
|
2366
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-datechip--rec > button,
|
|
2367
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-datechip--rec .nvr-datechip__lbl {
|
|
2368
|
+
color: var(--nvr-float-accent, var(--on-accent));
|
|
2369
|
+
}
|
|
2370
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-vtl .tool {
|
|
2371
|
+
position: relative;
|
|
2372
|
+
width: 36px;
|
|
2373
|
+
height: 36px;
|
|
2374
|
+
border: 0;
|
|
2375
|
+
border-radius: 18px;
|
|
2376
|
+
background: var(--nvr-float-bg, var(--bg-card));
|
|
2377
|
+
-webkit-backdrop-filter: var(--nvr-float-filter, none);
|
|
2378
|
+
backdrop-filter: var(--nvr-float-filter, none);
|
|
2379
|
+
box-shadow: var(--nvr-float-shadow, var(--shadow-card));
|
|
2380
|
+
color: var(--nvr-float-fg, var(--text-dim));
|
|
2381
|
+
}
|
|
2382
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-vtl .vtl-zoom {
|
|
2383
|
+
gap: 8px;
|
|
2384
|
+
}
|
|
2385
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-vtl .livejump {
|
|
2386
|
+
bottom: 62px;
|
|
2387
|
+
height: 36px;
|
|
2388
|
+
padding: 0 14px;
|
|
2389
|
+
border: 0;
|
|
2390
|
+
background: var(--nvr-live-bg, var(--danger));
|
|
2391
|
+
color: var(--nvr-live-fg, var(--on-accent));
|
|
2392
|
+
box-shadow: var(--nvr-live-shadow, var(--shadow-elevated));
|
|
2393
|
+
font-size: 15px;
|
|
2394
|
+
letter-spacing: normal;
|
|
2395
|
+
}
|
|
2396
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-cam__right--clip .nvr-vtl .livejump {
|
|
2397
|
+
bottom: 10px;
|
|
2398
|
+
}
|
|
2399
|
+
@media (hover: hover) {
|
|
2400
|
+
/* a tint of the glyph colour; the text keeps its colour (recording: the accent text on the chip) */
|
|
2401
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-datechip > button:hover:not(:disabled) {
|
|
2402
|
+
background: color-mix(in srgb, currentColor 14%, transparent);
|
|
2403
|
+
}
|
|
2404
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-vtl .tool:hover {
|
|
2405
|
+
background:
|
|
2406
|
+
linear-gradient(color-mix(in srgb, currentColor 12%, transparent) 0 0), var(--nvr-float-bg, var(--bg-card));
|
|
2407
|
+
color: var(--nvr-float-fg, var(--text));
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
/* the live line's label in the LIVE colours */
|
|
2411
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-vtl .vlive-chip {
|
|
2412
|
+
background: var(--nvr-live-bg, var(--danger));
|
|
2413
|
+
color: var(--nvr-live-fg, var(--on-accent));
|
|
2414
|
+
}
|
|
2415
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-vtl .vthumb {
|
|
2416
|
+
border-color: transparent;
|
|
2417
|
+
border-radius: 12px;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
/* ---- clip bar: a floating card under the timeline (0.19.0) — the edges a segment (the key over the time, the lens
|
|
2421
|
+
under the edge that follows the line), the close button a round button, the length and hints a caption line, the
|
|
2422
|
+
buttons capsules ---- */
|
|
2423
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar {
|
|
2424
|
+
position: relative;
|
|
2425
|
+
gap: 8px;
|
|
2426
|
+
margin: 0 8px 8px;
|
|
2427
|
+
padding: 10px;
|
|
2428
|
+
border-top: 0;
|
|
2429
|
+
border-radius: 26px;
|
|
2430
|
+
background: var(--nvr-float-bg, var(--bg-card));
|
|
2431
|
+
-webkit-backdrop-filter: var(--nvr-float-filter, none);
|
|
2432
|
+
backdrop-filter: var(--nvr-float-filter, none);
|
|
2433
|
+
box-shadow: var(--nvr-float-shadow, var(--shadow-elevated));
|
|
2434
|
+
}
|
|
2435
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__row {
|
|
2436
|
+
flex-wrap: nowrap;
|
|
2437
|
+
gap: 8px;
|
|
2438
|
+
}
|
|
2439
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges {
|
|
2440
|
+
position: relative;
|
|
2441
|
+
display: flex;
|
|
2442
|
+
flex: 1 1 auto;
|
|
2443
|
+
min-width: 0;
|
|
2444
|
+
padding: 3px;
|
|
2445
|
+
border-radius: 24px;
|
|
2446
|
+
background: var(--nvr-seg-track, var(--bg-subtle));
|
|
2447
|
+
}
|
|
2448
|
+
/* the lens under the active edge: it slides from one edge to the other (`data-was` = the edge before) and appears
|
|
2449
|
+
and goes where it is (no edge before: it fades in at its edge; no edge after: it fades out there, then waits under
|
|
2450
|
+
"From") */
|
|
2451
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges::before {
|
|
2452
|
+
content: '';
|
|
2453
|
+
position: absolute;
|
|
2454
|
+
top: 3px;
|
|
2455
|
+
bottom: 3px;
|
|
2456
|
+
left: 3px;
|
|
2457
|
+
box-sizing: border-box;
|
|
2458
|
+
width: calc(50% - 3px);
|
|
2459
|
+
border-radius: 21px;
|
|
2460
|
+
background: var(--nvr-seg-lens, var(--bg-card));
|
|
2461
|
+
box-shadow: var(--nvr-seg-shadow, var(--shadow-card));
|
|
2462
|
+
opacity: 0;
|
|
2463
|
+
transition:
|
|
2464
|
+
opacity 200ms ease,
|
|
2465
|
+
translate 0s 200ms;
|
|
2466
|
+
pointer-events: none;
|
|
2467
|
+
}
|
|
2468
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges[data-edge]::before {
|
|
2469
|
+
opacity: 1;
|
|
2470
|
+
transition: opacity 200ms ease;
|
|
2471
|
+
}
|
|
2472
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges[data-edge][data-was]::before {
|
|
2473
|
+
transition:
|
|
2474
|
+
translate var(--nvr-dur, 250ms) var(--nvr-ease, ease-out),
|
|
2475
|
+
opacity 200ms ease;
|
|
2476
|
+
}
|
|
2477
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges[data-edge='to']::before {
|
|
2478
|
+
translate: 100% 0;
|
|
2479
|
+
}
|
|
2480
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges .nvr-clipchip {
|
|
2481
|
+
position: relative;
|
|
2482
|
+
z-index: 1;
|
|
2483
|
+
flex: 1 1 0;
|
|
2484
|
+
flex-direction: column;
|
|
2485
|
+
justify-content: center;
|
|
2486
|
+
gap: 0;
|
|
2487
|
+
min-width: 0;
|
|
2488
|
+
min-height: 48px;
|
|
2489
|
+
padding: 4px 8px;
|
|
2490
|
+
border: 0;
|
|
2491
|
+
border-radius: 21px;
|
|
2492
|
+
background: transparent;
|
|
2493
|
+
box-shadow: none;
|
|
2494
|
+
color: var(--text);
|
|
2495
|
+
font-size: 15px;
|
|
2496
|
+
font-weight: 600;
|
|
2497
|
+
line-height: 20px;
|
|
2498
|
+
}
|
|
2499
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges .nvr-clipchip__k {
|
|
2500
|
+
color: var(--text-dim);
|
|
2501
|
+
font-size: 12px;
|
|
2502
|
+
font-weight: 400;
|
|
2503
|
+
line-height: 16px;
|
|
2504
|
+
}
|
|
2505
|
+
/* a time too wide for its half breaks at its spaces ("PM", the zone during the repeated hour on a line of its own) */
|
|
2506
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges .nvr-clipchip__v {
|
|
2507
|
+
max-width: 100%;
|
|
2508
|
+
white-space: normal;
|
|
2509
|
+
text-align: center;
|
|
2510
|
+
}
|
|
2511
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges .nvr-clipchip--bad,
|
|
2512
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges .nvr-clipchip--bad .nvr-clipchip__k {
|
|
2513
|
+
color: var(--danger);
|
|
2514
|
+
}
|
|
2515
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges .nvr-clipchip:focus-visible {
|
|
2516
|
+
outline: 2px solid var(--accent);
|
|
2517
|
+
outline-offset: -2px;
|
|
2518
|
+
}
|
|
2519
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__close {
|
|
2520
|
+
width: 44px;
|
|
2521
|
+
height: 44px;
|
|
2522
|
+
min-width: 44px;
|
|
2523
|
+
margin-left: 0;
|
|
2524
|
+
border-radius: 22px;
|
|
2525
|
+
background: var(--nvr-seg-track, var(--bg-subtle));
|
|
2526
|
+
color: var(--text-dim);
|
|
2527
|
+
}
|
|
2528
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__note {
|
|
2529
|
+
padding: 0 6px;
|
|
2530
|
+
color: var(--text-dim);
|
|
2531
|
+
font-size: 13px;
|
|
2532
|
+
line-height: 18px;
|
|
2533
|
+
}
|
|
2534
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__prog {
|
|
2535
|
+
margin: 0 6px;
|
|
2536
|
+
background: var(--nvr-seg-track, var(--bg-subtle));
|
|
2537
|
+
}
|
|
2538
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__actions .nvr-btn {
|
|
2539
|
+
gap: 8px;
|
|
2540
|
+
height: 50px;
|
|
2541
|
+
min-height: 50px;
|
|
2542
|
+
padding: 0 16px;
|
|
2543
|
+
border: 0;
|
|
2544
|
+
border-radius: 25px;
|
|
2545
|
+
font-size: 17px;
|
|
2546
|
+
font-weight: 600;
|
|
2547
|
+
}
|
|
2548
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__actions .nvr-btn--ghost {
|
|
2549
|
+
background: var(--nvr-seg-track, var(--bg-subtle));
|
|
2550
|
+
color: var(--text);
|
|
2551
|
+
}
|
|
2552
|
+
@media (hover: hover) {
|
|
2553
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__close:hover {
|
|
2554
|
+
background:
|
|
2555
|
+
linear-gradient(color-mix(in srgb, currentColor 12%, transparent) 0 0), var(--nvr-seg-track, var(--bg-subtle));
|
|
2556
|
+
color: var(--text);
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
/* ---- phones: picture edge to edge, header over it, no cards ---- */
|
|
2561
|
+
@media (max-width: 899px) {
|
|
2562
|
+
.nvr-cam[data-nvr-appearance='immersive'] {
|
|
2563
|
+
gap: 0;
|
|
2564
|
+
}
|
|
2565
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head {
|
|
2566
|
+
position: absolute;
|
|
2567
|
+
z-index: 5;
|
|
2568
|
+
top: calc(8px + env(safe-area-inset-top, 0px));
|
|
2569
|
+
left: calc(12px + env(safe-area-inset-left, 0px));
|
|
2570
|
+
right: calc(12px + env(safe-area-inset-right, 0px));
|
|
2571
|
+
display: grid;
|
|
2572
|
+
/* the side columns never get narrower than their buttons; the name takes what is left and ends in an ellipsis */
|
|
2573
|
+
grid-template-columns: minmax(max-content, 1fr) minmax(0, max-content) minmax(max-content, 1fr);
|
|
2574
|
+
align-items: center;
|
|
2575
|
+
gap: 8px;
|
|
2576
|
+
min-height: 44px;
|
|
2577
|
+
pointer-events: none;
|
|
2578
|
+
}
|
|
2579
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head .nvr-cam__title {
|
|
2580
|
+
display: contents;
|
|
2581
|
+
}
|
|
2582
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head :is(button, a, .nvr-cam__actions) {
|
|
2583
|
+
pointer-events: auto;
|
|
2584
|
+
}
|
|
2585
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head .nvr-iconbtn {
|
|
2586
|
+
position: relative;
|
|
2587
|
+
justify-self: start;
|
|
2588
|
+
width: 44px;
|
|
2589
|
+
height: 44px;
|
|
2590
|
+
min-width: 44px;
|
|
2591
|
+
border-radius: 22px;
|
|
2592
|
+
background: var(--nvr-ctl-bg, var(--nvr-overlay));
|
|
2593
|
+
-webkit-backdrop-filter: var(--nvr-ctl-filter, blur(8px));
|
|
2594
|
+
backdrop-filter: var(--nvr-ctl-filter, blur(8px));
|
|
2595
|
+
box-shadow: var(--nvr-ctl-shadow, none);
|
|
2596
|
+
color: var(--nvr-ctl-fg, var(--nvr-on-overlay));
|
|
2597
|
+
}
|
|
2598
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head .nvr-iconbtn::before {
|
|
2599
|
+
content: '';
|
|
2600
|
+
position: absolute;
|
|
2601
|
+
inset: 0;
|
|
2602
|
+
border-radius: inherit;
|
|
2603
|
+
padding: 1px;
|
|
2604
|
+
pointer-events: none;
|
|
2605
|
+
background: var(--nvr-ctl-rim, transparent);
|
|
2606
|
+
-webkit-mask:
|
|
2607
|
+
linear-gradient(black 0 0) content-box,
|
|
2608
|
+
linear-gradient(black 0 0);
|
|
2609
|
+
-webkit-mask-composite: xor;
|
|
2610
|
+
mask-composite: exclude;
|
|
2611
|
+
}
|
|
2612
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head :is(.nvr-cam__h1, .nvr-cam__name) {
|
|
2613
|
+
grid-column: 2;
|
|
2614
|
+
justify-self: center;
|
|
2615
|
+
min-width: 0;
|
|
2616
|
+
max-width: 100%;
|
|
2617
|
+
}
|
|
2618
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head .nvr-cam__h1 {
|
|
2619
|
+
font-family: inherit;
|
|
2620
|
+
font-size: 17px;
|
|
2621
|
+
font-weight: 600;
|
|
2622
|
+
line-height: 22px;
|
|
2623
|
+
letter-spacing: normal;
|
|
2624
|
+
color: var(--nvr-ctl-fg, white);
|
|
2625
|
+
text-shadow: var(--nvr-ctl-text-shadow, 0 1px 2px color-mix(in srgb, black 45%, transparent));
|
|
2626
|
+
}
|
|
2627
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head .nvr-cam__badge--time {
|
|
2628
|
+
color: var(--nvr-ctl-fg, white);
|
|
2629
|
+
text-shadow: var(--nvr-ctl-text-shadow, 0 1px 2px color-mix(in srgb, black 45%, transparent));
|
|
2630
|
+
}
|
|
2631
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head .nvr-cam__actions {
|
|
2632
|
+
grid-column: 3;
|
|
2633
|
+
justify-self: end;
|
|
2634
|
+
gap: 8px;
|
|
2635
|
+
}
|
|
2636
|
+
/* the top gradient carries the header */
|
|
2637
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage::before {
|
|
2638
|
+
content: '';
|
|
2639
|
+
position: absolute;
|
|
2640
|
+
inset: 0 0 auto;
|
|
2641
|
+
height: calc(104px + env(safe-area-inset-top, 0px));
|
|
2642
|
+
z-index: 2;
|
|
2643
|
+
pointer-events: none;
|
|
2644
|
+
background: linear-gradient(var(--nvr-shade-top, color-mix(in srgb, black 70%, transparent)), transparent);
|
|
2645
|
+
}
|
|
2646
|
+
/* the page owns the screen (the host hides its bars): the body is the viewport; on a short screen the picture
|
|
2647
|
+
yields first (down to 12rem), so its bar, the tabs, the filters and the timeline keep ~15rem — in clip mode the
|
|
2648
|
+
clip bar and the timeline ~22rem, the picture yields down to the default's 28vh (it stays edge to edge on a phone,
|
|
2649
|
+
the sound button where it always is) */
|
|
2650
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-cam__body {
|
|
2651
|
+
gap: 0;
|
|
2652
|
+
height: 100dvh;
|
|
2653
|
+
min-height: 27rem;
|
|
2654
|
+
}
|
|
2655
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-cam__body:not(.nvr-cam__body--clip) {
|
|
2656
|
+
--stage-maxh: max(12rem, min(46vh, 100dvh - 15rem));
|
|
2657
|
+
}
|
|
2658
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-cam__body.nvr-cam__body--clip {
|
|
2659
|
+
--stage-maxh: max(28vh, min(46vh, 100dvh - 22rem));
|
|
2660
|
+
}
|
|
2661
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-card {
|
|
2662
|
+
border: 0;
|
|
2663
|
+
border-radius: 0;
|
|
2664
|
+
box-shadow: none;
|
|
2665
|
+
background: transparent;
|
|
2666
|
+
}
|
|
2667
|
+
/* the name is in the header over the picture; the bar keeps the state */
|
|
2668
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-title b {
|
|
2669
|
+
display: none;
|
|
2670
|
+
}
|
|
2671
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-cam__right {
|
|
2672
|
+
border: 0;
|
|
2673
|
+
border-radius: 0;
|
|
2674
|
+
box-shadow: none;
|
|
2675
|
+
background: transparent;
|
|
2676
|
+
}
|
|
2677
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-evlist__day {
|
|
2678
|
+
background: var(--bg);
|
|
2679
|
+
}
|
|
2680
|
+
/* the markers' ring is the page ground (the column has no surface here) */
|
|
2681
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-vtl .vev:not(.vev--minor) {
|
|
2682
|
+
box-shadow: 0 0 0 2px var(--bg);
|
|
2683
|
+
}
|
|
2684
|
+
/* the last row ends above the date chip (44 px at 10 px from the bottom) */
|
|
2685
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-evlist {
|
|
2686
|
+
padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
|
|
2687
|
+
}
|
|
2688
|
+
/* the clip bar floats above the bottom inset; the times larger on the full width (the desktop column keeps 15 px,
|
|
2689
|
+
so "05:23:45 PM" fits a half) */
|
|
2690
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar {
|
|
2691
|
+
margin: 0 calc(8px + env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px))
|
|
2692
|
+
calc(8px + env(safe-area-inset-left, 0px));
|
|
2693
|
+
}
|
|
2694
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges .nvr-clipchip {
|
|
2695
|
+
font-size: 17px;
|
|
2696
|
+
line-height: 22px;
|
|
2697
|
+
}
|
|
2698
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-pipnote {
|
|
2699
|
+
margin: 0 12px 8px;
|
|
2700
|
+
}
|
|
2701
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-datechip {
|
|
2702
|
+
left: calc(10px + env(safe-area-inset-left, 0px));
|
|
2703
|
+
bottom: calc(10px + env(safe-area-inset-bottom, 0px));
|
|
2704
|
+
}
|
|
2705
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-vtl .vtl-zoom {
|
|
2706
|
+
right: calc(8px + env(safe-area-inset-right, 0px));
|
|
2707
|
+
bottom: calc(10px + env(safe-area-inset-bottom, 0px));
|
|
2708
|
+
}
|
|
2709
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-vtl .livejump {
|
|
2710
|
+
left: calc(10px + env(safe-area-inset-left, 0px));
|
|
2711
|
+
bottom: calc(62px + env(safe-area-inset-bottom, 0px));
|
|
2712
|
+
}
|
|
2713
|
+
/* clip mode: the clip bar under the timeline keeps the bottom inset */
|
|
2714
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-cam__right--clip .nvr-vtl .vtl-zoom {
|
|
2715
|
+
bottom: 10px;
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
/* ---- from 900 px: header row above the columns, picture without card frame ---- */
|
|
2720
|
+
@media (min-width: 900px) {
|
|
2721
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-card {
|
|
2722
|
+
overflow: visible;
|
|
2723
|
+
border: 0;
|
|
2724
|
+
box-shadow: none;
|
|
2725
|
+
background: transparent;
|
|
2726
|
+
}
|
|
2727
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-stage {
|
|
2728
|
+
border-radius: 18px;
|
|
2729
|
+
}
|
|
2730
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-cam__right {
|
|
2731
|
+
border: 0;
|
|
2732
|
+
border-radius: 18px;
|
|
2733
|
+
box-shadow: none;
|
|
2734
|
+
}
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
/* reduced motion: no sliding lens — the chosen tab's (the active edge's) own fill fades over in 200 ms */
|
|
2738
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2739
|
+
.nvr-cam[data-nvr-appearance='immersive'] :is(.nvr-tabs, .nvr-clipbar__edges)::before {
|
|
2740
|
+
display: none;
|
|
2741
|
+
}
|
|
2742
|
+
.nvr-cam[data-nvr-appearance='immersive'] :is(.nvr-tabs button, .nvr-clipbar__edges .nvr-clipchip) {
|
|
2743
|
+
transition:
|
|
2744
|
+
background-color 200ms ease,
|
|
2745
|
+
box-shadow 200ms ease,
|
|
2746
|
+
color 200ms ease;
|
|
2747
|
+
}
|
|
2748
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-tabs button.nvr-tabs__tab--active,
|
|
2749
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges .nvr-clipchip--active {
|
|
2750
|
+
background-color: var(--nvr-seg-lens, var(--bg-card));
|
|
2751
|
+
box-shadow: var(--nvr-seg-shadow, var(--shadow-card));
|
|
2752
|
+
}
|
|
2753
|
+
}
|
|
2754
|
+
/* forced colours: the floating surfaces and the lens keep an edge (their fills are dropped) */
|
|
2755
|
+
@media (forced-colors: active) {
|
|
2756
|
+
.nvr-cam[data-nvr-appearance='immersive']
|
|
2757
|
+
:is(.nvr-pill-ctl, .nvr-mute, .nvr-datechip, .nvr-vtl .tool, .nvr-vtl .livejump, .nvr-clipbar) {
|
|
2758
|
+
border: 1px solid CanvasText;
|
|
2759
|
+
}
|
|
2760
|
+
.nvr-cam[data-nvr-appearance='immersive'] :is(.nvr-tabs, .nvr-clipbar__edges, .nvr-clipbar__close),
|
|
2761
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__actions .nvr-btn {
|
|
2762
|
+
border: 1px solid CanvasText;
|
|
2763
|
+
}
|
|
2764
|
+
.nvr-cam[data-nvr-appearance='immersive'] :is(.nvr-tabs, .nvr-clipbar__edges)::before {
|
|
2765
|
+
border: 2px solid Highlight;
|
|
2766
|
+
}
|
|
2767
|
+
}
|
|
2768
|
+
@media (forced-colors: active) and (max-width: 899px) {
|
|
2769
|
+
.nvr-cam[data-nvr-appearance='immersive'] > .nvr-cam__head .nvr-iconbtn {
|
|
2770
|
+
border: 1px solid CanvasText;
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
@media (forced-colors: active) and (prefers-reduced-motion: reduce) {
|
|
2774
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-tabs button.nvr-tabs__tab--active,
|
|
2775
|
+
.nvr-cam[data-nvr-appearance='immersive'] .nvr-clipbar__edges .nvr-clipchip--active {
|
|
2776
|
+
outline: 2px solid Highlight;
|
|
2777
|
+
outline-offset: -2px;
|
|
2778
|
+
}
|
|
2779
|
+
}
|