88 lines
1.7 KiB
CSS
88 lines
1.7 KiB
CSS
.video-section {
|
|
min-height: 0;
|
|
padding: 18px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background:
|
|
radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.08), transparent 38%),
|
|
linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(2, 6, 23, 0.78));
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.06),
|
|
0 18px 36px rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
.camera-views-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.camera-view {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
border: 1px solid rgba(88, 103, 121, 0.42);
|
|
border-radius: 8px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
|
|
#000;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05),
|
|
0 10px 22px rgba(0, 0, 0, 0.32);
|
|
}
|
|
|
|
.camera-view__video {
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
display: block;
|
|
background: #000;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.camera-view__caption {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 38px;
|
|
padding: 0 10px;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.16);
|
|
background: rgba(2, 6, 23, 0.88);
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.camera-view__caption strong,
|
|
.camera-view__caption span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.camera-view__caption strong {
|
|
flex: 0 0 auto;
|
|
color: #f8fafc;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.camera-view__caption span {
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.camera-view__error {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 18px;
|
|
background: rgba(2, 6, 23, 0.82);
|
|
color: #fca5a5;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.camera-views-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|