aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/video-avatar-channel.component.scss
blob: 1ff8fb96eb96d2bbe90b27226e11ddfd63729ccf (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
@use '_mixins' as *;

@mixin main {
  @include actor-avatar-size(35px);
}

@mixin secondary {
  height: 60%;
  width: 60%;
  position: absolute;
  bottom: -5px;
  right: -5px;
  background-color: rgba(0, 0, 0, 0);
}

.wrapper {
  @include actor-avatar-size(35px);
  @include margin-right(5px);

  position: relative;
  margin-bottom: 5px;

  &.generic-channel {
    .account {
      @include main();
    }

    .channel {
      display: none !important;
    }
  }

  &:not(.generic-channel) {
    .account {
      @include secondary();
    }

    .channel {
      @include main();
    }
  }
}