aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/shared/playlist/video-watch-playlist.component.scss
blob: 0f0ac19798207651b6a9616aca713f35e4c62268 (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
79
80
81
82
83
84
85
86
87
88
@use '_variables' as *;
@use '_mixins' as *;
@use '_bootstrap-variables';
@use '_miniature' as *;

.playlist {
  position: relative;
  min-width: 200px;
  max-width: 470px;
  height: 66vh;
  background-color: pvar(--mainBackgroundColor);
  overflow-y: auto;
  border-bottom: 1px solid $separator-border-color;

  .playlist-info {
    padding: 5px 30px;
    background-color: pvar(--greyBackgroundColor);
  }

  .playlist-display-name {
    font-size: 18px;
    font-weight: $font-semibold;
    margin-bottom: 5px;

    .pt-badge {
      @include margin-left(5px);
    }
  }

  .playlist-by-index {
    color: pvar(--greyForegroundColor);
    display: flex;

    .playlist-by {
      @include margin-right(5px);
    }

    .playlist-index span:first-child::after {
      content: '/';
      margin: 0 3px;
    }
  }

  .playlist-controls {
    display: flex;
    margin: 10px 0;

    my-global-icon:not(:last-child) {
      @include margin-right(.5rem);
    }

    my-global-icon {
      &:not(.active) {
        opacity: .5;
      }

      ::ng-deep {
        cursor: pointer;
      }
    }
  }

  my-video-playlist-element-miniature {
    ::ng-deep {
      .video {
        .position {
          @include margin-right(0);
        }

        .video-info {
          .video-info-name {
            font-size: 15px;
          }
        }
      }

      my-video-thumbnail {
        @include thumbnail-size-component(90px, 50px);
      }

      .fake-thumbnail {
        width: 90px;
        height: 50px;
      }
    }
  }
}