X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bmy-account%2Fmy-account-videos%2Fmy-account-videos.component.scss;h=8248cc94faae3fa4a8031903632fc56b51902241;hb=9181bc0c802bb84aeae9f07b08b59dcd90f486bc;hp=d2df6f29078ca531c4ebbd90c17f117d495d0fe2;hpb=7ccddd7b5250bd25a917a6e77e58b87b9484a2a4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss index d2df6f290..8248cc94f 100644 --- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss +++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss @@ -1,120 +1,56 @@ @import '_variables'; @import '_mixins'; -.action-selection-mode { - width: 174px; +.videos-header { display: flex; - justify-content: flex-end; + justify-content: space-between; + margin: 20px 0 50px; - .action-selection-mode-child { - position: fixed; - - .action-button { - display: inline-block; - } - - .action-button-cancel-selection { - @include peertube-button; - @include grey-button; - - margin-right: 10px; - } - - .action-button-delete-selection { - @include peertube-button; - @include orange-button; - @include button-with-icon(21px); + h4, + .fake-element { + flex: 1; + } - my-global-icon { - @include apply-svg-color(#fff); - } - } + input[type=text] { + @include peertube-input-text(300px); } } -.video { - @include row-blocks; +.action-button-delete-selection { + display: inline-block; - &:first-child { - margin-top: 47px; - } + @include peertube-button; + @include orange-button; + @include button-with-icon(21px); - .checkbox-container { - display: flex; - align-items: center; - margin-right: 20px; - margin-left: 12px; + my-global-icon { + @include apply-svg-color(#fff); } +} - my-video-thumbnail { - margin-right: 10px; +::ng-deep { + .action-button span { + white-space: nowrap; } - .video-info { - flex-grow: 1; - - .video-info-name { - @include disable-default-a-behaviour; - - color: var(--mainForegroundColor); - display: block; - width: fit-content; - font-size: 16px; - font-weight: $font-semibold; - } - - .video-info-date-views, - .video-info-privacy, - .video-info-blacklisted { - font-size: 13px; + .video-miniature { + &.display-as-row { + // width: min-content !important; + width: 100% !important; - &.video-info-privacy, - &.video-info-blacklisted .blacklisted-label { - font-weight: $font-semibold; + .video-bottom .video-miniature-information { + width: max-content !important; + min-width: unset !important; } - - &.video-info-blacklisted { - color: red; - - .blacklisted-reason { - &::before { - content: ' - '; - } - } - } - } - } - - .video-buttons { - min-width: 190px; - *:not(:last-child) { - margin-right: 10px; + .video-bottom { + max-width: 350px; } } } -@media screen and (max-width: $small-view) { - .video { - flex-direction: column; - height: auto; - text-align: center; - - .video-info-name { - margin: auto; - } - - input[type=checkbox] { - display: none; - } - - my-video-thumbnail { - margin-right: 0; - } - - .video-buttons { - margin-top: 10px; - } - } +my-delete-button, +my-edit-button { + margin-right: 10px; }