fix(core): torrent logo fixed on torrent detail page

This commit is contained in:
OldHawk
2017-10-10 18:27:23 +08:00
parent d4d0b224a7
commit 305c1e8ffc
2 changed files with 6 additions and 15 deletions

View File

@@ -78,19 +78,8 @@ body {
margin-bottom: 10px;
}
img {
//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 */
}
width: 100%;
height: 100%;
}
.genres-item {
font-size: 14px;
@@ -115,6 +104,8 @@ body {
.torrent-logo {
max-height: 400px;
max-width: 270px;
cursor: pointer;
transition-property: transform, opacity;
transition-duration: 1s;
transition-timing-function: ease;

View File

@@ -7,7 +7,7 @@
<div class="topone">
<div class="col-md-3">
<img ng-src="{{vm.tmdbConfig.posterImgBaseUrl}}{{vm.movieTopOne.resource_detail_info.poster_path}}"
class="img-thumbnail center-block"
class="img-thumbnail center-block torrent-logo"
onload="this.style.opacity='1';" ng-click="vm.openTorrentInfo(vm.movieTopOne._id);">
<div class="down-torrent">
@@ -216,7 +216,7 @@
<div class="topone">
<div class="col-md-3">
<img ng-src="{{vm.tmdbConfig.posterImgBaseUrl}}{{vm.TVTopOne.resource_detail_info.poster_path}}"
class="img-thumbnail center-block"
class="img-thumbnail center-block torrent-logo"
onload="this.style.opacity='1';" ng-click="vm.openTorrentInfo(vm.TVTopOne._id);">
<div class="down-torrent">