aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/embed.scss
blob: b6ca13e0eeccb22814ef72398cca0872e9d1d5d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@import '_variables';
@import '_mixins';
@import '~video.js/dist/video-js.css';
@import '~videojs-dock/dist/videojs-dock.css';
@import '../../sass/video-js-custom.scss';

video {
  width: 99%;
}

/* fill the entire space */
html, body {
  height: 100%;
  margin: 0;
}

.video-js {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.vjs-poster {
  background-size: 100% auto;
}

.vjs-peertube-link {
  color: #fff;
  text-decoration: none;
  font-size: $font-size;
  line-height: $control-bar-height;
  transition: all .4s;
  font-weight: $font-semibold;
  margin-right: 3px;
}

.vjs-peertube-link:hover {
  text-shadow: 0 0 1em #fff;
}

// Fix volume panel because we added a new component (PeerTube link)
.vjs-volume-panel {
  margin-right: 121px !important;
}

@media screen and (max-width: 350px) {
  .vjs-play-control {
    padding: 0 5px !important;
    width: 25px !important;
  }

  .vjs-volume-control {
    display: none !important;
  }

  .vjs-volume-panel {
    width: 26px !important;
    margin-right: 140px !important;
  }
}