]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/standalone/videos/embed.scss
Merge branch 'release/3.1.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / standalone / videos / embed.scss
CommitLineData
7bfd1b1e
C
1@import '_variables';
2@import '_mixins';
202e7223
C
3@import '~video.js/dist/video-js.css';
4@import '~videojs-dock/dist/videojs-dock.css';
2a19a1e4
C
5
6$assets-path: '../../assets/';
b335ccec 7@import '../../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 */
24html, body {
25 height: 100%;
26 margin: 0;
33d78552 27 background-color: #000;
202e7223
C
28}
29
5abc96fc
C
30#video-wrapper {
31 width: 100%;
32 height: 100%;
33}
34
86f278cb 35.video-js.vjs-peertube-skin {
202e7223
C
36 width: 100%;
37 height: 100%;
3d09cdbf 38 overflow: hidden;
202e7223 39
86f278cb
C
40 .vjs-poster {
41 background-size: 100% auto;
42 }
9e6b41cc 43
86f278cb
C
44 @media screen and (max-width: 350px) {
45 .vjs-play-control {
46 padding: 0 5px !important;
47 width: 25px !important;
48 }
49
50 .vjs-volume-control {
51 display: none !important;
52 }
53
54 .vjs-volume-panel {
55 width: 26px !important;
86f278cb
C
56 }
57
58 .vjs-peertube-link {
59 padding: 0;
60 }
9e6b41cc 61 }
202e7223 62}
d4f3fea6
C
63
64#error-block {
65 display: none;
66
67 flex-direction: column;
68 align-content: center;
69 justify-content: center;
70 text-align: center;
d4f3fea6
C
71 width: 100%;
72 height: 100%;
73 color: white;
74 box-sizing: border-box;
75 font-family: sans-serif;
76
77 #error-title {
78 font-size: 45px;
79 margin-bottom: 5px;
80 }
81
82 #error-content {
83 font-size: 24px;
84 }
85}
86
3f9c4955
C
87#placeholder-preview {
88 position: absolute;
89 top: 0;
90 left: 0;
91 background-size: 100% auto;
92 width: 100%;
93 height: 100%;
94 background-position: 50% 50%;
95}
96
d4f3fea6
C
97@media screen and (max-width: 300px) {
98 #error-block {
99 font-size: 36px;
100
101 #error-content {
102 font-size: 14px;
103 }
104 }
105}
106