hide text of download button, only show icon

This commit is contained in:
Jan-Christoph Borchardt 2014-07-02 23:21:06 +02:00
parent 0a91c22ebb
commit 560c530875
2 changed files with 6 additions and 1 deletions

View File

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

View File

@ -25,7 +25,7 @@
</span>
<a href="<?php p($_['downloadURL']); ?>" id="download" class="button">
<img class="svg" alt="" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"/>
<?php p($l->t('Download'))?>
<span id="download-text"><?php p($l->t('Download'))?></span>
</a>
</span>
</div>