ActivityPub-federated video streaming platform using P2P directly in your web browser
@use "_variables" as *;
@use "_mixins" as *;
.root {
position: relative;
display: flex;
align-items: center;
text-align: start;
line-height: 1.2;
// Don't use mixin, we need the exact value
padding-inline-start: 17px;
&:hover {
opacity: 0.9;
}
}
.info {
border-radius: 4px;
background-color: pvar(--bg-secondary-400);
max-width: 150px;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
padding-inline-start: 25px; // Don't use a mixin that would use rfs, we need the exact value here
@include padding-right(1rem);
.name {
color: pvar(--fg);
@include ellipsis;
@include font-size(14px);
}
&.has-collaborator-state {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
}
my-actor-avatar {
position: absolute;
border: 2px solid pvar(--bg-secondary-400);
border-radius: $channel-avatar-radius;
&.is-rtl {
right: 0;
}
&:not(.is-rtl) {
left: 0;
}
}
.root.active {
.info {
background-color: pvar(--bg-secondary-450);
}
.name {
font-weight: $font-bold;
}
my-actor-avatar {
border-color: pvar(--bg-secondary-450);
background-color: pvar(--bg-secondary-450);
}
}