aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/style.css')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/style.css24
1 files changed, 23 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/style.css b/packages/meshbay-hub/src/meshbay_hub/static/style.css
index 37775d8..29d4181 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/style.css
+++ b/packages/meshbay-hub/src/meshbay_hub/static/style.css
@@ -491,6 +491,14 @@ a:hover { text-decoration: underline; }
margin-bottom: 24px;
}
+/* lazy.js: a view whose code could not be fetched says so, in place of the
+ spinner it would otherwise have kept for good. Inside the player's overlay
+ the backdrop is near-black whatever the theme, so the text colour cannot
+ come from the theme there. */
+.lazy-failed { text-align: center; max-width: 520px; margin: 24px auto; }
+.lazy-failed p { margin-bottom: 12px; }
+.video-overlay .lazy-failed { color: #e2e8f0; }
+
/* ── Page center (login / register) ───────────────────────────────────────── */
.page-center {
@@ -682,7 +690,7 @@ a:hover { text-decoration: underline; }
overflow: hidden;
pointer-events: none;
background: linear-gradient(155deg,
- #86a3c4 0%, #6a819b 18%, #3d4d61 42%, #232b36 66%, #0f1113 100%);
+ #809cbc 0%, #6a819b 18%, #3d4d61 42%, #232b36 66%, #0f1113 100%);
}
/* The night-blue pool. */
.welcome-backdrop::before {
@@ -1979,6 +1987,13 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
justify-content: center;
}
+/* The player opens on top of a show's detail modal, which stays open under it
+ so the next episode is one click away when the player closes. Both are
+ `.video-overlay`; equal values would leave the order to where each happens
+ to sit in the DOM, which is not a decision. Below the operator's match
+ search (210), which only ever opens from the modal, never over the player. */
+.video-overlay.video-player-overlay { z-index: 205; }
+
.video-top-bar {
position: absolute;
top: 0;
@@ -4135,6 +4150,13 @@ h2 .gn-owner, h3 .gn-owner { font-size: 0.55em; }
margin-bottom: 4px;
}
.video-episode-row:hover { border-color: var(--accent); color: var(--accent); }
+/* The episode last started from this modal, so the one to watch next is the
+ row under it. A border and a tint, not a colour change of the text alone,
+ so it does not read as the hover state left behind. */
+.video-episode-row.last-played {
+ border-color: var(--accent);
+ background: color-mix(in srgb, var(--accent) 10%, transparent);
+}
.video-episode-row .icon { width: 14px; height: 14px; flex-shrink: 0; }
.video-episode-thumb-slot { width: 64px; height: 40px; flex-shrink: 0; }
.video-episode-thumb {