2020-05-20 10:40:41 +00:00
|
|
|
import styled from "styled-components";
|
|
|
|
|
|
|
|
const StyledMediaViewer = styled.div`
|
2020-10-16 12:38:04 +00:00
|
|
|
color: #d1d1d1;
|
|
|
|
display: ${(props) => (props.visible ? "block" : "none")};
|
|
|
|
overflow: hidden;
|
|
|
|
.videoViewerOverlay {
|
|
|
|
position: fixed;
|
2021-05-06 09:52:19 +00:00
|
|
|
z-index: 300;
|
2020-10-16 12:38:04 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: black;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
.mediaViewerToolbox {
|
2021-05-06 09:52:19 +00:00
|
|
|
z-index: 301;
|
2020-10-16 12:38:04 +00:00
|
|
|
padding-top: 14px;
|
|
|
|
padding-bottom: 14px;
|
|
|
|
height: 20px;
|
|
|
|
width: 100%;
|
|
|
|
background-color: rgba(11, 11, 11, 0.7);
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
bottom: 5px;
|
|
|
|
margin-right: 10px;
|
2021-05-06 09:52:19 +00:00
|
|
|
z-index: 305;
|
2020-10-16 12:38:04 +00:00
|
|
|
}
|
|
|
|
.deleteBtnContainer,
|
|
|
|
.downloadBtnContainer {
|
|
|
|
display: block;
|
|
|
|
width: 20px;
|
|
|
|
margin: 3px 10px;
|
|
|
|
line-height: 19px;
|
|
|
|
}
|
|
|
|
.details {
|
2021-05-06 09:52:19 +00:00
|
|
|
z-index: 302;
|
2020-10-16 12:38:04 +00:00
|
|
|
padding-top: 14px;
|
|
|
|
padding-bottom: 14px;
|
|
|
|
height: 20px;
|
|
|
|
width: 100%;
|
|
|
|
background: rgba(17, 17, 17, 0.867);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2020-05-28 06:06:18 +00:00
|
|
|
|
2020-10-16 12:38:04 +00:00
|
|
|
.title {
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-12-17 11:54:05 +00:00
|
|
|
width: calc(100% - 50px);
|
|
|
|
padding-left: 16px;
|
|
|
|
box-sizing: border-box;
|
2020-05-20 10:40:41 +00:00
|
|
|
}
|
2020-10-16 12:38:04 +00:00
|
|
|
}
|
2020-05-20 10:40:41 +00:00
|
|
|
|
2020-10-16 12:38:04 +00:00
|
|
|
.mediaPlayerClose {
|
|
|
|
position: fixed;
|
|
|
|
top: 4px;
|
|
|
|
right: 10px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
2020-05-20 10:40:41 +00:00
|
|
|
`;
|
|
|
|
|
2020-10-16 12:38:04 +00:00
|
|
|
export default StyledMediaViewer;
|