summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-09-26 14:09:09 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-11-01 11:52:58 +0100
commit40a3b018389ed88898e7fe5e66fc854b2f58db75 (patch)
tree9599e2e20166f6c10296660453e3522839603f9c /apps
parent93d14dd315c9af18b1e148f7ccb4fe931b20822b (diff)
downloadnextcloud-server-40a3b018389ed88898e7fe5e66fc854b2f58db75.tar.gz
nextcloud-server-40a3b018389ed88898e7fe5e66fc854b2f58db75.zip
Fix display of Download entry text
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/css/mobile.scss5
-rw-r--r--apps/files_sharing/css/public.scss5
-rw-r--r--apps/files_sharing/templates/public.php2
3 files changed, 5 insertions, 7 deletions
diff --git a/apps/files_sharing/css/mobile.scss b/apps/files_sharing/css/mobile.scss
index 8e58aa439c6..00a7cd1baf2 100644
--- a/apps/files_sharing/css/mobile.scss
+++ b/apps/files_sharing/css/mobile.scss
@@ -5,11 +5,6 @@
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,
diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss
index c87ae46b5d0..ef37d785e92 100644
--- a/apps/files_sharing/css/public.scss
+++ b/apps/files_sharing/css/public.scss
@@ -94,6 +94,10 @@ thead {
margin-right: auto;
}
+.download-size {
+ opacity: .5;
+}
+
.directLink label {
font-weight: normal;
opacity: .5;
@@ -129,7 +133,6 @@ thead {
#remote_address {
width: 200px;
-
margin-right: 4px;
height: 31px;
}
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 0c12c86da09..4e9ff1e8a6a 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -55,7 +55,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<li>
<a href="<?php p($_['downloadURL']); ?>" id="download">
<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>
</li>
<li>