2018-07-25 02:50:04 +02:00
|
|
|
.content__wrapper {
|
2018-07-25 20:21:41 +02:00
|
|
|
max-width: var(--card-max-width);
|
|
|
|
flex: 1 0 var(--file-page-min-width);
|
2018-07-25 02:50:04 +02:00
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
.content__embedded {
|
|
|
|
background-color: var(--color-black);
|
|
|
|
width: 100%;
|
|
|
|
padding-top: var(--video-aspect-ratio);
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
video {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2018-06-08 22:09:51 +02:00
|
|
|
|
2018-06-09 00:21:04 +02:00
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-06-08 22:09:51 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Video thumbnail with play/download button
|
|
|
|
.content__cover {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2018-09-02 03:49:12 +02:00
|
|
|
background-size: contain;
|
2018-03-26 23:32:43 +02:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
&:not(.card__media--nsfw) {
|
|
|
|
background-color: var(--color-black);
|
|
|
|
}
|
2018-06-09 00:21:04 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
}
|
|
|
|
|
2018-05-03 20:23:28 +02:00
|
|
|
.content__view,
|
|
|
|
.content__view--container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content__view--container {
|
|
|
|
iframe {
|
|
|
|
background: #fff;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.content__loading {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2018-04-30 17:27:20 +02:00
|
|
|
justify-content: center;
|
2018-03-26 23:32:43 +02:00
|
|
|
padding: 0 20px;
|
2018-04-30 17:27:20 +02:00
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2018-03-26 23:32:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.content__loading-text {
|
|
|
|
color: var(--color-white);
|
|
|
|
}
|
|
|
|
|
2018-06-13 22:32:38 +02:00
|
|
|
.content__empty {
|
|
|
|
background-color: black;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: var(--video-aspect-ratio);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
color: var(--color-white);
|
|
|
|
|
|
|
|
&.content__empty--nsfw {
|
2018-06-14 22:10:50 +02:00
|
|
|
background-color: var(--color-nsfw);
|
2018-06-13 22:32:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-26 23:32:43 +02:00
|
|
|
img {
|
|
|
|
max-height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|