BUR-58 добавлен видео-блок
This commit is contained in:
90
src/styles/detail/video.css
Normal file
90
src/styles/detail/video.css
Normal file
@@ -0,0 +1,90 @@
|
||||
.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;
|
||||
aspect-ratio: 16 / 9;
|
||||
border: 1px solid rgba(88, 103, 121, 0.42);
|
||||
border-radius: 8px;
|
||||
background: #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%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
background: #000;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.camera-view__caption {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid rgba(148, 163, 184, 0.16);
|
||||
border-radius: 6px;
|
||||
background: rgba(2, 6, 23, 0.78);
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user