]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/standalone/videos/embed.scss
Add concept of video state, and add ability to wait transcoding before
[github/Chocobozzz/PeerTube.git] / client / src / standalone / videos / embed.scss
1 @import '_variables';
2 @import '_mixins';
3 @import '~video.js/dist/video-js.css';
4 @import '~videojs-dock/dist/videojs-dock.css';
5
6 $assets-path: '../../assets/';
7 @import '../../sass/player/player';
8
9 [hidden] {
10 display: none !important;
11 }
12
13 body {
14 font-family: $main-fonts;
15 font-weight: $font-regular;
16 color: #000;
17 }
18
19 video {
20 width: 99%;
21 }
22
23 /* fill the entire space */
24 html, body {
25 height: 100%;
26 margin: 0;
27 background-color: #000;
28 }
29
30 .video-js.vjs-peertube-skin {
31 width: 100%;
32 height: 100%;
33 overflow: hidden;
34
35 .vjs-poster {
36 background-size: 100% auto;
37 }
38
39 @media screen and (max-width: 350px) {
40 .vjs-play-control {
41 padding: 0 5px !important;
42 width: 25px !important;
43 }
44
45 .vjs-volume-control {
46 display: none !important;
47 }
48
49 .vjs-volume-panel {
50 width: 26px !important;
51 }
52
53 .vjs-peertube-link {
54 padding: 0;
55 }
56 }
57 }
58
59 #error-block {
60 display: none;
61
62 flex-direction: column;
63 align-content: center;
64 justify-content: center;
65 text-align: center;
66 background-color: #141313;
67 width: 100%;
68 height: 100%;
69 color: white;
70 box-sizing: border-box;
71 font-family: sans-serif;
72
73 #error-title {
74 font-size: 45px;
75 margin-bottom: 5px;
76 }
77
78 #error-content {
79 font-size: 24px;
80 }
81 }
82
83 @media screen and (max-width: 300px) {
84 #error-block {
85 font-size: 36px;
86
87 #error-content {
88 font-size: 14px;
89 }
90 }
91 }
92