watchparty/web/control-panel/app.css
Nicolas 66af05f259 Scaffold Emby Watch Party plugin
Design: coordinate parties on top of Emby's existing session
remote-control commands (SendPlaystateCommand) rather than building a
new player. Each member keeps their own Emby app/controls; the server
periodically corrects drift and mirrors pause/unpause against one
reference member's reported position.

- src/WatchParty: plugin skeleton (BasePlugin, IServerEntryPoint,
  IService/[Route] API, in-memory party store, drift-correction loop)
- web/control-panel: plain HTML/JS/CSS companion page to create/join
  parties and resync, served by the plugin itself
- docs/architecture.md: full design, sources consulted, and an
  explicit list of SDK details that still need verifying against a
  real build (no .NET SDK / Emby SDK assemblies available in this
  environment to compile against)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 14:02:43 +02:00

142 lines
1.9 KiB
CSS

:root {
color-scheme: light dark;
--bg: #111418;
--panel: #1b1f26;
--text: #e8eaed;
--muted: #9aa4b2;
--accent: #5b8cff;
--danger: #ff6b6b;
--ok: #4cd97b;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.wrap {
max-width: 480px;
margin: 0 auto;
padding: 32px 20px 80px;
}
h1 {
font-size: 22px;
margin-bottom: 24px;
}
h2 {
font-size: 16px;
margin: 0 0 8px;
}
.panel {
background: var(--panel);
border-radius: 12px;
padding: 20px;
margin-bottom: 16px;
}
.hidden {
display: none;
}
.hint {
color: var(--muted);
font-size: 13px;
margin: 0 0 16px;
}
label {
display: block;
font-size: 13px;
color: var(--muted);
margin-bottom: 12px;
}
input {
display: block;
width: 100%;
margin-top: 4px;
padding: 10px;
border-radius: 8px;
border: 1px solid #333a45;
background: #0e1116;
color: var(--text);
font-size: 14px;
}
button {
width: 100%;
padding: 12px;
border: none;
border-radius: 8px;
background: var(--accent);
color: white;
font-size: 14px;
font-weight: 600;
cursor: pointer;
margin-top: 4px;
}
button.secondary {
background: transparent;
border: 1px solid #333a45;
color: var(--muted);
margin-top: 12px;
}
.or {
text-align: center;
color: var(--muted);
font-size: 12px;
margin: 16px 0;
}
.error {
color: var(--danger);
font-size: 13px;
min-height: 18px;
}
.code {
color: var(--accent);
letter-spacing: 2px;
}
.members {
list-style: none;
padding: 0;
margin: 0 0 16px;
}
.members li {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 0;
border-bottom: 1px solid #262b34;
font-size: 14px;
}
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--ok);
flex-shrink: 0;
}
.dot.drift {
background: #ffb84c;
}
.dot.paused {
background: var(--muted);
}