summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-29 11:43:34 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-29 11:43:34 +0100
commitd310df505c0de1ed0ba4067a0c8304b8a675fa8c (patch)
treeb63bdd93167e04c2018982e00501f335f169eb2c /apps/files_sharing
parent8f81f007cd8189af0b3920c0c5cdf5b7e705c930 (diff)
downloadnextcloud-server-d310df505c0de1ed0ba4067a0c8304b8a675fa8c.tar.gz
nextcloud-server-d310df505c0de1ed0ba4067a0c8304b8a675fa8c.zip
permanently show download action on mobile, only icon
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/css/mobile.css23
1 files changed, 17 insertions, 6 deletions
diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css
index 2118cd31e4b..3c06d0650e3 100644
--- a/apps/files_sharing/css/mobile.css
+++ b/apps/files_sharing/css/mobile.css
@@ -11,12 +11,7 @@ table td.date {
/* restrict length of displayed filename to prevent overflow */
table td.filename .nametext {
- max-width: 80% !important;
-}
-/* and to make room for download button on hover */
-table tr:hover td.filename .nametext,
-table tr:focus td.filename .nametext {
- max-width: 60% !important;
+ max-width: 75% !important;
}
/* on mobile, show single shared image at full width without margin */
@@ -26,5 +21,21 @@ table tr:focus td.filename .nametext {
margin-bottom: 35px;
}
+/* always show actions on mobile */
+#fileList a.action {
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)" !important;
+ filter: alpha(opacity=20) !important;
+ opacity: .2 !important;
+ display: inline !important;
+}
+/* some padding for better clickability */
+#fileList a.action img {
+ padding: 0 6px 0 12px;
+}
+/* hide text of the actions on mobile */
+#fileList a.action span {
+ display: none;
+}
+
}