]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/include/_actor.scss
Update changelog
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _actor.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
67264e06 3
4beda9e1
C
4@mixin actor-row ($avatar-size: 80px, $avatar-margin-right: 10px, $min-height: 130px, $separator: true) {
5 @include row-blocks($min-height: $min-height, $separator: $separator);
67264e06 6
4beda9e1
C
7 > my-actor-avatar {
8 @include actor-avatar-size($avatar-size);
27bc9586 9
4beda9e1 10 @include margin-right($avatar-margin-right);
67264e06
C
11 }
12
13 .actor-info {
4beda9e1 14 flex-grow: 1;
67264e06
C
15 }
16
4beda9e1
C
17 .actor-names {
18 @include disable-default-a-behaviour;
b45afe12 19
4beda9e1 20 width: fit-content;
67264e06 21 display: flex;
4beda9e1
C
22 align-items: baseline;
23 color: pvar(--mainForegroundColor);
67264e06
C
24 }
25
4beda9e1
C
26 .actor-display-name {
27 font-weight: $font-semibold;
28 font-size: 18px;
67264e06
C
29 }
30
4beda9e1
C
31 .actor-name {
32 @include margin-left(5px);
fcd8d3e0 33
4beda9e1
C
34 font-size: 14px;
35 color: $grey-actor-name;
67264e06
C
36 }
37
4beda9e1
C
38 .actor-owner {
39 @include disable-default-a-behaviour;
67264e06 40
4beda9e1
C
41 font-size: 13px;
42 color: pvar(--mainForegroundColor);
67264e06 43
4beda9e1
C
44 span:hover {
45 opacity: 0.8;
67264e06
C
46 }
47
4beda9e1
C
48 my-actor-avatar {
49 @include margin-left(7px);
50
51 display: inline-block;
52 vertical-align: top;
53 }
54 }
55
56 @media screen and (max-width: $small-view) {
57 .actor-info {
58 padding-bottom: 10px;
59 text-align: center;
60
61 .actor-names {
62 flex-direction: column;
63 align-items: center !important;
64 margin: auto;
65 }
67264e06
C
66 }
67 }
68}