X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fabstract-video-list.scss;h=7f23098aa4ef536147c25bb2855d2e548e5311bc;hb=cf78883c70dca99fc519374d55620d9403d482be;hp=9fb3fd4d65abba4f4c0da4cc3c119b725d7f8751;hpb=be0f59b4eec3c2c4dcd151e2b174be39dff1568e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/video/abstract-video-list.scss b/client/src/app/shared/video/abstract-video-list.scss index 9fb3fd4d6..7f23098aa 100644 --- a/client/src/app/shared/video/abstract-video-list.scss +++ b/client/src/app/shared/video/abstract-video-list.scss @@ -1,26 +1,35 @@ +@import '_bootstrap-variables'; +@import '_variables'; @import '_mixins'; - -.videos { - text-align: center; - - my-video-miniature { - text-align: left; - } -} +@import '_miniature'; .videos-header { display: flex; - height: 80px; - align-items: center; + justify-content: space-between; + align-items: baseline; .title-page.title-page-single { - margin: 0 5px 0 0; + display: flex; + + my-feed { + display: inline-block; + top: 1px; + margin-left: 5px; + width: max-content; + opacity: 0; + transition: ease-in .2s opacity; + } + &:hover my-feed { + opacity: 1; + } } - my-feed { - display: inline-block; - position: relative; - top: 1px; + .action-block { + a button { + @include peertube-button; + @include grey-button; + @include button-with-icon(18px, 3px, -1px); + } } .moderation-block { @@ -31,8 +40,36 @@ } } -@media screen and (max-width: 500px) { - .videos { - @include video-miniature-small-screen; +.date-title { + font-size: 16px; + font-weight: $font-semibold; + margin-bottom: 20px; + margin-top: -10px; + + // make the element span a full grid row within .videos grid + grid-column: 1 / -1; + + &:not(:first-child) { + margin-top: .5rem; + padding-top: 20px; + border-top: 1px solid $separator-border-color; + } +} + +.margin-content { + @include fluid-videos-miniature-layout; +} + +@media screen and (max-width: $mobile-view) { + .videos-header { + flex-direction: column; + align-items: center; + height: auto; + margin-bottom: 10px; + + .title-page { + margin-bottom: 10px; + margin-right: 0px; + } } }