fix(core): css on torrent logo

This commit is contained in:
OldHawk
2017-10-10 19:36:45 +08:00
parent 305c1e8ffc
commit c461cd4eb1
2 changed files with 17 additions and 1 deletions

View File

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

View File

@@ -4,7 +4,7 @@
<div class="container">
<div class="topone">
<div class="col-md-3 text-center">
<div class="img-thumbnail center-block torrent-logo">
<div ng-class="{'img-thumbnail center-block torrent-logo': vm.torrentLocalInfo.torrent_type!='music'}">
<img torrent-logo="vm.torrentLocalInfo"
ng-src="{{vm.TGI.getTorrentTopOneImage(vm.torrentLocalInfo)}}"
alt="{{vm.TGI.getTorrentTitle(vm.torrentLocalInfo)}}">