Update relay to current MacClient implementation
This commit is contained in:
1 parent
9e49118e8e
commit
a571721d4c
8 files changed
+1062
-33
No files matched your search
@@ -0,0 +1,94 @@
|
||||
:root {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
color: #182127;
|
||||
background: #f0f4f5;
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
--muted: #657279;
|
||||
--line: #e1e8ea;
|
||||
--accent: #087e8b;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 70% -20%, #d9edf0 0, transparent 50%), #f4f6f7; }
|
||||
button, input { font: inherit; }
|
||||
.shell { width: min(960px, calc(100% - 40px)); margin: auto; }
|
||||
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce4e6; }
|
||||
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
|
||||
.brand-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; font-weight: 750; background: linear-gradient(145deg, #21a2a8, #126475); box-shadow: 0 5px 14px #137c8a44; }
|
||||
.brand strong, .brand small { display: block; }
|
||||
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }
|
||||
.top-actions { display: flex; align-items: center; gap: 10px; }
|
||||
.language { border: 0; padding: 9px 10px; border-radius: 9px; background: transparent; color: #47565d; cursor: pointer; font-size: 12px; font-weight: 700; }
|
||||
.hero { padding: 48px 0 30px; }
|
||||
.eyebrow { color: var(--accent); font-size: 10px; letter-spacing: .13em; font-weight: 750; }
|
||||
h1 { margin: 11px 0 8px; font-size: clamp(30px, 5vw, 43px); letter-spacing: -.045em; line-height: 1.08; }
|
||||
.hero p { margin: 0; max-width: 600px; color: var(--muted); font-size: 16px; line-height: 1.5; }
|
||||
.card { margin: 14px 0 26px; padding: 26px; border: 1px solid #e1e8e9; border-radius: 18px; background: #fff; box-shadow: 0 12px 40px #16363b0b; }
|
||||
.card h2 { margin: 5px 0; font-size: 22px; letter-spacing: -.025em; }
|
||||
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
|
||||
.card-heading p, .console-section p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
|
||||
.auth-tabs { display: flex; gap: 5px; margin: 22px 0 18px; border-bottom: 1px solid var(--line); }
|
||||
.auth-tabs button { border: 0; padding: 10px 12px; color: var(--muted); background: none; border-bottom: 2px solid transparent; cursor: pointer; }
|
||||
.auth-tabs button.active { border-color: var(--accent); color: #116d77; font-weight: 650; }
|
||||
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
|
||||
label { display: grid; gap: 7px; color: #47565d; font-size: 13px; }
|
||||
label input { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #cdd8da; border-radius: 9px; background: #fff; outline: none; }
|
||||
label input:focus { border-color: #168894; box-shadow: 0 0 0 3px #16889420; }
|
||||
.button { min-height: 38px; padding: 9px 13px; border: 1px solid #d3dddf; border-radius: 9px; background: #fff; color: #334249; cursor: pointer; font-weight: 620; }
|
||||
.button:hover { background: #f4f8f8; }
|
||||
.button:disabled { opacity: .55; cursor: wait; }
|
||||
.button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
|
||||
.button.primary:hover { background: #076d79; }
|
||||
.button.quiet { border-color: transparent; background: transparent; color: #4b5d64; }
|
||||
.button.danger { border-color: #f1d3d0; color: #aa3d34; }
|
||||
.button.small { min-height: 32px; padding: 6px 10px; font-size: 12px; }
|
||||
#auth-submit { grid-column: 1 / -1; justify-self: start; min-width: 150px; }
|
||||
.message { min-height: 18px; margin: 12px 0 0; color: #42726e; font-size: 13px; }
|
||||
.message.error { color: #b33e35; }
|
||||
.role { padding: 6px 9px; border-radius: 20px; background: #e9f4f3; color: #26736e; font-size: 11px; font-weight: 700; }
|
||||
.console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 24px; }
|
||||
.console-section { min-width: 0; }
|
||||
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; }
|
||||
.section-title h3 { margin: 0; font-size: 16px; }
|
||||
.section-title p { font-size: 12px; }
|
||||
.item-list { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
|
||||
.item-list li { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
|
||||
.item-list li span, .item-list small { display: block; }
|
||||
.item-list small { margin-top: 4px; color: var(--muted); font-size: 11px; }
|
||||
.item-list .empty { color: var(--muted); font-size: 13px; }
|
||||
.device-pending { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; padding: 14px; border: 1px solid #dce9e8; border-radius: 12px; background: #f5faf9; }
|
||||
.device-pending p { margin: 4px 0 0; color: var(--muted); font-family: ui-monospace, monospace; letter-spacing: .08em; }
|
||||
.device-code { margin: 22px 0 10px; padding: 17px; border-radius: 12px; background: #f0f6f6; color: #176a70; font: 700 clamp(22px, 5vw, 34px)/1.1 ui-monospace, SFMono-Regular, monospace; letter-spacing: .12em; text-align: center; }
|
||||
.muted { color: var(--muted); font-size: 13px; }
|
||||
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
|
||||
.one-time-code { display: grid; gap: 8px; margin-top: 12px; padding: 14px; border-radius: 10px; background: #eff7f4; color: #40544c; font-size: 13px; }
|
||||
.one-time-code code { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
|
||||
footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 35px; color: var(--muted); font-size: 12px; }
|
||||
footer a { color: #426a70; text-decoration: none; }
|
||||
.hidden { display: none !important; }
|
||||
@media (max-width: 680px) {
|
||||
.shell { width: min(100% - 28px, 560px); }
|
||||
.topbar { height: 68px; }
|
||||
.hero { padding: 36px 0 22px; }
|
||||
.card { padding: 18px; border-radius: 14px; }
|
||||
form, .console-grid { grid-template-columns: 1fr; }
|
||||
#auth-submit { grid-column: auto; }
|
||||
.auth-tabs { overflow-x: auto; }
|
||||
.auth-tabs button { flex: 0 0 auto; padding-inline: 8px; font-size: 13px; }
|
||||
.section-title { align-items: flex-start; }
|
||||
footer { flex-direction: column; gap: 8px; }
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root { color: #e7eeee; background: #0c1518; --muted: #9baaae; --line: #273638; --accent: #35a8ab; }
|
||||
body { background: radial-gradient(ellipse at 70% -20%, #17393b 0, transparent 52%), #101a1c; }
|
||||
.topbar { border-color: #263638; }
|
||||
.card { background: #172224; border-color: #263638; box-shadow: 0 12px 40px #0003; }
|
||||
label { color: #c1cdcf; }
|
||||
label input, .button { background: #1d2b2d; border-color: #354649; color: #e5eeee; }
|
||||
.button:hover { background: #26383a; }
|
||||
.button.primary { background: #16818a; border-color: #16818a; color: white; }
|
||||
.device-code { background: #203437; color: #8bd3d1; }
|
||||
.device-pending, .one-time-code { background: #1c2c2d; border-color: #304343; }
|
||||
.role { background: #203736; color: #9ad1c7; }
|
||||
.language, .button.quiet { color: #b8c7c9; }
|
||||
}
|
||||
Reference in new issue
Block a user