600 lines
14 KiB
CSS
600 lines
14 KiB
CSS
:root {
|
|
color-scheme:dark;
|
|
--bg:#060a10;
|
|
--panel:#0b1119;
|
|
--panel2:#101823;
|
|
--panel3:#151f2c;
|
|
--line:#1e2b3a;
|
|
--line2:#2a3b4e;
|
|
--text:#dce9ff;
|
|
--muted:#8190a5;
|
|
--accent:#35e6b2;
|
|
--accent2:#6bc8ff;
|
|
--warn:#ffcf82;
|
|
--danger:#ff6b81;
|
|
}
|
|
* {
|
|
box-sizing:border-box;
|
|
}
|
|
html,body,#root {
|
|
min-height:100%;
|
|
margin:0;
|
|
}
|
|
body {
|
|
overflow-x:hidden;
|
|
background:radial-gradient(circle at 18% 0,#102136 0,transparent 30rem),linear-gradient(180deg,#070c13,#05080d 58%,#060a10);
|
|
color:var(--text);
|
|
font:13px/1.5 Inter,"Segoe UI","Microsoft YaHei",sans-serif;
|
|
}
|
|
button,input,select,textarea {
|
|
font:inherit;
|
|
}
|
|
.rv-app,.cxd-Page,.cxd-Page-body,.cxd-Page-content {
|
|
min-height:100vh;
|
|
background:transparent!important;
|
|
color:var(--text)!important;
|
|
}
|
|
.cxd-Page-body,.cxd-Page-content {
|
|
padding:0!important;
|
|
}
|
|
.rv-shell {
|
|
width:min(1760px,100%);
|
|
margin:0 auto;
|
|
padding:18px 22px 44px;
|
|
}
|
|
.rv-topbar {
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:space-between;
|
|
gap:18px;
|
|
padding:8px 0 18px;
|
|
}
|
|
.rv-brand {
|
|
display:flex;
|
|
align-items:center;
|
|
gap:12px;
|
|
}
|
|
.rv-brand-mark {
|
|
display:grid;
|
|
width:42px;
|
|
height:42px;
|
|
place-items:center;
|
|
border:1px solid #35e6b255;
|
|
border-radius:10px;
|
|
color:var(--accent);
|
|
background:#35e6b20d;
|
|
box-shadow:inset 0 0 20px #35e6b20a;
|
|
font:800 13px/1 ui-monospace,SFMono-Regular,Consolas,monospace;
|
|
}
|
|
.rv-eyebrow {
|
|
margin:0 0 4px;
|
|
color:var(--accent);
|
|
font:700 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;
|
|
letter-spacing:.15em;
|
|
text-transform:uppercase;
|
|
}
|
|
.rv-brand h1,.rv-hero h2 {
|
|
margin:0;
|
|
color:#f2f7ff;
|
|
font-weight:720;
|
|
letter-spacing:-.02em;
|
|
}
|
|
.rv-brand h1 {
|
|
font-size:18px;
|
|
}
|
|
.rv-top-actions {
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:flex-end;
|
|
gap:10px;
|
|
}
|
|
.rv-connection,.rv-live-status {
|
|
display:inline-flex;
|
|
align-items:center;
|
|
gap:7px;
|
|
min-width:0;
|
|
color:var(--muted);
|
|
font:700 10px/1.25 ui-monospace,SFMono-Regular,Consolas,monospace;
|
|
}
|
|
.rv-connection i,.rv-live-status i {
|
|
width:7px;
|
|
height:7px;
|
|
flex:0 0 auto;
|
|
border-radius:50%;
|
|
background:#8793a3;
|
|
box-shadow:0 0 0 3px #8793a312;
|
|
}
|
|
.rv-connection-ready i,.rv-live-status-moving i,.rv-live-status-ready i {
|
|
background:var(--accent);
|
|
box-shadow:0 0 0 3px #35e6b21a,0 0 12px #35e6b280;
|
|
}
|
|
.rv-connection-error i,.rv-live-status-stalled i,.rv-live-status-error i {
|
|
background:var(--danger);
|
|
box-shadow:0 0 0 3px #ff6b811a,0 0 12px #ff6b8166;
|
|
}
|
|
.rv-live-status-duplicate i {
|
|
background:var(--warn);
|
|
}
|
|
.rv-hero {
|
|
display:grid;
|
|
grid-template-columns:minmax(0,1.45fr) minmax(380px,.75fr);
|
|
gap:20px;
|
|
padding:22px;
|
|
border:1px solid var(--line);
|
|
border-radius:12px;
|
|
background:linear-gradient(135deg,#0c1420ee,#091019ee);
|
|
box-shadow:0 16px 50px #00000036;
|
|
}
|
|
.rv-hero h2 {
|
|
margin-top:6px;
|
|
font-size:25px;
|
|
}
|
|
.rv-hero p {
|
|
margin:10px 0 0;
|
|
color:var(--muted);
|
|
}
|
|
.rv-hero-metrics .cxd-Grid-col {
|
|
padding:4px!important;
|
|
}
|
|
.rv-hero-metric,.rv-metric,.rv-limit-tile,.rv-observer-metric {
|
|
min-width:0;
|
|
height:100%;
|
|
padding:9px 10px;
|
|
border:1px solid var(--line);
|
|
border-radius:7px;
|
|
background:#090f17;
|
|
}
|
|
.rv-hero-metric b,.rv-metric b,.rv-observer-metric b {
|
|
display:block;
|
|
min-width:0;
|
|
overflow-wrap:anywhere;
|
|
color:var(--accent);
|
|
font:700 11px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;
|
|
}
|
|
.rv-hero-metric b {
|
|
font-size:18px;
|
|
}
|
|
.rv-hero-metric small,.rv-metric small,.rv-observer-metric small {
|
|
display:block;
|
|
margin-top:5px;
|
|
color:var(--muted);
|
|
font-size:9px;
|
|
line-height:1.35;
|
|
}
|
|
.rv-notice {
|
|
margin-top:12px;
|
|
}
|
|
.rv-filter-form {
|
|
margin:12px 0 5px;
|
|
}
|
|
.rv-filter-form .cxd-Form-row {
|
|
margin:0!important;
|
|
}
|
|
.rv-filter-form .cxd-ButtonGroup {
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
gap:5px;
|
|
}
|
|
.rv-mode-tabs {
|
|
margin-top:12px;
|
|
}
|
|
.rv-mode-tabs>.cxd-Tabs-links {
|
|
display:grid!important;
|
|
grid-template-columns:repeat(3,minmax(0,1fr));
|
|
gap:8px;
|
|
border:0!important;
|
|
background:transparent!important;
|
|
}
|
|
.rv-mode-tabs>.cxd-Tabs-links>li {
|
|
margin:0!important;
|
|
border:1px solid var(--line)!important;
|
|
border-radius:7px!important;
|
|
background:#0a111a!important;
|
|
}
|
|
.rv-mode-tabs>.cxd-Tabs-links>li>a {
|
|
padding:10px 12px!important;
|
|
color:var(--muted)!important;
|
|
font-weight:700!important;
|
|
}
|
|
.rv-mode-tabs>.cxd-Tabs-links>li.is-active {
|
|
border-color:#35e6b266!important;
|
|
background:#35e6b20d!important;
|
|
}
|
|
.rv-mode-tabs>.cxd-Tabs-links>li.is-active>a {
|
|
color:var(--accent)!important;
|
|
}
|
|
.rv-mode-tabs>.cxd-Tabs-content {
|
|
padding:10px 0 0!important;
|
|
border:0!important;
|
|
background:transparent!important;
|
|
}
|
|
.rv-page-header {
|
|
display:flex;
|
|
align-items:flex-end;
|
|
justify-content:space-between;
|
|
gap:14px;
|
|
margin:6px 0 12px;
|
|
padding:0 2px;
|
|
}
|
|
.rv-page-header h2 {
|
|
margin:2px 0 0;
|
|
color:#f2f7ff;
|
|
font-size:18px;
|
|
}
|
|
.rv-page-header p {
|
|
max-width:720px;
|
|
margin:0;
|
|
color:var(--muted);
|
|
text-align:right;
|
|
}
|
|
.rv-gallery>.cxd-Grid-col {
|
|
padding:6px!important;
|
|
}
|
|
.rv-card {
|
|
overflow:hidden;
|
|
min-width:0;
|
|
height:100%;
|
|
margin:0!important;
|
|
border:1px solid var(--line)!important;
|
|
border-radius:9px!important;
|
|
background:var(--panel)!important;
|
|
box-shadow:0 12px 32px #0000002b!important;
|
|
}
|
|
.rv-card>.cxd-Panel-body {
|
|
padding:0!important;
|
|
background:transparent!important;
|
|
}
|
|
.rv-card>.cxd-Panel-footer {
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
gap:8px;
|
|
padding:10px!important;
|
|
border-top:1px solid var(--line)!important;
|
|
background:#090f17!important;
|
|
}
|
|
.rv-card-header {
|
|
display:flex;
|
|
align-items:flex-start;
|
|
justify-content:space-between;
|
|
gap:12px;
|
|
padding:12px 13px 10px;
|
|
}
|
|
.rv-card-category {
|
|
display:block;
|
|
margin-bottom:3px;
|
|
color:var(--accent2);
|
|
font:700 9px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;
|
|
text-transform:uppercase;
|
|
}
|
|
.rv-card-title {
|
|
margin:0;
|
|
color:#eef5ff;
|
|
font-size:15px;
|
|
}
|
|
.rv-card-statuses {
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
justify-content:flex-end;
|
|
gap:8px;
|
|
}
|
|
.rv-canvas-shell {
|
|
position:relative;
|
|
width:100%;
|
|
height:clamp(300px,34vw,520px);
|
|
min-height:0;
|
|
overflow:hidden;
|
|
outline:none;
|
|
border-block:1px solid var(--line);
|
|
background:#04070b;
|
|
}
|
|
.rv-canvas-shell:focus-within {
|
|
box-shadow:inset 0 0 0 1px #35e6b25c;
|
|
}
|
|
.rv-canvas-shell canvas {
|
|
display:block;
|
|
width:100%;
|
|
height:100%;
|
|
background:#07111f;
|
|
image-rendering:auto;
|
|
}
|
|
.rv-canvas-hint {
|
|
position:absolute;
|
|
right:8px;
|
|
bottom:7px;
|
|
padding:3px 6px;
|
|
border:1px solid #ffffff14;
|
|
border-radius:4px;
|
|
color:#9cabc0;
|
|
background:#05090dc7;
|
|
pointer-events:none;
|
|
font:9px/1.25 ui-monospace,SFMono-Regular,Consolas,monospace;
|
|
}
|
|
.rv-canvas-loading {
|
|
position:absolute;
|
|
inset:0;
|
|
display:grid;
|
|
place-items:center;
|
|
color:var(--muted);
|
|
background:#05090de6;
|
|
pointer-events:none;
|
|
}
|
|
.rv-canvas-ready .rv-canvas-loading {
|
|
display:none;
|
|
}
|
|
.rv-metrics-grid,.rv-limit-grid,.rv-observer-grid,.rv-client-grid {
|
|
padding:6px;
|
|
border-bottom:1px solid var(--line);
|
|
background:#070c12;
|
|
}
|
|
.rv-metrics-grid .cxd-Grid-col,.rv-limit-grid .cxd-Grid-col,.rv-observer-grid .cxd-Grid-col,.rv-client-grid .cxd-Grid-col {
|
|
padding:3px!important;
|
|
}
|
|
.rv-limit-tile {
|
|
color:var(--muted);
|
|
font:700 9px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;
|
|
}
|
|
.rv-limit-tile b {
|
|
display:block;
|
|
margin-top:3px;
|
|
overflow-wrap:anywhere;
|
|
color:inherit;
|
|
}
|
|
.rv-limit-tile[data-active="true"] {
|
|
border-color:#ffb84d66;
|
|
color:var(--warn);
|
|
background:#ff9d170c;
|
|
}
|
|
.rv-observer-title {
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:space-between;
|
|
gap:12px;
|
|
padding:7px 10px;
|
|
border-bottom:1px solid var(--line);
|
|
color:#9ab1cc;
|
|
background:#07101a;
|
|
font:700 9px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;
|
|
}
|
|
.rv-observer-title b {
|
|
color:var(--accent);
|
|
}
|
|
.rv-card-meta {
|
|
display:grid;
|
|
grid-template-columns:repeat(4,minmax(0,1fr));
|
|
gap:1px;
|
|
border-top:1px solid var(--line);
|
|
background:var(--line);
|
|
}
|
|
.rv-card-meta div {
|
|
min-width:0;
|
|
padding:8px 10px;
|
|
background:#0a1018;
|
|
}
|
|
.rv-card-meta b,.rv-card-meta code {
|
|
display:block;
|
|
min-width:0;
|
|
overflow-wrap:anywhere;
|
|
color:#c8d7ea;
|
|
font-size:10px;
|
|
}
|
|
.rv-card-meta small {
|
|
display:block;
|
|
margin-top:3px;
|
|
color:var(--muted);
|
|
font-size:8px;
|
|
}
|
|
.rv-menu-host {
|
|
position:fixed;
|
|
z-index:10000;
|
|
inset:0;
|
|
padding:12px;
|
|
background:#00000078;
|
|
backdrop-filter:blur(3px);
|
|
}
|
|
.rv-menu-host[hidden] {
|
|
display:none;
|
|
}
|
|
.rv-menu-root {
|
|
width:min(760px,calc(100vw - 24px));
|
|
max-height:calc(100vh - 24px);
|
|
margin-left:auto;
|
|
overflow:auto;
|
|
border:1px solid var(--line2);
|
|
border-radius:10px;
|
|
background:#0a1018;
|
|
box-shadow:0 24px 80px #00000099;
|
|
}
|
|
.rv-menu-root .cxd-Page,.rv-menu-root .cxd-Page-body,.rv-menu-root .cxd-Page-content {
|
|
min-height:0!important;
|
|
}
|
|
.rv-menu-shell {
|
|
padding:12px;
|
|
}
|
|
.rv-menu-header {
|
|
display:flex;
|
|
align-items:flex-start;
|
|
justify-content:space-between;
|
|
gap:12px;
|
|
padding-bottom:10px;
|
|
border-bottom:1px solid var(--line);
|
|
}
|
|
.rv-menu-header h2 {
|
|
margin:2px 0 4px;
|
|
color:#f2f7ff;
|
|
font-size:18px;
|
|
}
|
|
.rv-menu-header p {
|
|
margin:0;
|
|
color:var(--muted);
|
|
}
|
|
.rv-menu-tabs>.cxd-Tabs-links {
|
|
margin-top:10px!important;
|
|
border-bottom-color:var(--line)!important;
|
|
}
|
|
.rv-menu-tabs>.cxd-Tabs-content {
|
|
padding:10px 0 0!important;
|
|
border:0!important;
|
|
background:transparent!important;
|
|
}
|
|
.rv-control-panel {
|
|
margin:0 0 8px!important;
|
|
border:1px solid var(--line)!important;
|
|
background:#0b121b!important;
|
|
}
|
|
.rv-control-panel>.cxd-Panel-heading {
|
|
border-bottom:1px solid var(--line)!important;
|
|
background:#0d1621!important;
|
|
color:var(--accent2)!important;
|
|
font-weight:700!important;
|
|
}
|
|
.rv-control-panel>.cxd-Panel-body {
|
|
padding:8px 10px!important;
|
|
background:transparent!important;
|
|
}
|
|
.rv-control-form {
|
|
margin:0!important;
|
|
padding:4px 0!important;
|
|
border-bottom:1px solid #182331;
|
|
}
|
|
.rv-control-form:last-child {
|
|
border-bottom:0;
|
|
}
|
|
.rv-control-form .cxd-Form-row {
|
|
margin:0!important;
|
|
}
|
|
.rv-action-form {
|
|
margin:0!important;
|
|
padding:10px 0!important;
|
|
border-bottom:1px solid #182331;
|
|
}
|
|
.rv-action-form:last-child {
|
|
border-bottom:0;
|
|
}
|
|
.rv-action-head {
|
|
display:flex;
|
|
align-items:flex-start;
|
|
justify-content:space-between;
|
|
gap:12px;
|
|
margin-bottom:8px;
|
|
}
|
|
.rv-action-head>div {
|
|
min-width:0;
|
|
}
|
|
.rv-action-head b {
|
|
display:block;
|
|
color:#edf7ff;
|
|
font-size:12px;
|
|
}
|
|
.rv-action-head code {
|
|
display:block;
|
|
margin-top:3px;
|
|
color:var(--accent);
|
|
font:9px/1.35 ui-monospace,monospace;
|
|
overflow-wrap:anywhere;
|
|
}
|
|
.rv-action-head small {
|
|
max-width:45%;
|
|
color:var(--muted);
|
|
font-size:9px;
|
|
line-height:1.4;
|
|
}
|
|
.rv-json .cxd-JSONField {
|
|
border-color:var(--line)!important;
|
|
background:#070c12!important;
|
|
color:#cddbf0!important;
|
|
}
|
|
.cxd-Panel,.cxd-Card,.cxd-Form,.cxd-Tabs-content,.cxd-Drawer-content,.cxd-Modal-content {
|
|
color:var(--text)!important;
|
|
}
|
|
.cxd-Button {
|
|
border-color:var(--line2)!important;
|
|
background:#111b27!important;
|
|
color:#c9d7ea!important;
|
|
box-shadow:none!important;
|
|
}
|
|
.cxd-Button:hover,.cxd-Button.is-active,.cxd-ButtonGroup .cxd-Button.is-active {
|
|
border-color:#35e6b266!important;
|
|
background:#35e6b212!important;
|
|
color:var(--accent)!important;
|
|
}
|
|
.cxd-Button--primary {
|
|
border-color:#35e6b25c!important;
|
|
background:#12342e!important;
|
|
color:#75f6d2!important;
|
|
}
|
|
.cxd-Form-label,.cxd-Form-itemLabel,.cxd-Form-itemLabel label {
|
|
color:#c9d7ea!important;
|
|
}
|
|
.cxd-Form-description,.cxd-Form-help,.cxd-Form-itemDesc {
|
|
color:var(--muted)!important;
|
|
}
|
|
.cxd-TextControl-input,.cxd-NumberControl-input,.cxd-Select,.cxd-SelectControl,.cxd-ColorPicker,.cxd-InputBox,.cxd-TextControl {
|
|
border-color:var(--line2)!important;
|
|
background:#070d14!important;
|
|
color:var(--text)!important;
|
|
}
|
|
.cxd-Select-menu,.cxd-PopOver,.cxd-PopOverAble-popover {
|
|
border-color:var(--line2)!important;
|
|
background:#0d1621!important;
|
|
color:var(--text)!important;
|
|
}
|
|
.cxd-Tabs-links>li>a {
|
|
color:var(--muted)!important;
|
|
}
|
|
.cxd-Tabs-links>li.is-active>a {
|
|
color:var(--accent)!important;
|
|
}
|
|
.cxd-Tabs-links>li.is-active>a:after {
|
|
background:var(--accent)!important;
|
|
}
|
|
.cxd-Alert {
|
|
border-color:var(--line2)!important;
|
|
background:#0c1420!important;
|
|
color:#cbd9eb!important;
|
|
}
|
|
.cxd-Alert--danger {
|
|
border-color:#ff6b8159!important;
|
|
background:#271018!important;
|
|
color:#ffb2bd!important;
|
|
}
|
|
.cxd-Switch.is-checked {
|
|
background:var(--accent)!important;
|
|
}
|
|
@media (max-width:1100px) {
|
|
.rv-hero {
|
|
grid-template-columns:1fr;
|
|
}
|
|
.rv-card-meta {
|
|
grid-template-columns:repeat(2,minmax(0,1fr));
|
|
}
|
|
}
|
|
@media (max-width:720px) {
|
|
.rv-shell {
|
|
padding:12px 8px 28px;
|
|
}
|
|
.rv-topbar,.rv-page-header {
|
|
align-items:flex-start;
|
|
flex-direction:column;
|
|
}
|
|
.rv-top-actions {
|
|
width:100%;
|
|
justify-content:space-between;
|
|
}
|
|
.rv-page-header p {
|
|
text-align:left;
|
|
}
|
|
.rv-mode-tabs>.cxd-Tabs-links {
|
|
grid-template-columns:1fr;
|
|
}
|
|
.rv-card-meta {
|
|
grid-template-columns:1fr;
|
|
}
|
|
.rv-menu-host {
|
|
padding:6px;
|
|
}
|
|
.rv-menu-root {
|
|
width:100%;
|
|
max-height:calc(100vh - 12px);
|
|
}
|
|
}
|