X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Baccounts%2Faccount-video-channels%2Faccount-video-channels.component.scss;h=30b8098be8eaa61e3a1ab2b54741d3bb2e83940b;hb=eaa529528cafcfb291009f9f99d296c81e792899;hp=da3751b478501606a3b8e8cf220f6509252487af;hpb=27bc95867442c772841fb183a625bbda61dede51;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss index da3751b47..30b8098be 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss @@ -1,6 +1,7 @@ -@import '_variables'; -@import '_mixins'; -@import '_miniature'; +@use 'sass:math'; +@use '_variables' as *; +@use '_mixins' as *; +@use '_miniature' as *; .margin-content { @include grid-videos-miniature-margins; @@ -28,7 +29,6 @@ grid-template-rows: auto 1fr; my-actor-avatar { - @include actor-avatar-size(75px); @include margin-right(15px); grid-column: 1; @@ -52,19 +52,10 @@ .actor-counters { @include margin-left(15px); + @include actor-counters; grid-row: 1; grid-column: 3; - color: pvar(--greyForegroundColor); - font-size: 16px; - display: flex; - align-items: center; - } - - .actor-counters > *:not(:last-child)::after { - content: '•'; - margin: 0 10px; - color: pvar(--mainColor); } .description-html { @@ -94,6 +85,7 @@ my-subscribe-button { my-video-miniature { @include margin-right(15px); + min-width: $video-thumbnail-medium-width; max-width: $video-thumbnail-medium-width; } @@ -108,7 +100,7 @@ my-subscribe-button { position: absolute; right: 0; background: linear-gradient(90deg, transparent 0, pvar(--channelBackgroundColor) 45px); - padding: ($video-thumbnail-medium-height / 2 - 10px) 15px 0 60px; + padding: (math.div($video-thumbnail-medium-height, 2) - 10px) 15px 0 60px; z-index: z(miniature) + 1; a {