Update styles.css

This commit is contained in:
oliver
2026-06-08 09:27:02 -03:00
parent 14e1c45faf
commit 76401469ad
+97 -73
View File
@@ -8,29 +8,33 @@
}
:root {
--bg: #0f1117;
--bg-card: #1a1d27;
--bg-hover: #22263a;
--bg-input: #12151f;
--border: #2a2f45;
--accent: #4f8ef7;
--accent-dim: #2a4a8a;
--danger: #e05252;
--danger-dim: #5a1f1f;
--success: #3fc97e;
--warning: #f0a04b;
--text: #e4e8f5;
--text-muted: #7a82a0;
--bg: #000810;
--bg-card: #010f20;
--bg-inner: #000d1a;
--bg-hover: #001a30;
--bg-input: #000813;
--border: #0a3060;
--border-hi: rgba(0, 245, 255, 0.45);
--accent: #00f5ff;
--accent-dim: #002535;
--danger: #ff3b3b;
--danger-dim: #3b0000;
--success: #00ff88;
--warning: #ffaa00;
--text: #c8f0ff;
--text-muted: #2e6a80;
--sidebar-w: 230px;
--header-h: 54px;
--radius: 8px;
--shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
--shadow:
0 0 0 1px rgba(0, 245, 255, 0.25), 0 0 60px rgba(0, 245, 255, 0.12),
0 28px 72px rgba(0, 0, 0, 0.9);
}
html,
body {
height: 100%;
font-family: "Segoe UI", system-ui, sans-serif;
font-family: "Courier New", Courier, monospace;
background: var(--bg);
color: var(--text);
font-size: 14px;
@@ -63,7 +67,7 @@ body {
border-bottom: 1px solid var(--border);
font-weight: 700;
font-size: 15px;
letter-spacing: 0.3px;
letter-spacing: 1.5px;
color: var(--accent);
flex-shrink: 0;
}
@@ -127,17 +131,23 @@ body {
.topbar {
height: var(--header-h);
border-bottom: 1px solid var(--border);
border-bottom: 1px solid var(--border-hi);
background: linear-gradient(
90deg,
rgba(0, 245, 255, 0.08),
transparent 60%
);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 28px;
padding: 0 22px;
flex-shrink: 0;
gap: 14px;
}
.topbar-title {
font-size: 16px;
font-size: 15px;
font-weight: 600;
color: var(--text);
}
.topbar-actions {
display: flex;
@@ -161,10 +171,10 @@ body {
/* ─── Cards ─────────────────────────────────────────────────── */
.card {
background: var(--bg-card);
background: var(--bg-inner);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 20px 24px;
padding: 16px 18px;
margin-bottom: 20px;
}
.card-header {
@@ -176,11 +186,12 @@ body {
flex-wrap: wrap;
}
.card-title {
font-size: 15px;
font-size: 13px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
gap: 7px;
color: var(--text);
}
/* ─── Buttons ───────────────────────────────────────────────── */
@@ -206,8 +217,19 @@ body {
opacity: 0.7;
}
.btn-primary {
background: var(--accent);
background: transparent;
color: #fff;
border: 1px solid var(--accent);
box-shadow:
0 0 8px rgba(0, 245, 255, 0.35),
inset 0 0 8px rgba(0, 245, 255, 0.04);
}
.btn-primary:hover {
background: rgba(0, 245, 255, 0.08);
box-shadow:
0 0 14px rgba(0, 245, 255, 0.5),
inset 0 0 10px rgba(0, 245, 255, 0.08);
opacity: 1;
}
.btn-danger {
background: var(--danger);
@@ -223,7 +245,7 @@ body {
color: #000;
}
.btn-sm {
padding: 4px 10px;
padding: 5px 10px;
font-size: 12px;
}
.btn:disabled {
@@ -257,7 +279,7 @@ body {
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text);
padding: 8px 10px;
padding: 9px 11px;
font-size: 13px;
outline: none;
transition: border-color 0.15s;
@@ -315,44 +337,44 @@ td:last-child {
font-weight: 600;
}
.badge-a {
background: #1a3a5c;
color: #5fb3f5;
background: #001a2e;
color: #00c8e0;
}
.badge-aaaa {
background: #1a2f4c;
color: #8ac8f8;
background: #001225;
color: #50b8d8;
}
.badge-cname {
background: #2a1f4a;
color: #a888f8;
background: #0e0028;
color: #9060f0;
}
.badge-mx {
background: #1f3a2a;
color: #5fd89a;
background: #001a0e;
color: #00cc60;
}
.badge-txt {
background: #3a2a1a;
color: #f0b060;
background: #1a1000;
color: #cc8800;
}
.badge-ns {
background: #3a1a2a;
color: #f080b0;
background: #200012;
color: #cc5088;
}
.badge-other {
background: #2a2a2a;
color: #9090a0;
background: #080c12;
color: #4a6880;
}
.badge-eu {
background: #1a2f4c;
color: #8ac8f8;
background: #001225;
color: #50b8d8;
}
.badge-us {
background: #1f3a2a;
color: #5fd89a;
background: #001a0e;
color: #00cc60;
}
.badge-region {
background: #2a2a2a;
color: #9090a0;
background: #080c12;
color: #4a6880;
}
.status-dot {
@@ -431,7 +453,7 @@ td:last-child {
}
.modal {
background: var(--bg-card);
border: 1px solid var(--border);
border: 1px solid var(--border-hi);
border-radius: 10px;
width: 100%;
max-width: 500px;
@@ -484,6 +506,7 @@ td:last-child {
/* ─── Confirm dialog ────────────────────────────────────────── */
#confirm-backdrop .modal {
max-width: 380px;
border-radius: 12px;
}
/* ─── Login modal ───────────────────────────────────────────── */
@@ -503,7 +526,7 @@ td:last-child {
}
#login-modal {
background: var(--bg-card);
border: 1px solid var(--border);
border: 1px solid var(--border-hi);
border-radius: 12px;
width: 100%;
max-width: 360px;
@@ -518,13 +541,13 @@ td:last-child {
}
.login-logo h2 {
margin-top: 10px;
font-size: 17px;
font-size: 22px;
font-weight: 700;
color: var(--accent);
color: var(--text);
}
.login-logo p {
margin-top: 4px;
font-size: 12px;
font-size: 13px;
color: var(--text-muted);
}
#login-error {
@@ -587,8 +610,8 @@ td:last-child {
gap: 8px;
}
.mono {
font-family: "Cascadia Code", "Fira Code", monospace;
font-size: 12px;
font-family: "Courier New", Courier, monospace;
font-size: 11.5px;
}
.text-muted {
color: var(--text-muted);
@@ -611,7 +634,7 @@ hr.sep {
.server-tab {
padding: 8px 20px 10px;
cursor: pointer;
border: 1px solid transparent;
border: 1px solid var(--border);
border-bottom: 2px solid transparent;
border-radius: 8px 8px 0 0;
color: var(--text-muted);
@@ -624,6 +647,7 @@ hr.sep {
position: relative;
bottom: -2px;
user-select: none;
background: transparent;
transition:
background 0.12s,
color 0.12s,
@@ -632,14 +656,14 @@ hr.sep {
.server-tab:hover {
background: var(--bg-hover);
color: var(--text);
border-color: var(--border);
border-color: rgba(0, 245, 255, 0.4);
border-bottom-color: var(--bg-hover);
}
.server-tab.active {
background: var(--bg);
border-color: var(--border);
border-bottom-color: var(--bg);
color: var(--text);
background: var(--accent-dim);
border-color: var(--accent);
border-bottom-color: var(--accent-dim);
color: var(--accent);
}
.server-tab-dot {
display: inline-block;
@@ -683,14 +707,14 @@ hr.sep {
.prog-wrap {
background: var(--bg-input);
border-radius: 4px;
height: 6px;
height: 4px;
margin-top: 6px;
overflow: hidden;
}
.prog-bar {
height: 100%;
border-radius: 4px;
transition: width 0.4s ease;
transition: width 0.5s ease;
min-width: 2px;
}
.prog-low {
@@ -735,28 +759,28 @@ hr.sep {
/* ─── Status / risk badges (dashboard) ──────────────────────── */
.badge-green {
background: #1c3a26;
color: #5fd89a;
background: rgba(0, 255, 136, 0.1);
color: var(--success);
}
.badge-yellow {
background: #372900;
color: #f0b060;
background: rgba(255, 170, 0, 0.1);
color: var(--warning);
}
.badge-red {
background: #3a1515;
color: #f07070;
background: rgba(255, 59, 59, 0.12);
color: var(--danger);
}
.badge-low {
background: #1c3a26;
color: #5fd89a;
background: rgba(0, 255, 136, 0.1);
color: var(--success);
}
.badge-medium {
background: #372900;
color: #f0b060;
background: rgba(255, 170, 0, 0.1);
color: var(--warning);
}
.badge-high {
background: #3a1515;
color: #f07070;
background: rgba(255, 59, 59, 0.12);
color: var(--danger);
}
/* ─── Action advice items ─────────────────────────────────── */