From c461cd4eb14ca1ebd0387bb0a5e900a2569d1061 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Tue, 10 Oct 2017 19:36:45 +0800 Subject: [PATCH] fix(core): css on torrent logo --- modules/core/client/less/mt.less | 16 ++++++++++++++++ .../client/views/view-torrent.client.view.html | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/modules/core/client/less/mt.less b/modules/core/client/less/mt.less index f90a2330..643dfc2e 100644 --- a/modules/core/client/less/mt.less +++ b/modules/core/client/less/mt.less @@ -81,6 +81,21 @@ body { width: 100%; height: 100%; } + .img-circle { + //opacity: 0; + transition-property: transform, opacity; + transition-duration: 1s; + transition-timing-function: ease; + + cursor: pointer; + max-height: 400px; + //transition: transform .5s ease-in-out; + &:hover { + /* csslint ignore:start */ + transform: scale(1.1); + /* csslint ignore:end */ + } + } .genres-item { font-size: 14px; color: #ccc; @@ -145,6 +160,7 @@ body { .torrent-detail { p { > img { + cursor: pointer; max-width: 100% !important; height: auto !important; border: 1px solid #999; diff --git a/modules/torrents/client/views/view-torrent.client.view.html b/modules/torrents/client/views/view-torrent.client.view.html index 088efd9a..17ccf500 100644 --- a/modules/torrents/client/views/view-torrent.client.view.html +++ b/modules/torrents/client/views/view-torrent.client.view.html @@ -4,7 +4,7 @@
-