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

.video-thumbnail {
  @include miniature-thumbnail;

  .progress-bar {
    height: 3px;
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.20);

    div {
      height: 100%;
      background-color: var(--mainColor);
    }
  }

  .video-thumbnail-duration-overlay {
    @include static-thumbnail-overlay;

    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 0 5px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: $font-bold;
    z-index: 1;
  }
}