441 lines
6.8 KiB
CSS
441 lines
6.8 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
|
|
|
|
:root {
|
|
color-scheme: dark;
|
|
--bg: #07110d;
|
|
--panel: rgba(12, 28, 22, 0.86);
|
|
--panel-strong: rgba(18, 45, 34, 0.94);
|
|
--line: rgba(129, 255, 188, 0.2);
|
|
--text: #e8fff2;
|
|
--muted: #91b8a2;
|
|
--green: #7cffb2;
|
|
--amber: #ffd166;
|
|
--red: #ff6b6b;
|
|
--shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
font-family: 'IBM Plex Sans', sans-serif;
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(circle at 20% 10%, rgba(124, 255, 178, 0.16), transparent 32rem),
|
|
radial-gradient(circle at 85% 0%, rgba(255, 209, 102, 0.1), transparent 26rem),
|
|
linear-gradient(140deg, #06100c 0%, #0a1711 48%, #050806 100%);
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
.shell {
|
|
width: min(1180px, calc(100vw - 32px));
|
|
margin: 0 auto;
|
|
padding: 32px 0;
|
|
}
|
|
|
|
.panel {
|
|
border: 1px solid var(--line);
|
|
background: var(--panel);
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(18px);
|
|
border-radius: 28px;
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
align-items: stretch;
|
|
padding: 32px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 12px;
|
|
color: var(--green);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.18em;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
font-family: 'Space Grotesk', sans-serif;
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
max-width: 780px;
|
|
font-size: clamp(38px, 7vw, 76px);
|
|
line-height: 0.92;
|
|
letter-spacing: -0.06em;
|
|
}
|
|
|
|
.lead {
|
|
max-width: 740px;
|
|
color: var(--muted);
|
|
font-size: 17px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.status-card {
|
|
min-width: 240px;
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: center;
|
|
align-self: flex-start;
|
|
padding: 18px;
|
|
border-radius: 20px;
|
|
background: var(--panel-strong);
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.status-card strong,
|
|
.status-card small {
|
|
display: block;
|
|
}
|
|
|
|
.status-card small {
|
|
color: var(--muted);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.dot {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
background: var(--amber);
|
|
box-shadow: 0 0 18px rgba(255, 209, 102, 0.65);
|
|
}
|
|
|
|
.dot.on {
|
|
background: var(--green);
|
|
box-shadow: 0 0 18px rgba(124, 255, 178, 0.75);
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
.primary-flow,
|
|
.details {
|
|
padding: 24px;
|
|
}
|
|
|
|
.section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.section-title.compact {
|
|
margin-top: 26px;
|
|
}
|
|
|
|
.section-title span {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background: var(--green);
|
|
color: #07110d;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.section-title h2 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
border: 1px solid var(--line);
|
|
background: rgba(1, 8, 5, 0.72);
|
|
color: var(--text);
|
|
padding: 16px 18px;
|
|
border-radius: 18px;
|
|
outline: none;
|
|
}
|
|
|
|
input:focus {
|
|
border-color: var(--green);
|
|
box-shadow: 0 0 0 4px rgba(124, 255, 178, 0.1);
|
|
}
|
|
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
border: 1px solid var(--line);
|
|
background: rgba(1, 8, 5, 0.72);
|
|
color: var(--text);
|
|
padding: 12px 14px;
|
|
border-radius: 16px;
|
|
outline: none;
|
|
}
|
|
|
|
textarea {
|
|
min-height: 92px;
|
|
resize: vertical;
|
|
}
|
|
|
|
select:focus,
|
|
textarea:focus {
|
|
border-color: var(--green);
|
|
box-shadow: 0 0 0 4px rgba(124, 255, 178, 0.1);
|
|
}
|
|
|
|
.button {
|
|
margin-top: 14px;
|
|
width: 100%;
|
|
border: 0;
|
|
border-radius: 18px;
|
|
padding: 16px 18px;
|
|
background: var(--green);
|
|
color: #07110d;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.button.apply {
|
|
background: linear-gradient(135deg, var(--green), #d8ff78);
|
|
}
|
|
|
|
.server-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.server,
|
|
.empty {
|
|
border: 1px solid var(--line);
|
|
background: rgba(1, 8, 5, 0.48);
|
|
color: var(--text);
|
|
text-align: left;
|
|
border-radius: 18px;
|
|
padding: 14px;
|
|
}
|
|
|
|
.server {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.server.active {
|
|
border-color: var(--green);
|
|
background: rgba(124, 255, 178, 0.12);
|
|
}
|
|
|
|
.server strong,
|
|
.server small {
|
|
display: block;
|
|
}
|
|
|
|
.server small {
|
|
color: var(--muted);
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.error {
|
|
margin-top: 14px;
|
|
color: var(--red);
|
|
background: rgba(255, 107, 107, 0.1);
|
|
border: 1px solid rgba(255, 107, 107, 0.24);
|
|
padding: 12px 14px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
dl {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin: 0;
|
|
}
|
|
|
|
dl div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
dt {
|
|
color: var(--muted);
|
|
}
|
|
|
|
dd {
|
|
margin: 0;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.route-card,
|
|
.logs {
|
|
margin-top: 20px;
|
|
padding: 16px;
|
|
border-radius: 18px;
|
|
border: 1px solid var(--line);
|
|
background: rgba(1, 8, 5, 0.36);
|
|
}
|
|
|
|
.route-card span {
|
|
color: var(--green);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.route-card p,
|
|
.logs p {
|
|
margin: 8px 0 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.logs span {
|
|
color: var(--green);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.rules-panel {
|
|
margin-top: 20px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.rules-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.rules-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.ghost-button,
|
|
.danger-button {
|
|
border: 1px solid var(--line);
|
|
color: var(--text);
|
|
background: rgba(1, 8, 5, 0.45);
|
|
border-radius: 14px;
|
|
padding: 10px 14px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ghost-button.solid {
|
|
background: var(--green);
|
|
color: #07110d;
|
|
border-color: var(--green);
|
|
}
|
|
|
|
.danger-button {
|
|
border-color: rgba(255, 107, 107, 0.35);
|
|
color: var(--red);
|
|
}
|
|
|
|
.rules-note {
|
|
margin: -6px 0 18px;
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.rule-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.rule-empty {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.rule-card {
|
|
display: grid;
|
|
gap: 14px;
|
|
padding: 16px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 22px;
|
|
background: rgba(1, 8, 5, 0.36);
|
|
}
|
|
|
|
.rule-top,
|
|
.rule-footer {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.rule-top input {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.checkbox-label input {
|
|
width: auto;
|
|
}
|
|
|
|
.rule-fields {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.hero,
|
|
.grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.hero {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.status-card {
|
|
width: 100%;
|
|
}
|
|
|
|
.rules-header,
|
|
.rule-top,
|
|
.rule-footer {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.rules-actions,
|
|
.rule-fields {
|
|
grid-template-columns: 1fr;
|
|
flex-direction: column;
|
|
}
|
|
}
|