]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/standalone/videos/embed.scss
Move to sass module
[github/Chocobozzz/PeerTube.git] / client / src / standalone / videos / embed.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
3@use 'video.js/dist/video-js';
4@use 'videojs-dock/dist/videojs-dock';
2a19a1e4
C
5
6$assets-path: '../../assets/';
fa12eacc 7@use '../../sass/player/index';
202e7223 8
d4f3fea6
C
9[hidden] {
10 display: none !important;
11}
12
13body {
14 font-family: $main-fonts;
15 font-weight: $font-regular;
16 color: #000;
17}
18
202e7223
C
19video {
20 width: 99%;
21}
22
23/* fill the entire space */
931d3430
C
24html,
25body {
202e7223
C
26 height: 100%;
27 margin: 0;
33d78552 28 background-color: #000;
202e7223
C
29}
30
5abc96fc
C
31#video-wrapper {
32 width: 100%;
33 height: 100%;
34}
35
86f278cb 36.video-js.vjs-peertube-skin {
202e7223
C
37 width: 100%;
38 height: 100%;
3d09cdbf 39 overflow: hidden;
202e7223 40
86f278cb
C
41 .vjs-poster {
42 background-size: 100% auto;
43 }
9e6b41cc 44
86f278cb
C
45 @media screen and (max-width: 350px) {
46 .vjs-play-control {
47 padding: 0 5px !important;
48 width: 25px !important;
49 }
50
51 .vjs-volume-control {
52 display: none !important;
53 }
54
55 .vjs-volume-panel {
56 width: 26px !important;
86f278cb
C
57 }
58
59 .vjs-peertube-link {
60 padding: 0;
61 }
9e6b41cc 62 }
202e7223 63}
d4f3fea6
C
64
65#error-block {
66 display: none;
67
68 flex-direction: column;
69 align-content: center;
70 justify-content: center;
71 text-align: center;
d4f3fea6
C
72 width: 100%;
73 height: 100%;
931d3430 74 color: #fff;
d4f3fea6
C
75 box-sizing: border-box;
76 font-family: sans-serif;
931d3430 77}
d4f3fea6 78
931d3430
C
79#error-title {
80 font-size: 45px;
81 margin-bottom: 5px;
82}
d4f3fea6 83
931d3430
C
84#error-content {
85 font-size: 24px;
d4f3fea6
C
86}
87
3f9c4955
C
88#placeholder-preview {
89 position: absolute;
90 top: 0;
91 left: 0;
92 background-size: 100% auto;
93 width: 100%;
94 height: 100%;
95 background-position: 50% 50%;
96}
97
d4f3fea6
C
98@media screen and (max-width: 300px) {
99 #error-block {
100 font-size: 36px;
931d3430 101 }
d4f3fea6 102
931d3430
C
103 #error-content {
104 font-size: 14px;
d4f3fea6
C
105 }
106}
107