X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fmoderation%2Fmoderation.component.scss;h=cf06401cf04255aac6f62e21296505c8f54a3203;hb=042daa7072c0168b876db2badfc838dba7ac2284;hp=a015b6d85d75b544bcf3ca6b01166c4dd3f8f1f3;hpb=9b4241e33bf46c4f0468565ce41ca7f810b2dbfa;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+admin/moderation/moderation.component.scss b/client/src/app/+admin/moderation/moderation.component.scss index a015b6d85..cf06401cf 100644 --- a/client/src/app/+admin/moderation/moderation.component.scss +++ b/client/src/app/+admin/moderation/moderation.component.scss @@ -7,32 +7,44 @@ margin-right: 30px; } -.moderation-expanded-label { - font-weight: $font-semibold; - display: inline-block; - vertical-align: top; - text-align: right; +.caption { + justify-content: flex-end; + + input { + @include peertube-input-text(250px); + } } -.moderation-expanded-text { - display: inline-block; - word-wrap: break-word; +.empty-table-message { + @include empty-state; +} - ::ng-deep p:last-child { - margin-bottom: 0px !important; +.moderation-expanded { + font-size: 90%; + + .moderation-expanded-label { + font-weight: $font-semibold; + display: inline-block; + vertical-align: top; + text-align: right; + } + + .moderation-expanded-text { + display: inline-flex; + word-wrap: break-word; + + ::ng-deep p:last-child { + margin-bottom: 0px !important; + } } } -.video-abuse-states { +.video-table-states { & > :not(:first-child) { margin-left: .4rem; } } -.glyphicon-trash { - font-size: 80%; -} - .screenratio { position: relative; width: 100%; @@ -47,6 +59,7 @@ display: inline-flex; justify-content: center; align-items: center; + color: var(--inputPlaceholderColor); } ::ng-deep iframe { @@ -61,3 +74,77 @@ .chip { @include chip; } + +my-action-dropdown.show { + ::ng-deep .dropdown-root { + display: block !important; + } +} + + +.video-table-video-link { + @include disable-outline; + position: relative; + top: 3px; +} + +.video-table-video { + display: inline-flex; + + .video-table-video-image { + @include miniature-thumbnail; + + $image-height: 45px; + + height: $image-height; + width: #{(16/9) * $image-height}; + margin-right: 0.5rem; + border-radius: 2px; + border: none; + background: transparent; + display: inline-flex; + justify-content: center; + align-items: center; + position: relative; + + img { + height: 100%; + width: 100%; + border-radius: 2px; + } + + span { + color: var(--inputPlaceholderColor); + } + + .video-table-video-image-label { + @include static-thumbnail-overlay; + position: absolute; + border-radius: 3px; + font-size: 10px; + padding: 0 3px; + line-height: 1.3; + bottom: 2px; + right: 2px; + } + } + + .video-table-video-text { + display: inline-flex; + flex-direction: column; + justify-content: center; + font-size: 90%; + color: var(--mainForegroundColor); + line-height: 1rem; + + div .glyphicon { + font-size: 80%; + color: gray; + margin-left: 0.1rem; + } + + div + div { + font-size: 80%; + } + } +}