From 4c9e9d2ee9899ba48b86eda18d44638a78587ac5 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sun, 28 Jun 2020 16:20:23 +0200 Subject: align ownership change video list table with moderation tables --- .../my-account-ownership.component.scss | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 client/src/app/+my-account/my-account-ownership/my-account-ownership.component.scss (limited to 'client/src/app/+my-account/my-account-ownership/my-account-ownership.component.scss') diff --git a/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.scss b/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.scss new file mode 100644 index 000000000..c04e26374 --- /dev/null +++ b/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.scss @@ -0,0 +1,67 @@ +@import 'miniature'; +@import 'mixins'; + +.chip { + @include chip; +} + +.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: pvar(--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: pvar(--mainForegroundColor); + line-height: 1rem; + + div .glyphicon { + font-size: 80%; + color: gray; + margin-left: 0.1rem; + } + + div + div { + font-size: 80%; + } + } +} -- cgit v1.2.3