blob: f9e44b8adce9459a9673ce48725f97a122ac6899 (
plain) (
tree)
|
|
@use '_variables' as *;
@use '_mixins' as *;
@mixin actor-row ($avatar-size: 80px, $avatar-margin-right: 10px, $min-height: 130px, $separator: true) {
@include row-blocks($min-height: $min-height, $separator: $separator);
> my-actor-avatar {
@include actor-avatar-size($avatar-size);
@include margin-right($avatar-margin-right);
}
.actor-info {
flex-grow: 1;
}
.actor-names {
@include disable-default-a-behaviour;
width: fit-content;
display: flex;
align-items: baseline;
color: pvar(--mainForegroundColor);
}
.actor-display-name {
font-weight: $font-semibold;
font-size: 18px;
}
.actor-name {
@include margin-left(5px);
font-size: 14px;
color: $grey-actor-name;
}
.actor-owner {
@include disable-default-a-behaviour;
font-size: 13px;
color: pvar(--mainForegroundColor);
span:hover {
opacity: 0.8;
}
my-actor-avatar {
@include margin-left(7px);
display: inline-block;
vertical-align: top;
}
}
@media screen and (max-width: $small-view) {
.actor-info {
padding-bottom: 10px;
text-align: center;
.actor-names {
flex-direction: column;
align-items: center !important;
margin: auto;
}
}
}
}
|