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

.video-miniature {
  display: inline-block;
  padding-right: 15px;
  margin-bottom: 30px;
  height: 175px;
  vertical-align: top;

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

    .video-miniature-name {
      @include ellipsis-multiline(
        $font-size: 1rem,
        $line-height: 1,
        $lines-to-show: 2
      );
      transition: color 0.2s;
      font-size: 16px;
      font-weight: $font-semibold;
      color: var(--mainForegroundColor);
      margin-top: 5px;
      margin-bottom: 5px;

      &:hover {
        text-decoration: none;
      }

      &.blur-filter {
        filter: blur(3px);
        padding-left: 4px;
      }
    }

    .video-miniature-created-at-views {
      display: block;
      font-size: 13px;
    }

    .video-miniature-account,
    .video-miniature-channel {
      @include disable-default-a-behaviour;

      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 13px;
      color: #585858;

      &:hover {
        color: #303030;
      }
    }
  }
}