]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/standalone/videos/embed.scss
Move to angular cli
[github/Chocobozzz/PeerTube.git] / client / src / standalone / videos / embed.scss
CommitLineData
202e7223
C
1@import '~video.js/dist/video-js.css';
2@import '~videojs-dock/dist/videojs-dock.css';
3@import '../../sass/video-js-custom.scss';
4
5video {
6 width: 99%;
7}
8
9/* fill the entire space */
10html, body {
11 height: 100%;
12 margin: 0;
13}
14
15.video-js {
16 width: 100%;
17 height: 100%;
3d09cdbf 18 overflow: hidden;
202e7223
C
19}
20
21.vjs-poster {
22 background-size: 100% auto;
23}
24
25.vjs-peertube-link {
9e6b41cc 26 color: #fff;
202e7223 27 text-decoration: none;
9e6b41cc
C
28 font-size: $font-size;
29 line-height: $control-bar-height;
202e7223 30 transition: all .4s;
9e6b41cc
C
31 font-weight: $font-semibold;
32 margin-right: 3px;
202e7223
C
33}
34
35.vjs-peertube-link:hover {
36 text-shadow: 0 0 1em #fff;
37}
38
39// Fix volume panel because we added a new component (PeerTube link)
40.vjs-volume-panel {
9e6b41cc
C
41 margin-right: 121px !important;
42}
43
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;
56 margin-right: 140px !important;
57 }
202e7223 58}