fix public share download button width

This commit is contained in:
Jan-Christoph Borchardt 2014-01-16 15:28:39 +01:00
parent 3e7cf4110d
commit c0590676a0
2 changed files with 11 additions and 4 deletions

View File

@ -88,13 +88,20 @@ thead{
margin: 0;
}
.directDownload,
.directLink {
margin-bottom: 20px;
}
.directDownload .button img {
vertical-align: text-bottom;
}
.directLink label {
font-weight: normal;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
}
.directLink input {
margin-left: 10px;
margin-left: 5px;
width: 300px;
}

View File

@ -43,9 +43,9 @@
</li>
</ul>
<?php endif; ?>
<div class="button">
<a href="<?php p($_['downloadURL']); ?>" id="download">
<img class="svg" alt="Download" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"/>
<div class="directDownload">
<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 %s', array($_['filename'])))?>
</a>
</div>