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