]>
Commit | Line | Data |
---|---|---|
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'; | |
5 | @import '../../sass/video-js-custom.scss'; | |
6 | ||
7 | video { | |
8 | width: 99%; | |
9 | } | |
10 | ||
11 | /* fill the entire space */ | |
12 | html, body { | |
13 | height: 100%; | |
14 | margin: 0; | |
15 | } | |
16 | ||
86f278cb C |
17 | |
18 | ||
19 | .video-js.vjs-peertube-skin { | |
202e7223 C |
20 | width: 100%; |
21 | height: 100%; | |
3d09cdbf | 22 | overflow: hidden; |
202e7223 | 23 | |
86f278cb C |
24 | .vjs-poster { |
25 | background-size: 100% auto; | |
26 | } | |
9e6b41cc | 27 | |
86f278cb C |
28 | .vjs-peertube-link { |
29 | color: #fff; | |
30 | text-decoration: none; | |
31 | font-size: $font-size; | |
32 | line-height: $control-bar-height; | |
33 | transition: all .4s; | |
34 | font-weight: $font-semibold; | |
35 | margin-right: 3px; | |
36 | padding: 0 5px; | |
9e6b41cc C |
37 | } |
38 | ||
86f278cb C |
39 | .vjs-peertube-link:hover { |
40 | text-shadow: 0 0 1em #fff; | |
9e6b41cc C |
41 | } |
42 | ||
86f278cb | 43 | // Fix volume panel because we added a new component (PeerTube link) |
9e6b41cc | 44 | .vjs-volume-panel { |
86f278cb C |
45 | margin-right: 137px !important; |
46 | } | |
47 | ||
48 | @media screen and (max-width: 350px) { | |
49 | .vjs-play-control { | |
50 | padding: 0 5px !important; | |
51 | width: 25px !important; | |
52 | } | |
53 | ||
54 | .vjs-volume-control { | |
55 | display: none !important; | |
56 | } | |
57 | ||
58 | .vjs-volume-panel { | |
59 | width: 26px !important; | |
60 | margin-right: 140px !important; | |
61 | } | |
62 | ||
63 | .vjs-peertube-link { | |
64 | padding: 0; | |
65 | } | |
9e6b41cc | 66 | } |
202e7223 | 67 | } |