aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-video-playlist/video-playlist-miniature.component.scss
blob: 1b16dbb01ad18ece0df18518c4d213da58e28147 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@import '_variables';
@import '_mixins';
@import '_miniature';

.miniature {
  display: inline-block;

  &.no-videos:not(.to-manage){
    a {
      cursor: default !important;
    }
  }

  &.to-manage,
  &.no-videos {
    .play-overlay {
      display: none;
    }
  }

  .miniature-thumbnail {
    @include miniature-thumbnail;

    .miniature-playlist-info-overlay {
      @include static-thumbnail-overlay;

      position: absolute;
      right: 0;
      bottom: 0;
      height: $video-thumbnail-height;
      padding: 0 10px;
      display: flex;
      align-items: center;
      font-size: 14px;
      font-weight: $font-semibold;
    }
  }

  .miniature-info {
    width: 200px;
    margin-top: 2px;
    line-height: normal;

    .miniature-name {
      @include miniature-name;

      @include ellipsis-multiline(1.3em, 2);

      margin: 0;
    }

    .by {
      @include disable-default-a-behaviour;

      display: block;
      color: pvar(--greyForegroundColor);
    }

    .privacy-date {
      margin-top: 5px;

      .video-info-privacy {
        font-size: 14px;
        font-weight: $font-semibold;

        &::after {
          content: '-';
          margin: 0 3px;
        }
      }
    }

    .video-info-description {
      margin-top: 10px;
      color: pvar(--greyForegroundColor);
    }
  }
}