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; margin: 0;
} }
.directDownload,
.directLink { .directLink {
margin-bottom: 20px; margin-bottom: 20px;
} }
.directDownload .button img {
vertical-align: text-bottom;
}
.directLink label { .directLink label {
font-weight: normal; font-weight: normal;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
} }
.directLink input { .directLink input {
margin-left: 10px; margin-left: 5px;
width: 300px; width: 300px;
} }

View File

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