]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix public share download button width
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 16 Jan 2014 14:28:39 +0000 (15:28 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 16 Jan 2014 14:28:39 +0000 (15:28 +0100)
apps/files_sharing/css/public.css
apps/files_sharing/templates/public.php

index 54a25d0ce34e799a58eb723f7ab65888db2306c2..d593d353dd76d615aec5658683aba953a65f5230 100644 (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;
        }
index e181e8a328060eb04d298462bec107b249e138cb..fb45401458f4656acbb307e73e6a59695b322341 100644 (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>