From d6e32a2e91c090ed342eaf0709caac2630a67ff3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 27 Oct 2017 08:51:40 +0200 Subject: Replace NSFW with "mature or explicit content" Blur their thumbnail and name --- .../video-list/video-miniature.component.scss | 25 ++++++++++------------ 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'client/src/app/videos/video-list/video-miniature.component.scss') diff --git a/client/src/app/videos/video-list/video-miniature.component.scss b/client/src/app/videos/video-list/video-miniature.component.scss index c2743c3be..066792d10 100644 --- a/client/src/app/videos/video-list/video-miniature.component.scss +++ b/client/src/app/videos/video-list/video-miniature.component.scss @@ -9,24 +9,16 @@ .video-miniature-thumbnail { display: inline-block; position: relative; + border-radius: 3px; + overflow: hidden; &:hover { text-decoration: none !important; } - .thumbnail-nsfw { - background-color: #000; - color: #fff; - text-align: center; - font-size: 30px; - line-height: 110px; - - width: 200px; - height: 110px; - } - - img, .thumbnail-nsfw { - border-radius: 3px; + img.blur-filter { + filter: blur(5px); + transform : scale(1.03); } .video-miniature-thumbnail-overlay { @@ -51,7 +43,7 @@ } } - .video-miniature-informations { + .video-miniature-information { width: 200px; .video-miniature-name { @@ -68,6 +60,11 @@ text-decoration: none; } + &.blur-filter { + filter: blur(3px); + padding-left: 4px; + } + .video-miniature-tags { // Fix for chrome when tags are long width: 201px; -- cgit v1.2.3