X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideo-channels%2Fvideo-channels.component.scss;h=004ad7998526d6faef52a649c5852964e567cdce;hb=7b51ede977c299a74728171d8c124bcc4cbba6ea;hp=e946707efa1aba97f418d7db01d7e49bf2c5f005;hpb=4024c44f9027a32809931de0692d40d001df721c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss index e946707ef..004ad7998 100644 --- a/client/src/app/+video-channels/video-channels.component.scss +++ b/client/src/app/+video-channels/video-channels.component.scss @@ -1,7 +1,7 @@ -@import '_variables'; -@import '_mixins'; -@import '_actor'; -@import '_miniature'; +@use '_variables' as *; +@use '_mixins' as *; +@use '_account-channel-page' as *; +@use '_miniature' as *; .root { --myGlobalTopPadding: 60px; @@ -71,12 +71,12 @@ flex-wrap: wrap; > *:not(:last-child) { - margin-right: 15px; + @include margin-right(15px); } } .channel-buttons.right { - margin-left: 45px; + @include margin-left(45px); } // Only used by mobile @@ -85,7 +85,7 @@ } .owner-card { - margin-left: 105px; + @include margin-left(105px); grid-column: 2; // Takes all the column grid-row: 1 / 3; @@ -107,12 +107,8 @@ display: flex; margin-bottom: 15px; - img { - @include avatar(48px); - } - .actor-info { - margin-left: 15px; + @include margin-left(15px); } h4 { @@ -131,10 +127,10 @@ } .owner-description { + @include fade-text(120px, pvar(--mainBackgroundColor)); + max-height: 140px; word-break: break-word; - - @include fade-text(120px, pvar(--mainBackgroundColor)); } } @@ -150,7 +146,7 @@ } .copy-button { - border: none; + border: 0; } @media screen and (max-width: 1400px) { @@ -160,8 +156,9 @@ } .owner-card { + @include margin-left(60px); + grid-row: 2; - margin-left: 60px; } } @@ -178,9 +175,9 @@ } .channel-description:not(.expanded) { - max-height: 70px; - @include fade-text(30px, pvar(--channelBackgroundColor)); + + max-height: 70px; } .show-more { @@ -215,15 +212,16 @@ padding: 0; .avatar-row { + @include margin-right(30px); + grid-column: 1; - margin-right: 30px; } .owner-description { + @include fade-text(30px, pvar(--mainBackgroundColor)); + grid-column: 2; max-height: 70px; - - @include fade-text(30px, pvar(--mainBackgroundColor)); } .view-account { @@ -233,7 +231,7 @@ .view-account.complete { display: block; - text-align: right; + text-align: end; margin-top: 10px; color: pvar(--mainColor); } @@ -289,8 +287,8 @@ margin-top: -5px; } - img { - @include channel-avatar(64px); + .account-avatar { + @include actor-avatar-size(64px); margin: -30px 0 0 15px; }