diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss new file mode 100644 index 000000000..1ff8fb96e --- /dev/null +++ b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss | |||
@@ -0,0 +1,42 @@ | |||
1 | @use '_mixins' as *; | ||
2 | |||
3 | @mixin main { | ||
4 | @include actor-avatar-size(35px); | ||
5 | } | ||
6 | |||
7 | @mixin secondary { | ||
8 | height: 60%; | ||
9 | width: 60%; | ||
10 | position: absolute; | ||
11 | bottom: -5px; | ||
12 | right: -5px; | ||
13 | background-color: rgba(0, 0, 0, 0); | ||
14 | } | ||
15 | |||
16 | .wrapper { | ||
17 | @include actor-avatar-size(35px); | ||
18 | @include margin-right(5px); | ||
19 | |||
20 | position: relative; | ||
21 | margin-bottom: 5px; | ||
22 | |||
23 | &.generic-channel { | ||
24 | .account { | ||
25 | @include main(); | ||
26 | } | ||
27 | |||
28 | .channel { | ||
29 | display: none !important; | ||
30 | } | ||
31 | } | ||
32 | |||
33 | &:not(.generic-channel) { | ||
34 | .account { | ||
35 | @include secondary(); | ||
36 | } | ||
37 | |||
38 | .channel { | ||
39 | @include main(); | ||
40 | } | ||
41 | } | ||
42 | } | ||