1
0
Fork 0
peertube/client/src/standalone/videos/embed.scss

144 lines
2.1 KiB
SCSS
Raw Normal View History

2021-05-27 16:25:00 +00:00
@use '_variables' as *;
@use '_mixins' as *;
@use 'video.js/dist/video-js';
2018-06-11 13:25:46 +00:00
$assets-path: '../../assets/';
2021-05-27 15:45:36 +00:00
@use '../../sass/player/index';
2017-07-23 12:49:52 +00:00
2018-04-19 16:06:59 +00:00
[hidden] {
display: none !important;
}
body {
font-family: $main-fonts;
font-weight: $font-regular;
color: #000;
}
2017-07-23 12:49:52 +00:00
video {
width: 99%;
}
/* fill the entire space */
2021-04-28 14:41:07 +00:00
html,
body {
2017-07-23 12:49:52 +00:00
height: 100%;
margin: 0;
background-color: #0f0f10;
2017-07-23 12:49:52 +00:00
}
2020-08-04 09:42:06 +00:00
#video-wrapper {
width: 100%;
height: 100%;
}
2017-12-20 08:43:51 +00:00
.video-js.vjs-peertube-skin {
2017-07-23 12:49:52 +00:00
width: 100%;
height: 100%;
2017-07-23 13:30:57 +00:00
overflow: hidden;
2017-07-23 12:49:52 +00:00
}
2018-04-19 16:06:59 +00:00
#error-block,
#video-password-block {
2018-04-19 16:06:59 +00:00
display: none;
user-select: none;
2018-04-19 16:06:59 +00:00
flex-direction: column;
align-content: center;
justify-content: center;
text-align: center;
width: 100%;
height: 100%;
2021-04-28 14:41:07 +00:00
color: #fff;
2018-04-19 16:06:59 +00:00
box-sizing: border-box;
font-family: sans-serif;
2021-04-28 14:41:07 +00:00
}
2018-04-19 16:06:59 +00:00
2021-04-28 14:41:07 +00:00
#error-title {
font-size: 45px;
margin-bottom: 5px;
}
2018-04-19 16:06:59 +00:00
2021-04-28 14:41:07 +00:00
#error-content {
font-size: 24px;
2018-04-19 16:06:59 +00:00
}
2024-08-01 08:14:26 +00:00
#error-details {
margin-top: 30px
}
#error-details-content {
margin-top: 10px
}
2019-12-17 10:20:24 +00:00
#placeholder-preview {
position: absolute;
top: 0;
left: 0;
background-size: 100% auto;
width: 100%;
height: 100%;
background-position: 50% 50%;
2022-05-31 12:18:41 +00:00
background-repeat: no-repeat;
}
.player-information {
width: 100%;
color: #fff;
background: rgba(0, 0, 0, 0.6);
padding: 20px 0;
position: absolute;
bottom: 0;
text-align: center;
2019-12-17 10:20:24 +00:00
}
#video-password-content {
@include margin(1rem, 0, 2rem);
}
#video-password-input,
#video-password-submit {
line-height: 23px;
padding: 1rem;
margin: 1rem 0.5rem;
border: 0;
font-weight: 600;
border-radius: 3px!important;
font-size: 18px;
display: inline-block;
}
#video-password-submit {
color: #fff;
background-color: #f2690d;
cursor: pointer;
}
#video-password-submit:hover {
background-color: #f47825;
}
2024-08-01 08:14:26 +00:00
#video-password-error {
margin-top: 10px;
margin-bottom: 10px;
height: 2rem;
font-weight: bolder;
}
#video-password-block svg {
margin-left: auto;
margin-right: auto;
}
2018-04-19 16:06:59 +00:00
@media screen and (max-width: 300px) {
#error-block {
font-size: 36px;
2021-04-28 14:41:07 +00:00
}
2018-04-19 16:06:59 +00:00
2021-04-28 14:41:07 +00:00
#error-content {
font-size: 14px;
2018-04-19 16:06:59 +00:00
}
}