From e98d8a21d1f4fa8063393ec5bea3f895d42f12a4 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Thu, 18 Jun 2020 03:30:24 +1200 Subject: [PATCH] Remove deep from list classes --- .../ft-list-video/ft-list-video.css | 55 +++++++++++++++++++ .../watch-video-playlist.css | 29 ---------- .../watch-video-recommendations.css | 26 --------- 3 files changed, 55 insertions(+), 55 deletions(-) diff --git a/src/renderer/components/ft-list-video/ft-list-video.css b/src/renderer/components/ft-list-video/ft-list-video.css index 52c132222..7d8f22d89 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.css +++ b/src/renderer/components/ft-list-video/ft-list-video.css @@ -190,3 +190,58 @@ height: 35px; overflow: hidden; } + +.videoRecommendation.list { + height: 110px; +} + +.videoRecommendation.list .videoThumbnail { + width: 180px; + height: 100px; +} + +.videoRecommendation.list .videoThumbnail img { + height: 100px; +} + +.videoRecommendation.list .videoTitle { + font-size: 12px; + margin-left: 185px; +} + +.videoRecommendation.list .channelName { + margin-left: 185px; +} + +.videoRecommendation.list .viewCount { + margin-left: 5px; +} + +.playlistItem .list { + height: 60px; + width: calc(100% - 30px); +} + +.playlistItem .list .videoThumbnail { + width: 100px; + height: 60px; +} + +.playlistItem .list .videoThumbnail img { + height: 60px; +} + +.playlistItem .list .videoTitle { + font-size: 12px; + margin-left: 105px; + margin-right: 30px; +} + +.playlistItem .list .channelName { + margin-left: 105px; + margin-right: 30px; +} + +.playlistItem .list .viewCount { + margin-left: 5px; +} diff --git a/src/renderer/components/watch-video-playlist/watch-video-playlist.css b/src/renderer/components/watch-video-playlist/watch-video-playlist.css index 8a0f27fc9..292fdeddb 100644 --- a/src/renderer/components/watch-video-playlist/watch-video-playlist.css +++ b/src/renderer/components/watch-video-playlist/watch-video-playlist.css @@ -75,32 +75,3 @@ position: relative; bottom: 7px; } - -/deep/ .list { - height: 60px; - width: calc(100% - 30px); -} - -/deep/ .list .videoThumbnail { - width: 100px; - height: 60px; -} - -/deep/ .list .videoThumbnail img { - height: 60px; -} - -/deep/ .list .videoTitle { - font-size: 12px; - margin-left: 105px; - margin-right: 30px; -} - -/deep/ .list .channelName { - margin-left: 105px; - margin-right: 30px; -} - -/deep/ .list .viewCount { - margin-left: 5px; -} diff --git a/src/renderer/components/watch-video-recommendations/watch-video-recommendations.css b/src/renderer/components/watch-video-recommendations/watch-video-recommendations.css index 4e95dfeda..e83928a1b 100644 --- a/src/renderer/components/watch-video-recommendations/watch-video-recommendations.css +++ b/src/renderer/components/watch-video-recommendations/watch-video-recommendations.css @@ -5,29 +5,3 @@ .videoRecommendation { margin-bottom: -15px; } - -/deep/ .list { - height: 110px; -} - -/deep/ .list .videoThumbnail { - width: 180px; - height: 100px; -} - -/deep/ .list .videoThumbnail img { - height: 100px; -} - -/deep/ .list .videoTitle { - font-size: 12px; - margin-left: 185px; -} - -/deep/ .list .channelName { - margin-left: 185px; -} - -/deep/ .list .viewCount { - margin-left: 5px; -}