mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
8874 lines
162 KiB
CSS
8874 lines
162 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Inter, "Segoe UI", Arial, sans-serif;
|
|
background: #e8eef6;
|
|
color: #1e293b;
|
|
}
|
|
|
|
#root {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.app--shell {
|
|
/* Shared NetX chrome tokens — light ops shell + login-aligned blues */
|
|
--nm-accent: #3b82f6;
|
|
--nm-accent-deep: #2563eb;
|
|
--nm-header: #0f1b2d;
|
|
--nm-chrome: #e8eef6;
|
|
--nm-nav: #e4eaf2;
|
|
--nm-nav-border: #c0cad6;
|
|
--nm-nav-hover: #d7e0eb;
|
|
--nm-nav-active: #dbeafe;
|
|
--nm-nav-ink: #0f1b2d;
|
|
--nm-nav-muted: #64748b;
|
|
--nm-panel-border: #c8d2de;
|
|
--nm-brand: #0f1b2d;
|
|
--nm-text: #1e293b;
|
|
--nm-muted: #64748b;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.app-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 48px;
|
|
padding: 0 20px;
|
|
background: var(--nm-header, #0f1b2d);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.app-brand__logo {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
flex-shrink: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.app-brand__logo--static {
|
|
display: inline-block;
|
|
}
|
|
|
|
.app-brand__sep {
|
|
width: 1px;
|
|
height: 16px;
|
|
background: rgba(255, 255, 255, 0.22);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.app-brand__start {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-brand__apps {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.88);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.app-brand__apps:hover,
|
|
.app-brand__apps:focus-visible {
|
|
background: rgba(59, 130, 246, 0.22);
|
|
color: #fff;
|
|
outline: none;
|
|
}
|
|
|
|
.app-brand__module-title {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
white-space: nowrap;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.app-brand__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.app-brand__actions-group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.app-brand__actions-sep {
|
|
width: 1px;
|
|
height: 14px;
|
|
margin: 0 4px;
|
|
background: rgba(255, 255, 255, 0.18);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.app-main {
|
|
flex: 1;
|
|
padding: 20px 28px 32px;
|
|
background: var(--nm-chrome, #e8eef6);
|
|
color: var(--nm-text, #1e293b);
|
|
}
|
|
|
|
.workbench {
|
|
width: 100%;
|
|
max-width: none;
|
|
}
|
|
|
|
.app-main:has(> .workbench) {
|
|
padding: 16px 20px 28px;
|
|
}
|
|
|
|
.wb-head {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 18px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid #d5deea;
|
|
}
|
|
|
|
.wb-head__title {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.wb-section {
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.wb-section__head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wb-section__title {
|
|
margin: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
color: #334155;
|
|
}
|
|
|
|
.wb-section__title::before {
|
|
content: "";
|
|
width: 3px;
|
|
height: 12px;
|
|
border-radius: 2px;
|
|
background: #64748b;
|
|
}
|
|
|
|
.wb-section--monitoring .wb-section__title::before {
|
|
background: var(--nm-accent, #3b82f6);
|
|
}
|
|
|
|
.wb-section--operations .wb-section__title::before {
|
|
background: #0f766e;
|
|
}
|
|
|
|
.wb-section--system .wb-section__title::before {
|
|
background: #b45309;
|
|
}
|
|
|
|
.wb-section__count {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 5px;
|
|
border-radius: 999px;
|
|
background: #e8eef5;
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
line-height: 1;
|
|
}
|
|
|
|
.wb-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.wb-card,
|
|
.app-main .wb-card {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: auto;
|
|
min-width: 132px;
|
|
max-width: 100%;
|
|
min-height: 0;
|
|
margin: 0;
|
|
padding: 12px 16px 12px 12px;
|
|
border: 1px solid #d8e0ea;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
box-shadow: none;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
|
|
}
|
|
|
|
.wb-card:hover,
|
|
.wb-card:focus-visible {
|
|
border-color: #8fb4df;
|
|
background: #f7faff;
|
|
box-shadow: 0 2px 10px rgba(15, 39, 68, 0.08);
|
|
transform: none;
|
|
outline: none;
|
|
}
|
|
|
|
.wb-card--blue:hover,
|
|
.wb-card--blue:focus-visible {
|
|
border-color: #90caf9;
|
|
}
|
|
|
|
.wb-card--green:hover,
|
|
.wb-card--green:focus-visible {
|
|
border-color: #81c784;
|
|
}
|
|
|
|
.wb-card--amber:hover,
|
|
.wb-card--amber:focus-visible {
|
|
border-color: #ffd54f;
|
|
}
|
|
|
|
.wb-card--slate:hover,
|
|
.wb-card--slate:focus-visible {
|
|
border-color: #90a4ae;
|
|
}
|
|
|
|
.wb-card__icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 34px;
|
|
height: 38px;
|
|
border-radius: 0;
|
|
flex-shrink: 0;
|
|
/* Flat-top hexagon */
|
|
clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
|
|
}
|
|
|
|
.wb-card__icon svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.wb-card__icon--blue {
|
|
background: #e3f2fd;
|
|
color: var(--nm-accent, #3b82f6);
|
|
}
|
|
|
|
.wb-card__icon--green {
|
|
background: #e8f5e9;
|
|
color: #2e7d32;
|
|
}
|
|
|
|
.wb-card__icon--amber {
|
|
background: #fff8e1;
|
|
color: #f57f17;
|
|
}
|
|
|
|
.wb-card__icon--slate {
|
|
background: #eceff1;
|
|
color: #455a64;
|
|
}
|
|
|
|
.wb-card__label {
|
|
min-width: 0;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
line-height: 1.25;
|
|
white-space: nowrap;
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.header-menu__panel--light {
|
|
background: #fff;
|
|
border-color: #e2e8f0;
|
|
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.header-menu__label--light {
|
|
color: #64748b;
|
|
}
|
|
|
|
.header-menu__item--light {
|
|
color: #334155;
|
|
}
|
|
|
|
.header-menu__item--light:hover {
|
|
background: #f1f5f9;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.header-menu__item--active-light {
|
|
background: #e3f2fd;
|
|
color: var(--nm-accent, #3b82f6);
|
|
}
|
|
|
|
.header-menu {
|
|
position: relative;
|
|
}
|
|
|
|
.header-menu__trigger {
|
|
min-width: 36px;
|
|
height: 36px;
|
|
padding: 0 10px;
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
|
|
.header-menu__trigger:hover,
|
|
.header-menu__trigger:focus-visible {
|
|
border-color: #3d82f7;
|
|
outline: none;
|
|
}
|
|
|
|
.header-menu__panel {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
right: 0;
|
|
z-index: 50;
|
|
min-width: 148px;
|
|
padding: 6px;
|
|
border: 1px solid #2c405f;
|
|
border-radius: 10px;
|
|
background: #0f1e34;
|
|
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.header-menu__label {
|
|
padding: 6px 10px 4px;
|
|
font-size: 11px;
|
|
color: #6b7f9c;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.header-menu__item {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
padding: 8px 10px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: #c1cde0;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.header-menu__item:hover {
|
|
background: rgba(61, 130, 247, 0.14);
|
|
color: #dce8ff;
|
|
}
|
|
|
|
.header-menu__item--active {
|
|
background: rgba(61, 130, 247, 0.22);
|
|
color: #dce8ff;
|
|
}
|
|
|
|
.app-main button,
|
|
.app-main select,
|
|
.app-main input,
|
|
.app-main textarea {
|
|
border: 1px solid #cbd5e1;
|
|
background: #fff;
|
|
color: #1f2937;
|
|
border-radius: 6px;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
button,
|
|
select,
|
|
input,
|
|
textarea {
|
|
border: 1px solid #cbd5e1;
|
|
background: #fff;
|
|
color: #1f2937;
|
|
border-radius: 6px;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
resize: vertical;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(220px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.app-main .card,
|
|
.app-main .panel {
|
|
border: 1px solid #e2e8f0;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
padding: 14px;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
|
|
}
|
|
|
|
.card,
|
|
.panel {
|
|
border: 1px solid #e2e8f0;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
padding: 14px;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
|
|
}
|
|
|
|
.card h3,
|
|
.panel h2 {
|
|
margin: 0 0 10px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.card__section-title {
|
|
margin: 14px 0 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.card input:not([type="checkbox"]):not([type="radio"]),
|
|
.card select,
|
|
.card textarea {
|
|
width: 100%;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.card input[type="checkbox"],
|
|
.card input[type="radio"] {
|
|
width: auto;
|
|
margin-bottom: 0;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.pager input,
|
|
.pager select {
|
|
width: auto;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.actions-row {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.actions-row--inline {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: nowrap;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.card--full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.filter-inline {
|
|
display: grid;
|
|
grid-template-columns: minmax(280px, 2fr) minmax(180px, 1fr) minmax(180px, 1fr) 180px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.filter-inline input,
|
|
.filter-inline select {
|
|
width: 100%;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
a {
|
|
color: var(--nm-accent, #3b82f6);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.muted {
|
|
color: #64748b;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
border-bottom: 1px solid #e2e8f0;
|
|
padding: 8px;
|
|
text-align: left;
|
|
font-size: 13px;
|
|
vertical-align: top;
|
|
color: #334155;
|
|
}
|
|
|
|
th {
|
|
color: #64748b;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.split {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
pre {
|
|
white-space: pre-wrap;
|
|
margin: 0;
|
|
background: #0f172a;
|
|
color: #e2e8f0;
|
|
border: 1px solid #223651;
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.ws-log-panel {
|
|
margin-top: 12px;
|
|
max-height: 240px;
|
|
overflow-y: auto;
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
padding: 8px 10px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.ws-log-line {
|
|
padding: 3px 0;
|
|
border-bottom: 1px solid #e8edf3;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.ws-log-line:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.ws-log-line--error {
|
|
color: #c62828;
|
|
}
|
|
|
|
.ws-log-line--warning {
|
|
color: #e65100;
|
|
}
|
|
|
|
.ws-log-line--info {
|
|
color: #475569;
|
|
}
|
|
|
|
.ws-log-ts {
|
|
color: #94a3b8;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.pill {
|
|
margin-top: 8px;
|
|
padding: 6px 10px;
|
|
border-radius: 6px;
|
|
width: fit-content;
|
|
font-size: 12px;
|
|
background: #f1f5f9;
|
|
color: #334155;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.pill--high {
|
|
background: #ffebee;
|
|
border-color: #ffcdd2;
|
|
color: #b71c1c;
|
|
}
|
|
|
|
.pill--medium {
|
|
background: #fff8e1;
|
|
border-color: #ffe082;
|
|
color: #e65100;
|
|
}
|
|
|
|
.pill--low {
|
|
background: #e8f5e9;
|
|
border-color: #c8e6c9;
|
|
color: #2e7d32;
|
|
}
|
|
|
|
.link-btn {
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--nm-accent, #3b82f6);
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.link-btn--danger {
|
|
color: #c62828;
|
|
}
|
|
|
|
.link-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.table-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.status {
|
|
margin-top: 12px;
|
|
color: #9db2cf;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.app-main .conn-pill:not(.conn-pill--on-brand) {
|
|
font-size: 12px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 999px;
|
|
padding: 4px 10px;
|
|
background: #f8fafc;
|
|
color: #475569;
|
|
}
|
|
|
|
.conn-pill {
|
|
font-size: 12px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 999px;
|
|
padding: 4px 10px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.conn-pill--up {
|
|
border-color: #a5d6a7;
|
|
color: #2e7d32;
|
|
background: #e8f5e9;
|
|
}
|
|
|
|
.conn-pill--down {
|
|
border-color: #ef9a9a;
|
|
color: #c62828;
|
|
background: #ffebee;
|
|
}
|
|
|
|
.conn-pill--unknown {
|
|
border-color: #cbd5e1;
|
|
color: #64748b;
|
|
}
|
|
|
|
/* Brand header chips/buttons — must follow global button/conn-pill rules. */
|
|
.app-brand .conn-pill.conn-pill--on-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: 24px;
|
|
padding: 0 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand::before {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: #94a3b8;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand.conn-pill--up {
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand.conn-pill--up::before {
|
|
background: #4ade80;
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand.conn-pill--down {
|
|
border-color: rgba(248, 113, 113, 0.35);
|
|
background: rgba(127, 29, 29, 0.35);
|
|
color: #fecaca;
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand.conn-pill--down::before {
|
|
background: #f87171;
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand.conn-pill--unknown {
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand.conn-pill--unknown::before {
|
|
background: #94a3b8;
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand.conn-pill--user {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
color: rgba(255, 255, 255, 0.78);
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand.conn-pill--user::before {
|
|
display: none;
|
|
}
|
|
|
|
.app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks {
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks:hover,
|
|
.app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks:focus-visible {
|
|
border-color: rgba(59, 130, 246, 0.55);
|
|
background: rgba(59, 130, 246, 0.22);
|
|
color: #fff;
|
|
outline: none;
|
|
}
|
|
|
|
.app-brand .header-menu__trigger.header-menu__trigger--on-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 24px;
|
|
min-width: 24px;
|
|
padding: 0 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.78);
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
letter-spacing: normal;
|
|
line-height: 1;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.app-brand .header-menu__trigger.header-menu__trigger--on-brand.header-menu__trigger--icon {
|
|
width: 24px;
|
|
padding: 0;
|
|
font-size: 14px;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.app-brand .header-menu__trigger.header-menu__trigger--on-brand.header-menu__trigger--locale {
|
|
min-width: 36px;
|
|
padding: 0 8px;
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.app-brand .header-menu__trigger.header-menu__trigger--on-brand:hover,
|
|
.app-brand .header-menu__trigger.header-menu__trigger--on-brand:focus-visible {
|
|
background: rgba(59, 130, 246, 0.22);
|
|
border-color: rgba(59, 130, 246, 0.55);
|
|
color: #fff;
|
|
}
|
|
|
|
.app-brand .conn-pill.conn-pill--on-brand.conn-pill--up {
|
|
border-color: rgba(59, 130, 246, 0.35);
|
|
}
|
|
|
|
.app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks:hover,
|
|
.app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks:focus-visible {
|
|
border-color: rgba(59, 130, 246, 0.55);
|
|
background: rgba(59, 130, 246, 0.22);
|
|
color: #fff;
|
|
outline: none;
|
|
}
|
|
|
|
.toast {
|
|
position: fixed;
|
|
right: 20px;
|
|
bottom: 20px;
|
|
padding: 12px 16px;
|
|
border-radius: 8px;
|
|
border: 1px solid #cbd5e1;
|
|
background: #fff;
|
|
color: #1e293b;
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
z-index: 60;
|
|
max-width: 420px;
|
|
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
|
|
}
|
|
|
|
.toast--ok {
|
|
border-color: #81c784;
|
|
background: #e8f5e9;
|
|
color: #1b5e20;
|
|
}
|
|
|
|
.toast--error {
|
|
border-color: #ef9a9a;
|
|
background: #ffebee;
|
|
color: #b71c1c;
|
|
}
|
|
|
|
.inline-spinner {
|
|
display: inline-block;
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-right: 8px;
|
|
border: 2px solid rgba(255, 255, 255, 0.22);
|
|
border-top-color: rgba(255, 255, 255, 0.85);
|
|
border-radius: 50%;
|
|
vertical-align: -2px;
|
|
animation: inline-spin 0.65s linear infinite;
|
|
}
|
|
|
|
@keyframes inline-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.conn-pill--warn {
|
|
border-color: #ffe082;
|
|
color: #e65100;
|
|
background: #fff8e1;
|
|
}
|
|
|
|
.app-main .inline-spinner {
|
|
border-color: rgba(21, 101, 192, 0.2);
|
|
border-top-color: var(--nm-accent, #3b82f6);
|
|
}
|
|
|
|
.skeleton-line {
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
margin-bottom: 10px;
|
|
background: linear-gradient(90deg, #14253e 25%, #1d3558 50%, #14253e 75%);
|
|
background-size: 200% 100%;
|
|
animation: shimmer 1.4s infinite;
|
|
}
|
|
|
|
.mini-chart {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.mini-chart__row {
|
|
display: grid;
|
|
grid-template-columns: 70px 1fr 36px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mini-chart__label,
|
|
.mini-chart__value {
|
|
font-size: 12px;
|
|
color: #a8bad5;
|
|
}
|
|
|
|
.card-title-with-hint {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0;
|
|
}
|
|
|
|
.help-hint {
|
|
position: relative;
|
|
display: inline-flex;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.app-main .help-hint__trigger,
|
|
.help-hint__trigger {
|
|
width: auto;
|
|
height: auto;
|
|
min-width: 0;
|
|
padding: 0 2px;
|
|
border: none;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.app-main .help-hint__trigger:hover,
|
|
.app-main .help-hint__trigger:focus-visible,
|
|
.help-hint__trigger:hover,
|
|
.help-hint__trigger:focus-visible {
|
|
border: none;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
color: var(--nm-accent, #3b82f6);
|
|
outline: none;
|
|
}
|
|
|
|
.help-hint__popover {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
left: 0;
|
|
z-index: 40;
|
|
width: min(360px, 80vw);
|
|
padding: 10px 12px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
color: #334155;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
line-height: 1.45;
|
|
white-space: pre-line;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.help-hint--align-end .help-hint__popover {
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
|
|
.help-hint__popover--portal {
|
|
z-index: 2000;
|
|
width: auto;
|
|
}
|
|
|
|
.help-hint__popover--nowrap {
|
|
width: max-content;
|
|
max-width: min(90vw, 720px);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.panel__toolbar-end {
|
|
margin-left: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stat-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-card {
|
|
border: 1px solid var(--border, #e2e8f0);
|
|
border-radius: 8px;
|
|
padding: 12px 14px;
|
|
background: var(--panel-bg, #fff);
|
|
}
|
|
|
|
.stat-card strong {
|
|
display: block;
|
|
margin-top: 4px;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.btn-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: #2563eb;
|
|
color: #fff;
|
|
border-color: #1d4ed8;
|
|
}
|
|
|
|
.btn-primary:disabled {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.data-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.config-sync-policy-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px 16px;
|
|
}
|
|
|
|
.config-sync-policy-check {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.config-sync-policy-check input {
|
|
width: 14px;
|
|
height: 14px;
|
|
margin: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.config-sync-policy-field {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.config-sync-policy-field input[type="number"] {
|
|
width: 64px;
|
|
margin: 0;
|
|
}
|
|
|
|
.config-sync-policy-field select {
|
|
width: auto;
|
|
min-width: 110px;
|
|
margin: 0;
|
|
}
|
|
|
|
.ne-stats-card {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.ne-stats-card__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.ne-stats-card__header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.ne-stats-card__header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ne-stats-card__title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
}
|
|
|
|
.ne-stats-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 9px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.ne-stats-pill--pass { background: #dcfce7; color: #166534; }
|
|
.ne-stats-pill--fail { background: #fee2e2; color: #991b1b; }
|
|
.ne-stats-pill--testing{ background: #fef9c3; color: #854d0e; }
|
|
.ne-stats-pill--unknown{ background: #f1f5f9; color: #475569; }
|
|
|
|
.ne-stats-card__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ne-stats-card__tag-select {
|
|
height: 32px;
|
|
font-size: 13px;
|
|
padding: 0 8px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.ne-stats-card__loading {
|
|
color: #94a3b8;
|
|
font-size: 13px;
|
|
margin: 0;
|
|
}
|
|
|
|
.ne-stats-card__tag-cards {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(190px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.ne-tag-card {
|
|
border: 1px solid #cdd6e2;
|
|
border-radius: 8px;
|
|
background: #eef2f7;
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.ne-tag-card__title {
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
margin-bottom: 4px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ne-tag-card__total {
|
|
font-size: 12px;
|
|
color: #5b6b7c;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.ne-tag-card__pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Managed NE / UME / System pages — light content on shared chrome tokens */
|
|
.ne-page,
|
|
.ume-page,
|
|
.system-page {
|
|
margin: -20px -28px -32px;
|
|
padding: 16px 18px 24px;
|
|
min-height: calc(100vh - 48px);
|
|
background: var(--nm-chrome);
|
|
gap: 14px;
|
|
}
|
|
|
|
.ne-page > .panel,
|
|
.ume-page > .panel,
|
|
.ume-page > .cards > .panel,
|
|
.ume-page > .cards > .card,
|
|
.system-page > .panel {
|
|
padding: 16px 18px 18px;
|
|
border-color: var(--nm-panel-border);
|
|
box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06);
|
|
}
|
|
|
|
.ume-page > .cards {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
margin: 0;
|
|
grid-template-columns: none;
|
|
}
|
|
|
|
.ne-page .panel__toolbar,
|
|
.ume-page .panel__toolbar,
|
|
.system-page .panel__toolbar {
|
|
margin-bottom: 14px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--nm-panel-border, #c8d2de);
|
|
}
|
|
|
|
.ne-page .panel__toolbar h2,
|
|
.ume-page .panel__toolbar h2,
|
|
.system-page .panel__toolbar h2,
|
|
.ume-page .panel h2,
|
|
.ume-page .panel > h3,
|
|
.ume-page .card > h3,
|
|
.ume-page .card-title-with-hint {
|
|
font-size: 17px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand);
|
|
letter-spacing: -0.01em;
|
|
margin: 0;
|
|
}
|
|
|
|
.system-page .panel__hint {
|
|
margin: -6px 0 12px;
|
|
color: var(--nm-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ume-page .panel > h3,
|
|
.ume-page .card > h3,
|
|
.ume-page .card > .panel__toolbar {
|
|
margin-bottom: 14px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--nm-panel-border, #c8d2de);
|
|
}
|
|
|
|
.ume-page .card__section-title {
|
|
margin: 16px 0 10px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--nm-panel-border, #c8d2de);
|
|
font-size: 14px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand);
|
|
}
|
|
|
|
.ne-page .filter-inline,
|
|
.ume-page .filter-inline,
|
|
.system-page .filter-inline {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin-bottom: 0;
|
|
padding: 10px 12px;
|
|
border: 1px solid #cdd6e2;
|
|
border-radius: 8px;
|
|
background: #eef2f7;
|
|
grid-template-columns: none;
|
|
}
|
|
|
|
.ne-page .filter-inline input,
|
|
.ne-page .filter-inline select,
|
|
.ume-page .filter-inline input,
|
|
.ume-page .filter-inline select,
|
|
.system-page .filter-inline input,
|
|
.system-page .filter-inline select {
|
|
width: auto;
|
|
min-width: 140px;
|
|
flex: 1 1 160px;
|
|
max-width: 280px;
|
|
height: 32px;
|
|
margin: 0;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
padding: 0 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ne-page .filter-inline button,
|
|
.ume-page .filter-inline button,
|
|
.system-page .filter-inline button {
|
|
height: 32px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.ne-page .pt-list,
|
|
.ume-page .pt-list,
|
|
.system-page .pt-list {
|
|
gap: 12px;
|
|
}
|
|
|
|
.ne-page .pt-list-table-wrap,
|
|
.ume-page .pt-list-table-wrap,
|
|
.system-page .pt-list-table-wrap {
|
|
border-color: #cdd6e2;
|
|
}
|
|
|
|
.ne-page .pt-list-table thead th,
|
|
.ume-page .pt-list-table thead th,
|
|
.system-page .pt-list-table thead th {
|
|
background: #eef2f7;
|
|
color: var(--nm-muted);
|
|
}
|
|
|
|
.ne-page .pager.pt-list-pager,
|
|
.ne-page .pt-list-pager,
|
|
.ume-page .pager.pt-list-pager,
|
|
.ume-page .pt-list-pager,
|
|
.ume-page .pager,
|
|
.system-page .pager.pt-list-pager,
|
|
.system-page .pt-list-pager {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.ne-page .pt-list-pager select,
|
|
.ume-page .pt-list-pager select,
|
|
.ume-page .pager select,
|
|
.system-page .pt-list-pager select {
|
|
width: auto;
|
|
min-width: 110px;
|
|
height: 32px;
|
|
margin: 0;
|
|
}
|
|
|
|
.system-page .pt-list-actions select,
|
|
.system-page .pt-list-actions input {
|
|
width: auto;
|
|
min-width: 0;
|
|
height: 30px;
|
|
margin: 0;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.system-page .token-once {
|
|
padding: 12px 14px;
|
|
border: 1px solid #cdd6e2;
|
|
border-radius: 8px;
|
|
background: #eef2f7;
|
|
}
|
|
|
|
.system-page .token-once code {
|
|
display: block;
|
|
margin: 8px 0;
|
|
word-break: break-all;
|
|
font-size: 12px;
|
|
color: var(--nm-brand);
|
|
}
|
|
|
|
.system-page .token-create {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.system-page .token-scopes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 12px 14px;
|
|
border: 1px solid #cdd6e2;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.system-page .token-scopes__head {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.system-page .token-scopes__presets {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.system-page .token-scopes__inherit {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
}
|
|
|
|
.system-page .token-scopes__grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 16px;
|
|
}
|
|
|
|
.system-page .token-scopes__grid.is-disabled {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.system-page .token-scopes__grid label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: #334155;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.system-page .token-scopes-cell {
|
|
max-width: 280px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
color: #475569;
|
|
}
|
|
|
|
.token-page__title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0;
|
|
}
|
|
|
|
.help-q {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 999px;
|
|
border: 1px solid #94a3b8;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
cursor: help;
|
|
user-select: none;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.help-q:hover,
|
|
.help-q:focus-visible {
|
|
border-color: #64748b;
|
|
color: #334155;
|
|
outline: none;
|
|
}
|
|
|
|
.help-q__tip {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
top: calc(100% + 8px);
|
|
z-index: 90;
|
|
width: max-content;
|
|
max-width: min(360px, 70vw);
|
|
padding: 8px 10px;
|
|
border-radius: 6px;
|
|
background: #0f172a;
|
|
color: #f8fafc;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
line-height: 1.45;
|
|
white-space: normal;
|
|
text-align: left;
|
|
box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.help-q__tip::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 8px;
|
|
border: 5px solid transparent;
|
|
border-bottom-color: #0f172a;
|
|
}
|
|
|
|
.help-q:hover .help-q__tip,
|
|
.help-q:focus-visible .help-q__tip {
|
|
display: block;
|
|
}
|
|
|
|
.token-scopes-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.token-scopes-modal__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(15, 27, 45, 0.45);
|
|
}
|
|
|
|
.token-scopes-modal__panel {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: min(480px, 100%);
|
|
max-height: min(80vh, 640px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 16px 18px;
|
|
border-radius: 10px;
|
|
border: 1px solid #cdd6e2;
|
|
background: #fff;
|
|
box-shadow: 0 16px 40px rgba(15, 27, 45, 0.18);
|
|
}
|
|
|
|
.token-scopes-modal__head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.token-scopes-modal__head h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
}
|
|
|
|
.token-scopes-modal__list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: auto;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.token-scopes-modal__list > li + li {
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.token-scopes-modal__row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 10px 12px;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
}
|
|
|
|
.token-scopes-modal__row:hover {
|
|
background: #eef2f7;
|
|
}
|
|
|
|
.token-scopes-modal__row input {
|
|
margin-top: 2px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.token-scopes-modal__label {
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.token-scopes-modal__foot {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
|
|
.ume-page .pt-list-actions,
|
|
.ume-page .pt-list-table .btn-row {
|
|
gap: 6px;
|
|
}
|
|
|
|
.ume-page .actions-row--inline {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ume-page .panel__toolbar + .actions-row--inline,
|
|
.ume-page .panel__toolbar + .pt-list {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.mini-chart__bar-wrap {
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
background: #10213a;
|
|
border: 1px solid #223651;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mini-chart__bar {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #3973d2, #5aa1ff);
|
|
}
|
|
|
|
.pager {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pager__meta {
|
|
color: #9db2cf;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.pager__controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.pager__btn,
|
|
.pager__num {
|
|
min-width: 34px;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
.pager__num.active {
|
|
border-color: #4f7ec7;
|
|
background: rgba(61, 130, 247, 0.24);
|
|
color: #dce8ff;
|
|
}
|
|
|
|
.pager__size {
|
|
width: auto;
|
|
min-width: 88px;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
background-position: 200% 0;
|
|
}
|
|
100% {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
.page-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.page-stack > .cards {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.panel--warn {
|
|
border-color: #ffe082;
|
|
background: #fff8e1;
|
|
color: #5d4037;
|
|
}
|
|
|
|
.panel__toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.panel__toolbar h2,
|
|
.panel__toolbar h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.panel__actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn--danger {
|
|
color: #b71c1c;
|
|
border-color: #ef9a9a;
|
|
background: #ffebee;
|
|
}
|
|
|
|
.btn--danger:hover:not(:disabled) {
|
|
background: #ffcdd2;
|
|
}
|
|
|
|
.btn--danger:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.table-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 50;
|
|
background: rgba(15, 23, 42, 0.45);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
}
|
|
|
|
.modal {
|
|
width: min(720px, 100%);
|
|
max-height: 90vh;
|
|
overflow: auto;
|
|
background: #fff;
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
|
|
}
|
|
|
|
.modal--wide {
|
|
width: min(920px, 100%);
|
|
}
|
|
|
|
.connect-detail-summary {
|
|
margin-left: 8px;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.connect-log {
|
|
margin: 12px 0 0;
|
|
padding: 12px;
|
|
max-height: min(52vh, 480px);
|
|
overflow: auto;
|
|
background: #0f172a;
|
|
color: #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
.modal h3 {
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
.modal__actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.cli-connect-panel {
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.cli-connect-panel .form-grid,
|
|
.cli-connect-panel .form-fieldset {
|
|
width: 100%;
|
|
max-width: none;
|
|
}
|
|
|
|
.cli-connect-panel .form-grid label:not(.form-check) {
|
|
align-items: stretch;
|
|
text-align: left;
|
|
}
|
|
|
|
.cli-connect-panel .form-label {
|
|
display: block;
|
|
margin: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.cli-connect-panel .form-grid input,
|
|
.cli-connect-panel .form-grid select,
|
|
.cli-connect-panel .form-fieldset input,
|
|
.cli-connect-panel .form-fieldset select {
|
|
width: 100%;
|
|
margin: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.cli-connect-panel .form-fieldset {
|
|
text-align: left;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-inline-size: 0;
|
|
}
|
|
|
|
.cli-connect-panel .hop-proxy-fields,
|
|
.cli-connect-panel .hop-proxy-fields .form-grid {
|
|
width: 100%;
|
|
}
|
|
|
|
.cli-connect-panel .hop-proxy-fields .form-grid label {
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.cli-connect-panel .hop-proxy-fields .form-grid select,
|
|
.cli-connect-panel .hop-proxy-fields .form-grid input {
|
|
display: block;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
text-align: left;
|
|
text-align-last: left;
|
|
}
|
|
|
|
.cli-connect-panel .hop-proxy-fields .form-field-hint {
|
|
text-align: left;
|
|
}
|
|
|
|
.cli-connect-panel .form-fieldset legend {
|
|
margin: 0 0 8px;
|
|
padding: 0 6px;
|
|
text-align: left;
|
|
}
|
|
|
|
.cli-connect-panel .form-check {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.card .cli-connect-panel input,
|
|
.card .cli-connect-panel select,
|
|
.card .cli-connect-panel textarea {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.cli-connect-test-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.cli-connect-test-row input {
|
|
flex: 1 1 320px;
|
|
min-width: 240px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-hint {
|
|
margin: 0 0 12px;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.form-label__required {
|
|
color: #c62828;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.form-label__optional {
|
|
color: #94a3b8;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.form-field-hint {
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
margin: 0;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
text-align: left;
|
|
}
|
|
|
|
.form-grid label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.form-grid input,
|
|
.form-grid select {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-grid__full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.form-fieldset {
|
|
margin-top: 16px;
|
|
padding: 12px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.form-fieldset legend,
|
|
.form-fieldset__title {
|
|
padding: 0 6px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #334155;
|
|
}
|
|
|
|
.form-fieldset__title {
|
|
display: block;
|
|
margin: 0 0 10px;
|
|
padding: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.form-check {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.form-check__text {
|
|
white-space: nowrap;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* form-grid labels are column layout; checkbox rows must stay horizontal */
|
|
.form-grid label.form-check {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.table-tag {
|
|
display: inline-block;
|
|
margin-left: 6px;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
background: #e0f2fe;
|
|
color: #0369a1;
|
|
}
|
|
|
|
.form-grid--single {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.panel__hint {
|
|
margin: 0 0 12px;
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.panel__hint--live {
|
|
color: var(--nm-accent, #3b82f6);
|
|
}
|
|
|
|
.collect-commands {
|
|
width: 100%;
|
|
min-height: 160px;
|
|
font-family: ui-monospace, Consolas, monospace;
|
|
font-size: 13px;
|
|
line-height: 1.4;
|
|
padding: 10px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 6px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.collect-meta {
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.collect-create-panel__head {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.collect-create-panel--collapsed {
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.collect-create-panel h3 {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #334155;
|
|
}
|
|
|
|
.collect-selected-block,
|
|
.collect-pick-block {
|
|
margin-top: 20px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.collect-selected-block__head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px 16px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.collect-selected-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
max-height: 220px;
|
|
overflow: auto;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.collect-selected-chip {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 8px 12px;
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.collect-selected-chip__main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.collect-selected-chip__meta {
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.collect-pick-filters {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.collect-cmd-preview {
|
|
font-size: 12px;
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
max-height: 120px;
|
|
overflow: auto;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.collect-runs-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.collect-runs-toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.collect-runs-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: #475569;
|
|
}
|
|
|
|
.collect-runs-filter select {
|
|
min-width: 140px;
|
|
padding: 6px 8px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
}
|
|
|
|
.collect-runs-filter input {
|
|
min-width: 180px;
|
|
padding: 6px 8px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
}
|
|
|
|
.collect-run-message {
|
|
max-width: 420px;
|
|
max-height: 160px;
|
|
overflow: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
color: #334155;
|
|
padding: 6px 8px;
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.webcrt-page {
|
|
min-height: calc(100vh - 120px);
|
|
}
|
|
|
|
.webcrt-session-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
}
|
|
|
|
.webcrt-term-panel {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
min-height: 420px;
|
|
flex: 1;
|
|
}
|
|
|
|
.webcrt-term {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 240px;
|
|
background: #0b1220;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.webcrt-term .xterm {
|
|
height: 100%;
|
|
}
|
|
|
|
.webcrt-term .xterm-viewport {
|
|
overflow-y: auto !important;
|
|
}
|
|
|
|
/* WebCRT — light sidebar + main (shared chrome tokens) */
|
|
.webcrt-shell {
|
|
display: grid;
|
|
grid-template-columns: 280px 1fr;
|
|
height: calc(100vh - 48px);
|
|
min-height: 480px;
|
|
margin: -20px -28px -32px;
|
|
background: var(--nm-chrome);
|
|
border: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.webcrt-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--nm-nav);
|
|
border-right: 1px solid var(--nm-nav-border);
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
color: var(--nm-text);
|
|
box-shadow: inset -1px 0 0 rgba(15, 27, 45, 0.04);
|
|
}
|
|
|
|
.webcrt-sidebar__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
background: transparent;
|
|
border-bottom: 1px solid #d7dee8;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-sidebar__title {
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand);
|
|
line-height: 1.2;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.webcrt-sidebar__chrome {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 8px 10px;
|
|
background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
|
|
border-bottom: 1px solid #d7dee8;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-sidebar__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-height: 28px;
|
|
user-select: none;
|
|
}
|
|
|
|
.webcrt-sidebar__new-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 28px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: var(--nm-brand);
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.webcrt-sidebar__new-btn:hover {
|
|
background: transparent;
|
|
color: var(--nm-accent);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.app-main .webcrt-sidebar__new-btn {
|
|
border: 0;
|
|
box-shadow: none;
|
|
height: 28px;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.webcrt-menubar__item {
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-menubar__btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 28px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #475569;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.webcrt-menubar__btn:hover,
|
|
.webcrt-menubar__btn.is-open {
|
|
background: transparent;
|
|
color: var(--nm-brand);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.app-main .webcrt-menubar__btn {
|
|
border: 0;
|
|
box-shadow: none;
|
|
height: 28px;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.webcrt-menubar__menu {
|
|
position: absolute;
|
|
top: calc(100% + 2px);
|
|
left: 0;
|
|
z-index: 40;
|
|
min-width: 180px;
|
|
padding: 4px 0;
|
|
background: #fff;
|
|
border: 1px solid #c5d0de;
|
|
border-radius: 4px;
|
|
box-shadow: 0 8px 20px rgba(15, 39, 68, 0.14);
|
|
}
|
|
|
|
.webcrt-menubar__menu--end {
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
|
|
.webcrt-menubar__menu-item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 7px 14px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #1e293b;
|
|
font-size: 12px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.webcrt-menubar__menu-item:hover {
|
|
background: #e8f0fe;
|
|
color: var(--nm-brand);
|
|
}
|
|
|
|
.app-main .webcrt-menubar__menu-item {
|
|
border: 0;
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
height: auto;
|
|
}
|
|
|
|
.webcrt-session-opts {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.webcrt-session-opts__field {
|
|
display: grid;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.webcrt-session-opts__field--check {
|
|
grid-template-columns: 1fr auto;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.webcrt-session-opts__field--check input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin: 0;
|
|
}
|
|
|
|
.webcrt-session-opts__field select {
|
|
height: 34px;
|
|
padding: 0 10px;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.webcrt-session-opts__hint {
|
|
margin: 12px 0 0;
|
|
}
|
|
|
|
.webcrt-session-opts__colors {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
align-items: end;
|
|
}
|
|
|
|
.webcrt-session-opts__color input[type="color"] {
|
|
width: 100%;
|
|
height: 34px;
|
|
padding: 2px;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.webcrt-session-opts__preview {
|
|
grid-column: 1 / -1;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid #c5d0de;
|
|
border-radius: 6px;
|
|
font-family: Consolas, "Courier New", monospace;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.webcrt-session-opts-modal {
|
|
width: min(460px, 100%);
|
|
}
|
|
|
|
.webcrt-keyword-modal {
|
|
width: min(520px, 100%);
|
|
}
|
|
|
|
.webcrt-keyword-add {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto auto;
|
|
gap: 8px;
|
|
align-items: end;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.webcrt-keyword-add__regex {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: #334155;
|
|
padding-bottom: 8px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.webcrt-keyword-list-wrap {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
grid-template-rows: auto 1fr;
|
|
gap: 6px 8px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.webcrt-keyword-list-head {
|
|
grid-column: 1;
|
|
display: grid;
|
|
grid-template-columns: 1fr 48px;
|
|
gap: 8px;
|
|
padding: 0 8px;
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
color: #64748b;
|
|
}
|
|
|
|
.webcrt-keyword-list {
|
|
grid-column: 1;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 160px;
|
|
max-height: 220px;
|
|
overflow: auto;
|
|
border: 1px solid #c5d0de;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
}
|
|
|
|
.webcrt-keyword-list__empty {
|
|
padding: 16px;
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
text-align: center;
|
|
}
|
|
|
|
.webcrt-keyword-list__row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 48px;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 7px 8px;
|
|
border: 0;
|
|
border-bottom: 1px solid #eef2f7;
|
|
background: transparent;
|
|
color: #0f172a;
|
|
font-size: 12px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.webcrt-keyword-list__row:hover {
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
.webcrt-keyword-list__row.is-selected {
|
|
background: #e8f0fe;
|
|
color: var(--nm-brand);
|
|
}
|
|
|
|
.app-main .webcrt-keyword-list__row {
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
height: auto;
|
|
}
|
|
|
|
.webcrt-keyword-list__pattern {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.webcrt-keyword-list-actions {
|
|
grid-column: 2;
|
|
grid-row: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.webcrt-keyword-list-actions button {
|
|
width: 32px;
|
|
height: 28px;
|
|
padding: 0;
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.webcrt-keyword-footer {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 16px;
|
|
align-items: end;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.webcrt-keyword-color input[type="color"] {
|
|
width: 48px;
|
|
height: 32px;
|
|
padding: 2px;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.webcrt-sidebar__toolbar {
|
|
display: none;
|
|
}
|
|
|
|
.webcrt-sidebar__chrome .webcrt-sidebar__search {
|
|
padding: 0;
|
|
border-bottom: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-sidebar__search input {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
height: 30px;
|
|
padding: 0 10px;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--nm-text);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.webcrt-sidebar__search input::placeholder {
|
|
color: var(--nm-muted);
|
|
}
|
|
|
|
.webcrt-sidebar__chrome .webcrt-source-tabs {
|
|
margin: 0;
|
|
}
|
|
|
|
.webcrt-source-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 2px;
|
|
margin: 0;
|
|
padding: 2px;
|
|
background: #d7dee8;
|
|
border: 1px solid var(--nm-nav-border);
|
|
border-radius: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-source-tabs--4 {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.webcrt-new-session-modal,
|
|
.webcrt-auth-modal {
|
|
width: min(420px, calc(100vw - 32px));
|
|
max-height: calc(100vh - 48px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.webcrt-auth-error {
|
|
color: #b91c1c;
|
|
margin-top: -4px;
|
|
}
|
|
|
|
.webcrt-source-tabs__btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
height: 26px;
|
|
padding: 0 2px;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
color: var(--nm-muted);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.app-main .webcrt-source-tabs__btn,
|
|
.app-main .webcrt-sidebar__footer button,
|
|
.app-main .webcrt-tree__item,
|
|
.app-main .webcrt-action-btn {
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.app-main .webcrt-source-tabs__btn,
|
|
.app-main .webcrt-sidebar__footer button {
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
height: 28px;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
.app-main .webcrt-source-tabs__btn.is-active,
|
|
.app-main .webcrt-sidebar__footer button.is-active {
|
|
background: #fff;
|
|
color: var(--nm-accent);
|
|
box-shadow: inset 0 0 0 1px #b8c4d2;
|
|
}
|
|
|
|
.app-main .webcrt-tree__item {
|
|
border: 0;
|
|
border-left: 2px solid transparent;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
padding: 7px 10px;
|
|
}
|
|
|
|
.app-main .webcrt-tree__item.is-active,
|
|
.app-main .webcrt-tree__item.is-selected {
|
|
background: var(--nm-nav-active);
|
|
border-left-color: var(--nm-accent);
|
|
}
|
|
|
|
.app-main .webcrt-action-btn {
|
|
border: 1px solid #b8c4d2;
|
|
background: #fff;
|
|
height: 28px;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.webcrt-source-tabs__btn:last-child {
|
|
border-right: 0;
|
|
}
|
|
|
|
.webcrt-source-tabs__btn.is-active {
|
|
background: #fff;
|
|
color: var(--nm-accent);
|
|
box-shadow: inset 0 0 0 1px #b8c4d2;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.webcrt-tree {
|
|
flex: 1 1 auto;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
background: transparent;
|
|
min-height: 0;
|
|
overscroll-behavior: contain;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.webcrt-tree__folder {
|
|
padding: 6px 8px;
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand);
|
|
}
|
|
|
|
.webcrt-tree__empty {
|
|
padding: 10px 12px;
|
|
font-size: 12px;
|
|
color: var(--nm-muted);
|
|
}
|
|
|
|
.webcrt-tree__list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0 0 8px;
|
|
}
|
|
|
|
.webcrt-tree__item {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
padding: 7px 10px 7px 10px;
|
|
margin-bottom: 2px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
border-left: 2px solid transparent;
|
|
background: transparent;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.webcrt-tree__item:hover {
|
|
background: var(--nm-nav-hover);
|
|
}
|
|
|
|
.webcrt-tree__item.is-selected,
|
|
.webcrt-tree__item.is-active {
|
|
background: var(--nm-nav-active);
|
|
border-left-color: var(--nm-accent);
|
|
}
|
|
|
|
.webcrt-tree__icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
margin-top: 1px;
|
|
color: var(--nm-accent);
|
|
line-height: 1;
|
|
}
|
|
|
|
.webcrt-tree__label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.webcrt-tree__name {
|
|
color: var(--nm-brand);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.webcrt-tree__item.is-active .webcrt-tree__name {
|
|
color: var(--nm-accent);
|
|
}
|
|
|
|
.webcrt-tree__meta {
|
|
color: var(--nm-muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.webcrt-sidebar__pager {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
border-top: 1px solid #d7dee8;
|
|
background: #eef2f7;
|
|
font-size: 11px;
|
|
color: var(--nm-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-sidebar__pager-btns {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.app-main .webcrt-sidebar__pager-btns button,
|
|
.webcrt-sidebar__pager-btns button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
height: 24px;
|
|
padding: 0;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--nm-text);
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.app-main .webcrt-sidebar__pager-btns button:disabled,
|
|
.webcrt-sidebar__pager-btns button:disabled {
|
|
opacity: 0.35;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.webcrt-sidebar__footer {
|
|
display: flex;
|
|
gap: 2px;
|
|
margin: 0 10px 10px;
|
|
padding: 2px;
|
|
border: 1px solid var(--nm-nav-border);
|
|
border-radius: 6px;
|
|
background: #d7dee8;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-sidebar__footer button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
height: 28px;
|
|
padding: 0 6px;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
color: var(--nm-muted);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
}
|
|
|
|
.webcrt-sidebar__footer button.is-active {
|
|
background: #fff;
|
|
color: var(--nm-accent);
|
|
box-shadow: inset 0 0 0 1px #b8c4d2;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.webcrt-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
border-left: 1px solid var(--nm-panel-border);
|
|
}
|
|
|
|
.webcrt-tabs {
|
|
display: flex;
|
|
gap: 4px;
|
|
overflow-x: auto;
|
|
padding: 6px 8px 0;
|
|
background: #eef2f7;
|
|
border-bottom: 1px solid #cdd6e2;
|
|
min-height: 34px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-tabs__item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 10px;
|
|
border: 1px solid transparent;
|
|
border-bottom: 0;
|
|
border-radius: 6px 6px 0 0;
|
|
background: transparent;
|
|
color: var(--nm-muted);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.webcrt-tabs__item:hover {
|
|
background: #d7e0eb;
|
|
color: var(--nm-text);
|
|
}
|
|
|
|
.webcrt-tabs__item.is-active {
|
|
background: #fff;
|
|
border-color: #cdd6e2;
|
|
color: var(--nm-brand);
|
|
font-weight: 650;
|
|
box-shadow: 0 1px 0 #fff;
|
|
}
|
|
|
|
.webcrt-tabs__item.is-dead {
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.webcrt-tabs__item.is-dead.is-active {
|
|
background: #fef2f2;
|
|
border-color: #fecaca;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.webcrt-tabs__item.is-connecting {
|
|
color: #b45309;
|
|
}
|
|
|
|
/* span close mark — avoid global `button` border/padding chrome */
|
|
.webcrt-tabs__close {
|
|
display: inline;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
box-shadow: none;
|
|
outline: none;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: inherit;
|
|
line-height: inherit;
|
|
color: inherit;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.webcrt-tabs__close::before {
|
|
content: " ";
|
|
}
|
|
|
|
.webcrt-tabs__item:hover .webcrt-tabs__close,
|
|
.webcrt-tabs__close:hover {
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.webcrt-tabs__close:focus-visible {
|
|
opacity: 1;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.webcrt-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
background: #eef2f7;
|
|
border-bottom: 1px solid #cdd6e2;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-action-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
height: 28px;
|
|
padding: 0 10px;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--nm-text);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.webcrt-action-btn:hover {
|
|
background: #f8fafc;
|
|
border-color: #9bb0c4;
|
|
}
|
|
|
|
.webcrt-action-btn.is-active {
|
|
background: #d6e4f5;
|
|
border-color: #9bb6d9;
|
|
color: var(--nm-accent);
|
|
}
|
|
|
|
.webcrt-action-btn.is-warn {
|
|
background: #fef2f2;
|
|
border-color: #fca5a5;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.webcrt-action-btn.is-warn:hover {
|
|
background: #fee2e2;
|
|
border-color: #f87171;
|
|
}
|
|
|
|
.webcrt-connect-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-shrink: 0;
|
|
padding: 8px 12px;
|
|
background: #1e3a5f;
|
|
border-bottom: 1px solid #274a73;
|
|
color: #dbeafe;
|
|
z-index: 2;
|
|
}
|
|
|
|
.webcrt-connect-banner__text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.webcrt-connect-banner__text strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.webcrt-connect-banner__text span {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.webcrt-disconnect-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-shrink: 0;
|
|
padding: 8px 12px;
|
|
background: #7f1d1d;
|
|
border-bottom: 1px solid #991b1b;
|
|
color: #fee2e2;
|
|
z-index: 2;
|
|
}
|
|
|
|
.webcrt-disconnect-banner__text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.webcrt-disconnect-banner__text strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.webcrt-disconnect-banner__text span {
|
|
opacity: 0.85;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.webcrt-disconnect-banner .webcrt-action-btn.is-warn {
|
|
background: #fff;
|
|
border-color: #fecaca;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-main__body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
position: relative;
|
|
background: #0b1220;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.webcrt-main__terms {
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.webcrt-main__pane {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.webcrt-main__pane[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.webcrt-main__pane .webcrt-term,
|
|
.webcrt-main__pane .webcrt-term-wrap,
|
|
.webcrt-main__pane .webcrt-ssh-login {
|
|
flex: 1;
|
|
width: 100%;
|
|
height: auto !important;
|
|
min-height: 240px !important;
|
|
}
|
|
|
|
.webcrt-ssh-login {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.webcrt-ssh-login__save {
|
|
flex: 0 0 auto;
|
|
padding: 6px 12px;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.25);
|
|
color: #cbd5e1;
|
|
background: #0b1220;
|
|
}
|
|
|
|
.webcrt-ssh-login .ssh-login-term {
|
|
flex: 1;
|
|
min-height: 200px !important;
|
|
}
|
|
|
|
.webcrt-main__empty,
|
|
.webcrt-main__placeholder {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
color: #cbd5e1;
|
|
background: #0b1220;
|
|
text-align: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.webcrt-main__empty .panel__hint {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.webcrt-main__placeholder--error {
|
|
color: #fecaca;
|
|
}
|
|
|
|
.webcrt-error-detail {
|
|
margin: 8px 0 0;
|
|
max-width: 80%;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 12px;
|
|
color: #fee2e2;
|
|
text-align: left;
|
|
}
|
|
|
|
.webcrt-statusline {
|
|
display: none;
|
|
}
|
|
|
|
.webcrt-term-wrap {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.webcrt-term-wrap .webcrt-term {
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.webcrt-paste-status {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 10px;
|
|
z-index: 4;
|
|
padding: 4px 10px;
|
|
font-size: 12px;
|
|
color: #e2e8f0;
|
|
background: rgba(15, 23, 42, 0.92);
|
|
border: 1px solid #475569;
|
|
border-radius: 2px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.webcrt-find {
|
|
display: flex;
|
|
gap: 4px;
|
|
align-items: center;
|
|
padding: 4px 8px;
|
|
background: #1e293b;
|
|
border-bottom: 1px solid #334155;
|
|
z-index: 2;
|
|
}
|
|
|
|
.webcrt-find input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
background: #0f172a;
|
|
border: 1px solid #475569;
|
|
color: #e2e8f0;
|
|
padding: 2px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.webcrt-find button {
|
|
background: #334155;
|
|
border: 1px solid #475569;
|
|
color: #e2e8f0;
|
|
padding: 2px 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.webcrt-ctx {
|
|
position: fixed;
|
|
z-index: 50;
|
|
min-width: 120px;
|
|
background: #1e293b;
|
|
border: 1px solid #475569;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.webcrt-ctx button {
|
|
background: transparent;
|
|
border: 0;
|
|
color: #e2e8f0;
|
|
text-align: left;
|
|
padding: 6px 14px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.webcrt-ctx button:hover {
|
|
background: #334155;
|
|
}
|
|
|
|
.webcrt-ctx button:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
.webcrt-ctx button:disabled:hover {
|
|
background: transparent;
|
|
}
|
|
|
|
.webcrt-tab-ctx {
|
|
border-radius: 6px;
|
|
min-width: 140px;
|
|
}
|
|
|
|
.webcrt-tree__row {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 0;
|
|
}
|
|
|
|
.webcrt-tree__fav {
|
|
flex: 0 0 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: transparent;
|
|
border: 0;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
|
|
.webcrt-tree__fav:hover {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.webcrt-tree__row .webcrt-tree__item {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.webcrt-sidebar__pins {
|
|
max-height: 28%;
|
|
overflow: auto;
|
|
border-bottom: 1px solid #334155;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.webcrt-sidebar__pin-title {
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
padding: 6px 10px 2px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.webcrt-sidebar__prefs {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 8px 10px;
|
|
border-top: 1px solid #334155;
|
|
font-size: 12px;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.webcrt-sidebar__prefs label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
flex: 1;
|
|
}
|
|
|
|
.webcrt-sidebar__prefs select,
|
|
.webcrt-sidebar__prefs input {
|
|
background: #0f172a;
|
|
border: 1px solid #475569;
|
|
color: #e2e8f0;
|
|
padding: 2px 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.webcrt-buttonbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
align-items: center;
|
|
padding: 4px 8px;
|
|
background: #1e293b;
|
|
border-bottom: 1px solid #334155;
|
|
}
|
|
|
|
.webcrt-buttonbar__btn {
|
|
background: #334155;
|
|
border: 1px solid #475569;
|
|
color: #e2e8f0;
|
|
padding: 2px 8px;
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.webcrt-buttonbar__btn:hover {
|
|
background: #475569;
|
|
}
|
|
|
|
.webcrt-broadcast {
|
|
display: flex;
|
|
gap: 4px;
|
|
margin-left: auto;
|
|
align-items: center;
|
|
}
|
|
|
|
.webcrt-broadcast input {
|
|
width: 160px;
|
|
background: #0f172a;
|
|
border: 1px solid #475569;
|
|
color: #e2e8f0;
|
|
padding: 2px 6px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.webcrt-broadcast button {
|
|
background: #0ea5e9;
|
|
border: 0;
|
|
color: #0f172a;
|
|
padding: 2px 8px;
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.webcrt-buttonbar-edit {
|
|
padding: 6px 8px;
|
|
background: #0f172a;
|
|
border-bottom: 1px solid #334155;
|
|
}
|
|
|
|
.webcrt-buttonbar-edit textarea {
|
|
width: 100%;
|
|
background: #1e293b;
|
|
border: 1px solid #475569;
|
|
color: #e2e8f0;
|
|
font-family: Consolas, monospace;
|
|
font-size: 12px;
|
|
padding: 6px;
|
|
}
|
|
|
|
.webcrt-sftp-split {
|
|
flex: 0 0 5px;
|
|
width: 5px;
|
|
cursor: col-resize;
|
|
background: #1e293b;
|
|
border-left: 1px solid #334155;
|
|
border-right: 1px solid #334155;
|
|
z-index: 4;
|
|
position: relative;
|
|
}
|
|
|
|
.webcrt-sftp-split:hover,
|
|
.webcrt-sftp-split.is-dragging {
|
|
background: #0ea5e9;
|
|
}
|
|
|
|
.webcrt-sftp-split::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0 -3px;
|
|
}
|
|
|
|
.webcrt-sftp {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
width: 420px;
|
|
max-width: 75%;
|
|
min-width: 280px;
|
|
background: #0f172a;
|
|
border-left: 0;
|
|
z-index: 3;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.webcrt-sftp.is-busy {
|
|
cursor: progress;
|
|
}
|
|
|
|
.webcrt-sftp.is-drop-target {
|
|
outline: 1px solid #0ea5e9;
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
.webcrt-sftp__drop-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #e0f2fe;
|
|
background: rgba(14, 165, 233, 0.18);
|
|
border: 1px dashed #38bdf8;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.webcrt-sftp__bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 5px 6px;
|
|
border-bottom: 1px solid #334155;
|
|
flex-shrink: 0;
|
|
background: #0f172a;
|
|
}
|
|
|
|
.webcrt-sftp__bar input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 24px;
|
|
background: #111827;
|
|
border: 1px solid #334155;
|
|
border-radius: 4px;
|
|
color: #cbd5e1;
|
|
padding: 0 6px;
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.webcrt-sftp__bar button,
|
|
.webcrt-sftp__upload {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 24px;
|
|
background: #1e293b;
|
|
border: 1px solid #334155;
|
|
border-radius: 4px;
|
|
color: #cbd5e1;
|
|
padding: 0 8px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.webcrt-sftp__bar button:hover:not(:disabled),
|
|
.webcrt-sftp__upload:hover:not(.is-disabled) {
|
|
background: #243447;
|
|
border-color: #475569;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.webcrt-sftp__bar button:disabled,
|
|
.webcrt-sftp__upload.is-disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.webcrt-sftp__status {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 3px 8px;
|
|
font-size: 10px;
|
|
color: #64748b;
|
|
border-bottom: 1px solid #1e293b;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.webcrt-sftp__status--warn {
|
|
color: #fbbf24;
|
|
background: rgba(251, 191, 36, 0.08);
|
|
}
|
|
|
|
.webcrt-sftp__cancel {
|
|
flex-shrink: 0;
|
|
height: 20px;
|
|
padding: 0 8px;
|
|
border: 1px solid #475569;
|
|
border-radius: 4px;
|
|
background: #1e293b;
|
|
color: #f87171;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.webcrt-sftp__cancel:hover {
|
|
background: #7f1d1d;
|
|
border-color: #ef4444;
|
|
color: #fecaca;
|
|
}
|
|
|
|
.webcrt-sftp__table-wrap {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.webcrt-sftp__table {
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
font-size: 11px;
|
|
line-height: 1.35;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.webcrt-sftp__table thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
background: #0f172a;
|
|
color: #64748b;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
padding: 3px 6px 3px 4px;
|
|
border-bottom: 1px solid #1e293b;
|
|
white-space: nowrap;
|
|
user-select: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Beat .app-main button { white pill } — plain header text like the file rows. */
|
|
.app-main .webcrt-sftp__th-label,
|
|
.webcrt-sftp__th-label {
|
|
display: block;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
color: #64748b;
|
|
font-family: inherit;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
line-height: 1.3;
|
|
letter-spacing: normal;
|
|
text-align: inherit;
|
|
text-transform: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.app-main .webcrt-sftp__th-label:hover,
|
|
.webcrt-sftp__th-label:hover {
|
|
color: #94a3b8;
|
|
background: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.app-main .webcrt-sftp__table thead th.is-sorted .webcrt-sftp__th-label,
|
|
.webcrt-sftp__table thead th.is-sorted .webcrt-sftp__th-label {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.webcrt-sftp__col-resizer {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 5px;
|
|
height: 100%;
|
|
cursor: col-resize;
|
|
z-index: 2;
|
|
}
|
|
|
|
.webcrt-sftp__col-resizer::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 2px;
|
|
bottom: 2px;
|
|
right: 1px;
|
|
width: 1px;
|
|
background: transparent;
|
|
}
|
|
|
|
.webcrt-sftp__col-resizer:hover::after,
|
|
.webcrt-sftp__col-resizer:active::after {
|
|
background: #0ea5e9;
|
|
}
|
|
|
|
.webcrt-sftp__table tbody tr {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.webcrt-sftp__table tbody tr:hover {
|
|
background: #111827;
|
|
}
|
|
|
|
.webcrt-sftp__table tbody tr.is-selected {
|
|
background: #1e3a5f;
|
|
}
|
|
|
|
.webcrt-sftp__table tbody tr.is-selected:hover {
|
|
background: #234872;
|
|
}
|
|
|
|
.webcrt-sftp__table tbody tr.is-busy {
|
|
opacity: 0.7;
|
|
cursor: progress;
|
|
}
|
|
|
|
.webcrt-sftp__empty-row td {
|
|
color: #64748b;
|
|
text-align: center;
|
|
padding: 18px 8px;
|
|
cursor: default;
|
|
}
|
|
|
|
.webcrt-sftp__table td {
|
|
padding: 3px 6px;
|
|
border-bottom: 1px solid #1e293b;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.webcrt-sftp__col-name {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.webcrt-sftp__col-size {
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
color: #64748b;
|
|
}
|
|
|
|
.webcrt-sftp__table thead th.webcrt-sftp__col-size,
|
|
.webcrt-sftp__table thead th.webcrt-sftp__col-size .webcrt-sftp__th-label {
|
|
text-align: right;
|
|
}
|
|
|
|
.webcrt-sftp__col-mtime {
|
|
font-variant-numeric: tabular-nums;
|
|
color: #64748b;
|
|
}
|
|
|
|
.webcrt-sftp__col-owner,
|
|
.webcrt-sftp__col-group {
|
|
color: #64748b;
|
|
}
|
|
|
|
.webcrt-sftp__col-mode {
|
|
font-family: Consolas, "Courier New", monospace;
|
|
font-size: 10px;
|
|
color: #475569;
|
|
}
|
|
|
|
.webcrt-sftp__name-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.webcrt-sftp__icon {
|
|
display: inline-flex;
|
|
flex-shrink: 0;
|
|
color: #64748b;
|
|
line-height: 1;
|
|
}
|
|
|
|
.webcrt-sftp__icon.is-dir {
|
|
color: #d97706;
|
|
}
|
|
|
|
.webcrt-sftp__name {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.webcrt-shell {
|
|
grid-template-columns: 1fr;
|
|
height: auto;
|
|
min-height: calc(100vh - 64px);
|
|
}
|
|
|
|
.webcrt-sidebar {
|
|
max-height: 42vh;
|
|
}
|
|
|
|
.webcrt-main {
|
|
min-height: 50vh;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.filter-inline {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.actions-row--inline {
|
|
flex-wrap: wrap;
|
|
}
|
|
.split {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ---- Topology — light sidebar + canvas (shared chrome tokens) ---- */
|
|
.topo-page {
|
|
display: grid;
|
|
grid-template-columns: 260px 1fr;
|
|
gap: 12px;
|
|
height: calc(100vh - 48px);
|
|
min-height: 520px;
|
|
margin: -20px -28px -32px;
|
|
padding: 12px 14px 14px;
|
|
background: var(--nm-chrome);
|
|
transition: grid-template-columns 0.18s ease;
|
|
}
|
|
|
|
.topo-page.is-sidebar-collapsed {
|
|
grid-template-columns: 36px 1fr;
|
|
}
|
|
|
|
.topo-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
min-height: 0;
|
|
background: var(--nm-nav);
|
|
border: 1px solid var(--nm-nav-border);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
overflow: hidden;
|
|
color: var(--nm-text);
|
|
box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06);
|
|
}
|
|
|
|
.topo-page.is-sidebar-collapsed .topo-sidebar {
|
|
padding: 4px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.topo-sidebar__rail-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
gap: 4px;
|
|
}
|
|
|
|
.topo-sidebar__rail {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 8px;
|
|
width: 100%;
|
|
border: 0;
|
|
background: transparent;
|
|
padding: 8px 0;
|
|
cursor: pointer;
|
|
color: var(--nm-muted);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.topo-sidebar__rail-wrap > .topo-sidebar__rail:first-child {
|
|
flex: 1;
|
|
}
|
|
|
|
.topo-sidebar__rail--live {
|
|
flex: 0 0 auto;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.topo-sidebar__rail--live.is-on {
|
|
color: #1d4ed8;
|
|
background: #eff6ff;
|
|
}
|
|
|
|
.topo-sidebar__rail-live-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.topo-sidebar__rail--live.is-on .topo-sidebar__rail-live-dot {
|
|
opacity: 1;
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
|
|
}
|
|
|
|
.topo-sidebar__rail .topo-sidebar__rail-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 6px;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.topo-sidebar__rail:hover .topo-sidebar__rail-icon {
|
|
border-color: var(--nm-nav-border);
|
|
background: #fff;
|
|
}
|
|
|
|
.topo-sidebar__rail:hover {
|
|
background: var(--nm-nav-hover);
|
|
color: var(--nm-brand);
|
|
}
|
|
|
|
.topo-sidebar__rail-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.topo-sidebar__rail-label {
|
|
writing-mode: vertical-rl;
|
|
text-orientation: mixed;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.topo-sidebar__section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topo-sidebar__section--grow {
|
|
flex: 1;
|
|
}
|
|
|
|
.app-main .topo-sidebar__icon-btn,
|
|
.topo-sidebar__icon-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
min-width: 24px;
|
|
padding: 0 !important;
|
|
margin: 0;
|
|
border: 0 !important;
|
|
border-radius: 4px !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.app-main .topo-sidebar__icon-btn:hover:not(:disabled),
|
|
.topo-sidebar__icon-btn:hover:not(:disabled) {
|
|
color: var(--nm-brand, #0f1b2d);
|
|
background: rgba(15, 27, 45, 0.06) !important;
|
|
}
|
|
|
|
.app-main .topo-sidebar__icon-btn:disabled,
|
|
.topo-sidebar__icon-btn:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.topo-tree-search {
|
|
position: relative;
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.topo-tree-search__bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topo-sidebar__live {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.topo-sidebar__live .btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.topo-tree-search__bar > .input {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topo-tree-search__panel {
|
|
position: absolute;
|
|
z-index: 40;
|
|
top: calc(100% + 4px);
|
|
left: 0;
|
|
right: 0;
|
|
max-height: min(360px, 50vh);
|
|
overflow: auto;
|
|
padding: 4px;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.topo-tree-search__item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 2px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.topo-tree-search__item + .topo-tree-search__item {
|
|
margin-top: 2px;
|
|
border-top: 1px solid #eef2f6;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.topo-tree-search__ne {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
grid-template-rows: auto auto;
|
|
gap: 0 8px;
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
color: inherit;
|
|
}
|
|
|
|
.topo-tree-search__ne:hover {
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
.topo-tree-search__name {
|
|
grid-column: 1;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--nm-ink, #0f172a);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topo-tree-search__ip {
|
|
grid-column: 1;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.topo-tree-search__meta {
|
|
grid-column: 2;
|
|
grid-row: 1 / span 2;
|
|
align-self: center;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topo-tree-search__views {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
padding: 0 6px 4px;
|
|
}
|
|
|
|
.topo-tree-search__view {
|
|
max-width: 100%;
|
|
padding: 2px 8px;
|
|
border: 1px solid #d0dae6;
|
|
border-radius: 999px;
|
|
background: #f8fafc;
|
|
font-size: 11px;
|
|
color: var(--nm-brand, #1d4ed8);
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topo-tree-search__view:hover {
|
|
background: #e8eef8;
|
|
border-color: #9eb6d8;
|
|
}
|
|
|
|
.topo-tree-search__hint {
|
|
margin: 0;
|
|
padding: 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.topo-palette-source {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 2px;
|
|
padding: 2px;
|
|
background: #d7dee8;
|
|
border: 1px solid var(--nm-nav-border);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.topo-palette-source__btn {
|
|
border: 0;
|
|
background: transparent;
|
|
border-radius: 4px;
|
|
padding: 5px 6px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--nm-muted);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.topo-palette-source__btn.is-active {
|
|
background: #fff;
|
|
color: var(--nm-accent);
|
|
box-shadow: inset 0 0 0 1px #b8c4d2;
|
|
}
|
|
|
|
.topo-page .topo-sidebar__section {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
.topo-dir {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
border: 1px solid #c8d2de;
|
|
border-radius: 6px;
|
|
background: #f7f9fc;
|
|
}
|
|
.topo-dir__list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 4px 0;
|
|
}
|
|
.topo-dir__list--nested {
|
|
margin: 0 0 2px 10px;
|
|
padding: 2px 0 4px;
|
|
border-left: 1px solid #d5dde8;
|
|
}
|
|
.topo-dir__block {
|
|
list-style: none;
|
|
}
|
|
.topo-dir__block--sep {
|
|
margin-top: 4px;
|
|
padding-top: 4px;
|
|
border-top: 1px solid #d5dde8;
|
|
}
|
|
.topo-dir__row {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 28px;
|
|
gap: 2px;
|
|
margin: 0 4px;
|
|
padding: 0 4px 0 2px;
|
|
border-radius: 4px;
|
|
}
|
|
.topo-dir__row:hover {
|
|
background: rgba(255, 255, 255, 0.72);
|
|
}
|
|
.topo-dir__row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
.topo-dir__row--root {
|
|
min-height: 32px;
|
|
background: #eef3f9;
|
|
border-bottom: 1px solid #dbe3ee;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
.topo-dir__row--file {
|
|
min-height: 26px;
|
|
}
|
|
.topo-dir__row.is-active {
|
|
background: #fff;
|
|
box-shadow: inset 0 0 0 1px #b7c9e2;
|
|
}
|
|
.topo-dir__row.is-active .topo-dir__name {
|
|
font-weight: 600;
|
|
color: var(--nm-accent);
|
|
}
|
|
.topo-dir__twist {
|
|
border: 0;
|
|
background: transparent;
|
|
width: 18px;
|
|
height: 24px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
color: #64748b;
|
|
flex: 0 0 auto;
|
|
}
|
|
.topo-dir__indent {
|
|
width: 10px;
|
|
flex: 0 0 auto;
|
|
}
|
|
.topo-dir__item {
|
|
flex: 1;
|
|
min-width: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 2px 2px;
|
|
cursor: pointer;
|
|
color: inherit;
|
|
text-align: left;
|
|
}
|
|
.topo-dir__icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 3px;
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 auto;
|
|
color: #475569;
|
|
}
|
|
.topo-dir__icon--root {
|
|
color: #1d4ed8;
|
|
}
|
|
.topo-dir__icon--region {
|
|
color: #0f766e;
|
|
}
|
|
.topo-dir__icon--core {
|
|
color: #b45309;
|
|
}
|
|
.topo-dir__icon--aggregation {
|
|
color: #1d4ed8;
|
|
}
|
|
.topo-dir__icon--access {
|
|
color: #6d28d9;
|
|
}
|
|
.topo-dir__name {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12.5px;
|
|
color: var(--nm-text);
|
|
}
|
|
.topo-dir__text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
.topo-dir__meta {
|
|
font-size: 11px;
|
|
color: #64748b;
|
|
}
|
|
.topo-dir__kind {
|
|
flex: 0 0 auto;
|
|
max-width: 4.5rem;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
color: #64748b;
|
|
background: #e8eef5;
|
|
border-radius: 3px;
|
|
padding: 1px 5px;
|
|
line-height: 1.4;
|
|
}
|
|
.topo-dir__kind.is-physical {
|
|
color: #9a3412;
|
|
background: #ffedd5;
|
|
}
|
|
.topo-dir__badge {
|
|
font-size: 10px;
|
|
color: #64748b;
|
|
min-width: 1.1rem;
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
background: #e8eef5;
|
|
border-radius: 8px;
|
|
padding: 0 5px;
|
|
line-height: 1.5;
|
|
}
|
|
.topo-dir__action {
|
|
border: 0;
|
|
background: transparent;
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 4px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
color: #94a3b8;
|
|
opacity: 0;
|
|
flex: 0 0 auto;
|
|
}
|
|
.topo-dir__row:hover .topo-dir__action,
|
|
.topo-dir__row.is-active .topo-dir__action {
|
|
opacity: 1;
|
|
}
|
|
.topo-dir__action:hover {
|
|
color: #334155;
|
|
background: #e8eef5;
|
|
}
|
|
.topo-dir__toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
padding: 2px 6px 6px 20px;
|
|
}
|
|
.topo-dir__toolbar button {
|
|
border: 0;
|
|
background: transparent;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
padding: 2px 6px;
|
|
cursor: pointer;
|
|
color: var(--nm-accent);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.topo-dir__toolbar button:hover {
|
|
background: rgba(59, 130, 246, 0.08);
|
|
}
|
|
.topo-dir__hint {
|
|
margin: 0;
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
color: #94a3b8;
|
|
}
|
|
.topo-dir__icon svg,
|
|
.topo-tree__glyph-svg {
|
|
display: block;
|
|
}
|
|
.topo-browser {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background:
|
|
linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
|
|
overflow: hidden;
|
|
}
|
|
.topo-browser__head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 14px 18px 10px;
|
|
border-bottom: 1px solid #dbe3ee;
|
|
background: #fff;
|
|
}
|
|
.topo-browser__head strong {
|
|
font-size: 15px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand);
|
|
}
|
|
.topo-browser__sub {
|
|
margin: 4px 0 0;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
.topo-browser__actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
flex: 0 0 auto;
|
|
}
|
|
.topo-browser__actions .btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.topo-browser__empty {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
padding: 48px 20px;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
}
|
|
.topo-browser__empty p {
|
|
margin: 0;
|
|
}
|
|
.topo-browser__empty-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 14px;
|
|
background: #fff;
|
|
border: 1px solid #d5dde8;
|
|
color: #0f766e;
|
|
box-shadow: 0 1px 2px rgba(15, 39, 68, 0.05);
|
|
}
|
|
.topo-browser__grid {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 14px;
|
|
align-content: start;
|
|
padding: 16px 18px 20px;
|
|
background: #eef2f7;
|
|
}
|
|
.topo-browser__grid--regions {
|
|
grid-template-columns: repeat(auto-fill, minmax(148px, 160px));
|
|
gap: 20px 22px;
|
|
padding: 24px 22px 32px;
|
|
background: #e8eef6;
|
|
justify-content: start;
|
|
}
|
|
/* Beat .app-main button { background:#fff; color:#1f2937; border } */
|
|
.app-main .topo-region-hex,
|
|
.topo-region-hex {
|
|
width: 140px;
|
|
height: 156px;
|
|
box-sizing: border-box;
|
|
border: 0 !important;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
padding: 34px 18px 30px;
|
|
margin: 0;
|
|
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
color: #fff !important;
|
|
transition: transform 0.15s ease, filter 0.15s ease;
|
|
}
|
|
.app-main .topo-region-hex:hover,
|
|
.topo-region-hex:hover,
|
|
.app-main .topo-region-hex.is-hot,
|
|
.topo-region-hex.is-hot {
|
|
transform: translateY(-2px) scale(1.03);
|
|
filter: brightness(1.06);
|
|
}
|
|
.app-main .topo-region-hex.is-selected,
|
|
.topo-region-hex.is-selected,
|
|
.app-main .topo-region-hex.is-hot,
|
|
.topo-region-hex.is-hot {
|
|
box-shadow:
|
|
0 0 0 3px rgba(255, 255, 255, 0.92),
|
|
0 0 0 6px rgba(26, 86, 168, 0.55);
|
|
z-index: 1;
|
|
}
|
|
.app-main .topo-region-hex.is-selected,
|
|
.topo-region-hex.is-selected {
|
|
filter: brightness(1.08);
|
|
transform: translateY(-2px) scale(1.04);
|
|
}
|
|
.app-main .topo-region-hex--tone-0,
|
|
.topo-region-hex--tone-0 {
|
|
background: linear-gradient(160deg, #5b9cf0 0%, #1a56a8 52%, #0f766e 100%) !important;
|
|
}
|
|
.app-main .topo-region-hex--tone-1,
|
|
.topo-region-hex--tone-1 {
|
|
background: linear-gradient(160deg, #67e8f9 0%, #0284c7 48%, #1d4ed8 100%) !important;
|
|
}
|
|
.app-main .topo-region-hex--tone-2,
|
|
.topo-region-hex--tone-2 {
|
|
background: linear-gradient(160deg, #5eead4 0%, #0d9488 50%, #115e59 100%) !important;
|
|
}
|
|
.app-main .topo-region-hex--tone-3,
|
|
.topo-region-hex--tone-3 {
|
|
background: linear-gradient(160deg, #fcd34d 0%, #f59e0b 46%, #b45309 100%) !important;
|
|
}
|
|
.app-main .topo-region-hex--tone-4,
|
|
.topo-region-hex--tone-4 {
|
|
background: linear-gradient(160deg, #cbd5e1 0%, #64748b 48%, #1e3a5f 100%) !important;
|
|
}
|
|
.app-main .topo-region-hex--tone-physical,
|
|
.topo-region-hex--tone-physical {
|
|
background: linear-gradient(160deg, #fcd34d 0%, #f59e0b 42%, #b45309 100%) !important;
|
|
}
|
|
.app-main .topo-region-hex--add,
|
|
.topo-region-hex--add {
|
|
background: linear-gradient(160deg, #f8fafc 0%, #dbe7f5 100%) !important;
|
|
color: #1a56a8 !important;
|
|
}
|
|
.app-main .topo-region-hex--add:hover,
|
|
.topo-region-hex--add:hover {
|
|
background: linear-gradient(160deg, #ffffff 0%, #cfe0f4 100%) !important;
|
|
color: #0f2744 !important;
|
|
}
|
|
.app-main .topo-region-hex--add:disabled,
|
|
.topo-region-hex--add:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
.topo-region-hex__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.22);
|
|
color: #fff;
|
|
flex: 0 0 auto;
|
|
}
|
|
.topo-region-hex--add .topo-region-hex__icon {
|
|
background: rgba(26, 86, 168, 0.12);
|
|
color: #1a56a8;
|
|
}
|
|
.topo-region-hex__name {
|
|
max-width: 100%;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
color: inherit;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.topo-region-hex__title {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px 6px;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
}
|
|
.topo-region-hex__title .topo-region-hex__name {
|
|
max-width: 70%;
|
|
}
|
|
.topo-region-hex__meta {
|
|
display: inline;
|
|
flex: 0 0 auto;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
white-space: nowrap;
|
|
}
|
|
.topo-region-hex--add .topo-region-hex__meta {
|
|
color: #3d6f9c;
|
|
}
|
|
.topo-region-hex__plus {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
background: rgba(26, 86, 168, 0.12);
|
|
color: #1a56a8;
|
|
flex: 0 0 auto;
|
|
}
|
|
.topo-map-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 168px;
|
|
border: 1px solid #cfd8e6;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
box-shadow: 0 1px 2px rgba(15, 39, 68, 0.05);
|
|
overflow: hidden;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
|
|
}
|
|
.topo-map-card:hover {
|
|
border-color: #9eb4d0;
|
|
box-shadow: 0 4px 14px rgba(15, 39, 68, 0.08);
|
|
transform: translateY(-1px);
|
|
}
|
|
.topo-map-card.is-physical {
|
|
border-color: #f0c48a;
|
|
background: linear-gradient(180deg, #fffdf8 0%, #fff 42%);
|
|
}
|
|
.topo-map-card__body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 16px 14px 10px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
color: inherit;
|
|
}
|
|
.topo-map-card__icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 10px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: #eef3f9;
|
|
color: #1d4ed8;
|
|
border: 1px solid #dbe3ee;
|
|
}
|
|
.topo-map-card.is-physical .topo-map-card__icon {
|
|
background: #fff7ed;
|
|
color: #b45309;
|
|
border-color: #fed7aa;
|
|
}
|
|
.topo-map-card__kind {
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.02em;
|
|
color: #1d4ed8;
|
|
background: #e8eef8;
|
|
border-radius: 999px;
|
|
padding: 2px 8px;
|
|
}
|
|
.topo-map-card__kind.is-physical {
|
|
color: #9a3412;
|
|
background: #ffedd5;
|
|
}
|
|
.topo-map-card__name {
|
|
font-size: 14px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
}
|
|
.topo-map-card__meta {
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
color: #64748b;
|
|
width: 100%;
|
|
}
|
|
.topo-map-card__actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
padding: 0 12px 12px;
|
|
}
|
|
.topo-map-card__actions .btn {
|
|
flex: 1;
|
|
}
|
|
.topo-map-card--add {
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-height: 168px;
|
|
border-style: dashed;
|
|
border-color: #b7c4d4;
|
|
background: rgba(255, 255, 255, 0.55);
|
|
color: var(--nm-accent);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
.topo-map-card--add:hover {
|
|
background: #fff;
|
|
border-color: var(--nm-accent);
|
|
color: var(--nm-brand);
|
|
box-shadow: 0 2px 8px rgba(15, 39, 68, 0.06);
|
|
}
|
|
.topo-map-card__add-plus {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
border: 1px dashed currentColor;
|
|
opacity: 0.85;
|
|
}
|
|
.topo-breadcrumb__crumb {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.topo-breadcrumb {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 2px 6px;
|
|
min-width: 0;
|
|
font-size: 13px;
|
|
font-weight: 550;
|
|
letter-spacing: -0.01em;
|
|
line-height: 1.3;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
}
|
|
.app-main .topo-breadcrumb__link,
|
|
.topo-breadcrumb__link {
|
|
border: 0 !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important;
|
|
color: #5b6b7c !important;
|
|
cursor: pointer;
|
|
padding: 0 !important;
|
|
margin: 0;
|
|
border-radius: 0 !important;
|
|
font: inherit;
|
|
font-weight: 550;
|
|
line-height: inherit;
|
|
width: auto;
|
|
}
|
|
.app-main .topo-breadcrumb__link:hover,
|
|
.topo-breadcrumb__link:hover {
|
|
color: var(--nm-accent, #3b82f6) !important;
|
|
background: transparent !important;
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
.topo-breadcrumb__sep {
|
|
color: #94a3b8;
|
|
opacity: 1;
|
|
font-weight: 400;
|
|
user-select: none;
|
|
}
|
|
.topo-breadcrumb__current {
|
|
display: inline;
|
|
padding: 0;
|
|
border-radius: 0;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
color: var(--nm-accent, #3b82f6);
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
.topo-toolbar__level {
|
|
margin-left: 8px;
|
|
}
|
|
.topo-nav-node {
|
|
min-width: 180px;
|
|
max-width: 220px;
|
|
padding: 12px 14px;
|
|
border-radius: 14px;
|
|
border: 1px solid #c9d4e2;
|
|
background: linear-gradient(165deg, #ffffff 0%, #f3f7fb 100%);
|
|
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
.topo-nav-node.is-selected,
|
|
.topo-nav-node:hover {
|
|
border-color: var(--nm-accent, #2563eb);
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--nm-accent, #2563eb) 22%, transparent),
|
|
0 8px 18px rgba(37, 99, 235, 0.12);
|
|
}
|
|
.topo-nav-node__icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 auto;
|
|
color: #1d4ed8;
|
|
background: color-mix(in srgb, #2563eb 12%, #fff);
|
|
}
|
|
.topo-nav-node--region .topo-nav-node__icon {
|
|
color: #0f766e;
|
|
background: color-mix(in srgb, #0d9488 14%, #fff);
|
|
}
|
|
.topo-nav-node--core .topo-nav-node__icon {
|
|
color: #b45309;
|
|
background: color-mix(in srgb, #f59e0b 16%, #fff);
|
|
}
|
|
.topo-nav-node--aggregation .topo-nav-node__icon {
|
|
color: #1d4ed8;
|
|
background: color-mix(in srgb, #3b82f6 14%, #fff);
|
|
}
|
|
.topo-nav-node--access .topo-nav-node__icon {
|
|
color: #6d28d9;
|
|
background: color-mix(in srgb, #8b5cf6 14%, #fff);
|
|
}
|
|
.topo-nav-node__body {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
.topo-nav-node__badge {
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
opacity: 0.55;
|
|
margin-bottom: 2px;
|
|
}
|
|
.topo-nav-node__title {
|
|
font-weight: 650;
|
|
font-size: 14px;
|
|
line-height: 1.25;
|
|
}
|
|
.topo-nav-node__sub,
|
|
.topo-nav-node__meta {
|
|
margin-top: 4px;
|
|
font-size: 12px;
|
|
opacity: 0.68;
|
|
line-height: 1.3;
|
|
}
|
|
.topo-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
.topo-modal__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(15, 23, 42, 0.35);
|
|
}
|
|
.topo-modal__panel {
|
|
position: relative;
|
|
width: min(480px, calc(100vw - 32px));
|
|
max-height: min(70vh, 640px);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 14px;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22);
|
|
}
|
|
.topo-modal__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
.topo-modal__hint {
|
|
margin: 0;
|
|
}
|
|
.topo-modal__selectbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
.topo-modal__selectall {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: var(--nm-muted, #5b6b7c);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
.topo-modal__list {
|
|
max-height: 360px;
|
|
overflow: auto;
|
|
}
|
|
.topo-modal__foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
padding-top: 6px;
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
.topo-palette__check {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
padding: 0 8px;
|
|
border-right: 1px solid #cdd6e2;
|
|
cursor: pointer;
|
|
}
|
|
.topo-palette__row.is-selected {
|
|
border-color: var(--nm-accent, #2563eb);
|
|
background: var(--nm-nav-active, #e8f0fb);
|
|
box-shadow: inset 2px 0 0 var(--nm-accent, #2563eb);
|
|
}
|
|
.topo-map-list,
|
|
.topo-palette {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: auto;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topo-classify .topo-classify__head-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.topo-classify__section {
|
|
margin-top: 18px;
|
|
padding-top: 14px;
|
|
border-top: 1px solid #d5dde8;
|
|
}
|
|
.topo-classify__section--first {
|
|
margin-top: 8px;
|
|
padding-top: 0;
|
|
border-top: 0;
|
|
}
|
|
.topo-classify__regex-bar,
|
|
.topo-classify__assign-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin: 0 0 12px;
|
|
padding: 10px;
|
|
border: 1px solid #d5dde8;
|
|
border-radius: 6px;
|
|
background: #f8fafc;
|
|
}
|
|
.topo-classify__regex-input {
|
|
min-width: 220px;
|
|
flex: 1 1 220px;
|
|
}
|
|
.topo-classify__table tr.is-match {
|
|
background: #eef6ff;
|
|
}
|
|
.topo-classify__row-actions {
|
|
display: inline-flex;
|
|
gap: 4px;
|
|
}
|
|
.topo-classify__help {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
border: 1px solid #94a3b8;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
cursor: help;
|
|
user-select: none;
|
|
flex: 0 0 auto;
|
|
}
|
|
.topo-classify__help:hover,
|
|
.topo-classify__help:focus-visible {
|
|
border-color: #64748b;
|
|
color: #334155;
|
|
outline: none;
|
|
}
|
|
.topo-classify__help-tip {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
top: calc(100% + 8px);
|
|
z-index: 40;
|
|
width: max-content;
|
|
max-width: min(280px, 70vw);
|
|
padding: 8px 10px;
|
|
border-radius: 6px;
|
|
background: #0f172a;
|
|
color: #f8fafc;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
line-height: 1.45;
|
|
white-space: normal;
|
|
text-align: left;
|
|
box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
|
|
pointer-events: none;
|
|
}
|
|
.topo-classify__help-tip::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 8px;
|
|
border: 5px solid transparent;
|
|
border-bottom-color: #0f172a;
|
|
}
|
|
.topo-classify__help:hover .topo-classify__help-tip,
|
|
.topo-classify__help:focus-visible .topo-classify__help-tip {
|
|
display: block;
|
|
}
|
|
.topo-classify__section h3 {
|
|
margin: 0 0 10px;
|
|
font-size: 14px;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
}
|
|
.topo-classify__section-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.topo-classify__section-head h3 {
|
|
margin: 0;
|
|
}
|
|
.topo-classify__draft {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
align-items: center;
|
|
}
|
|
.topo-classify__draft .input {
|
|
min-width: 140px;
|
|
max-width: 280px;
|
|
}
|
|
.topo-classify__preview {
|
|
margin: 10px 0 14px;
|
|
padding: 10px 12px;
|
|
border: 1px solid #d5dde8;
|
|
border-radius: 6px;
|
|
background: #f8fafc;
|
|
}
|
|
.topo-classify__pager {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 8px;
|
|
}
|
|
.topo-classify__check {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: #475569;
|
|
}
|
|
.topo-classify__slice-list,
|
|
.topo-classify__view-links {
|
|
margin: 6px 0 0;
|
|
padding-left: 18px;
|
|
}
|
|
.topo-classify__view-links {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
.topo-classify__view-links a {
|
|
color: var(--nm-accent, #3b82f6);
|
|
}
|
|
|
|
.topo-region-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.topo-region-list__block {
|
|
margin: 0;
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 2px 0 4px;
|
|
}
|
|
|
|
.topo-region-list__row {
|
|
align-items: center;
|
|
}
|
|
|
|
/* Flat list rows — no boxed cards */
|
|
.topo-region-list .topo-map-list__row {
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
overflow: visible;
|
|
gap: 2px;
|
|
padding-right: 2px;
|
|
transition: background 0.12s ease;
|
|
}
|
|
|
|
.topo-region-list .topo-map-list__row:hover,
|
|
.topo-region-list__block.is-hot > .topo-region-list__row,
|
|
.topo-region-list__maps > li.is-hot > .topo-map-list__row {
|
|
background: rgba(255, 255, 255, 0.78);
|
|
}
|
|
|
|
/* Selected = deep wash + left accent */
|
|
.topo-region-list__block.is-active > .topo-region-list__row,
|
|
.topo-region-list__maps > li.is-active > .topo-map-list__row {
|
|
border: 0;
|
|
background: #8eb6e3;
|
|
box-shadow: inset 3px 0 0 #0f3f7a;
|
|
}
|
|
|
|
.topo-region-list__block.is-branch-active > .topo-region-list__row {
|
|
border: 0;
|
|
background: rgba(142, 182, 227, 0.35);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.topo-region-list__block.is-active > .topo-region-list__row .topo-map-list__actions,
|
|
.topo-region-list__maps > li.is-active > .topo-map-list__row .topo-map-list__actions {
|
|
border-left: 0;
|
|
}
|
|
|
|
.topo-region-list__glyph {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 22px;
|
|
height: 22px;
|
|
margin-right: 2px;
|
|
border-radius: 6px;
|
|
background: rgba(15, 118, 110, 0.1);
|
|
color: #0f766e;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.topo-region-list__maps .topo-region-list__glyph {
|
|
background: rgba(26, 86, 168, 0.1);
|
|
color: #1a56a8;
|
|
}
|
|
|
|
.topo-region-list__maps {
|
|
position: relative;
|
|
margin: 2px 0 0;
|
|
padding: 2px 0 2px 0;
|
|
overflow: visible;
|
|
flex: none;
|
|
}
|
|
|
|
.topo-region-list__maps::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 18px;
|
|
top: 0;
|
|
bottom: 6px;
|
|
width: 1px;
|
|
background: rgba(148, 163, 184, 0.55);
|
|
}
|
|
|
|
.topo-region-list__maps > li {
|
|
margin: 0;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.topo-region-list__maps > li + li {
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.topo-region-list__maps .topo-map-list__row {
|
|
width: 100%;
|
|
}
|
|
|
|
.app-main .topo-region-list .topo-map-list__item,
|
|
.topo-region-list .topo-map-list__item {
|
|
padding: 8px 6px 8px 8px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.app-main .topo-region-list__maps .topo-map-list__item,
|
|
.topo-region-list__maps .topo-map-list__item {
|
|
padding: 7px 6px 7px 36px;
|
|
}
|
|
|
|
.topo-region-list .topo-map-list__item:hover,
|
|
.topo-region-list__block.is-active > .topo-region-list__row .topo-map-list__item,
|
|
.topo-region-list__block.is-branch-active > .topo-region-list__row .topo-map-list__item,
|
|
.topo-region-list__maps > li.is-active .topo-map-list__item,
|
|
.topo-region-list__maps > li.is-active .topo-map-list__item:hover {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.topo-region-list .topo-map-list__actions {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
border-left: 0;
|
|
gap: 4px;
|
|
padding-right: 4px;
|
|
align-items: center;
|
|
transition: opacity 0.12s ease;
|
|
}
|
|
|
|
/* Edit/delete only while the row itself is hovered */
|
|
.topo-region-list .topo-map-list__row:hover .topo-map-list__actions {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.app-main .topo-region-list .topo-map-list__icon,
|
|
.topo-region-list .topo-map-list__icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
min-height: 24px;
|
|
border-radius: 5px;
|
|
color: #64748b;
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
}
|
|
|
|
.app-main .topo-region-list .topo-map-list__icon:hover:not(:disabled),
|
|
.topo-region-list .topo-map-list__icon:hover:not(:disabled) {
|
|
background: rgba(15, 27, 45, 0.08) !important;
|
|
color: var(--nm-brand);
|
|
}
|
|
|
|
.topo-region-list .topo-map-list__name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.topo-region-list .topo-map-list__title {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
}
|
|
|
|
.topo-region-list__maps .topo-map-list__title {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.topo-region-list .topo-map-list__count {
|
|
flex: 0 0 auto;
|
|
margin-left: 4px;
|
|
padding: 0;
|
|
border-radius: 0;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
color: var(--nm-muted);
|
|
background: transparent;
|
|
box-shadow: none;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
|
|
}
|
|
|
|
.topo-region-list__maps .topo-map-list__count {
|
|
color: var(--nm-muted);
|
|
background: transparent;
|
|
}
|
|
|
|
.topo-region-list__block.is-active .topo-map-list__count,
|
|
.topo-region-list__maps > li.is-active .topo-map-list__count {
|
|
background: transparent;
|
|
color: #0f1b2d;
|
|
}
|
|
|
|
.topo-region-list__block.is-hot:not(.is-active) .topo-map-list__count,
|
|
.topo-region-list__maps > li.is-hot:not(.is-active) .topo-map-list__count {
|
|
background: transparent;
|
|
color: var(--nm-accent);
|
|
}
|
|
|
|
.topo-region-list__block.is-active .topo-map-list__title,
|
|
.topo-region-list__maps > li.is-active .topo-map-list__title {
|
|
color: #0a274f;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.topo-region-list__maps > li.is-active .topo-region-list__glyph {
|
|
background: #0f3f7a;
|
|
color: #fff;
|
|
}
|
|
|
|
.topo-map-list li,
|
|
.topo-palette > li {
|
|
margin: 0 0 4px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topo-map-list li:last-child,
|
|
.topo-palette > li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.topo-map-list__row,
|
|
.topo-palette__row {
|
|
display: flex;
|
|
align-items: stretch;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
border: 1px solid #cdd6e2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topo-map-list li.is-active .topo-map-list__row {
|
|
border-color: var(--nm-accent);
|
|
background: var(--nm-nav-active);
|
|
box-shadow: inset 2px 0 0 var(--nm-accent);
|
|
}
|
|
|
|
.topo-region-list__block.is-active > .topo-map-list__row,
|
|
.topo-region-list__maps > li.is-active > .topo-map-list__row {
|
|
border: 0 !important;
|
|
background: #8eb6e3 !important;
|
|
box-shadow: inset 3px 0 0 #0f3f7a !important;
|
|
}
|
|
|
|
.topo-region-list__block.is-active > .topo-map-list__row:hover,
|
|
.topo-region-list__maps > li.is-active > .topo-map-list__row:hover {
|
|
background: #7aa8db !important;
|
|
}
|
|
|
|
.topo-region-list__block.is-branch-active > .topo-map-list__row {
|
|
border: 0 !important;
|
|
background: rgba(142, 182, 227, 0.35) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.topo-region-list__block.is-hot:not(.is-active):not(.is-branch-active) > .topo-map-list__row,
|
|
.topo-region-list__maps > li.is-hot:not(.is-active) > .topo-map-list__row {
|
|
background: #c5daf3 !important;
|
|
}
|
|
|
|
.topo-palette > li.is-on-canvas .topo-palette__row {
|
|
background: #eef2f7;
|
|
border-color: #d7dee8;
|
|
}
|
|
|
|
.topo-map-list__item,
|
|
.topo-palette__item {
|
|
display: block;
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
text-align: left;
|
|
border: 0;
|
|
background: transparent;
|
|
padding: 6px 8px;
|
|
cursor: pointer;
|
|
border-radius: 0;
|
|
min-width: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.app-main .topo-map-list__item,
|
|
.app-main .topo-map-list__icon,
|
|
.app-main .topo-palette__item {
|
|
border: none;
|
|
background: transparent;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
width: auto;
|
|
}
|
|
|
|
.app-main .topo-map-list__item,
|
|
.app-main .topo-palette__item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.app-main .topo-map-list__icon {
|
|
width: 28px;
|
|
height: auto;
|
|
padding: 0;
|
|
color: #64748b;
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.topo-map-list__item:hover,
|
|
.topo-palette__item:hover:not(:disabled) {
|
|
background: var(--nm-nav-hover);
|
|
}
|
|
|
|
.topo-map-list li.is-active .topo-map-list__item:hover {
|
|
background: #c9daf0;
|
|
}
|
|
|
|
.topo-map-list__actions {
|
|
display: flex;
|
|
align-items: stretch;
|
|
flex: 0 0 auto;
|
|
border-left: 1px solid #cdd6e2;
|
|
}
|
|
|
|
.topo-map-list li.is-active .topo-map-list__actions {
|
|
border-left-color: #93b4e0;
|
|
}
|
|
|
|
.topo-map-list__icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
min-height: 100%;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--nm-muted);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.topo-map-list__icon:hover:not(:disabled) {
|
|
background: #e8eef8;
|
|
color: var(--nm-brand);
|
|
}
|
|
|
|
.topo-map-list__icon:disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
}
|
|
|
|
.topo-palette__item:disabled {
|
|
opacity: 0.55;
|
|
cursor: default;
|
|
}
|
|
|
|
.topo-palette__empty {
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
|
|
.topo-map-list__name,
|
|
.topo-palette__name {
|
|
display: block;
|
|
font-weight: 650;
|
|
font-size: 12px;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topo-map-list__meta,
|
|
.topo-palette__meta {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--nm-muted, #64748b);
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topo-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
background: #fff;
|
|
border: 1px solid var(--nm-panel-border, #c8d2de);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06);
|
|
}
|
|
|
|
.topo-toolbar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
border-bottom: 1px solid #cdd6e2;
|
|
background: #eef2f7;
|
|
}
|
|
|
|
.topo-toolbar__row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topo-toolbar__row--tools {
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding-top: 6px;
|
|
border-top: 1px solid #d7dee8;
|
|
}
|
|
|
|
.topo-toolbar__group + .topo-toolbar__group,
|
|
.topo-toolbar__panel + .topo-toolbar__group,
|
|
.topo-toolbar__group + .topo-toolbar__group--find,
|
|
.topo-toolbar__panel + .topo-toolbar__group--find {
|
|
margin-left: 2px;
|
|
padding-left: 10px;
|
|
border-left: 1px solid #cdd6e2;
|
|
}
|
|
|
|
.topo-toolbar__panel {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
padding: 3px 6px;
|
|
background: #d7dee8;
|
|
border: 1px solid #c0cad6;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.topo-toolbar__panel .topo-tools {
|
|
background: #cdd6e2;
|
|
}
|
|
|
|
.topo-toolbar__panel .topo-toolbar__display > summary {
|
|
background: #fff;
|
|
}
|
|
|
|
.topo-toolbar__group--find {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.topo-find-suggest {
|
|
position: absolute;
|
|
top: calc(100% + 4px);
|
|
right: 0;
|
|
left: auto;
|
|
z-index: 30;
|
|
width: min(340px, 72vw);
|
|
max-height: 280px;
|
|
overflow: auto;
|
|
background: #fff;
|
|
border: 1px solid #c0cad6;
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 20px rgba(15, 39, 68, 0.14);
|
|
}
|
|
|
|
.topo-find-suggest__item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 2px;
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
border: 0;
|
|
background: transparent;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.topo-find-suggest__item:hover,
|
|
.topo-find-suggest__item.is-active {
|
|
background: #d6e4f5;
|
|
}
|
|
|
|
.topo-find-suggest__name {
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
}
|
|
|
|
.topo-find-suggest__meta {
|
|
font-size: 11px;
|
|
color: #5b6b7c;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
|
|
}
|
|
|
|
.topo-find-suggest__empty,
|
|
.topo-find-suggest__more {
|
|
padding: 8px 10px;
|
|
font-size: 12px;
|
|
color: #5b6b7c;
|
|
}
|
|
|
|
.app-main .topo-toolbar__find,
|
|
.topo-toolbar__find {
|
|
width: 190px;
|
|
max-width: 36vw;
|
|
height: 30px;
|
|
box-sizing: border-box;
|
|
padding: 0 8px;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
background: #fff;
|
|
}
|
|
|
|
.topo-toolbar__find:disabled {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.topo-toolbar__title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topo-toolbar__title strong {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 14px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.topo-toolbar__meta {
|
|
font-size: 12px;
|
|
color: var(--nm-muted, #5b6b7c);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topo-toolbar__actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 6px;
|
|
justify-content: flex-end;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.topo-toolbar__actions > .btn,
|
|
.topo-toolbar__group > .btn {
|
|
width: auto;
|
|
flex: 0 0 auto;
|
|
height: 30px;
|
|
padding: 0 10px;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.topo-toolbar__group > select.topo-toolbar__find {
|
|
width: auto;
|
|
min-width: 140px;
|
|
}
|
|
|
|
.topo-toolbar__group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.topo-tools {
|
|
display: inline-flex;
|
|
gap: 2px;
|
|
padding: 2px;
|
|
background: #d7dee8;
|
|
border: 1px solid #c0cad6;
|
|
border-radius: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.topo-tools__btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--nm-muted, #5b6b7c);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.topo-tools__btn:hover {
|
|
background: #fff;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
}
|
|
|
|
.topo-tools__btn.is-active {
|
|
background: var(--nm-accent, #3b82f6);
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.topo-tools__key {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 14px;
|
|
height: 14px;
|
|
padding: 0 3px;
|
|
border: 1px solid currentColor;
|
|
border-radius: 2px;
|
|
font-size: 10px;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
font-weight: 700;
|
|
opacity: 0.75;
|
|
line-height: 1;
|
|
}
|
|
|
|
.app-main .topo-toolbar__select,
|
|
.topo-toolbar__select {
|
|
min-width: 88px;
|
|
height: 30px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
padding: 0 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.app-main .topo-toolbar__display > summary,
|
|
.topo-toolbar__display > summary {
|
|
list-style: none;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
height: 30px;
|
|
padding: 0 10px;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--nm-brand, #0f1b2d);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.topo-toolbar__display {
|
|
position: relative;
|
|
}
|
|
|
|
.topo-toolbar__display > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.topo-toolbar__display[open] > summary {
|
|
border-color: #1a56a8;
|
|
background: #d6e4f5;
|
|
color: #1a56a8;
|
|
}
|
|
|
|
.topo-toolbar__display .topo-display-toggles {
|
|
position: absolute;
|
|
top: calc(100% + 4px);
|
|
left: 0;
|
|
z-index: 20;
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: 260px;
|
|
padding: 8px 10px;
|
|
border: 1px solid #c0cad6;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
box-shadow: 0 8px 20px rgba(15, 39, 68, 0.14);
|
|
}
|
|
|
|
.topo-mode-hint {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 6;
|
|
padding: 6px 12px;
|
|
border-radius: 3px;
|
|
border: 1px solid #0ea5e9;
|
|
background: rgba(15, 23, 42, 0.9);
|
|
color: #e0f2fe;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
pointer-events: none;
|
|
white-space: nowrap;
|
|
max-width: calc(100% - 24px);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.topo-svg-icon {
|
|
display: block;
|
|
}
|
|
|
|
.topo-icon-btn {
|
|
display: inline-flex !important;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
min-width: 28px;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.topo-display-defaults {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 6px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.topo-display-defaults__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: #334155;
|
|
}
|
|
|
|
.topo-display-defaults__row {
|
|
display: grid;
|
|
grid-template-columns: 48px 28px minmax(72px, 1fr) 64px;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.topo-display-defaults__name {
|
|
font-size: 12px;
|
|
color: #475569;
|
|
}
|
|
|
|
.topo-display-defaults__row input[type="color"] {
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.topo-display-defaults__row .topo-toolbar__select {
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.topo-canvas.is-pan-mode .react-flow__pane {
|
|
cursor: grab;
|
|
}
|
|
|
|
.topo-legend {
|
|
position: absolute;
|
|
left: 10px;
|
|
bottom: 10px;
|
|
z-index: 5;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 12px;
|
|
padding: 6px 10px;
|
|
border-radius: 6px;
|
|
background: rgba(15, 39, 68, 0.92);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
font-size: 11px;
|
|
color: #e2e8f0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.topo-legend__item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.topo-legend__swatch {
|
|
display: inline-block;
|
|
width: 18px;
|
|
height: 0;
|
|
border-top: 2px solid #94a3b8;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.topo-node.is-connect-mode .topo-node__handle {
|
|
width: 12px !important;
|
|
height: 12px !important;
|
|
opacity: 1 !important;
|
|
background: #0ea5e9 !important;
|
|
border: 2px solid #fff !important;
|
|
}
|
|
|
|
.react-flow__selection {
|
|
background: rgba(51, 65, 85, 0.08);
|
|
border: 1px solid rgba(51, 65, 85, 0.7);
|
|
}
|
|
|
|
.topo-display-toggles {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.topo-display-toggles__item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: #334155;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.topo-ctx {
|
|
position: fixed;
|
|
z-index: 40;
|
|
min-width: 168px;
|
|
padding: 4px 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
background: #0f172a;
|
|
color: #e2e8f0;
|
|
border: 1px solid #334155;
|
|
border-radius: 8px;
|
|
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
|
|
font-size: 12px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.topo-ctx--edge {
|
|
min-width: 196px;
|
|
}
|
|
|
|
.topo-ctx__head {
|
|
margin: 0;
|
|
padding: 8px 12px 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.topo-ctx__style {
|
|
padding: 4px 12px 6px;
|
|
}
|
|
|
|
.topo-ctx__style-title {
|
|
margin: 0 0 6px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.topo-ctx__style-grid {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.topo-ctx__style-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin: 0;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
color: #e2e8f0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.topo-ctx__style-row > span {
|
|
flex: 0 0 auto;
|
|
min-width: 2.5em;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.topo-ctx__style-row input[type="color"] {
|
|
flex: 0 0 auto;
|
|
box-sizing: border-box;
|
|
width: 28px;
|
|
height: 22px;
|
|
padding: 0;
|
|
border: 1px solid #475569;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.topo-ctx__style-row input[type="color"]::-webkit-color-swatch-wrapper {
|
|
padding: 1px;
|
|
}
|
|
|
|
.topo-ctx__style-row input[type="color"]::-webkit-color-swatch {
|
|
border: 0;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.topo-ctx__style-row select,
|
|
.topo-ctx__style-input {
|
|
flex: 1 1 auto;
|
|
max-width: 108px;
|
|
height: 24px;
|
|
border: 1px solid #475569;
|
|
border-radius: 4px;
|
|
background: #1e293b;
|
|
color: #e2e8f0;
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
.topo-ctx__style-input {
|
|
max-width: 120px;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Beat .app-main button { color:#1f2937; background:#fff } so hover stays readable. */
|
|
.app-main .topo-ctx__item,
|
|
.topo-ctx__item {
|
|
display: block;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 7px 12px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #e2e8f0;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
line-height: 1.3;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.app-main .topo-ctx__item:hover:not(:disabled),
|
|
.app-main .topo-ctx__item:focus-visible:not(:disabled),
|
|
.topo-ctx__item:hover:not(:disabled),
|
|
.topo-ctx__item:focus-visible:not(:disabled) {
|
|
background: #1e293b;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.app-main .topo-ctx__item:disabled,
|
|
.topo-ctx__item:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.app-main .topo-ctx__item--danger,
|
|
.topo-ctx__item--danger {
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.app-main .topo-ctx__item--danger:hover:not(:disabled),
|
|
.app-main .topo-ctx__item--danger:focus-visible:not(:disabled),
|
|
.topo-ctx__item--danger:hover:not(:disabled),
|
|
.topo-ctx__item--danger:focus-visible:not(:disabled) {
|
|
background: #7f1d1d;
|
|
color: #fecaca;
|
|
}
|
|
|
|
.topo-ctx__sep {
|
|
height: 1px;
|
|
margin: 4px 0;
|
|
background: #334155;
|
|
}
|
|
|
|
.topo-discover {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
max-height: none;
|
|
padding: 10px 12px;
|
|
background: #f8fafc;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.topo-discover__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.topo-discover__progress {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.topo-discover__bar {
|
|
height: 6px;
|
|
border-radius: 999px;
|
|
background: #e2e8f0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.topo-discover__bar-fill {
|
|
height: 100%;
|
|
background: #2563eb;
|
|
transition: width 0.2s ease;
|
|
}
|
|
|
|
.topo-discover__progress-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: #475569;
|
|
}
|
|
|
|
.topo-discover__summary {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
}
|
|
|
|
.topo-discover__filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
|
|
.topo-discover__filter {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
height: 26px;
|
|
padding: 0 8px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 999px;
|
|
background: #fff;
|
|
font-size: 12px;
|
|
color: #475569;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.topo-discover__filter.is-active {
|
|
border-color: #2563eb;
|
|
background: #eff6ff;
|
|
color: #1d4ed8;
|
|
}
|
|
|
|
.topo-discover__filter--primary {
|
|
border-color: #2563eb;
|
|
background: #2563eb;
|
|
color: #fff;
|
|
}
|
|
|
|
.topo-discover__filter--primary .topo-discover__filter-count {
|
|
color: #fff;
|
|
}
|
|
|
|
.topo-discover__filter-count {
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.topo-discover__empty-ok {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
color: #166534;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.topo-discover__link {
|
|
border: 0;
|
|
background: none;
|
|
padding: 0;
|
|
color: #2563eb;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.topo-discover__cap {
|
|
margin: 0;
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.topo-discover__error {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.topo-discover__list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: auto;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.topo-discover__list--modal {
|
|
max-height: min(52vh, 480px);
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
padding: 4px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.topo-discover-list-modal {
|
|
width: min(880px, 100%);
|
|
}
|
|
|
|
.topo-discover__list > li {
|
|
margin-bottom: 2px;
|
|
background: #fff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.topo-discover__list > li.is-fail {
|
|
border-color: #fecaca;
|
|
background: #fff1f2;
|
|
}
|
|
|
|
.topo-discover__list > li.is-warn {
|
|
border-color: #fde68a;
|
|
background: #fffbeb;
|
|
}
|
|
|
|
.topo-discover__row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 5px 8px;
|
|
border: 0;
|
|
background: transparent;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.topo-discover__row-main {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.topo-discover__row-name {
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.topo-discover__row-ip {
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.topo-discover__row-meta {
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.topo-discover__badge {
|
|
flex-shrink: 0;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #166534;
|
|
}
|
|
|
|
.topo-discover__list > li.is-fail .topo-discover__badge {
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.topo-discover__list > li.is-warn .topo-discover__badge {
|
|
color: #b45309;
|
|
}
|
|
|
|
.topo-discover__detail {
|
|
padding: 0 8px 6px;
|
|
border-top: 1px dashed #e2e8f0;
|
|
}
|
|
|
|
.topo-discover__item-meta,
|
|
.topo-discover__item-cmd,
|
|
.topo-discover__item-warn {
|
|
margin-top: 2px;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.topo-discover__item-warn {
|
|
color: #b45309;
|
|
}
|
|
|
|
.topo-discover__unmatched {
|
|
margin: 6px 0 0;
|
|
padding-left: 1.1rem;
|
|
font-size: 11px;
|
|
color: #92400e;
|
|
}
|
|
|
|
.topo-discover__unmatched-more {
|
|
list-style: none;
|
|
margin-left: -1.1rem;
|
|
color: #a16207;
|
|
}
|
|
|
|
.topo-discover__row-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.topo-discover__detail-btn {
|
|
font-size: 11px;
|
|
color: #2563eb;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topo-discover__badge--lg {
|
|
font-size: 12px;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
background: #ecfdf5;
|
|
}
|
|
|
|
.topo-discover__badge--lg.is-fail {
|
|
background: #fff1f2;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.topo-discover__badge--lg.is-warn {
|
|
background: #fffbeb;
|
|
color: #b45309;
|
|
}
|
|
|
|
.topo-discover-modal {
|
|
display: block;
|
|
width: min(960px, 100%);
|
|
max-height: min(88vh, 900px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.topo-discover-modal__head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.topo-discover-modal__head h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.topo-discover-modal__sub {
|
|
margin: 4px 0 0;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
|
|
}
|
|
|
|
.topo-discover-modal__stats {
|
|
margin-top: 8px;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
}
|
|
|
|
.topo-discover-modal__section {
|
|
margin: 14px 0 8px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.topo-discover-modal__table-wrap {
|
|
overflow-x: auto;
|
|
overflow-y: visible;
|
|
max-height: none;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
}
|
|
|
|
.topo-discover-modal__table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 12px;
|
|
table-layout: auto;
|
|
}
|
|
|
|
.topo-discover-modal__table th,
|
|
.topo-discover-modal__table td {
|
|
padding: 8px 10px;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
color: #0f172a;
|
|
background: #fff;
|
|
}
|
|
|
|
.topo-discover-modal__table th {
|
|
position: static;
|
|
background: #f8fafc;
|
|
color: #475569;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topo-discover-modal__table tbody tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.topo-discover-modal__peer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.topo-discover-modal__peer span {
|
|
color: #64748b;
|
|
}
|
|
|
|
.topo-discover-action.is-added {
|
|
color: #166534;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.topo-discover-action.is-updated {
|
|
color: #1d4ed8;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.topo-discover-action.is-kept_manual {
|
|
color: #a16207;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.topo-discover-modal__raw {
|
|
margin: 0;
|
|
padding: 10px 12px;
|
|
max-height: min(36vh, 360px);
|
|
overflow: auto;
|
|
background: #0f172a;
|
|
color: #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
.topo-discover-list-modal .topo-discover__list--modal {
|
|
max-height: min(52vh, 480px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.topo-canvas {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 0;
|
|
background: #f4f7fb;
|
|
}
|
|
|
|
.topo-canvas:fullscreen,
|
|
.topo-canvas.is-fullscreen:fullscreen {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: #f4f7fb;
|
|
}
|
|
|
|
/* Place fullscreen above zoom-in (+); Controls renders custom children last. */
|
|
.topo-canvas .react-flow__controls {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.topo-canvas .react-flow__controls-button.topo-fs-control {
|
|
order: -1;
|
|
}
|
|
|
|
.topo-canvas .react-flow__controls-button.topo-fs-control svg {
|
|
max-width: 14px;
|
|
max-height: 14px;
|
|
}
|
|
|
|
.topo-fs-toolbar {
|
|
position: absolute;
|
|
top: 12px;
|
|
left: 12px;
|
|
z-index: 20;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
padding: 8px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
border: 1px solid rgba(15, 23, 42, 0.12);
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.topo-fs-toolbar__btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(15, 23, 42, 0.12);
|
|
background: #fff;
|
|
color: #0f172a;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.topo-fs-toolbar__btn:hover {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.topo-fs-toolbar__btn.is-active {
|
|
border-color: #0ea5e9;
|
|
background: #e0f2fe;
|
|
color: #075985;
|
|
}
|
|
|
|
.topo-fs-toolbar__btn kbd {
|
|
font-size: 10px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.topo-canvas__empty {
|
|
display: grid;
|
|
place-items: center;
|
|
height: 100%;
|
|
color: var(--nm-muted, #5b6b7c);
|
|
}
|
|
|
|
.topo-sidebar .panel__hint {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
color: var(--nm-muted);
|
|
}
|
|
|
|
.topo-sidebar .input {
|
|
width: 100%;
|
|
height: 32px;
|
|
margin: 0;
|
|
padding: 0 10px;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--nm-text);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.topo-sidebar .input::placeholder {
|
|
color: var(--nm-muted);
|
|
}
|
|
|
|
.topo-sidebar .btn.btn--sm {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 28px;
|
|
padding: 0 10px;
|
|
line-height: 1;
|
|
border-radius: 6px;
|
|
border-color: #b8c4d2;
|
|
background: #fff;
|
|
color: var(--nm-brand);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.topo-node {
|
|
min-width: 72px;
|
|
max-width: 160px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
font-size: 11px;
|
|
text-align: center;
|
|
/* Base asset /topo/ne-router.png is navy-blue; tints approximate brand hues. */
|
|
--topo-icon-filter: none;
|
|
}
|
|
|
|
/* Cisco — cyan / light blue (#049FD9) */
|
|
.topo-node--cisco {
|
|
--topo-icon-filter: hue-rotate(-18deg) saturate(1.25) brightness(1.08);
|
|
}
|
|
/* Huawei — red (#CF0A2C); was incorrectly greenish at 155deg */
|
|
.topo-node--huawei {
|
|
--topo-icon-filter: hue-rotate(128deg) saturate(1.85) brightness(1.02);
|
|
}
|
|
/* ZTE — keep navy-blue base (#0091DA family) */
|
|
.topo-node--zte {
|
|
--topo-icon-filter: saturate(1.15) brightness(1.02);
|
|
}
|
|
/* Juniper — green (#84B135) */
|
|
.topo-node--juniper {
|
|
--topo-icon-filter: hue-rotate(78deg) saturate(1.35) brightness(1.05);
|
|
}
|
|
/* Nokia / Alcatel — deep blue-purple (#124191) */
|
|
.topo-node--nokia {
|
|
--topo-icon-filter: hue-rotate(-35deg) saturate(1.2) brightness(0.92);
|
|
}
|
|
/* Ericsson — dark navy */
|
|
.topo-node--ericsson {
|
|
--topo-icon-filter: hue-rotate(-8deg) saturate(1.1) brightness(0.82);
|
|
}
|
|
/* H3C — green (#7AC143) */
|
|
.topo-node--h3c {
|
|
--topo-icon-filter: hue-rotate(88deg) saturate(1.45) brightness(1.06);
|
|
}
|
|
/* Ruijie — purple */
|
|
.topo-node--ruijie {
|
|
--topo-icon-filter: hue-rotate(45deg) saturate(1.4) brightness(1.0);
|
|
}
|
|
/* MikroTik — red-orange */
|
|
.topo-node--mikrotik {
|
|
--topo-icon-filter: hue-rotate(145deg) saturate(1.7) brightness(1.05);
|
|
}
|
|
/* Unmanaged / unknown vendor */
|
|
.topo-node--gray,
|
|
.topo-node--other {
|
|
--topo-icon-filter: grayscale(1) brightness(0.92) contrast(0.95);
|
|
}
|
|
|
|
.topo-node__glyph {
|
|
position: relative;
|
|
width: 56px;
|
|
height: 56px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.react-flow__node.is-search-hit .topo-node__glyph {
|
|
box-shadow: none;
|
|
outline: 2px solid rgba(245, 158, 11, 0.95);
|
|
outline-offset: 3px;
|
|
border-radius: 4px;
|
|
animation: topo-search-pulse 0.85s ease 2;
|
|
}
|
|
|
|
@keyframes topo-search-pulse {
|
|
0%,
|
|
100% {
|
|
outline-color: rgba(245, 158, 11, 0.95);
|
|
}
|
|
50% {
|
|
outline-color: rgba(245, 158, 11, 0.35);
|
|
}
|
|
}
|
|
|
|
.topo-node__handle {
|
|
width: 10px !important;
|
|
height: 10px !important;
|
|
min-width: 10px !important;
|
|
min-height: 10px !important;
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.topo-node.is-connect-mode .topo-node__handle {
|
|
pointer-events: all;
|
|
}
|
|
|
|
.topo-node__handle--center {
|
|
left: 50% !important;
|
|
top: 50% !important;
|
|
right: auto !important;
|
|
bottom: auto !important;
|
|
transform: translate(-50%, -50%) !important;
|
|
}
|
|
|
|
.topo-node.is-selected .topo-node__glyph {
|
|
outline: 2px solid #334155;
|
|
outline-offset: 3px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.topo-node.is-selected .topo-node__icon {
|
|
transform: none;
|
|
filter: var(--topo-icon-filter, none);
|
|
}
|
|
|
|
.topo-node.is-selected .topo-node__caption {
|
|
color: #0f172a;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Selected link: light highlight only (do not alter geometry / arrows). */
|
|
.topo-canvas .react-flow__edge.selected .react-flow__edge-path {
|
|
stroke: #2563eb !important;
|
|
stroke-width: 3px !important;
|
|
}
|
|
|
|
.topo-node__icon {
|
|
display: block;
|
|
width: 56px;
|
|
height: 56px;
|
|
margin: 0;
|
|
object-fit: contain;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
filter: var(--topo-icon-filter, none);
|
|
transition: transform 0.12s ease, filter 0.12s ease;
|
|
}
|
|
|
|
.topo-node__caption {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1px;
|
|
margin-top: 3px;
|
|
color: #334155;
|
|
line-height: 1.2;
|
|
max-width: 160px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.topo-node__caption-name {
|
|
display: block;
|
|
max-width: 100%;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.topo-node__caption-meta {
|
|
display: block;
|
|
max-width: 100%;
|
|
font-size: 10px;
|
|
color: #64748b;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.react-flow__edge-textbg {
|
|
fill: #ffffff;
|
|
}
|
|
|
|
.react-flow__edge-text {
|
|
fill: #475569;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.topo-edge-label {
|
|
font-size: 11px;
|
|
color: #475569;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 4px;
|
|
padding: 1px 6px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topo-edge-label.is-selected {
|
|
color: #1d4ed8;
|
|
border-color: #93c5fd;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.topo-ctx__member-list {
|
|
margin: 0 0 8px;
|
|
padding: 0 0 0 16px;
|
|
font-size: 12px;
|
|
color: #334155;
|
|
max-height: 120px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.topo-ctx__style-members {
|
|
grid-column: 1 / -1;
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.topo-page,
|
|
.topo-page.is-sidebar-collapsed {
|
|
grid-template-columns: 1fr;
|
|
height: auto;
|
|
}
|
|
|
|
.topo-sidebar {
|
|
max-height: 40vh;
|
|
}
|
|
|
|
.topo-page.is-sidebar-collapsed .topo-sidebar {
|
|
max-height: none;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.topo-sidebar__rail {
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.topo-sidebar__rail-label {
|
|
writing-mode: horizontal-tb;
|
|
}
|
|
|
|
.topo-canvas {
|
|
min-height: 420px;
|
|
}
|
|
}
|
|
|
|
.login-page {
|
|
--login-accent: #3b82f6;
|
|
--login-accent-deep: #2563eb;
|
|
--login-ink: rgba(255, 255, 255, 0.92);
|
|
--login-muted: rgba(255, 255, 255, 0.55);
|
|
--login-field: rgba(255, 255, 255, 0.08);
|
|
--login-field-border: rgba(255, 255, 255, 0.14);
|
|
--login-danger: #fda29b;
|
|
--login-rail-w: clamp(360px, 30vw, 420px);
|
|
position: relative;
|
|
isolation: isolate;
|
|
min-height: 100vh;
|
|
overflow: hidden;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) var(--login-rail-w);
|
|
align-items: stretch;
|
|
background: #00050a;
|
|
font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
|
|
color: var(--login-ink);
|
|
}
|
|
|
|
.login-page__space {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
/* Center earth within the left stage (not under the form rail). */
|
|
justify-content: center;
|
|
padding: 3vh calc(var(--login-rail-w) + 3vw) 3vh 5vw;
|
|
background: url("/login-space.webp") center / cover no-repeat;
|
|
}
|
|
|
|
.login-page__space::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
background:
|
|
linear-gradient(
|
|
90deg,
|
|
transparent 0%,
|
|
transparent 52%,
|
|
rgba(0, 5, 12, 0.18) 70%,
|
|
rgba(0, 5, 12, 0.48) 88%,
|
|
rgba(0, 5, 12, 0.72) 100%
|
|
),
|
|
linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 30%, transparent 72%, rgba(0, 0, 0, 0.38) 100%);
|
|
}
|
|
|
|
/* Tiny sun flare — upper-left void. */
|
|
.login-page__flares {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 4;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-page__flare {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.login-page__flare--a {
|
|
width: 44px;
|
|
height: 44px;
|
|
left: 7%;
|
|
top: 11%;
|
|
background:
|
|
radial-gradient(
|
|
circle at 50% 50%,
|
|
rgba(245, 250, 255, 0.92) 0%,
|
|
rgba(170, 210, 255, 0.48) 28%,
|
|
rgba(90, 150, 245, 0.14) 55%,
|
|
transparent 78%
|
|
);
|
|
box-shadow: 0 0 16px 3px rgba(120, 180, 255, 0.2);
|
|
animation: login-flare-pulse-a 10s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.login-planet {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: min(500px, 38vw, 62vmin);
|
|
height: min(500px, 38vw, 62vmin);
|
|
border-radius: 50%;
|
|
transform: rotate(5deg);
|
|
animation: login-planet-enter 1.8s cubic-bezier(0.76, -0.46, 0.37, 0.99) both;
|
|
}
|
|
|
|
.login-planet__earth {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
/* Soft dissolve into space — no outer glow (Earth does not emit light). */
|
|
-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 87%, transparent 100%);
|
|
mask-image: radial-gradient(circle at 50% 50%, #000 87%, transparent 100%);
|
|
transform-origin: center center;
|
|
}
|
|
|
|
/* Gentle volume shade — cooler blue midtones. */
|
|
.login-planet__earth::before {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 1;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
background: linear-gradient(
|
|
148deg,
|
|
rgba(70, 130, 210, 0.16) 0%,
|
|
rgba(45, 100, 185, 0.08) 20%,
|
|
transparent 42%,
|
|
rgba(0, 12, 36, 0.22) 72%,
|
|
rgba(0, 8, 24, 0.42) 100%
|
|
);
|
|
}
|
|
|
|
/*
|
|
* Blue atmospheric limb (scattered sunlight) — stays on the sphere only.
|
|
*/
|
|
.login-planet__earth::after {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 2;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
background:
|
|
radial-gradient(
|
|
120% 95% at 10% 12%,
|
|
rgba(55, 130, 230, 0.42) 0%,
|
|
rgba(40, 110, 210, 0.22) 28%,
|
|
rgba(30, 90, 185, 0.08) 48%,
|
|
transparent 66%
|
|
),
|
|
radial-gradient(
|
|
circle at 50% 50%,
|
|
transparent 74%,
|
|
rgba(40, 105, 200, 0.14) 88%,
|
|
rgba(50, 120, 215, 0.22) 94%,
|
|
transparent 100%
|
|
);
|
|
box-shadow:
|
|
inset 0 0 20px 4px rgba(45, 110, 200, 0.28),
|
|
inset 22px 26px 32px 4px rgba(60, 130, 220, 0.12),
|
|
inset -20px -24px 40px 10px rgba(0, 6, 20, 0.3);
|
|
animation: login-earth-inner 2.2s ease-in-out 0.7s both;
|
|
}
|
|
|
|
.login-planet__textures {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(8, 28, 72, 0.2);
|
|
background-image: url("/login-earth-night.webp");
|
|
background-repeat: repeat-x;
|
|
background-size: 200%;
|
|
/* Softer map — less crunchy, blends into the limb fade. */
|
|
filter: brightness(2.45) contrast(1.02) saturate(1.08);
|
|
animation: login-earth-spin 80s linear infinite;
|
|
will-change: background-position;
|
|
}
|
|
|
|
.login-page__rail {
|
|
position: relative;
|
|
z-index: 5;
|
|
grid-column: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 48px clamp(32px, 3.5vw, 52px) 48px 8px;
|
|
}
|
|
|
|
.login-card {
|
|
width: 100%;
|
|
max-width: 340px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
padding: 26px 24px 28px;
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(8, 16, 32, 0.58);
|
|
backdrop-filter: blur(16px) saturate(1.12);
|
|
-webkit-backdrop-filter: blur(16px) saturate(1.12);
|
|
box-shadow:
|
|
0 18px 48px rgba(0, 0, 0, 0.32),
|
|
0 0 0 1px rgba(120, 170, 255, 0.07),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.07);
|
|
animation: login-card-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
}
|
|
|
|
.login-card__head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.login-card__brand,
|
|
.login-card__title {
|
|
margin: 0;
|
|
font-family: Sora, "IBM Plex Sans", sans-serif;
|
|
font-size: clamp(1.55rem, 4vw, 1.85rem);
|
|
font-weight: 700;
|
|
line-height: 1.15;
|
|
color: rgba(226, 232, 240, 0.88);
|
|
}
|
|
|
|
.login-card__brand {
|
|
letter-spacing: 0.1em;
|
|
text-shadow: 0 0 22px rgba(59, 130, 246, 0.28);
|
|
animation: login-brand-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
}
|
|
|
|
.login-card__title {
|
|
font-weight: 650;
|
|
letter-spacing: 0.02em;
|
|
color: rgba(203, 213, 225, 0.9);
|
|
}
|
|
|
|
.login-card__hint {
|
|
margin: -4px 0 4px;
|
|
color: var(--login-muted);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.login-card__sr {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.login-card__label {
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
|
|
.login-card__label input,
|
|
.login-card__password input {
|
|
width: 100%;
|
|
height: 44px;
|
|
padding: 0 14px;
|
|
border: 1px solid var(--login-field-border);
|
|
border-radius: 10px;
|
|
background: var(--login-field);
|
|
color: #fff;
|
|
font: inherit;
|
|
font-size: 15px;
|
|
box-sizing: border-box;
|
|
transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
|
|
}
|
|
|
|
.login-card__label input::placeholder,
|
|
.login-card__password input::placeholder {
|
|
color: rgba(255, 255, 255, 0.42);
|
|
}
|
|
|
|
.login-card__password {
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
|
|
.login-card__password input {
|
|
padding-right: 44px;
|
|
}
|
|
|
|
.login-card__eye {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 6px;
|
|
transform: translateY(-50%);
|
|
width: 34px;
|
|
height: 34px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.login-card__eye:hover {
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.login-card__eye svg {
|
|
display: block;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.login-card__label input:focus,
|
|
.login-card__password input:focus {
|
|
outline: none;
|
|
border-color: rgba(59, 130, 246, 0.7);
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.login-card__label input:disabled,
|
|
.login-card__password input:disabled {
|
|
opacity: 0.65;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.login-card__error {
|
|
color: var(--login-danger);
|
|
font-size: 13px;
|
|
line-height: 1.4;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
background: rgba(180, 35, 24, 0.22);
|
|
border: 1px solid rgba(253, 162, 155, 0.28);
|
|
animation: login-error-in 220ms ease both;
|
|
}
|
|
|
|
.login-card__submit {
|
|
margin-top: 8px;
|
|
height: 44px;
|
|
border: 0;
|
|
border-radius: 9999px;
|
|
background: linear-gradient(to right, #3b82f6, #2563eb, #2563eb);
|
|
color: #fff;
|
|
font-family: Sora, "IBM Plex Sans", sans-serif;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
box-shadow:
|
|
0 8px 15px -3px rgba(59, 130, 246, 0.5),
|
|
0 4px 6px -4px rgba(59, 130, 246, 0.5);
|
|
cursor: pointer;
|
|
transition: transform 140ms ease, filter 140ms ease, opacity 140ms ease;
|
|
}
|
|
|
|
.login-card__submit:hover:not(:disabled) {
|
|
filter: brightness(1.06);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.login-card__submit:active:not(:disabled) {
|
|
transform: translateY(0);
|
|
filter: brightness(0.98);
|
|
}
|
|
|
|
.login-card__submit:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.login-card__submit--ghost,
|
|
.login-card__submit + .login-card__submit {
|
|
margin-top: 0;
|
|
background: transparent;
|
|
border: 1px solid rgba(59, 130, 246, 0.7);
|
|
color: #93c5fd;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.login-card__submit--ghost:hover:not(:disabled),
|
|
.login-card__submit + .login-card__submit:hover:not(:disabled) {
|
|
background: rgba(59, 130, 246, 0.12);
|
|
filter: none;
|
|
}
|
|
|
|
@keyframes login-planet-enter {
|
|
0% {
|
|
transform: scale(0.92) rotate(-5deg);
|
|
opacity: 0.65;
|
|
}
|
|
100% {
|
|
transform: rotate(5deg);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes login-earth-spin {
|
|
from {
|
|
background-position: calc(120% + 120px) 0;
|
|
}
|
|
to {
|
|
background-position: calc(-80% + 120px) 0;
|
|
}
|
|
}
|
|
|
|
@keyframes login-earth-inner {
|
|
0% {
|
|
opacity: 0.55;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes login-card-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(12px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes login-brand-in {
|
|
from {
|
|
opacity: 0;
|
|
letter-spacing: 0.24em;
|
|
transform: translateY(8px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
letter-spacing: 0.12em;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes login-error-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-4px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes login-flare-pulse-a {
|
|
from { opacity: 0.7; transform: scale(0.96); }
|
|
to { opacity: 1; transform: scale(1.08); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
/* Keep ambient earth spin; only drop entrance flourishes. */
|
|
.login-planet,
|
|
.login-planet__earth::after,
|
|
.login-card,
|
|
.login-card__brand,
|
|
.login-card__error,
|
|
.login-page__flare {
|
|
animation: none !important;
|
|
}
|
|
|
|
.login-page__flare {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.login-planet {
|
|
transform: rotate(5deg);
|
|
}
|
|
|
|
.login-card__submit:hover:not(:disabled) {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.login-page {
|
|
--login-rail-w: clamp(340px, 34vw, 400px);
|
|
}
|
|
|
|
.login-planet {
|
|
width: min(440px, 40vw, 58vmin);
|
|
height: min(440px, 40vw, 58vmin);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.login-page {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.login-page__space {
|
|
justify-content: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.login-page__space::before {
|
|
background:
|
|
linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 30%, transparent 48%, rgba(0, 0, 0, 0.72) 100%);
|
|
}
|
|
|
|
.login-planet {
|
|
width: min(420px, 78vmin);
|
|
height: min(420px, 78vmin);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.login-page__rail {
|
|
grid-column: 1;
|
|
min-height: 100vh;
|
|
padding: 28px 18px 36px;
|
|
}
|
|
|
|
.login-card {
|
|
max-width: 380px;
|
|
padding: 20px 18px 22px;
|
|
}
|
|
|
|
.login-card__brand,
|
|
.login-card__title {
|
|
font-size: 1.4rem;
|
|
}
|
|
}
|
|
|
|
|
|
/* —— Network Management shell (left nav + main) ——
|
|
Light ops shell + login-aligned accent blues. */
|
|
.network-shell {
|
|
display: flex;
|
|
height: calc(100vh - 48px);
|
|
min-height: 480px;
|
|
margin: -20px -28px -32px;
|
|
background: var(--nm-chrome);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.network-nav {
|
|
width: 220px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--nm-nav);
|
|
border-right: 1px solid var(--nm-nav-border);
|
|
min-height: 0;
|
|
color: var(--nm-text);
|
|
box-shadow: inset -1px 0 0 rgba(15, 27, 45, 0.04);
|
|
}
|
|
|
|
.network-nav__scroll {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 10px 0 16px;
|
|
}
|
|
|
|
.network-nav__group {
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.app-main .network-nav__group-toggle,
|
|
.network-nav__group-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
width: 100%;
|
|
padding: 9px 14px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: var(--nm-text);
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.02em;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.app-main .network-nav__group-toggle:hover,
|
|
.network-nav__group-toggle:hover {
|
|
background: var(--nm-nav-hover);
|
|
color: var(--nm-brand);
|
|
}
|
|
|
|
.network-nav__group.is-active-group .network-nav__group-toggle {
|
|
color: var(--nm-accent);
|
|
}
|
|
|
|
.network-nav__chevron {
|
|
display: inline-block;
|
|
width: 1em;
|
|
color: #7b8b9c;
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.network-nav__group-label {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.network-nav__list {
|
|
list-style: none;
|
|
margin: 0;
|
|
/* Indent under group label (toggle pad + chevron + gap), not under the chevron */
|
|
padding: 0 8px 6px 34px;
|
|
}
|
|
|
|
.network-nav__list > li {
|
|
width: 100%;
|
|
}
|
|
|
|
.network-nav__link {
|
|
display: block;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: 7px 12px;
|
|
border-radius: 6px;
|
|
color: var(--nm-muted);
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
border-left: 2px solid transparent;
|
|
}
|
|
|
|
.network-nav__link:hover {
|
|
background: var(--nm-nav-hover);
|
|
color: var(--nm-text);
|
|
}
|
|
|
|
.network-nav__link.is-active {
|
|
background: var(--nm-nav-active);
|
|
color: var(--nm-accent);
|
|
font-weight: 600;
|
|
border-left-color: var(--nm-accent);
|
|
}
|
|
|
|
.network-nav__brand {
|
|
padding: 14px 16px 10px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
color: var(--nm-brand);
|
|
border-bottom: 1px solid var(--nm-nav-border);
|
|
}
|
|
|
|
.network-nav__list--flat {
|
|
padding: 8px 10px 12px;
|
|
}
|
|
|
|
.audit-shell .network-main {
|
|
overflow: auto;
|
|
}
|
|
|
|
.network-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 16px 18px 24px;
|
|
background: var(--nm-chrome);
|
|
}
|
|
|
|
.network-main > .panel {
|
|
padding: 16px 18px 18px;
|
|
border-color: var(--nm-panel-border);
|
|
box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06);
|
|
}
|
|
|
|
.network-main .panel__toolbar {
|
|
margin-bottom: 14px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid #d7dee8;
|
|
}
|
|
|
|
.network-main .panel__toolbar h2 {
|
|
font-size: 17px;
|
|
font-weight: 650;
|
|
color: var(--nm-brand);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.network-main .filter-inline {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin-bottom: 0;
|
|
padding: 10px 12px;
|
|
border: 1px solid #cdd6e2;
|
|
border-radius: 8px;
|
|
background: #eef2f7;
|
|
grid-template-columns: none;
|
|
}
|
|
|
|
.network-main .filter-inline input,
|
|
.network-main .filter-inline select {
|
|
width: auto;
|
|
min-width: 140px;
|
|
flex: 1 1 160px;
|
|
max-width: 280px;
|
|
height: 32px;
|
|
margin: 0;
|
|
border: 1px solid #b8c4d2;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
padding: 0 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.network-main .filter-inline button {
|
|
height: 32px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.network-main .pt-list {
|
|
gap: 12px;
|
|
}
|
|
|
|
.network-main .pt-list-table-wrap {
|
|
border-color: #cdd6e2;
|
|
}
|
|
|
|
.network-main .pt-list-table thead th {
|
|
background: #eef2f7;
|
|
color: var(--nm-muted);
|
|
}
|
|
|
|
.network-main .pager.pt-list-pager,
|
|
.network-main .pt-list-pager {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.pt-port-updown {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.pt-port-updown .conn-pill {
|
|
min-width: 2.4em;
|
|
justify-content: center;
|
|
text-transform: lowercase;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pt-wizard__confirm-port {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px 12px;
|
|
}
|
|
|
|
.pt-list-status--ok,
|
|
.pt-list-status--up,
|
|
.pt-list-status--connected {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
.pt-list-status--down,
|
|
.pt-list-status--failed,
|
|
.pt-list-status--critical {
|
|
background: #fee2e2;
|
|
color: #991b1b;
|
|
}
|
|
|
|
.pt-list-status--major {
|
|
background: #ffedd5;
|
|
color: #9a3412;
|
|
}
|
|
|
|
.pt-list-status--minor,
|
|
.pt-list-status--warning {
|
|
background: #fef9c3;
|
|
color: #854d0e;
|
|
}
|
|
|
|
.pt-list-status--info {
|
|
background: #e0f2fe;
|
|
color: #075985;
|
|
}
|
|
|
|
.pt-list-status--unknown {
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
}
|
|
|
|
.network-main .nm-config-view {
|
|
margin-top: 14px;
|
|
padding-top: 14px;
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.network-main .nm-config-view textarea {
|
|
width: 100%;
|
|
min-height: 420px;
|
|
margin: 0;
|
|
padding: 12px 14px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
background: #0b1220;
|
|
color: #e2e8f0;
|
|
font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
resize: vertical;
|
|
}
|
|
|
|
.network-main:has(.topo-page),
|
|
.network-main:has(.webcrt-shell),
|
|
.network-main:has(.pt-wall-shell) {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main:has(> .pt-wall-shell) {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.network-main .topo-page,
|
|
.network-main .topo-page.is-sidebar-collapsed {
|
|
height: 100%;
|
|
margin: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.network-main .webcrt-shell {
|
|
height: 100%;
|
|
margin: 0;
|
|
min-height: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.network-main .pt-wall-shell,
|
|
.app-main > .pt-wall-shell {
|
|
flex: 1;
|
|
height: 100%;
|
|
margin: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.pt-board-toolbar__title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #e2e8f0;
|
|
line-height: 30px;
|
|
max-width: min(420px, 50vw);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.network-placeholder h2 {
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.network-placeholder__list {
|
|
margin: 12px 0 0;
|
|
padding-left: 1.25rem;
|
|
color: #475569;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Port traffic monitoring */
|
|
.pt-wizard__steps {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.pt-wizard__step {
|
|
border: 1px solid #cbd5e1;
|
|
background: #f8fafc;
|
|
color: #334155;
|
|
border-radius: 6px;
|
|
padding: 6px 10px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pt-wizard__step.is-active {
|
|
border-color: #0f766e;
|
|
background: #ccfbf1;
|
|
color: #115e59;
|
|
}
|
|
|
|
.pt-wizard__ne-block {
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.pt-wizard__confirm-list {
|
|
margin: 8px 0 16px;
|
|
padding-left: 1.2rem;
|
|
max-height: 220px;
|
|
overflow: auto;
|
|
color: #334155;
|
|
}
|
|
|
|
.pt-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.pt-list-kpis {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.pt-list-kpi {
|
|
padding: 12px 14px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.pt-list-kpi--live {
|
|
background: #eff6ff;
|
|
border-color: #bfdbfe;
|
|
}
|
|
|
|
.pt-list-kpi__label {
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.pt-list-kpi__value {
|
|
font-size: 22px;
|
|
font-weight: 650;
|
|
font-variant-numeric: tabular-nums;
|
|
color: #0f172a;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.pt-list-kpi--live .pt-list-kpi__value {
|
|
color: #1d4ed8;
|
|
}
|
|
|
|
.pt-list-table-wrap {
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.pt-list-table {
|
|
margin: 0;
|
|
}
|
|
|
|
.pt-list-table thead th {
|
|
background: #f8fafc;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #64748b;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pt-list-table tbody td {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.pt-list-table tbody tr:hover td {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.pt-list-task-name {
|
|
font-weight: 600;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.pt-list-task-err {
|
|
margin-top: 2px;
|
|
max-width: 280px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
/* Beat .app-main button { color/background } so error state shows without hover. */
|
|
.app-main .pt-list-log-btn--error,
|
|
.pt-list-actions .pt-list-log-btn--error {
|
|
color: #b91c1c;
|
|
border-color: #fecaca;
|
|
background: #fef2f2;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.app-main .pt-list-log-btn--error:hover,
|
|
.pt-list-actions .pt-list-log-btn--error:hover {
|
|
color: #991b1b;
|
|
background: #fee2e2;
|
|
}
|
|
|
|
.pt-log-modal__head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.pt-log-modal__head h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.pt-log-modal__sub {
|
|
margin: 4px 0 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.pt-log-modal__list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
max-height: min(60vh, 520px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.pt-log-item {
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
padding: 10px 12px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.pt-log-item--error {
|
|
border-color: #fecaca;
|
|
background: #fef2f2;
|
|
}
|
|
|
|
.pt-log-item--warn {
|
|
border-color: #fde68a;
|
|
background: #fffbeb;
|
|
}
|
|
|
|
.pt-log-item__meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px 12px;
|
|
margin-bottom: 6px;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.pt-log-item__level {
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
font-weight: 700;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.pt-log-item--warn .pt-log-item__level {
|
|
color: #b45309;
|
|
}
|
|
|
|
.pt-log-item--info .pt-log-item__level {
|
|
color: #0369a1;
|
|
}
|
|
|
|
.pt-log-item__if {
|
|
font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.pt-log-item__msg {
|
|
margin: 0;
|
|
/* Override global `pre` dark terminal chrome — logs sit on light cards. */
|
|
background: #f1f5f9;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 6px;
|
|
padding: 8px 10px;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
color: #0f172a;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
.pt-rebind-modal__current {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 10px 12px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.pt-rebind-modal__current strong {
|
|
margin-left: 8px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pt-rebind-modal__table-wrap {
|
|
max-height: min(40vh, 360px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.pt-rebind-row--same-ip {
|
|
background: #fffbeb;
|
|
}
|
|
|
|
.pt-rebind-same-ip {
|
|
margin-left: 8px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: #b45309;
|
|
}
|
|
|
|
.pt-list-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1.5;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pt-list-status + .pt-list-status {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.pt-list-status--running {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
.pt-list-status--running::before,
|
|
.pt-list-status--collect::before {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
}
|
|
|
|
.pt-list-status--paused {
|
|
background: #fef9c3;
|
|
color: #854d0e;
|
|
}
|
|
|
|
.pt-list-status--stopped,
|
|
.pt-list-status--other {
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
}
|
|
|
|
.pt-list-status--collect {
|
|
background: #e0e7ff;
|
|
color: #3730a3;
|
|
}
|
|
|
|
.pt-list-num,
|
|
.pt-list-time {
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
color: #334155;
|
|
}
|
|
|
|
.pt-list-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
|
|
.pt-list-actions .btn-primary,
|
|
.pt-list-actions .btn--danger,
|
|
.pt-list-actions button {
|
|
padding: 4px 10px;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.pt-list-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
min-height: 200px;
|
|
padding: 32px 16px;
|
|
border: 1px dashed #cbd5e1;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
color: #64748b;
|
|
text-align: center;
|
|
}
|
|
|
|
.pt-list-empty p {
|
|
margin: 0;
|
|
}
|
|
|
|
.pt-list-pager {
|
|
justify-content: center;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.pt-list-kpis {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
.pt-wall-shell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
color: #e2e8f0;
|
|
background:
|
|
radial-gradient(1200px 480px at 12% -10%, rgba(45, 212, 191, 0.08), transparent 55%),
|
|
radial-gradient(900px 420px at 88% 0%, rgba(56, 189, 248, 0.06), transparent 50%),
|
|
linear-gradient(180deg, #0a1220 0%, #070d18 100%);
|
|
}
|
|
|
|
.pt-board-toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 10px 16px;
|
|
flex: 0 0 auto;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.16);
|
|
background: rgba(15, 23, 42, 0.88);
|
|
}
|
|
|
|
.pt-board-toolbar__left {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
gap: 8px 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.pt-board-toolbar__field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
min-width: 0;
|
|
}
|
|
|
|
.pt-board-toolbar__field select,
|
|
.pt-board-toolbar__field input {
|
|
height: 30px;
|
|
min-width: 160px;
|
|
padding: 0 9px;
|
|
border: 1px solid rgba(148, 163, 184, 0.28);
|
|
border-radius: 6px;
|
|
background: rgba(15, 23, 42, 0.7);
|
|
color: #e2e8f0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.pt-board-toolbar__field--sm select {
|
|
min-width: 72px;
|
|
}
|
|
|
|
.pt-board-toolbar__actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.app-main .pt-board-toolbar button {
|
|
height: 30px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.pt-board-page {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.pt-board-add {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
gap: 10px 12px;
|
|
margin-bottom: 12px;
|
|
padding: 10px 12px;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
border-radius: 8px;
|
|
background: rgba(15, 23, 42, 0.45);
|
|
}
|
|
|
|
.pt-board-grid {
|
|
display: grid;
|
|
gap: 12px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
align-content: start;
|
|
overflow: auto;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.pt-board-panel {
|
|
min-height: 320px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
border: 1px solid rgba(148, 163, 184, 0.12);
|
|
border-radius: 10px;
|
|
background: rgba(8, 14, 26, 0.35);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pt-board-panel.is-stale {
|
|
border-color: rgba(248, 113, 113, 0.45);
|
|
}
|
|
|
|
.pt-board-panel .pt-wall {
|
|
flex: 1;
|
|
min-height: 280px;
|
|
padding: 12px 12px 8px;
|
|
}
|
|
|
|
.pt-board-panel__editbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
flex: 0 0 auto;
|
|
padding: 6px 10px;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.14);
|
|
background: rgba(15, 23, 42, 0.72);
|
|
}
|
|
|
|
.pt-board-panel__edit-title {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.pt-board-panel__stale {
|
|
flex: 1;
|
|
display: grid;
|
|
place-content: center;
|
|
gap: 10px;
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.pt-wall-shell__empty {
|
|
flex: 1;
|
|
display: grid;
|
|
place-content: center;
|
|
gap: 12px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.pt-wall-page {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 10px 14px 12px;
|
|
gap: 0;
|
|
}
|
|
|
|
.pt-wall-page__hint {
|
|
margin: 0 0 8px;
|
|
flex: 0 0 auto;
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.pt-wall-page__stage {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
padding: 12px 14px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(1200px 480px at 12% -10%, rgba(45, 212, 191, 0.08), transparent 55%),
|
|
linear-gradient(180deg, #0a1220 0%, #070d18 100%);
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-board-grid,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-board-grid {
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
height: auto;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
align-content: stretch;
|
|
/* Equal row heights that fit the viewport — no fixed min that forces scroll. */
|
|
grid-auto-rows: minmax(0, 1fr);
|
|
gap: 6px;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.pt-board-fs-legend {
|
|
display: none;
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-board-fs-legend,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-board-fs-legend {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px 18px;
|
|
margin-top: 6px;
|
|
padding: 4px 8px 0;
|
|
color: #94a3b8;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-board-panel,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-board-panel {
|
|
min-height: 0;
|
|
height: auto;
|
|
max-height: 100%;
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-board-panel .pt-wall,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-board-panel .pt-wall {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: 100%;
|
|
padding: 6px 8px 2px;
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__ne {
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__ne-base {
|
|
color: #64748b;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__if {
|
|
font-size: clamp(13px, 1.5vh, 18px);
|
|
max-width: min(560px, 55vw);
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__range {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__head {
|
|
margin-bottom: 4px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__kpis {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__kpi {
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__kpi-label {
|
|
font-size: 9px;
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__kpi-value {
|
|
font-size: clamp(12px, 1.6vh, 16px);
|
|
}
|
|
|
|
.pt-wall--dense .pt-wall__kpi-unit {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-wall__if,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__if {
|
|
font-size: clamp(13px, 1.5vh, 18px);
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-wall__head,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__head {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-wall__kpis,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__kpis {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-wall__kpi,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__kpi {
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-wall__kpi-value,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__kpi-value {
|
|
font-size: clamp(12px, 1.6vh, 16px);
|
|
}
|
|
|
|
.pt-wall-page__stage:fullscreen .pt-wall__chart-wrap,
|
|
.pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__chart-wrap {
|
|
min-height: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.pt-wall-page__stage .pt-wall {
|
|
flex: 1;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.pt-wall-page__fs-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: 30px;
|
|
padding: 0 11px;
|
|
border: 1px solid rgba(148, 163, 184, 0.28);
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: #cbd5e1;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pt-wall-page__fs-btn--toolbar {
|
|
flex: 0 0 auto;
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.pt-wall-page__fs-btn:hover {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
border-color: rgba(148, 163, 184, 0.45);
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.app-main .pt-wall-page__fs-btn {
|
|
background: transparent;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.app-main .pt-wall-page__fs-btn:hover {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.pt-wall-page__toolbar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
flex: 0 0 auto;
|
|
margin-bottom: 10px;
|
|
padding: 0 0 10px;
|
|
background: transparent;
|
|
border: 0;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.14);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.pt-wall-page__row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
gap: 8px 10px;
|
|
}
|
|
|
|
.pt-wall-page__row--primary {
|
|
padding-bottom: 0;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.pt-wall-page__row--secondary {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.pt-wall-page__field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
font-size: 11px;
|
|
color: #64748b;
|
|
min-width: 0;
|
|
}
|
|
|
|
.pt-wall-page__field select,
|
|
.pt-wall-page__field input {
|
|
height: 30px;
|
|
padding: 0 9px;
|
|
border: 1px solid rgba(148, 163, 184, 0.22);
|
|
border-radius: 6px;
|
|
background: rgba(15, 23, 42, 0.55);
|
|
color: #e2e8f0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.pt-wall-page__field select:hover,
|
|
.pt-wall-page__field input:hover,
|
|
.pt-wall-page__field select:focus,
|
|
.pt-wall-page__field input:focus {
|
|
border-color: rgba(45, 212, 191, 0.45);
|
|
outline: none;
|
|
}
|
|
|
|
.app-main .pt-wall-page__field select,
|
|
.app-main .pt-wall-page__field input {
|
|
background: rgba(15, 23, 42, 0.55);
|
|
color: #e2e8f0;
|
|
border-color: rgba(148, 163, 184, 0.22);
|
|
}
|
|
|
|
.pt-wall-page__field--task {
|
|
flex: 0 1 160px;
|
|
min-width: 128px;
|
|
}
|
|
|
|
.pt-wall-page__field--port {
|
|
flex: 1 1 220px;
|
|
min-width: 180px;
|
|
}
|
|
|
|
.pt-wall-page__field--sm {
|
|
flex: 0 0 78px;
|
|
}
|
|
|
|
.pt-wall-page__field--md {
|
|
flex: 0 1 148px;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.pt-wall-page__field--port select {
|
|
width: 100%;
|
|
}
|
|
|
|
.pt-wall-page__collect {
|
|
flex: 0 0 auto;
|
|
height: 30px;
|
|
margin-left: auto;
|
|
align-self: flex-end;
|
|
white-space: nowrap;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(45, 212, 191, 0.35);
|
|
background: rgba(45, 212, 191, 0.16);
|
|
color: #99f6e4;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.app-main .pt-wall-page__collect.btn-primary {
|
|
background: rgba(45, 212, 191, 0.16);
|
|
border-color: rgba(45, 212, 191, 0.35);
|
|
color: #99f6e4;
|
|
}
|
|
|
|
.app-main .pt-wall-page__collect.btn-primary:hover:not(:disabled) {
|
|
background: rgba(45, 212, 191, 0.28);
|
|
color: #ecfdf5;
|
|
}
|
|
|
|
.pt-wall-page__cluster {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-end;
|
|
gap: 8px 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.pt-wall-page__cluster--map {
|
|
flex: 1 1 280px;
|
|
}
|
|
|
|
.pt-wall-page__cluster-label {
|
|
flex: 0 0 auto;
|
|
padding-bottom: 7px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: #475569;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pt-wall-page__cluster-fields {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
gap: 8px 10px;
|
|
}
|
|
|
|
.pt-wall-page__cluster-sep {
|
|
width: 1px;
|
|
align-self: stretch;
|
|
margin: 4px 6px 0;
|
|
background: rgba(148, 163, 184, 0.14);
|
|
flex: 0 0 1px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.pt-wall-page__cluster {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.pt-wall-page__cluster-label {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.pt-wall-page__cluster-sep {
|
|
display: none;
|
|
}
|
|
|
|
.pt-wall-page__collect {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.pt-wall-page__field--port {
|
|
flex-basis: 100%;
|
|
}
|
|
}
|
|
|
|
.pt-wall {
|
|
--pt-bg: #0a1220;
|
|
--pt-panel: transparent;
|
|
--pt-line: rgba(148, 163, 184, 0.16);
|
|
--pt-text: #e2e8f0;
|
|
--pt-muted: #8b9bb0;
|
|
--pt-in: #2dd4bf;
|
|
--pt-out: #fbbf24;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 0;
|
|
padding: 4px 2px 0;
|
|
color: var(--pt-text);
|
|
}
|
|
|
|
.pt-wall__head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
gap: 16px;
|
|
margin-bottom: 12px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.pt-wall__head-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.pt-wall__title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.pt-wall__ne {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.02em;
|
|
color: var(--pt-muted);
|
|
}
|
|
|
|
.pt-wall__if {
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
|
|
color: #f8fafc;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: min(720px, 72vw);
|
|
}
|
|
|
|
.pt-wall__range {
|
|
font-size: 12px;
|
|
color: var(--pt-muted);
|
|
white-space: nowrap;
|
|
padding-bottom: 3px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pt-wall__kpis {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 0;
|
|
margin-bottom: 14px;
|
|
flex: 0 0 auto;
|
|
border: 1px solid rgba(148, 163, 184, 0.12);
|
|
border-radius: 8px;
|
|
background: rgba(15, 23, 42, 0.35);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pt-wall__kpi {
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 0;
|
|
border-right: 1px solid rgba(148, 163, 184, 0.1);
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.pt-wall__kpi:last-child {
|
|
border-right: 0;
|
|
}
|
|
|
|
.pt-wall__kpi-label {
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: #64748b;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.pt-wall__kpi-value {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
|
|
line-height: 1.15;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.pt-wall__kpi--in .pt-wall__kpi-value {
|
|
color: var(--pt-in);
|
|
}
|
|
|
|
.pt-wall__kpi--out .pt-wall__kpi-value {
|
|
color: var(--pt-out);
|
|
}
|
|
|
|
.pt-wall__kpi--util .pt-wall__kpi-value {
|
|
color: #7dd3fc;
|
|
}
|
|
|
|
.pt-wall__kpi-unit,
|
|
.pt-wall__kpi-sep {
|
|
margin-left: 4px;
|
|
font-size: 11px;
|
|
color: var(--pt-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.pt-wall__chart-wrap {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 180px;
|
|
width: 100%;
|
|
border-radius: 8px;
|
|
background: rgba(8, 14, 26, 0.45);
|
|
border: 1px solid rgba(148, 163, 184, 0.1);
|
|
padding: 8px 8px 4px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pt-wall__chart {
|
|
min-height: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.pt-wall__chart .uplot,
|
|
.pt-wall__chart .u-wrap {
|
|
font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
|
|
}
|
|
|
|
.pt-wall__tip {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 5;
|
|
min-width: 150px;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(148, 163, 184, 0.28);
|
|
background: rgba(8, 14, 26, 0.94);
|
|
color: #e2e8f0;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
pointer-events: none;
|
|
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.pt-wall__tip-time {
|
|
margin-bottom: 6px;
|
|
color: #94a3b8;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pt-wall__tip-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pt-wall__tip-row--in strong {
|
|
color: #2dd4bf;
|
|
}
|
|
|
|
.pt-wall__tip-row--out strong {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.pt-wall__chart .u-axis {
|
|
border: 0 !important;
|
|
}
|
|
|
|
.pt-wall__chart .u-legend {
|
|
display: none !important;
|
|
}
|
|
|
|
.pt-wall__foot {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px 20px;
|
|
margin-top: 8px;
|
|
padding-top: 0;
|
|
border-top: 0;
|
|
flex: 0 0 auto;
|
|
min-height: 28px;
|
|
}
|
|
|
|
.pt-wall__legend {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px 16px;
|
|
color: var(--pt-muted);
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.pt-wall__legend-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pt-wall__legend-swatch {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 2px;
|
|
flex: 0 0 10px;
|
|
}
|
|
|
|
.pt-wall__legend-item--in .pt-wall__legend-swatch {
|
|
background: #2dd4bf;
|
|
}
|
|
|
|
.pt-wall__legend-item--out .pt-wall__legend-swatch {
|
|
background: #fbbf24;
|
|
}
|
|
|
|
.pt-wall__legend-item--base-in .pt-wall__legend-swatch {
|
|
background: rgba(45, 212, 191, 0.45);
|
|
box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.7);
|
|
}
|
|
|
|
.pt-wall__legend-item--base-out .pt-wall__legend-swatch {
|
|
background: rgba(251, 191, 36, 0.4);
|
|
box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.65);
|
|
}
|
|
|
|
.pt-wall__foot-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px 20px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.pt-wall__foot-ne,
|
|
.pt-wall__foot-if {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 6px 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.pt-wall__foot-label {
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: #64748b;
|
|
}
|
|
|
|
.pt-wall__foot-value {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.pt-wall__foot-value--mono {
|
|
font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.pt-wall__foot-ip {
|
|
font-size: 12px;
|
|
color: var(--pt-muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pt-wall__empty {
|
|
position: absolute;
|
|
inset: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px 24px;
|
|
text-align: center;
|
|
line-height: 1.5;
|
|
color: var(--pt-muted);
|
|
background: rgba(8, 14, 26, 0.55);
|
|
border: 1px dashed rgba(148, 163, 184, 0.22);
|
|
border-radius: 6px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.pt-wall__kpis {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.pt-wall__kpi:nth-child(2n) {
|
|
border-right: 0;
|
|
}
|
|
|
|
.pt-wall__kpi:nth-child(-n + 2) {
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.1);
|
|
}
|
|
}
|