aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video-playlist/video-playlist-miniature.component.scss
blob: 72158eb10258f3d8f8ffa38a9a97875a32e77ac7 (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
@import '_variables';
@import '_mixins';
@import '_miniature';

.miniature {
  display: inline-block;

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

  &.to-manage .play-overlay,
  &.no-videos {
    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-bottom {
    width: 200px;
    margin-top: 2px;
    line-height: normal;

    .miniature-name {
      @include miniature-name;
    }
  }
}