Files
goon_plugin/src/viewer/viewer.css
T

72 lines
1.1 KiB
CSS

:root {
--bg: #1a1a2e;
--text: #ffffff;
--panel-bg: #16213e;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: var(--bg);
color: var(--text);
width: 100vw;
height: 100vh;
overflow: hidden;
}
#panels {
display: grid;
gap: 2px;
width: 100%;
height: 100%;
}
.panel {
background: var(--panel-bg);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
}
.panel.empty {
opacity: 0.3;
}
.panel-label {
position: absolute;
bottom: 6px;
left: 8px;
right: 8px;
background: rgba(0, 0, 0, 0.7);
color: #e2e8f0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 11px;
padding: 3px 8px;
border-radius: 4px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
z-index: 10;
pointer-events: none;
text-align: center;
}
.panel.empty::after {
content: 'No video';
color: #64748b;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 14px;
}
.panel video {
width: 100%;
height: 100%;
object-fit: contain;
}