aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/player/dock.scss
blob: 4fa1ebd54625ef64aa9d4afe5d0a4021fecc1233 (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
@use 'sass:math';
@use '_variables' as *;
@use '_mixins' as *;
@use './_player-variables' as *;

.video-js.vjs-peertube-skin {
  .vjs-dock-text {
    @include padding-right(60px);

    padding: $dock-padding;
    background: linear-gradient(to bottom, rgba(20, 20, 20, .7) 0, rgba(20, 20, 20, 0));
  }

  .vjs-dock-title {
    font-weight: $font-semibold;
  }

  .vjs-dock-title,
  .vjs-dock-description {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  }

  .vjs-dock-description {
    font-size: 11px;

    .text::before {
      @include margin-right(4px);
    }

    .text::after {
      @include margin-left(4px);
      transform: scale(-1, 1);
    }
  }

  @media screen and (max-width: $screen-width-750) {
    .vjs-dock-text {
      font-size: 16px;
    }

    .vjs-dock-description {
      font-size: 9px;
    }
  }

  @media screen and (max-width: $screen-width-570) {
    .vjs-dock-text {
      font-size: 14px;
    }
  }

  @media screen and (max-width: $screen-width-350) {
    .vjs-dock-text {
      font-size: 13px;
    }
  }
}