diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-15 21:27:37 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-15 21:58:11 +0100 |
commit | dd4f25eea802fd88ea641d730432b56f562e0861 (patch) | |
tree | 72ead957524555827f4531fb00f90bf3f5e633c1 /client/src/app/shared/channel/avatar.component.scss | |
parent | 44efbebac43c2bac75744399dc1176dce7ba3277 (diff) | |
download | PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.tar.gz PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.tar.zst PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.zip |
add channel avatar to watch view
Diffstat (limited to 'client/src/app/shared/channel/avatar.component.scss')
-rw-r--r-- | client/src/app/shared/channel/avatar.component.scss | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/client/src/app/shared/channel/avatar.component.scss b/client/src/app/shared/channel/avatar.component.scss new file mode 100644 index 000000000..b778c9eb0 --- /dev/null +++ b/client/src/app/shared/channel/avatar.component.scss | |||
@@ -0,0 +1,32 @@ | |||
1 | @import '_mixins'; | ||
2 | |||
3 | .wrapper { | ||
4 | width: 35px; | ||
5 | height: 35px; | ||
6 | min-width: 35px; | ||
7 | min-height: 35px; | ||
8 | position: relative; | ||
9 | margin-right: 5px; | ||
10 | |||
11 | a { | ||
12 | @include disable-outline; | ||
13 | } | ||
14 | |||
15 | a img { | ||
16 | height: 100%; | ||
17 | object-fit: cover; | ||
18 | position: absolute; | ||
19 | top:50%; | ||
20 | left:50%; | ||
21 | border-radius: 50%; | ||
22 | transform: translate(-50%,-50%) | ||
23 | } | ||
24 | |||
25 | a:nth-of-type(2) img { | ||
26 | height: 60%; | ||
27 | width: 60%; | ||
28 | border: 2px solid var(--mainBackgroundColor); | ||
29 | transform: translateX(15%); | ||
30 | position: relative; | ||
31 | } | ||
32 | } | ||