Hub: accounts, IMVU linking by tagline, proxy sign-in, presence, console
CI / test (push) Failing after 42s
CI / test (push) Failing after 42s
People sign up on the website and link IMVU accounts by putting a code in the account's tagline, which the hub reads from IMVU's public API (the most recent proof wins; link caps per person). IMVU's age verification or Access Pass make an account adult. T5DE's proxy signs in with a device code and keeps a WebSocket open, reporting the IMVU account in use and the community products it wears; /online shows those who opted in. Moderators get a console: who's online, people, link caps, bans, roles, and the audit log. Tests run the website and API against an embedded Postgres and a fake IMVU API. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
54e569bea3
commit
b9dc3f0ec1
36 files changed
+3548
-5
No files matched your search
@@ -0,0 +1,173 @@
|
||||
/* T5DE Hub: IMVU Classic's dialog palette (dark grays, gold buttons with black text), always dark. */
|
||||
|
||||
:root {
|
||||
--bg: #262626;
|
||||
--panel: #383838;
|
||||
--panel-2: #303030;
|
||||
--line: #4a4a4a;
|
||||
--text: #ededed;
|
||||
--muted: #a8a8a8;
|
||||
--gold: #ffd200;
|
||||
--gold-light: #ffe795;
|
||||
--green: #6fd36f;
|
||||
--red: #ff7b72;
|
||||
--blue: #7cc4ff;
|
||||
--radius: 8px;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html { background: var(--bg); }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
color: var(--text);
|
||||
font: 15px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
}
|
||||
|
||||
a { color: var(--gold); text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
|
||||
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
|
||||
|
||||
/* Header */
|
||||
.top {
|
||||
background: linear-gradient(#3a3a3a, #2c2c2c);
|
||||
border-bottom: 1px solid #000;
|
||||
box-shadow: 0 1px 0 #4a4a4a inset, 0 2px 8px rgba(0, 0, 0, .4);
|
||||
}
|
||||
.top .wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
|
||||
.brand { color: var(--text); font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 8px; }
|
||||
.brand:hover { text-decoration: none; }
|
||||
.logo {
|
||||
background: linear-gradient(var(--gold-light), var(--gold));
|
||||
color: #000; font-weight: 800; letter-spacing: .5px;
|
||||
padding: 2px 8px; border-radius: 5px; font-size: 15px;
|
||||
}
|
||||
nav { display: flex; gap: 4px; align-items: center; flex: 1; }
|
||||
nav a { color: var(--text); padding: 6px 12px; border-radius: 6px; }
|
||||
nav a:hover, nav a.here { background: #4a4a4a; text-decoration: none; }
|
||||
nav .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
|
||||
nav form { margin: 0; }
|
||||
|
||||
main { padding-top: 28px; padding-bottom: 40px; min-height: 70vh; }
|
||||
footer { padding: 24px 20px 40px; font-size: 13px; }
|
||||
|
||||
h1 { font-size: 26px; margin: 0 0 6px; font-weight: 600; }
|
||||
h2 { font-size: 18px; margin: 0 0 12px; font-weight: 600; }
|
||||
p.lead { color: var(--muted); margin: 0 0 24px; font-size: 16px; }
|
||||
.muted { color: var(--muted); }
|
||||
.small { font-size: 13px; }
|
||||
|
||||
/* Panels */
|
||||
.panel {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
padding: 20px;
|
||||
margin-bottom: 20px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
|
||||
}
|
||||
.panel.narrow { max-width: 420px; margin-left: auto; margin-right: auto; }
|
||||
.panel h2 .count { color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 6px; }
|
||||
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
|
||||
.stat { font-size: 30px; font-weight: 600; }
|
||||
|
||||
/* Buttons and forms */
|
||||
.button, button {
|
||||
display: inline-block;
|
||||
font: inherit; font-weight: 600; font-size: 14px;
|
||||
padding: 7px 16px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #b38f00;
|
||||
background: linear-gradient(var(--gold-light), var(--gold));
|
||||
color: #000;
|
||||
cursor: pointer;
|
||||
}
|
||||
.button:hover, button:hover { filter: brightness(1.06); text-decoration: none; }
|
||||
button.secondary, .button.secondary {
|
||||
background: linear-gradient(#616161, #3e3e3e);
|
||||
border-color: #2a2a2a;
|
||||
color: var(--text);
|
||||
}
|
||||
button.danger { background: linear-gradient(#b8443c, #8c2a24); border-color: #5c1a16; color: #fff; }
|
||||
button.link { background: none; border: none; color: var(--gold); padding: 0; font-weight: 400; }
|
||||
|
||||
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 4px; }
|
||||
input[type=text], input[type=password], input[type=number], input[type=search], textarea, select {
|
||||
width: 100%;
|
||||
font: inherit;
|
||||
padding: 8px 10px;
|
||||
color: var(--text);
|
||||
background: #262626;
|
||||
border: 1px solid #555;
|
||||
border-radius: 6px;
|
||||
}
|
||||
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: transparent; }
|
||||
.inline { display: flex; gap: 8px; align-items: center; }
|
||||
.inline input { flex: 1; }
|
||||
.actions { display: flex; gap: 8px; margin-top: 18px; align-items: center; flex-wrap: wrap; }
|
||||
.check { display: flex; gap: 8px; align-items: center; color: var(--text); font-size: 14px; margin: 8px 0; }
|
||||
|
||||
/* Messages */
|
||||
.flash, .error {
|
||||
padding: 10px 14px; border-radius: 6px; margin-bottom: 20px;
|
||||
}
|
||||
.flash { background: #2f3d2f; border: 1px solid #4b6b4b; }
|
||||
.error { background: #4a2a28; border: 1px solid #7a3b36; }
|
||||
|
||||
/* Linked accounts */
|
||||
.account-row {
|
||||
display: flex; gap: 16px; align-items: flex-start;
|
||||
padding: 16px 0; border-top: 1px solid var(--line);
|
||||
}
|
||||
.account-row:first-of-type { border-top: none; padding-top: 4px; }
|
||||
.avatar {
|
||||
width: 44px; height: 44px; border-radius: 50%; flex: none;
|
||||
background: linear-gradient(135deg, #5a5a5a, #3a3a3a);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-weight: 700; color: var(--gold);
|
||||
border: 1px solid #222;
|
||||
}
|
||||
.account-main { flex: 1; min-width: 0; }
|
||||
.account-name { font-weight: 600; font-size: 16px; }
|
||||
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
|
||||
.tag {
|
||||
font-size: 12px; padding: 1px 8px; border-radius: 999px;
|
||||
background: #2a2a2a; border: 1px solid #555; color: var(--muted);
|
||||
}
|
||||
.tag.ok { color: var(--green); border-color: #3f6b3f; }
|
||||
.tag.adult { color: var(--blue); border-color: #3b5f7a; }
|
||||
.tag.online { color: #000; background: var(--green); border-color: var(--green); }
|
||||
.tag.gold { color: #000; background: var(--gold); border-color: var(--gold); }
|
||||
.tag.warn { color: var(--red); border-color: #7a3b36; }
|
||||
.settings { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
|
||||
.settings form { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 0; }
|
||||
.row-actions { display: flex; gap: 8px; flex: none; }
|
||||
.row-actions form { margin: 0; }
|
||||
|
||||
.code {
|
||||
font: 600 22px/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace;
|
||||
letter-spacing: 1px;
|
||||
background: #222; border: 1px dashed var(--gold); color: var(--gold);
|
||||
padding: 10px 14px; border-radius: 6px; display: inline-block; margin: 6px 0;
|
||||
user-select: all;
|
||||
}
|
||||
ol.steps { padding-left: 20px; margin: 8px 0 0; }
|
||||
ol.steps li { margin: 6px 0; }
|
||||
|
||||
.outfit { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
|
||||
.item { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: #2a2a2a; border: 1px solid #555; }
|
||||
|
||||
/* Tables */
|
||||
table { width: 100%; border-collapse: collapse; font-size: 14px; }
|
||||
th { text-align: left; color: var(--muted); font-weight: 400; padding: 6px 8px; border-bottom: 1px solid var(--line); }
|
||||
td { padding: 8px; border-bottom: 1px solid #424242; vertical-align: top; }
|
||||
tr:last-child td { border-bottom: none; }
|
||||
|
||||
.empty { color: var(--muted); padding: 12px 0; }
|
||||
|
||||
.hero { text-align: center; padding: 30px 0 34px; }
|
||||
.hero h1 { font-size: 34px; }
|
||||
.hero .actions { justify-content: center; }
|
||||
Reference in new issue
Block a user