fix(torrents): fixed media info css

This commit is contained in:
OldHawk
2018-05-19 23:25:20 +08:00
parent 79424bbd03
commit 8a03c0bec1
3 changed files with 6 additions and 11 deletions

View File

@@ -62,17 +62,17 @@ module.exports.getMediaInfo = function (nfo) {
*/
if (!gInfo && !vInfo && !aInfo && !tInfo) {
minfo = getSimpleGeneralFileSize(nfo, minfo);
minfo = getSimpleGeneralReleaseSize(nfo, minfo);
minfo = getSimpleGeneralDuration(nfo, minfo);
minfo = getSimpleGeneralRuntime(nfo, minfo);
minfo = getSimpleVideoBitRate(nfo, minfo);
minfo = getSimpleVideoFrameRate(nfo, minfo);
minfo = getSimpleVideoResolution(nfo, minfo);
minfo = getSimpleVideoCodec(nfo, minfo);
minfo = getSimpleAudioInfo(nfo, minfo);
minfo = getSimpleAudioCodec(nfo, minfo);
minfo = getSimpleTextInfo(nfo, minfo);
minfo = getSimpleGeneralReleaseSize(nfo, minfo);
minfo = getSimpleVideoCodec(nfo, minfo);
minfo = getSimpleAudioCodec(nfo, minfo);
}
return minfo;

View File

@@ -222,7 +222,7 @@ pre.prettyprint {
//border-top: solid 1px #dedede;
//border-radius: 4px;
padding: 10px 20px 10px 0;
margin-top: 8px;
margin-top: 13px;
legend {
font-size: 14px;
font-weight: 400;
@@ -230,11 +230,6 @@ pre.prettyprint {
margin-bottom: 6px;
border-bottom: solid 1px #d0d0d0;
}
.info-key {
width: 120px;
text-align: right;
color: #2a2a2a;
}
.info-value {
color: #7a7a7a;
font-size: 14px;
@@ -256,7 +251,7 @@ pre.prettyprint {
.dl-media-info {
margin-bottom: 10px;
dt {
color: #2a2a2a;
color: #6A6A6A;
@media (min-width: @screen-sm-min) {
width: 120px;
}

View File

@@ -674,7 +674,7 @@
</div>
</dd>
<dt class="h-line margin-top-15">{{ 'VIDEO_NFO' | translate}}</dt>
<dt class="h-line margin-top-20">{{ 'VIDEO_NFO' | translate}}</dt>
<dd ng-if="vm.torrentLocalInfo.torrent_nfo.length>0">
<div class="row" ng-if="!vm.mediaInfoEditMode">
<div class="col-md-10">