261 lines
6.3 KiB
CSS
261 lines
6.3 KiB
CSS
/* ===================================================
|
|
JAESWIFT.XYZ — Scan The Visitor
|
|
Typewriter visitor-recon overlay + collapsible badge
|
|
=================================================== */
|
|
|
|
.scan-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9998;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(5, 8, 5, 0.82);
|
|
backdrop-filter: blur(4px);
|
|
-webkit-backdrop-filter: blur(4px);
|
|
animation: scanFade 180ms ease-out;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.scan-overlay.scan-closing {
|
|
animation: scanFadeOut 260ms ease-in forwards;
|
|
}
|
|
|
|
@keyframes scanFade {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
@keyframes scanFadeOut {
|
|
from { opacity: 1; }
|
|
to { opacity: 0; }
|
|
}
|
|
|
|
.scan-panel {
|
|
width: min(720px, 94vw);
|
|
max-height: 86vh;
|
|
background: var(--bg-panel);
|
|
border: 1px solid var(--status-green-dim);
|
|
box-shadow:
|
|
0 0 0 1px #00cc3318,
|
|
0 0 24px #00cc3325,
|
|
0 0 60px #00cc3310,
|
|
inset 0 0 40px #00cc3308;
|
|
font-family: var(--font-mono);
|
|
color: var(--status-green);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.scan-panel::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: repeating-linear-gradient(
|
|
to bottom,
|
|
transparent 0,
|
|
transparent 2px,
|
|
rgba(0, 204, 51, 0.03) 2px,
|
|
rgba(0, 204, 51, 0.03) 3px
|
|
);
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.scan-panel-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--status-green-dim);
|
|
background: rgba(0, 204, 51, 0.05);
|
|
position: relative;
|
|
z-index: 2;
|
|
text-transform: uppercase;
|
|
font-size: 11px;
|
|
letter-spacing: 1.5px;
|
|
}
|
|
|
|
.scan-panel-title {
|
|
color: var(--status-green);
|
|
font-weight: 600;
|
|
text-shadow: 0 0 8px #00cc3344;
|
|
}
|
|
|
|
.scan-panel-status {
|
|
color: var(--status-green);
|
|
font-size: 10px;
|
|
animation: scanBlink 1.2s infinite;
|
|
}
|
|
@keyframes scanBlink {
|
|
0%, 60% { opacity: 1; }
|
|
80%, 100% { opacity: 0.4; }
|
|
}
|
|
|
|
.scan-close {
|
|
background: transparent;
|
|
border: 1px solid var(--status-green-dim);
|
|
color: var(--status-green);
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
padding: 4px 10px;
|
|
cursor: pointer;
|
|
letter-spacing: 1px;
|
|
transition: all 140ms ease;
|
|
margin-left: 10px;
|
|
}
|
|
.scan-close:hover {
|
|
background: var(--status-green);
|
|
color: var(--bg-primary);
|
|
}
|
|
|
|
.scan-body {
|
|
padding: 18px 20px 16px 20px;
|
|
font-size: 13px;
|
|
line-height: 1.7;
|
|
color: #b8e8c0;
|
|
position: relative;
|
|
z-index: 2;
|
|
max-height: 62vh;
|
|
overflow-y: auto;
|
|
white-space: pre-wrap;
|
|
font-variant-ligatures: none;
|
|
}
|
|
|
|
.scan-line {
|
|
display: block;
|
|
min-height: 1.7em;
|
|
}
|
|
|
|
.scan-line.scan-line-green { color: var(--status-green); }
|
|
.scan-line.scan-line-amber { color: var(--warning); }
|
|
.scan-line.scan-line-red { color: var(--danger); }
|
|
.scan-line.scan-line-dim { color: var(--text-muted); }
|
|
|
|
.scan-val {
|
|
color: #d8d8d8;
|
|
font-weight: 500;
|
|
}
|
|
.scan-val-hl {
|
|
color: var(--status-green);
|
|
text-shadow: 0 0 6px #00cc3355;
|
|
}
|
|
|
|
.scan-bar {
|
|
display: inline-block;
|
|
letter-spacing: -1px;
|
|
}
|
|
.scan-bar-filled { color: var(--status-green); }
|
|
.scan-bar-empty { color: #2a2a2a; }
|
|
|
|
.scan-cursor {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 14px;
|
|
background: var(--status-green);
|
|
margin-left: 2px;
|
|
vertical-align: text-bottom;
|
|
animation: scanCursor 0.9s infinite;
|
|
}
|
|
@keyframes scanCursor {
|
|
0%, 50% { opacity: 1; }
|
|
51%, 100% { opacity: 0; }
|
|
}
|
|
|
|
.scan-footer {
|
|
padding: 10px 14px;
|
|
border-top: 1px solid var(--status-green-dim);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 10px;
|
|
letter-spacing: 1.2px;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
background: rgba(0, 0, 0, 0.25);
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.scan-footer-action {
|
|
background: transparent;
|
|
border: 1px solid var(--status-green-dim);
|
|
color: var(--status-green);
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
letter-spacing: 1.5px;
|
|
padding: 6px 14px;
|
|
cursor: pointer;
|
|
text-transform: uppercase;
|
|
transition: all 140ms ease;
|
|
}
|
|
.scan-footer-action:hover {
|
|
background: var(--status-green);
|
|
color: var(--bg-primary);
|
|
box-shadow: 0 0 14px #00cc3360;
|
|
}
|
|
.scan-footer-action-dismiss {
|
|
border-color: var(--mil-red-dim);
|
|
color: #aa5050;
|
|
}
|
|
.scan-footer-action-dismiss:hover {
|
|
background: var(--mil-red);
|
|
color: #f0d8d8;
|
|
border-color: var(--mil-red);
|
|
}
|
|
|
|
/* ─── Collapsed operator badge (after scan) ──────── */
|
|
.scan-badge {
|
|
position: fixed;
|
|
bottom: 80px;
|
|
right: 16px;
|
|
z-index: 850;
|
|
background: var(--bg-panel);
|
|
border: 1px solid var(--status-green-dim);
|
|
font-family: var(--font-mono);
|
|
color: var(--status-green);
|
|
font-size: 11px;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
transition: all 160ms ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
letter-spacing: 1px;
|
|
box-shadow: 0 0 14px #00cc3320;
|
|
animation: scanBadgeIn 360ms ease-out;
|
|
max-width: 260px;
|
|
}
|
|
.scan-badge:hover {
|
|
background: var(--bg-panel-hover);
|
|
box-shadow: 0 0 22px #00cc3340;
|
|
transform: translateY(-2px);
|
|
}
|
|
@keyframes scanBadgeIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.scan-badge-flag { font-size: 15px; line-height: 1; }
|
|
.scan-badge-label { color: var(--text-muted); font-size: 9px; letter-spacing: 1.4px; }
|
|
.scan-badge-val { color: var(--status-green); font-weight: 600; }
|
|
.scan-badge-close {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
padding: 0 0 0 6px;
|
|
margin-left: auto;
|
|
font-family: var(--font-mono);
|
|
}
|
|
.scan-badge-close:hover { color: var(--mil-red); }
|
|
|
|
/* mobile */
|
|
@media (max-width: 600px) {
|
|
.scan-panel { width: 96vw; max-height: 92vh; }
|
|
.scan-body { padding: 14px 12px; font-size: 11.5px; line-height: 1.6; }
|
|
.scan-panel-header { padding: 8px 10px; font-size: 10px; }
|
|
.scan-footer { padding: 8px 10px; font-size: 9px; flex-wrap: wrap; gap: 6px; }
|
|
.scan-footer-action { font-size: 9px; padding: 5px 10px; }
|
|
.scan-badge { bottom: 68px; right: 8px; font-size: 10px; padding: 6px 10px; }
|
|
}
|