X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideo-channels%2Fvideo-channels.component.scss;h=72ee2d7bbb4c59335935e827d7b5aecdeffc869d;hb=05ac4ac7ed5107ac8ef1d0d1f9fd5009bf29bedc;hp=e946707efa1aba97f418d7db01d7e49bf2c5f005;hpb=1748e92aaa57623b24d71c47e18e7b7224821cd4;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..72ee2d7bb 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,12 @@ display: flex; margin-bottom: 15px; - img { - @include avatar(48px); + .account-avatar { + @include actor-avatar-size(48px); } .actor-info { - margin-left: 15px; + @include margin-left(15px); } h4 { @@ -131,10 +131,10 @@ } .owner-description { + @include fade-text(120px, pvar(--mainBackgroundColor)); + max-height: 140px; word-break: break-word; - - @include fade-text(120px, pvar(--mainBackgroundColor)); } } @@ -150,7 +150,7 @@ } .copy-button { - border: none; + border: 0; } @media screen and (max-width: 1400px) { @@ -160,8 +160,9 @@ } .owner-card { + @include margin-left(60px); + grid-row: 2; - margin-left: 60px; } } @@ -178,9 +179,9 @@ } .channel-description:not(.expanded) { - max-height: 70px; - @include fade-text(30px, pvar(--channelBackgroundColor)); + + max-height: 70px; } .show-more { @@ -215,15 +216,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 +235,7 @@ .view-account.complete { display: block; - text-align: right; + text-align: end; margin-top: 10px; color: pvar(--mainColor); } @@ -289,8 +291,8 @@ margin-top: -5px; } - img { - @include channel-avatar(64px); + .account-avatar { + @include actor-avatar-size(64px); margin: -30px 0 0 15px; }