projects/desktop/src/app/components/remote-display/remote-display.component.scss

89 lines
1.6 KiB
SCSS

:host {
display: block;
width: 100%;
height: 100%;
}
.remote-display {
position: relative;
width: 100%;
height: 100%;
background: #000;
outline: none;
}
.display-canvas {
width: 100%;
height: 100%;
display: block;
}
// ── Overlay ───────────────────────────────────────────────────────────────
.display-overlay {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.75);
z-index: 5;
}
.overlay-content {
text-align: center;
color: #e0e0e0;
font-size: 14px;
}
.overlay-icon {
font-size: 48px;
display: block;
margin-bottom: 12px;
}
.sub {
font-size: 12px;
color: #888;
margin-top: 4px;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(255, 255, 255, 0.2);
border-top: 3px solid #0078d4;
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin: 0 auto 16px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
// ── HUD info ──────────────────────────────────────────────────────────────
.hud-info {
position: absolute;
top: 8px;
right: 8px;
display: flex;
gap: 8px;
z-index: 6;
}
.hud-fps,
.hud-res {
font-size: 11px;
background: rgba(0, 0, 0, 0.6);
color: #0f0;
padding: 2px 8px;
border-radius: 4px;
font-family: 'Courier New', monospace;
}
.hud-res {
color: #0af;
}