Revert "fix(core): torrent top item css of list page"

This reverts commit 81a00c5
This commit is contained in:
OldHawk
2018-05-25 03:55:39 +08:00
parent 81a00c55d0
commit f24219abdd
2 changed files with 13 additions and 18 deletions

View File

@@ -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;
}
}

View File

@@ -6,13 +6,11 @@
<div data-ng-if="$index != 0 && $index % 6 == 0" class="clearfix visible-md-block visible-lg-block"></div>
<div class="col-xs-6 col-sm-4 col-md-2 col-small-padding">
<div class="thumbnail torrent-post-info" ng-click="vm.TGI.openTorrentDetailInfo(item._id);">
<div class="log-parent">
<div class="torrent-logo">
<img class="img-responsive" torrent-logo="item"
ng-src="{{vm.TGI.getTorrentListTopImage(item)}}"
alt="{{vm.TGI.getTorrentTitle(item)}}"
title="{{vm.TGI.getTorrentTitle(item)}}">
</div>
<div class="torrent-logo">
<img class="img-responsive" torrent-logo="item"
ng-src="{{vm.TGI.getTorrentListTopImage(item)}}"
alt="{{vm.TGI.getTorrentTitle(item)}}"
title="{{vm.TGI.getTorrentTitle(item)}}">
</div>
<div class="torrent-user-info">