From f24219abdd358a17b86f05987a2f5cfced1d4f86 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Fri, 25 May 2018 03:55:39 +0800 Subject: [PATCH] Revert "fix(core): torrent top item css of list page" This reverts commit 81a00c5 --- modules/core/client/less/mt.less | 19 ++++++++----------- .../views/list-torrents.client.view.html | 12 +++++------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/modules/core/client/less/mt.less b/modules/core/client/less/mt.less index 3bbca75f..eb4ac733 100644 --- a/modules/core/client/less/mt.less +++ b/modules/core/client/less/mt.less @@ -365,14 +365,15 @@ body { display: inline-block; } } - .torrent-logo { - /* csslint ignore:start */ - transform: scale(1.2); - /* csslint ignore:end */ + img { + opacity: 1; } .music { opacity: 1; } + .torrent-logo { + opacity: 1; + } .top-status-icon { background-color: @mt-base-color; background-color: rgba(255, 102, 0, 1); @@ -394,6 +395,7 @@ body { } } img { + opacity: 0.9; min-height: 200px; } .caption { @@ -405,7 +407,7 @@ body { .music { margin: 38px 0 42px 0; overflow: hidden; - opacity: 0.8; + opacity: 0.9; &::before { content: ' '; padding-top: 100%; /* vertical value as 100% equals width */ @@ -432,12 +434,7 @@ body { border-radius: 4px; } .torrent-logo { - transition-property: transform; - transition-duration: .5s; - transition-timing-function: ease; - } - .log-parent { - overflow: hidden; + opacity: 0.9; } } diff --git a/modules/torrents/client/views/list-torrents.client.view.html b/modules/torrents/client/views/list-torrents.client.view.html index 09522d50..5416b2ea 100644 --- a/modules/torrents/client/views/list-torrents.client.view.html +++ b/modules/torrents/client/views/list-torrents.client.view.html @@ -6,13 +6,11 @@