aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/player/dock.scss
blob: 79600ac930108fb3971bd156799604167f0d1ec3 (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
@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(0, 0, 0, .6) 0, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 100%);
  }

  .vjs-dock-title,
  .vjs-dock-description {
    text-shadow: 0 0 2px 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;
    }
  }
}