added network specs request
This commit is contained in:
@@ -246,3 +246,170 @@
|
||||
@media (max-width: 700px) { .tt-scope .router-actions-grid { grid-template-columns: 1fr; } }
|
||||
.tt-scope .action-btn { display: flex; align-items: center; padding: 8px 16px; }
|
||||
.tt-scope .action-btn i { width: 20px; flex-shrink: 0; text-align: center; margin-right: 10px; }
|
||||
|
||||
/* ===== Network Config Modal ===== */
|
||||
.tt-scope .network-config-modal { }
|
||||
|
||||
.tt-scope .cache-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 2px 8px;
|
||||
background: rgba(255,255,255,0.7);
|
||||
border: 1px solid #b8d9f0;
|
||||
border-radius: 999px;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
color: #0b3a57;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.tt-scope .cache-badge i { font-size: 9px; }
|
||||
|
||||
.tt-scope .config-action-btn {
|
||||
background: rgba(255,255,255,0.6);
|
||||
border: 1px solid #b8d9f0;
|
||||
border-radius: 6px;
|
||||
padding: 4px 8px;
|
||||
cursor: pointer;
|
||||
color: var(--accent);
|
||||
font-size: 12px;
|
||||
transition: all 0.15s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.tt-scope .config-action-btn:hover {
|
||||
background: rgba(255,255,255,0.9);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.tt-scope .config-action-btn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.tt-scope .config-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.tt-scope .config-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.tt-scope .config-card {
|
||||
background: linear-gradient(145deg, #ffffff 0%, #f8fbfd 100%);
|
||||
border: 1px solid #e3eef5;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
transition: box-shadow 0.2s ease, border-color 0.2s ease;
|
||||
}
|
||||
|
||||
.tt-scope .config-card:hover {
|
||||
box-shadow: 0 4px 16px rgba(0, 83, 132, 0.08);
|
||||
border-color: #cce4f5;
|
||||
}
|
||||
|
||||
.tt-scope .config-card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 14px;
|
||||
background: linear-gradient(135deg, #e8f4fb 0%, #dceef8 100%);
|
||||
border-bottom: 1px solid #d6e8f5;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
color: #0b3a57;
|
||||
}
|
||||
|
||||
.tt-scope .config-card-header > i:first-child {
|
||||
font-size: 14px;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.tt-scope .config-card-header .status-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.tt-scope .config-card-header .status-dot.active {
|
||||
background: #10b981;
|
||||
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
|
||||
}
|
||||
|
||||
.tt-scope .config-card-header .status-dot.inactive {
|
||||
background: #ef4444;
|
||||
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
|
||||
}
|
||||
|
||||
.tt-scope .config-card-body {
|
||||
padding: 10px 14px;
|
||||
}
|
||||
|
||||
.tt-scope .config-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 6px 0;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.tt-scope .config-row:not(:last-child) {
|
||||
border-bottom: 1px dashed #e8eef3;
|
||||
}
|
||||
|
||||
.tt-scope .config-row.highlight {
|
||||
background: #f8fbfd;
|
||||
margin: 0 -14px;
|
||||
padding: 8px 14px;
|
||||
border-bottom: 1px solid #e8eef3;
|
||||
}
|
||||
|
||||
.tt-scope .config-row.highlight:first-child {
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.tt-scope .config-label {
|
||||
font-size: 12px;
|
||||
color: #667085;
|
||||
font-weight: 500;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tt-scope .config-value {
|
||||
font-family: var(--mono);
|
||||
font-size: 12px;
|
||||
color: #1a2b3c;
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.tt-scope .config-value.with-copy {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.tt-scope .config-value.small {
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.tt-scope .config-value code {
|
||||
background: none;
|
||||
padding: 0;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.tt-scope .config-value code.password {
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
color: var(--accent);
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user