/** @format */ import styled from 'styled-components'; const VideoBox = styled.div` display: inline-flex; background: #000; .video-list { .video-list-label { width: 122px; height: 16px; background: #27282d; color: #fff; margin-left: 20px; font-size: 12px; font-family: DIN-Medium, DIN; font-weight: 500; line-height: 16px; margin-top: 4px; padding-left: 4px; cursor: pointer; &.active { margin-left: 10px; color: rgba(0, 185, 255, 1); background: rgba(0, 185, 255, 0.4); } } } `; const VideoComp = styled.div` width: 100%; height: 100%; position: relative; background: rgba(0, 0, 0, 0.3); .addr { height: 24px; background: rgba(0, 0, 0, 0.6); position: absolute; width: 100%; bottom: 0; display: flex; justify-content: space-between; padding: 0 6px; img { width: 14px; height: 14px; } .desc { color: #fff; } .full { img { display: initial; } } } .hidden { display: none; } .spin { width: 100%; height: 100%; color: #fff; .ant-spin-container { height: 100%; display: flex; flex-direction: column; } .ant-spin-dot-item { background-color: #fff; } } .video-title { height: 20px; line-height: 20px; background: #27282d; color: #fff; font-size: 12px; font-family: DIN-Medium, DIN; font-weight: 500; } video { width: 100%; height: calc(100% - 20px); object-fit: fill; border: 1px dotted #333; } ::-webkit-media-controls-current-time-display { display: none !important; } ::-webkit-media-controls-time-remaining-display { display: none !important; } `; const Error = styled.div` display: flex; justify-content: center; align-items: center; height: 100%; font-size: 12px; .errorImg { width: 16%; margin-bottom: 6px; max-width: 30px; } .refresh-img { width: 14px; height: 14px; vertical-align: text-top; cursor: pointer; } `; const ErrorContent = styled.div` width: 100%; text-align: center; color: #fff; `; export { VideoBox, VideoComp, Error, ErrorContent };