style: apply polished square minimalist design matching katdrop and just-download
This commit is contained in:
parent
8d5c975353
commit
277b0fd301
2 changed files with 223 additions and 278 deletions
|
|
@ -7,8 +7,8 @@
|
||||||
<link rel="icon" type="image/svg+xml" href="favicon.svg">
|
<link rel="icon" type="image/svg+xml" href="favicon.svg">
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css?v=2.0.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="ambient-glow"></div>
|
<div class="ambient-glow"></div>
|
||||||
|
|
@ -20,9 +20,8 @@
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<span class="brand-dot"></span>
|
<span class="brand-dot"></span>
|
||||||
<span class="brand-name">katproxy</span>
|
<span class="brand-name">katproxy</span>
|
||||||
<span class="brand-badge">LIVE</span>
|
|
||||||
</div>
|
</div>
|
||||||
<p class="brand-subtitle">Curated, multi-source proxy stream with live TCP verification</p>
|
<p class="brand-subtitle">curated multi-source proxy stream • live tcp latency</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="header-right">
|
<div class="header-right">
|
||||||
|
|
|
||||||
494
public/style.css
494
public/style.css
|
|
@ -1,68 +1,58 @@
|
||||||
:root {
|
/* ==========================================================================
|
||||||
--bg-primary: #09090b;
|
katproxy — Square & Polished Minimalist Theme (katdrop / just-download style)
|
||||||
--bg-surface: #111114;
|
========================================================================== */
|
||||||
--bg-surface-hover: #18181c;
|
|
||||||
--bg-card: rgba(18, 18, 22, 0.75);
|
|
||||||
--bg-pill: rgba(255, 255, 255, 0.04);
|
|
||||||
--bg-pill-hover: rgba(255, 255, 255, 0.08);
|
|
||||||
|
|
||||||
--border-subtle: rgba(255, 255, 255, 0.08);
|
|
||||||
--border-hover: rgba(255, 255, 255, 0.16);
|
|
||||||
--border-focus: rgba(16, 185, 129, 0.5);
|
|
||||||
|
|
||||||
--text-main: #f4f4f5;
|
|
||||||
--text-muted: #a1a1aa;
|
|
||||||
--text-dim: #71717a;
|
|
||||||
|
|
||||||
--accent-emerald: #10b981;
|
|
||||||
--accent-emerald-dim: rgba(16, 185, 129, 0.15);
|
|
||||||
--accent-cyan: #38bdf8;
|
|
||||||
--accent-cyan-dim: rgba(56, 189, 248, 0.15);
|
|
||||||
--accent-amber: #f59e0b;
|
|
||||||
--accent-amber-dim: rgba(245, 158, 11, 0.15);
|
|
||||||
--accent-rose: #f43f5e;
|
|
||||||
|
|
||||||
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
||||||
--font-mono: 'JetBrains Mono', monospace;
|
|
||||||
|
|
||||||
--radius-sm: 6px;
|
|
||||||
--radius-md: 10px;
|
|
||||||
--radius-lg: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
border-radius: 0 !important; /* Square everything out */
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--bg-primary: #0b0b0b;
|
||||||
|
--bg-surface: #111111;
|
||||||
|
--bg-surface-hover: #161616;
|
||||||
|
--bg-card: #111111;
|
||||||
|
--bg-card-hover: #151515;
|
||||||
|
--bg-input: #0e0e0e;
|
||||||
|
|
||||||
|
--border-subtle: #1c1c1c;
|
||||||
|
--border-main: #222222;
|
||||||
|
--border-hover: #333333;
|
||||||
|
--border-focus: #444444;
|
||||||
|
|
||||||
|
--text-main: #e5e5e5;
|
||||||
|
--text-muted: #888888;
|
||||||
|
--text-dim: #555555;
|
||||||
|
--text-faint: #333333;
|
||||||
|
|
||||||
|
--accent-emerald: #10b981;
|
||||||
|
--accent-emerald-dim: rgba(16, 185, 129, 0.12);
|
||||||
|
--accent-cyan: #38bdf8;
|
||||||
|
--accent-cyan-dim: rgba(56, 189, 248, 0.12);
|
||||||
|
--accent-amber: #f59e0b;
|
||||||
|
--accent-amber-dim: rgba(245, 158, 11, 0.12);
|
||||||
|
|
||||||
|
--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--bg-primary);
|
background-color: var(--bg-primary);
|
||||||
color: var(--text-main);
|
color: var(--text-main);
|
||||||
font-family: var(--font-sans);
|
font-family: var(--font-mono);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
letter-spacing: -0.01em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ambient Subtle Radial Glow */
|
/* App Container */
|
||||||
.ambient-glow {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
width: 900px;
|
|
||||||
height: 380px;
|
|
||||||
background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.05) 0%, rgba(56, 189, 248, 0.02) 40%, transparent 70%);
|
|
||||||
pointer-events: none;
|
|
||||||
z-index: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.app-container {
|
.app-container {
|
||||||
max-width: 1240px;
|
max-width: 1200px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 28px 24px 60px;
|
padding: 36px 20px 60px;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -77,73 +67,57 @@ body {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
padding-bottom: 24px;
|
padding-bottom: 22px;
|
||||||
border-bottom: 1px solid var(--border-subtle);
|
border-bottom: 1px solid var(--border-subtle);
|
||||||
}
|
}
|
||||||
|
|
||||||
.brand {
|
.brand {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Static smooth glowing green dot */
|
||||||
.brand-dot {
|
.brand-dot {
|
||||||
width: 8px;
|
width: 6px;
|
||||||
height: 8px;
|
height: 6px;
|
||||||
background-color: var(--accent-emerald);
|
background-color: var(--accent-emerald);
|
||||||
border-radius: 50%;
|
box-shadow: 0 0 8px rgba(16, 185, 129, 0.55);
|
||||||
box-shadow: 0 0 10px var(--accent-emerald);
|
display: inline-block;
|
||||||
animation: pulse-dot 2.5s infinite ease-in-out;
|
flex-shrink: 0;
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes pulse-dot {
|
|
||||||
0%, 100% { opacity: 1; transform: scale(1); }
|
|
||||||
50% { opacity: 0.4; transform: scale(0.85); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.brand-name {
|
.brand-name {
|
||||||
font-family: var(--font-mono);
|
font-size: 1.35rem;
|
||||||
font-size: 22px;
|
font-weight: 600;
|
||||||
font-weight: 700;
|
letter-spacing: -0.03em;
|
||||||
letter-spacing: -0.5px;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.brand-badge {
|
|
||||||
font-family: var(--font-mono);
|
|
||||||
font-size: 10px;
|
|
||||||
font-weight: 700;
|
|
||||||
color: var(--accent-emerald);
|
|
||||||
background: var(--accent-emerald-dim);
|
|
||||||
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
||||||
padding: 2px 7px;
|
|
||||||
border-radius: 9999px;
|
|
||||||
letter-spacing: 0.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.brand-subtitle {
|
.brand-subtitle {
|
||||||
font-size: 13px;
|
font-size: 0.76rem;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
margin-top: 4px;
|
margin-top: 5px;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-right {
|
.header-right {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 16px;
|
gap: 12px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Header Stats Group */
|
||||||
.stats-group {
|
.stats-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-pill {
|
.stat-pill {
|
||||||
background: var(--bg-surface);
|
background: var(--bg-surface);
|
||||||
border: 1px solid var(--border-subtle);
|
border: 1px solid var(--border-subtle);
|
||||||
border-radius: var(--radius-sm);
|
|
||||||
padding: 6px 12px;
|
padding: 6px 12px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
@ -151,19 +125,18 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-label {
|
.stat-label {
|
||||||
font-family: var(--font-mono);
|
|
||||||
font-size: 9px;
|
font-size: 9px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.04em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-value {
|
.stat-value {
|
||||||
font-family: var(--font-mono);
|
font-size: 13px;
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--text-main);
|
color: var(--text-main);
|
||||||
margin-top: 1px;
|
margin-top: 2px;
|
||||||
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight-emerald {
|
.highlight-emerald {
|
||||||
|
|
@ -174,15 +147,14 @@ body {
|
||||||
color: var(--accent-cyan) !important;
|
color: var(--accent-cyan) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Refresh & Timer */
|
/* Refresh Control & Countdown */
|
||||||
.refresh-control {
|
.refresh-control {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 6px;
|
||||||
background: var(--bg-surface);
|
background: var(--bg-surface);
|
||||||
border: 1px solid var(--border-subtle);
|
border: 1px solid var(--border-subtle);
|
||||||
padding: 4px 8px;
|
padding: 5px 8px;
|
||||||
border-radius: var(--radius-sm);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.timer-widget {
|
.timer-widget {
|
||||||
|
|
@ -204,12 +176,12 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.timer-text {
|
.timer-text {
|
||||||
font-family: var(--font-mono);
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
letter-spacing: -0.2px;
|
letter-spacing: 0;
|
||||||
min-width: 34px;
|
min-width: 36px;
|
||||||
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
|
|
@ -218,44 +190,46 @@ body {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
font-family: var(--font-sans);
|
font-family: inherit;
|
||||||
font-size: 12px;
|
font-size: 0.78rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
padding: 6px 12px;
|
padding: 7px 14px;
|
||||||
border-radius: var(--radius-sm);
|
border: 1px solid var(--border-main);
|
||||||
border: 1px solid var(--border-subtle);
|
background: #141414;
|
||||||
background: var(--bg-surface);
|
color: var(--text-muted);
|
||||||
color: var(--text-main);
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.15s ease;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn:hover {
|
.btn:hover:not(:disabled) {
|
||||||
background: var(--bg-surface-hover);
|
background: var(--bg-surface-hover);
|
||||||
border-color: var(--border-hover);
|
border-color: var(--border-hover);
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn:active {
|
.btn:active:not(:disabled) {
|
||||||
transform: scale(0.98);
|
background: #fff;
|
||||||
|
color: #000;
|
||||||
|
border-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn:disabled {
|
.btn:disabled {
|
||||||
opacity: 0.4;
|
opacity: 0.25;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
transform: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-icon {
|
.btn-icon {
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: 1px solid transparent;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
border-radius: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-icon:hover {
|
.btn-icon:hover {
|
||||||
background: rgba(255, 255, 255, 0.06);
|
background: #181818;
|
||||||
|
border-color: var(--border-subtle);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -268,38 +242,21 @@ body {
|
||||||
to { transform: rotate(360deg); }
|
to { transform: rotate(360deg); }
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
|
||||||
background: var(--accent-emerald);
|
|
||||||
color: #000;
|
|
||||||
border-color: var(--accent-emerald);
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-primary:hover {
|
|
||||||
background: #059669;
|
|
||||||
border-color: #059669;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-secondary {
|
.btn-secondary {
|
||||||
background: var(--bg-pill);
|
background: #141414;
|
||||||
border-color: var(--border-subtle);
|
border-color: var(--border-main);
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-secondary:hover {
|
.btn-secondary:hover {
|
||||||
background: var(--bg-pill-hover);
|
background: #1c1c1c;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-color: var(--border-hover);
|
border-color: var(--border-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-sm {
|
.btn-sm {
|
||||||
padding: 5px 10px;
|
padding: 5px 12px;
|
||||||
font-size: 11px;
|
font-size: 0.74rem;
|
||||||
}
|
|
||||||
|
|
||||||
.btn-xs {
|
|
||||||
padding: 4px 8px;
|
|
||||||
font-size: 11px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Controls Bar */
|
/* Controls Bar */
|
||||||
|
|
@ -307,35 +264,32 @@ body {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 12px;
|
gap: 10px;
|
||||||
margin-top: 24px;
|
margin-top: 20px;
|
||||||
padding: 12px 16px;
|
padding: 10px 14px;
|
||||||
background: var(--bg-card);
|
background: var(--bg-surface);
|
||||||
backdrop-filter: blur(16px);
|
|
||||||
border: 1px solid var(--border-subtle);
|
border: 1px solid var(--border-subtle);
|
||||||
border-radius: var(--radius-md);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Protocol Pills */
|
/* Protocol Filter Pills */
|
||||||
.filter-pills {
|
.filter-pills {
|
||||||
display: flex;
|
display: flex;
|
||||||
background: rgba(0, 0, 0, 0.3);
|
background: #0e0e0e;
|
||||||
padding: 3px;
|
|
||||||
border-radius: var(--radius-sm);
|
|
||||||
border: 1px solid var(--border-subtle);
|
border: 1px solid var(--border-subtle);
|
||||||
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pill-btn {
|
.pill-btn {
|
||||||
font-family: var(--font-mono);
|
font-family: inherit;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: 600;
|
font-weight: 500;
|
||||||
padding: 4px 10px;
|
padding: 4px 10px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
border: none;
|
border: 1px solid transparent;
|
||||||
border-radius: 4px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.15s ease;
|
transition: all 0.12s ease;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pill-btn:hover {
|
.pill-btn:hover {
|
||||||
|
|
@ -343,18 +297,19 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.pill-btn.active {
|
.pill-btn.active {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: #1c1c1c;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
|
border-color: #2e2e2e;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Toggle Switch */
|
/* Square Toggle Switch */
|
||||||
.toggle-control {
|
.toggle-control {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
padding: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-control input {
|
.toggle-control input {
|
||||||
|
|
@ -362,12 +317,12 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-slider {
|
.toggle-slider {
|
||||||
width: 32px;
|
width: 28px;
|
||||||
height: 18px;
|
height: 16px;
|
||||||
background: #27272a;
|
background: #181818;
|
||||||
border-radius: 9999px;
|
border: 1px solid var(--border-main);
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: background 0.2s ease;
|
transition: background 0.15s ease, border-color 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-slider::after {
|
.toggle-slider::after {
|
||||||
|
|
@ -375,23 +330,24 @@ body {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
left: 2px;
|
left: 2px;
|
||||||
width: 14px;
|
width: 10px;
|
||||||
height: 14px;
|
height: 10px;
|
||||||
background: #fff;
|
background: #555;
|
||||||
border-radius: 50%;
|
transition: transform 0.15s ease, background 0.15s ease;
|
||||||
transition: transform 0.2s ease;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-control input:checked + .toggle-slider {
|
.toggle-control input:checked + .toggle-slider {
|
||||||
background: var(--accent-emerald);
|
background: rgba(16, 185, 129, 0.1);
|
||||||
|
border-color: var(--accent-emerald);
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-control input:checked + .toggle-slider::after {
|
.toggle-control input:checked + .toggle-slider::after {
|
||||||
transform: translateX(14px);
|
background: var(--accent-emerald);
|
||||||
|
transform: translateX(12px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-label {
|
.toggle-label {
|
||||||
font-size: 12px;
|
font-size: 11px;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
@ -399,7 +355,7 @@ body {
|
||||||
/* Search Box */
|
/* Search Box */
|
||||||
.search-box {
|
.search-box {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 220px;
|
min-width: 200px;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -414,20 +370,18 @@ body {
|
||||||
|
|
||||||
.search-box input {
|
.search-box input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: rgba(0, 0, 0, 0.35);
|
background: var(--bg-input);
|
||||||
border: 1px solid var(--border-subtle);
|
border: 1px solid var(--border-subtle);
|
||||||
border-radius: var(--radius-sm);
|
|
||||||
padding: 7px 28px 7px 32px;
|
padding: 7px 28px 7px 32px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family: var(--font-sans);
|
font-family: inherit;
|
||||||
font-size: 12px;
|
font-size: 11px;
|
||||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
transition: border-color 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-box input:focus {
|
.search-box input:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: var(--border-focus);
|
border-color: var(--border-hover);
|
||||||
box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-box input::placeholder {
|
.search-box input::placeholder {
|
||||||
|
|
@ -458,24 +412,24 @@ body {
|
||||||
|
|
||||||
.select-wrapper select {
|
.select-wrapper select {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
background: rgba(0, 0, 0, 0.35);
|
background: var(--bg-input);
|
||||||
border: 1px solid var(--border-subtle);
|
border: 1px solid var(--border-subtle);
|
||||||
border-radius: var(--radius-sm);
|
padding: 7px 26px 7px 10px;
|
||||||
padding: 7px 28px 7px 10px;
|
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
font-family: var(--font-sans);
|
font-family: inherit;
|
||||||
font-size: 12px;
|
font-size: 11px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
transition: border-color 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-wrapper select:focus {
|
.select-wrapper select:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: var(--border-focus);
|
border-color: var(--border-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-arrow {
|
.select-arrow {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 9px;
|
right: 8px;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
@ -483,22 +437,22 @@ body {
|
||||||
/* Action Buttons Group */
|
/* Action Buttons Group */
|
||||||
.action-buttons {
|
.action-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Main Content & Metadata */
|
/* Main Content & Metadata */
|
||||||
.main-content {
|
.main-content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-top: 18px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-meta {
|
.list-meta {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 12px;
|
font-size: 11px;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
padding: 0 4px 12px;
|
padding: 0 2px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.checking-indicator {
|
.checking-indicator {
|
||||||
|
|
@ -509,38 +463,34 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.spin-dot {
|
.spin-dot {
|
||||||
width: 6px;
|
width: 5px;
|
||||||
height: 6px;
|
height: 5px;
|
||||||
border-radius: 50%;
|
|
||||||
background: var(--accent-cyan);
|
background: var(--accent-cyan);
|
||||||
animation: pulse-dot 1.2s infinite;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Proxy Grid & Cards */
|
/* Proxy Grid & Square Cards */
|
||||||
.proxy-grid {
|
.proxy-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||||
gap: 12px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proxy-card {
|
.proxy-card {
|
||||||
background: var(--bg-card);
|
background: var(--bg-card);
|
||||||
backdrop-filter: blur(12px);
|
|
||||||
border: 1px solid var(--border-subtle);
|
border: 1px solid var(--border-subtle);
|
||||||
border-radius: var(--radius-md);
|
padding: 12px 14px;
|
||||||
padding: 14px 16px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 8px;
|
||||||
transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
|
transition: border-color 0.12s ease, background 0.12s ease;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proxy-card:hover {
|
.proxy-card:hover {
|
||||||
background: var(--bg-surface-hover);
|
background: var(--bg-card-hover);
|
||||||
border-color: var(--border-hover);
|
border-color: var(--border-hover);
|
||||||
transform: translateY(-2px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-top {
|
.card-top {
|
||||||
|
|
@ -552,19 +502,18 @@ body {
|
||||||
.endpoint-group {
|
.endpoint-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
gap: 6px;
|
gap: 4px;
|
||||||
font-family: var(--font-mono);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ip-text {
|
.ip-text {
|
||||||
font-size: 14px;
|
font-size: 13px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
letter-spacing: -0.2px;
|
letter-spacing: -0.01em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.port-text {
|
.port-text {
|
||||||
font-size: 13px;
|
font-size: 12px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
}
|
}
|
||||||
|
|
@ -574,10 +523,9 @@ body {
|
||||||
border: none;
|
border: none;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 3px;
|
padding: 2px;
|
||||||
border-radius: 4px;
|
opacity: 0.5;
|
||||||
opacity: 0.6;
|
transition: opacity 0.12s, color 0.12s;
|
||||||
transition: opacity 0.15s, color 0.15s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.proxy-card:hover .copy-hint-btn {
|
.proxy-card:hover .copy-hint-btn {
|
||||||
|
|
@ -598,52 +546,52 @@ body {
|
||||||
.badge-row {
|
.badge-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 6px;
|
gap: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proto-tag {
|
.proto-tag {
|
||||||
font-family: var(--font-mono);
|
font-size: 9px;
|
||||||
font-size: 10px;
|
font-weight: 600;
|
||||||
font-weight: 700;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
padding: 2px 6px;
|
padding: 2px 5px;
|
||||||
border-radius: 4px;
|
background: #161616;
|
||||||
background: rgba(255, 255, 255, 0.05);
|
color: var(--text-dim);
|
||||||
color: var(--text-muted);
|
border: 1px solid var(--border-subtle);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
letter-spacing: 0.03em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proto-tag.proto-http {
|
.proto-tag.proto-http {
|
||||||
color: #60a5fa;
|
color: #60a5fa;
|
||||||
background: rgba(96, 165, 250, 0.1);
|
border-color: rgba(96, 165, 250, 0.25);
|
||||||
border-color: rgba(96, 165, 250, 0.2);
|
background: rgba(96, 165, 250, 0.06);
|
||||||
}
|
}
|
||||||
|
|
||||||
.proto-tag.proto-socks4 {
|
.proto-tag.proto-socks4 {
|
||||||
color: #c084fc;
|
color: #c084fc;
|
||||||
background: rgba(192, 132, 252, 0.1);
|
border-color: rgba(192, 132, 252, 0.25);
|
||||||
border-color: rgba(192, 132, 252, 0.2);
|
background: rgba(192, 132, 252, 0.06);
|
||||||
}
|
}
|
||||||
|
|
||||||
.proto-tag.proto-socks5 {
|
.proto-tag.proto-socks5 {
|
||||||
color: #34d399;
|
color: #34d399;
|
||||||
background: rgba(52, 211, 153, 0.1);
|
border-color: rgba(52, 211, 153, 0.25);
|
||||||
border-color: rgba(52, 211, 153, 0.2);
|
background: rgba(52, 211, 153, 0.06);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Latency Badge */
|
||||||
.latency-badge {
|
.latency-badge {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
font-family: var(--font-mono);
|
font-size: 10px;
|
||||||
font-size: 11px;
|
font-weight: 500;
|
||||||
font-weight: 600;
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
.latency-dot {
|
.latency-dot {
|
||||||
width: 6px;
|
width: 5px;
|
||||||
height: 6px;
|
height: 5px;
|
||||||
border-radius: 50%;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.latency-fast {
|
.latency-fast {
|
||||||
|
|
@ -651,7 +599,7 @@ body {
|
||||||
}
|
}
|
||||||
.latency-fast .latency-dot {
|
.latency-fast .latency-dot {
|
||||||
background: var(--accent-emerald);
|
background: var(--accent-emerald);
|
||||||
box-shadow: 0 0 6px var(--accent-emerald);
|
box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
.latency-med {
|
.latency-med {
|
||||||
|
|
@ -673,8 +621,8 @@ body {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-top: 6px;
|
padding-top: 6px;
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.04);
|
border-top: 1px solid #181818;
|
||||||
font-size: 11px;
|
font-size: 10px;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -688,57 +636,56 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.country-flag {
|
.country-flag {
|
||||||
font-size: 13px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-actions-quick {
|
.card-actions-quick {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 4px;
|
gap: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quick-action-link {
|
.quick-action-link {
|
||||||
background: none;
|
background: #151515;
|
||||||
border: none;
|
border: 1px solid var(--border-subtle);
|
||||||
font-family: var(--font-mono);
|
font-family: inherit;
|
||||||
font-size: 10px;
|
font-size: 9px;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 2px 4px;
|
padding: 2px 5px;
|
||||||
border-radius: 3px;
|
transition: color 0.12s, border-color 0.12s, background 0.12s;
|
||||||
transition: color 0.15s, background 0.15s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.quick-action-link:hover {
|
.quick-action-link:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: rgba(255, 255, 255, 0.08);
|
border-color: var(--border-hover);
|
||||||
|
background: #202020;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Empty State */
|
/* Empty State */
|
||||||
.empty-state {
|
.empty-state {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 60px 20px;
|
padding: 50px 20px;
|
||||||
background: var(--bg-card);
|
background: var(--bg-surface);
|
||||||
border: 1px solid var(--border-subtle);
|
border: 1px dashed var(--border-hover);
|
||||||
border-radius: var(--radius-md);
|
margin-top: 16px;
|
||||||
margin-top: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty-icon {
|
.empty-icon {
|
||||||
font-size: 32px;
|
font-size: 24px;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
margin-bottom: 12px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty-state h3 {
|
.empty-state h3 {
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty-state p {
|
.empty-state p {
|
||||||
font-size: 13px;
|
font-size: 12px;
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
margin-bottom: 16px;
|
margin-bottom: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pagination */
|
/* Pagination */
|
||||||
|
|
@ -746,20 +693,20 @@ body {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 16px;
|
gap: 14px;
|
||||||
margin-top: 28px;
|
margin-top: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-indicator {
|
.page-indicator {
|
||||||
font-family: var(--font-mono);
|
font-size: 11px;
|
||||||
font-size: 12px;
|
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Footer */
|
/* Footer */
|
||||||
.footer {
|
.footer {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
padding-top: 36px;
|
padding-top: 32px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -771,7 +718,7 @@ body {
|
||||||
.footer-link {
|
.footer-link {
|
||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: color 0.15s;
|
transition: color 0.12s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-link:hover {
|
.footer-link:hover {
|
||||||
|
|
@ -780,54 +727,53 @@ body {
|
||||||
|
|
||||||
.separator {
|
.separator {
|
||||||
margin: 0 6px;
|
margin: 0 6px;
|
||||||
color: rgba(255, 255, 255, 0.15);
|
color: #222222;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Toast System */
|
/* Toast System (Square & Polished) */
|
||||||
.toast-container {
|
.toast-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 24px;
|
bottom: 20px;
|
||||||
right: 24px;
|
right: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 6px;
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast {
|
.toast {
|
||||||
background: rgba(18, 18, 22, 0.95);
|
background: #111111;
|
||||||
backdrop-filter: blur(12px);
|
|
||||||
border: 1px solid var(--border-hover);
|
border: 1px solid var(--border-hover);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 10px 16px;
|
padding: 9px 14px;
|
||||||
border-radius: var(--radius-md);
|
font-size: 11px;
|
||||||
font-size: 12px;
|
font-family: inherit;
|
||||||
font-family: var(--font-mono);
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
|
||||||
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
animation: toast-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
animation: toast-in 0.15s ease-out;
|
||||||
transition: opacity 0.2s, transform 0.2s;
|
transition: opacity 0.15s, transform 0.15s;
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast.toast-exit {
|
.toast.toast-exit {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transform: translateY(8px);
|
transform: translateY(4px);
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes toast-in {
|
@keyframes toast-in {
|
||||||
from { opacity: 0; transform: translateY(12px) scale(0.96); }
|
from { opacity: 0; transform: translateY(6px); }
|
||||||
to { opacity: 1; transform: translateY(0) scale(1); }
|
to { opacity: 1; transform: translateY(0); }
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast-dot {
|
.toast-dot {
|
||||||
width: 6px;
|
width: 5px;
|
||||||
height: 6px;
|
height: 5px;
|
||||||
border-radius: 50%;
|
|
||||||
background: var(--accent-emerald);
|
background: var(--accent-emerald);
|
||||||
|
display: inline-block;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Utilities */
|
/* Utilities */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue