Fix display of Download entry text

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2017-09-26 14:09:09 +02:00
parent 93d14dd315
commit 40a3b01838
3 changed files with 5 additions and 7 deletions

View File

@ -5,11 +5,6 @@
position: absolute !important; position: absolute !important;
} }
/* hide text of download button, only show icon */
#download-text {
display: none;
}
/* hide size and date columns */ /* hide size and date columns */
table th#headerSize, table th#headerSize,
table td.filesize, table td.filesize,

View File

@ -94,6 +94,10 @@ thead {
margin-right: auto; margin-right: auto;
} }
.download-size {
opacity: .5;
}
.directLink label { .directLink label {
font-weight: normal; font-weight: normal;
opacity: .5; opacity: .5;
@ -129,7 +133,6 @@ thead {
#remote_address { #remote_address {
width: 200px; width: 200px;
margin-right: 4px; margin-right: 4px;
height: 31px; height: 31px;
} }

View File

@ -55,7 +55,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<li> <li>
<a href="<?php p($_['downloadURL']); ?>" id="download"> <a href="<?php p($_['downloadURL']); ?>" id="download">
<span class="icon icon-download"></span> <span class="icon icon-download"></span>
<span id="download-text"><?php p($l->t('Download'))?> (<?php p($_['fileSize']) ?>)</span> <?php p($l->t('Download'))?>&nbsp;<span class="download-size">(<?php p($_['fileSize']) ?>)</span>
</a> </a>
</li> </li>
<li> <li>