aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-ownership/my-ownership.component.scss
blob: 7cac9c9f3a6425961f159c616c8e4f285b30a173 (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
@import 'miniature';
@import 'mixins';

.chip {
  @include chip;
}

.badge {
  @include table-badge;
}

.video-table-video {
  display: inline-flex;

  .video-table-video-image {
    @include miniature-thumbnail;

    $image-height: 45px;

    height: $image-height;
    width: #{(16/9) * $image-height};
    margin-right: 0.5rem;
    border-radius: 2px;
    border: none;
    background: transparent;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;

    img {
      height: 100%;
      width: 100%;
      border-radius: 2px;
    }

    span {
      color: pvar(--inputPlaceholderColor);
    }

    .video-table-video-image-label {
      @include static-thumbnail-overlay;
      position: absolute;
      border-radius: 3px;
      font-size: 10px;
      padding: 0 3px;
      line-height: 1.3;
      bottom: 2px;
      right: 2px;
    }
  }

  .video-table-video-text {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    font-size: 90%;
    color: pvar(--mainForegroundColor);
    line-height: 1rem;

    div .glyphicon {
      font-size: 80%;
      color: gray;
      margin-left: 0.1rem;
    }

    div + div {
      font-size: 80%;
    }
  }
}