168 lines
14 KiB
CSS
168 lines
14 KiB
CSS
:root {
|
|
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
color: #dce9f3;
|
|
background: #050c14;
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
body { margin: 0; min-width: 900px; min-height: 100vh; overflow: hidden; }
|
|
button, input, textarea { font: inherit; }
|
|
button { color: inherit; }
|
|
|
|
.native-drag-handle {
|
|
position: fixed;
|
|
z-index: 1000;
|
|
top: 0;
|
|
right: 0;
|
|
left: 82px;
|
|
height: 34px;
|
|
cursor: grab;
|
|
-webkit-app-region: drag;
|
|
}
|
|
.native-drag-handle:active { cursor: grabbing; }
|
|
|
|
.login-gate {
|
|
display: grid;
|
|
min-height: 100vh;
|
|
place-items: center;
|
|
background:
|
|
radial-gradient(circle at 50% 12%, rgba(45, 121, 174, .18), transparent 38%),
|
|
radial-gradient(ellipse at 50% 110%, rgba(28, 119, 163, .28), transparent 42%),
|
|
#050c14;
|
|
}
|
|
.login-window {
|
|
position: relative;
|
|
width: min(620px, calc(100vw - 80px));
|
|
padding: 58px 56px 38px;
|
|
border: 1px solid rgba(103, 161, 202, .25);
|
|
border-radius: 18px;
|
|
background: linear-gradient(180deg, rgba(8, 20, 32, .96), rgba(5, 15, 25, .94));
|
|
box-shadow: 0 30px 90px rgba(0, 0, 0, .38), inset 0 1px rgba(255,255,255,.025);
|
|
text-align: center;
|
|
}
|
|
.login-window > .lake-mark { width: 58px; height: 58px; margin-bottom: 18px; transform: scale(1.65); }
|
|
.login-window > p { margin: 0 0 8px; color: #6ec2f4; font-size: 12px; letter-spacing: .18em; }
|
|
.login-window h1 { margin: 0; color: #f0f7fc; font-size: 31px; font-weight: 650; letter-spacing: -.03em; }
|
|
.login-window > span { display: block; margin: 13px auto 30px; color: #7790a3; font-size: 13px; }
|
|
.server-entry {
|
|
display: grid;
|
|
width: 100%;
|
|
grid-template-columns: 13px 1fr auto;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 18px 20px;
|
|
border: 1px solid rgba(86, 178, 239, .5);
|
|
border-radius: 10px;
|
|
color: #dff3ff;
|
|
background: linear-gradient(90deg, rgba(37, 115, 170, .2), rgba(23, 76, 116, .12));
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
.server-entry:hover { border-color: #5fc5ff; background: rgba(43, 128, 184, .2); }
|
|
.server-entry:disabled { cursor: wait; opacity: .68; }
|
|
.server-entry > i { width: 8px; height: 8px; border-radius: 50%; background: #46d2b8; box-shadow: 0 0 12px #46d2b8; }
|
|
.server-entry span { display: grid; gap: 5px; }.server-entry strong { font-size: 15px; }.server-entry small { color: #6f8ca1; font-size: 10px; }
|
|
.server-entry > b { color: #76caff; font-size: 22px; font-weight: 400; }
|
|
.reserved-logins { display: flex; align-items: center; gap: 7px; margin-top: 22px; }
|
|
.reserved-logins > span { margin-right: auto; color: #577084; font-size: 10px; }
|
|
.reserved-logins button { padding: 6px 9px; border: 1px solid rgba(99, 137, 164, .15); border-radius: 5px; color: #4b6478; background: rgba(10, 27, 41, .45); font-size: 9px; }
|
|
.login-window footer { margin-top: 28px; color: #4d697d; font-size: 10px; }
|
|
.login-window footer i { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: #3dbfa9; }
|
|
.login-error, .workspace-error { margin-top: 14px; padding: 10px 12px; border: 1px solid rgba(229, 95, 104, .25); color: #e78d94; background: rgba(120, 30, 38, .12); font-size: 10px; text-align: left; }
|
|
|
|
.education-os {
|
|
--line: rgba(118, 161, 191, .17);
|
|
--muted: #6d8496;
|
|
--blue: #5ab4f5;
|
|
--aqua: #43d0b9;
|
|
display: grid;
|
|
grid-template-columns: 224px minmax(0, 1fr);
|
|
height: 100vh;
|
|
background: radial-gradient(circle at 74% -20%, rgba(47, 111, 157, .17), transparent 42%), #06101a;
|
|
}
|
|
.side-rail {
|
|
position: relative;
|
|
display: flex;
|
|
min-height: 0;
|
|
flex-direction: column;
|
|
padding: 24px 12px 16px;
|
|
border-right: 1px solid var(--line);
|
|
overflow: hidden;
|
|
background: linear-gradient(180deg, #07111d 0%, #06111e 68%, #08243c 100%);
|
|
}
|
|
.side-rail::after {
|
|
position: absolute; inset: auto -25% 0; height: 28%; content: "";
|
|
pointer-events: none;
|
|
background: radial-gradient(ellipse at 50% 100%, rgba(42, 156, 210, .32), transparent 58%);
|
|
}
|
|
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; min-height: 60px; padding: 0 10px 17px; border-bottom: 1px solid var(--line); }
|
|
.brand > span { display: grid; gap: 4px; }.brand strong { color: #e7f1f8; font-size: 15px; }.brand small { color: #526d83; font-size: 8px; letter-spacing: .09em; }
|
|
.lake-mark { position: relative; display: inline-block; width: 32px; height: 32px; flex: 0 0 32px; }
|
|
.lake-mark::before, .lake-mark::after { position: absolute; left: 3px; right: 3px; top: 15px; height: 1px; border-radius: 50%; content: ""; background: #5bdfff; box-shadow: 0 0 12px #4ec9ff; transform: rotate(-12deg); }
|
|
.lake-mark::after { transform: rotate(12deg); }.lake-mark i { position: absolute; left: 14px; top: 5px; width: 3px; height: 22px; background: linear-gradient(transparent, #fff, transparent); box-shadow: 0 0 10px #69e8ff; }
|
|
.lake-mark b { position: absolute; left: 8px; top: 10px; width: 16px; height: 12px; border: 1px solid #549cf4; border-radius: 50%; transform: rotate(-18deg); }
|
|
.side-rail nav { position: relative; z-index: 1; display: grid; gap: 4px; margin-top: 18px; }
|
|
.side-rail nav button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 42px; padding: 0 11px; border: 0; border-radius: 6px; color: #8197a8; background: transparent; cursor: pointer; text-align: left; font-size: 12px; }
|
|
.side-rail nav button:hover { color: #d7ebf8; background: rgba(80, 147, 196, .08); }
|
|
.side-rail nav button.active { color: #78c6fa; background: linear-gradient(90deg, rgba(61, 148, 212, .2), rgba(61, 148, 212, .04)); box-shadow: inset 2px 0 #4aa8f0; }
|
|
.side-rail nav i { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid rgba(111, 154, 185, .25); border-radius: 6px; font-size: 10px; font-style: normal; }
|
|
.side-rail footer { position: relative; z-index: 1; display: grid; gap: 6px; margin-top: auto; padding: 12px 10px 2px; color: #607a8d; font-size: 9px; }
|
|
.side-rail footer span { color: #89a4b7; }.side-rail footer i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #45cfb7; box-shadow: 0 0 8px #45cfb7; }
|
|
|
|
.main-workspace { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: hidden; }
|
|
.topbar { display: grid; grid-template-columns: minmax(190px, .55fr) minmax(420px, 1.45fr) auto; align-items: center; gap: 24px; min-height: 86px; padding: 16px 24px 12px 28px; border-bottom: 1px solid var(--line); background: rgba(5, 14, 23, .74); }
|
|
.topbar > div:first-child { display: grid; gap: 3px; }.topbar small { color: #526c80; font-size: 9px; }.topbar strong { color: #e4eff7; font-size: 15px; }
|
|
.command-box { display: grid; grid-template-columns: 1fr auto; height: 43px; border: 1px solid rgba(84, 142, 183, .32); border-radius: 7px; overflow: hidden; background: #0a1927; }
|
|
.command-box input { min-width: 0; padding: 0 14px; border: 0; outline: 0; color: #d8e7f2; background: transparent; font-size: 11px; }
|
|
.command-box input::placeholder { color: #4f687b; }.command-box button { padding: 0 16px; border: 0; border-left: 1px solid rgba(84,142,183,.2); color: #75bff1; background: rgba(62, 133, 185, .08); cursor: pointer; font-size: 10px; }
|
|
.node-pill { padding: 8px 10px; border: 1px solid rgba(66, 197, 174, .2); border-radius: 6px; color: #78aa9f; background: rgba(38, 126, 112, .08); font-size: 9px; }
|
|
.node-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #47d0b7; }
|
|
.route-strip { display: flex; min-height: 32px; align-items: center; gap: 11px; padding: 5px 28px; border-bottom: 1px solid rgba(59, 190, 167, .15); color: #6f948b; background: rgba(29, 106, 94, .07); font-size: 9px; }
|
|
.route-strip code { color: #48cbb4; }.route-strip b { margin-left: auto; color: #54786f; font-weight: 500; }
|
|
.workspace-error { margin: 0; border-width: 0 0 1px; }
|
|
.page { min-height: 0; flex: 1; overflow: auto; padding: 25px 28px 36px; }
|
|
.page-stack { display: grid; gap: 16px; max-width: 1250px; margin: 0 auto; }
|
|
.page-intro { padding: 2px 2px 9px; }.page-intro p, .editor-page header p { margin: 0 0 7px; color: #4aa9e8; font-size: 9px; letter-spacing: .08em; }
|
|
.page-intro h2, .editor-page h2 { margin: 0; color: #edf5fa; font-size: 25px; font-weight: 650; letter-spacing: -.025em; }
|
|
.page-intro span, .editor-page header span { display: block; margin-top: 7px; color: #6c8395; font-size: 11px; }
|
|
.status-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
|
|
.status-card { display: grid; gap: 7px; min-height: 112px; padding: 15px 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 27, 42, .9), rgba(7, 21, 33, .9)); }
|
|
.status-card span { color: #71899b; font-size: 9px; }.status-card strong { color: #62d0bc; font-size: 20px; }.status-card small { color: #526b7f; font-size: 8px; }
|
|
.status-card--blue strong { color: #64b8ef; }.status-card--amber strong { color: #d5b463; }
|
|
.work-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
|
|
.work-panel, .chart-panel, .module-group, .brain-grid, .receipt-list { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 27, 42, .9), rgba(7, 20, 32, .92)); }
|
|
.work-panel > header, .module-group > header { display: flex; min-height: 45px; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line); }
|
|
.work-panel h3, .module-group h3 { margin: 0; color: #d9e7f0; font-size: 12px; }.work-panel header span, .module-group header span { color: #5b7487; font-size: 8px; }
|
|
.work-panel ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }.work-panel li { display: flex; min-height: 62px; align-items: center; gap: 12px; padding: 10px 15px; border-bottom: 1px solid rgba(118,161,191,.1); }
|
|
.work-panel li > b { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(79, 167, 226, .3); border-radius: 6px; color: #5aaee6; font-size: 8px; }
|
|
.work-panel li span { display: grid; gap: 4px; }.work-panel li strong { color: #afc2cf; font-size: 10px; }.work-panel li small { color: #587184; font-size: 8px; }
|
|
.rule-list { display: grid; padding: 10px 16px; }.rule-list p { color: #7d94a5; font-size: 10px; }.rule-list i { display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: #44cdb5; }
|
|
|
|
.editor-page { display: flex; max-width: 1250px; min-height: calc(100vh - 150px); margin: 0 auto; flex-direction: column; border: 1px solid var(--line); background: rgba(7, 20, 32, .9); }
|
|
.editor-page > header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
|
|
.editor-page h2 { font-size: 21px; }.editor-page header button { min-height: 34px; padding: 0 14px; border: 1px solid rgba(64, 198, 174, .48); border-radius: 5px; color: #c9f4eb; background: rgba(38, 142, 124, .15); cursor: pointer; font-size: 10px; }
|
|
.editor-page header button:disabled { opacity: .6; cursor: wait; }
|
|
.editor-page textarea { min-height: 0; flex: 1; padding: 28px 32px; border: 0; outline: 0; resize: none; color: #becfdc; background: rgba(4, 13, 21, .34); font: 13px/1.9 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
.chart-panel { display: grid; gap: 15px; padding: 24px; }.chart-row { display: grid; grid-template-columns: 88px 1fr 48px; align-items: center; gap: 12px; }
|
|
.chart-row > span, .chart-row > strong { color: #849aab; font-size: 10px; }.chart-row > strong { color: #a9c0cf; text-align: right; }
|
|
.chart-row > div { height: 9px; border-radius: 5px; overflow: hidden; background: #102738; }.chart-row i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #399bcf, #46d0b8); }
|
|
.module-group > div { display: grid; grid-template-columns: repeat(3, 1fr); }
|
|
.module-group article { position: relative; display: grid; min-height: 105px; gap: 7px; padding: 14px; border-right: 1px solid rgba(118,161,191,.1); border-bottom: 1px solid rgba(118,161,191,.1); }
|
|
.module-group article code { color: #4e94bf; font-size: 7px; }.module-group article strong { color: #b6c8d4; font-size: 10px; }.module-group article small { color: #526c7f; font-size: 7px; }
|
|
.module-state { width: fit-content; padding: 3px 5px; border-radius: 3px; color: #6ea494; background: rgba(49, 145, 123, .1); font-size: 6px; }
|
|
.module-state--pre_registered { color: #ad955e; background: rgba(165, 125, 48, .1); }.module-state--research_only { color: #8878a2; background: rgba(104, 75, 143, .12); }
|
|
.brain-grid { display: grid; grid-template-columns: 1fr 1fr; }.brain-grid article { display: flex; min-height: 86px; align-items: center; gap: 13px; padding: 14px; border-right: 1px solid rgba(118,161,191,.1); border-bottom: 1px solid rgba(118,161,191,.1); }
|
|
.brain-grid article > b { color: #355f7a; font: 17px ui-monospace, monospace; }.brain-grid article > div { display: grid; flex: 1; gap: 4px; }.brain-grid code { color: #4d8bb5; font-size: 7px; }.brain-grid strong { color: #b3c5d1; font-size: 10px; }.brain-grid small { color: #526a7c; font-size: 7px; }.brain-grid article > span { color: #897a9e; font-size: 7px; }
|
|
.receipt-list { display: grid; }.receipt-list article { display: flex; min-height: 68px; align-items: center; gap: 13px; padding: 12px 16px; border-bottom: 1px solid rgba(118,161,191,.1); }
|
|
.receipt-list article > i { width: 7px; height: 7px; border-radius: 50%; background: #44cdb4; box-shadow: 0 0 8px #44cdb4; }.receipt-list article > div { display: grid; flex: 1; grid-template-columns: 1fr auto; gap: 5px 20px; }
|
|
.receipt-list strong { color: #b4c6d2; font-size: 10px; }.receipt-list code { color: #45c9b1; font-size: 8px; }.receipt-list small { grid-column: 1 / -1; color: #526a7c; font-size: 7px; }.receipt-list > p { padding: 20px; color: #586f82; font-size: 9px; }
|
|
|
|
@media (max-width: 1100px) {
|
|
.education-os { grid-template-columns: 190px minmax(0, 1fr); }
|
|
.topbar { grid-template-columns: 170px minmax(350px, 1fr); }
|
|
.node-pill { display: none; }
|
|
.status-grid { grid-template-columns: 1fr 1fr; }
|
|
.module-group > div { grid-template-columns: 1fr 1fr; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
|