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=0f0ff20f0bb3ccb97d80ec349cf96f4455bde15c;hpb=7193ad1044d2dfad8f929f0951f9a3601c056f67;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 0f0ff20f0..7f23098aa 100644 --- a/client/src/app/shared/video/abstract-video-list.scss +++ b/client/src/app/shared/video/abstract-video-list.scss @@ -1,31 +1,75 @@ -.videos { - text-align: center; +@import '_bootstrap-variables'; +@import '_variables'; +@import '_mixins'; +@import '_miniature'; - my-video-miniature { - text-align: left; +.videos-header { + display: flex; + justify-content: space-between; + align-items: baseline; + + .title-page.title-page-single { + 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; + } + } + + .action-block { + a button { + @include peertube-button; + @include grey-button; + @include button-with-icon(18px, 3px, -1px); + } + } + + .moderation-block { + display: flex; + flex-grow: 1; + justify-content: flex-end; + align-items: center; } } -@media screen and (max-width: 400px) and (min-resolution: 1.5dppx) { - .videos { - text-align: center; +.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; - /deep/ .video-miniature { - padding-right: 0; - height: 215px; - width: 100%; + &:not(:first-child) { + margin-top: .5rem; + padding-top: 20px; + border-top: 1px solid $separator-border-color; + } +} - .video-miniature-information { - width: 100%; - } +.margin-content { + @include fluid-videos-miniature-layout; +} - /deep/ .video-thumbnail { - width: 100%; +@media screen and (max-width: $mobile-view) { + .videos-header { + flex-direction: column; + align-items: center; + height: auto; + margin-bottom: 10px; - img { - width: 100%; - } - } + .title-page { + margin-bottom: 10px; + margin-right: 0px; } } }