Files
Alexa d471b418b9 Import march-2020-03-10 from private repo (scrubbed 2026-05-27)
Targets Rec Room 2020.03.10 client (also serves 2020.03.06).

Re-import after adding:
- DorkNet.ClientMod/dorknet-clientmod.json.template — config schema
  the launcher's manifest-driven patcher renders into UserData/.
- tools/build-patcher-zip.ps1 — produces dorknet-clientpatch-{key}.zip
  for v1-march-* Release uploads.
- .github/workflows/release.yml — on tag push publishes both
  dorknet-server-march_2020_03_10-win-x64.zip and
  dorknet-clientpatch-march_2020_03_10.zip as Release assets.

Same scrub rules as december; tools/build-patcher-zip.ps1 added to
the maintainer-side allow-list so it survives.
2026-05-27 01:06:12 +03:00

620 lines
18 KiB
CSS

@import url('https://rsms.me/inter/inter.css');
* { box-sizing: border-box; }
:root {
color-scheme: dark;
--bg: #0a0c10;
--bg-grad: radial-gradient(circle at 20% 0%, #16204a 0%, #0a0c10 60%);
--panel: rgba(22, 26, 35, 0.85);
--panel-solid: #161a23;
--panel-2: #1d2230;
--panel-3: #252b3b;
--border: #2a3145;
--border-subtle: #1f2433;
--text: #eef0f5;
--text-dim: #b3b9c9;
--muted: #7a8195;
--accent: #7aa9ff;
--accent-2: #b48cff;
--accent-grad: linear-gradient(135deg, #7aa9ff 0%, #b48cff 100%);
--accent-hover: #93b9ff;
--good: #4ad28b;
--good-bg: rgba(74, 210, 139, 0.12);
--warn: #ffce5b;
--warn-bg: rgba(255, 206, 91, 0.12);
--danger: #ff6f7d;
--danger-bg: rgba(255, 111, 125, 0.12);
--info-bg: rgba(122, 169, 255, 0.12);
--radius: 10px;
--radius-lg: 14px;
--shadow-sm: 0 1px 0 rgba(255,255,255,0.05) inset, 0 2px 6px rgba(0,0,0,0.25);
--shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 12px 32px rgba(0,0,0,0.45);
--shadow-lg: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 60px rgba(0,0,0,0.6);
--t: 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
html, body { height: 100%; }
body {
margin: 0;
background: var(--bg);
background-image: var(--bg-grad);
background-attachment: fixed;
color: var(--text);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-feature-settings: 'cv11', 'ss01', 'ss03';
font-size: 14px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@supports (font-variation-settings: normal) {
body { font-family: 'Inter var', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
}
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 22px; font-weight: 700; }
h2 { font-size: 17px; font-weight: 600; }
h3 {
font-size: 11px;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 0.08em;
font-weight: 600;
margin-bottom: 10px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
.muted { color: var(--muted); }
.error {
color: var(--danger);
margin-top: 12px;
min-height: 1em;
font-size: 13px;
}
/* ── Buttons ─────────────────────────────────────────────────────── */
button {
background: var(--panel-2);
color: var(--text);
border: 1px solid var(--border);
padding: 7px 14px;
border-radius: 8px;
cursor: pointer;
font: inherit;
font-size: 13px;
font-weight: 500;
transition: all var(--t);
line-height: 1.2;
white-space: nowrap;
}
button:hover { background: var(--panel-3); border-color: #38415a; transform: translateY(-1px); }
button:active { transform: translateY(0); }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button[type="submit"], button.primary {
background: var(--accent-grad);
border-color: transparent;
color: #0a0c10;
font-weight: 600;
box-shadow: 0 4px 14px rgba(122, 169, 255, 0.25);
}
button[type="submit"]:hover, button.primary:hover {
box-shadow: 0 6px 20px rgba(122, 169, 255, 0.4);
}
button.danger {
background: linear-gradient(135deg, #ff6f7d 0%, #d94d6b 100%);
border-color: transparent;
color: #fff;
box-shadow: 0 4px 14px rgba(255, 111, 125, 0.2);
}
button.danger:hover { box-shadow: 0 6px 20px rgba(255, 111, 125, 0.35); }
button.ghost {
background: transparent;
border-color: var(--border);
color: var(--text-dim);
}
button.ghost:hover { color: var(--text); border-color: var(--accent); background: var(--info-bg); }
button.link {
background: transparent;
border: none;
color: var(--accent);
padding: 0;
text-decoration: none;
cursor: pointer;
font-size: 13px;
transition: color var(--t);
}
button.link:hover { color: var(--accent-hover); transform: none; }
/* ── Inputs ──────────────────────────────────────────────────────── */
input, textarea, select {
background: var(--panel-solid);
color: var(--text);
border: 1px solid var(--border);
padding: 8px 12px;
border-radius: 8px;
font: inherit;
font-size: 13px;
transition: all var(--t);
width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:hover, textarea:hover, select:hover { border-color: #3a425a; }
input:focus, textarea:focus, select:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(122, 169, 255, 0.15);
}
input[type="checkbox"] {
width: 16px;
height: 16px;
accent-color: var(--accent);
margin: 0;
cursor: pointer;
}
input[type="number"] { width: 100%; }
label {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 14px;
color: var(--text-dim);
font-size: 12px;
font-weight: 500;
}
label > input,
label > textarea,
label > select {
color: var(--text);
font-size: 13px;
font-weight: 400;
}
/* ── Cards ───────────────────────────────────────────────────────── */
.card {
background: var(--panel);
backdrop-filter: blur(20px) saturate(140%);
-webkit-backdrop-filter: blur(20px) saturate(140%);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 28px;
box-shadow: var(--shadow);
}
/* ── Login ───────────────────────────────────────────────────────── */
#login {
max-width: 380px;
margin: 14vh auto;
animation: fadeUp 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
#login h1 {
background: var(--accent-grad);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 4px;
}
#login p { margin: 0 0 22px; }
#login button[type="submit"] { width: 100%; padding: 10px; font-size: 14px; }
@keyframes fadeUp {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
/* ── App shell ───────────────────────────────────────────────────── */
#app { animation: fadeIn 240ms ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 32px;
background: rgba(13, 16, 22, 0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border-subtle);
position: sticky;
top: 0;
z-index: 50;
}
header h1 {
background: var(--accent-grad);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 18px;
}
header .who {
color: var(--muted);
font-size: 13px;
display: flex;
align-items: center;
gap: 12px;
}
header #meName {
color: var(--text);
font-weight: 600;
margin: 0 4px;
}
nav {
display: flex;
gap: 4px;
padding: 12px 32px;
background: rgba(10, 12, 16, 0.6);
border-bottom: 1px solid var(--border-subtle);
overflow-x: auto;
scrollbar-width: none;
}
nav::-webkit-scrollbar { display: none; }
nav .tab {
background: transparent;
border: 1px solid transparent;
color: var(--muted);
border-radius: 8px;
font-weight: 500;
transition: all var(--t);
}
nav .tab:hover { color: var(--text-dim); transform: none; background: var(--panel-2); }
nav .tab.active {
background: var(--info-bg);
color: var(--accent);
border-color: rgba(122, 169, 255, 0.25);
}
.tab-panel {
padding: 28px 32px 80px;
max-width: 1280px;
margin: 0 auto;
animation: fadeIn 200ms ease-out;
}
.tab-panel > h2:first-child { margin-bottom: 20px; }
.row {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
margin: 12px 0;
}
.row > input,
.row > select { flex: 1; min-width: 140px; width: auto; }
/* ── Dashboard stats ─────────────────────────────────────────────── */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 14px;
margin: 0 0 32px;
}
.stat {
background: var(--panel);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--border-subtle);
border-radius: var(--radius);
padding: 18px 20px;
transition: all var(--t);
position: relative;
overflow: hidden;
}
.stat:hover { transform: translateY(-2px); border-color: var(--border); box-shadow: var(--shadow-sm); }
.stat::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: var(--accent-grad);
opacity: 0;
transition: opacity var(--t);
}
.stat:hover::before { opacity: 1; }
.stat .label {
color: var(--muted);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
font-weight: 600;
}
.stat .value {
font-size: 28px;
font-weight: 700;
margin-top: 6px;
letter-spacing: -0.02em;
font-feature-settings: 'tnum';
}
.stat .value.good { color: var(--good); }
.stat .value.warn { color: var(--warn); }
.stat .value.danger { color: var(--danger); }
/* ── Tables ──────────────────────────────────────────────────────── */
.table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
margin: 12px 0 24px;
background: var(--panel);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--border-subtle);
border-radius: var(--radius);
overflow: hidden;
}
.table th, .table td {
padding: 11px 16px;
text-align: left;
border-bottom: 1px solid var(--border-subtle);
font-size: 13px;
vertical-align: middle;
}
.table th {
background: rgba(13, 16, 22, 0.6);
color: var(--muted);
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.08em;
font-weight: 600;
position: sticky;
top: 0;
}
.table tr:last-child td { border-bottom: none; }
.table tr { transition: background var(--t); }
.table tbody tr:hover td { background: rgba(122, 169, 255, 0.04); }
.table .actions {
display: flex;
gap: 6px;
flex-wrap: wrap;
justify-content: flex-end;
}
.table .actions button {
padding: 4px 10px;
font-size: 12px;
}
/* ── Badges ──────────────────────────────────────────────────────── */
.badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 9px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
line-height: 1.4;
border: 1px solid transparent;
}
.badge::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background: currentColor;
opacity: 0.7;
}
.badge.no-dot::before { display: none; }
.badge.online { background: var(--good-bg); color: var(--good); border-color: rgba(74, 210, 139, 0.2); }
.badge.offline { background: rgba(139, 145, 158, 0.08); color: var(--muted); border-color: rgba(139, 145, 158, 0.18); }
.badge.admin { background: var(--info-bg); color: var(--accent); border-color: rgba(122, 169, 255, 0.2); }
.badge.banned { background: var(--danger-bg); color: var(--danger); border-color: rgba(255, 111, 125, 0.2); }
.badge-row { display: inline-flex; gap: 4px; flex-wrap: wrap; }
/* ── Modal ───────────────────────────────────────────────────────── */
.modal {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
display: flex;
align-items: flex-start;
justify-content: center;
padding: 40px 20px;
overflow-y: auto;
z-index: 100;
animation: fadeIn 160ms ease-out;
}
/* The class-level `display: flex` above out-specifies the browser
default `[hidden] { display: none }` (both are specificity 0,0,1,0
but the class rule loads later), so without this override the
modal stays visible and shows an empty "Store item" / "Player"
shell on every page load. Force the hidden attribute to win. */
.modal[hidden] { display: none !important; }
.modal-content {
width: 100%;
max-width: 820px;
position: relative;
margin: auto;
box-shadow: var(--shadow-lg);
animation: modalIn 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
/* Override .card's translucent var(--panel) (rgba 0.85) — at
0.85 the table behind shows through, making the modal form
look like it's overlapping page content. Force the panel
solid here so the modal reads as a discrete dialog. */
background: var(--panel-solid) !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
@keyframes modalIn {
from { opacity: 0; transform: translateY(8px) scale(0.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal #modalTitle {
margin-bottom: 16px;
padding-right: 40px;
background: var(--accent-grad);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.modal .close {
position: absolute;
top: 16px;
right: 16px;
background: var(--panel-2);
border: 1px solid var(--border);
color: var(--muted);
font-size: 18px;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
line-height: 1;
}
.modal .close:hover { color: var(--text); background: var(--panel-3); transform: none; }
/* ── Sections inside modal ───────────────────────────────────────── */
.section {
border-top: 1px solid var(--border-subtle);
padding-top: 18px;
margin-top: 18px;
}
.section:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.kvp {
display: grid;
grid-template-columns: 130px 1fr;
gap: 8px 16px;
margin: 0;
}
.kvp .k {
color: var(--muted);
font-size: 12px;
font-weight: 500;
}
.kvp > * { padding: 4px 0; }
/* ── Color swatches (hair / skin preview) ────────────────────────── */
.swatch-input {
display: flex;
gap: 8px;
align-items: stretch;
}
.swatch-input input { flex: 1; }
.swatch {
width: 36px;
height: 36px;
border-radius: 8px;
border: 1px solid var(--border);
flex-shrink: 0;
background-image:
linear-gradient(45deg, #2a2f3a 25%, transparent 25%),
linear-gradient(-45deg, #2a2f3a 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #2a2f3a 75%),
linear-gradient(-45deg, transparent 75%, #2a2f3a 75%);
background-size: 8px 8px;
background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
}
/* ── Toast ───────────────────────────────────────────────────────── */
.toast {
position: fixed;
bottom: 24px;
right: 24px;
background: var(--panel-solid);
border: 1px solid var(--border);
color: var(--text);
padding: 12px 18px;
border-radius: 10px;
box-shadow: var(--shadow);
z-index: 200;
max-width: 360px;
font-size: 13px;
animation: toastIn 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
border-left: 3px solid var(--accent);
}
.toast.error { border-left-color: var(--danger); }
.toast.good { border-left-color: var(--good); }
@keyframes toastIn {
from { opacity: 0; transform: translateX(20px); }
to { opacity: 1; transform: translateX(0); }
}
textarea {
width: 100%;
resize: vertical;
min-height: 80px;
font-family: 'Inter', -apple-system, sans-serif;
}
form { margin: 0; }
/* ── Inline-checkbox helper ──────────────────────────────────────── */
.checkbox-label {
flex-direction: row !important;
align-items: center !important;
gap: 8px !important;
margin: 0 !important;
color: var(--text-dim);
cursor: pointer;
user-select: none;
padding: 8px 12px;
border-radius: 8px;
border: 1px solid var(--border);
background: var(--panel-solid);
transition: all var(--t);
font-size: 13px;
}
.checkbox-label:hover { border-color: var(--accent); color: var(--text); }
.checkbox-label input { width: auto; }
/* ── Empty state ─────────────────────────────────────────────────── */
.empty {
text-align: center;
padding: 40px 20px;
color: var(--muted);
font-size: 13px;
}
/* ── Scrollbar ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--panel-3); }
/* ── Numeric figures align nicely in tables ──────────────────────── */
.table td:first-child,
.table td.num { font-feature-settings: 'tnum'; color: var(--muted); }
/* ── Misc utilities ──────────────────────────────────────────────── */
.spacer { flex: 1; }
.right { margin-left: auto; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }