[Pkg-owncloud-commits] [owncloud] 38/145: improvements to public files mobile view

David Prévot taffit at moszumanska.debian.org
Wed Feb 26 16:27:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 9f9466d00107cfe66fafdc47d3e0c16587817def
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date:   Wed Feb 5 10:57:26 2014 +0100

    improvements to public files mobile view
---
 apps/files/css/files.css          |  2 +-
 apps/files_sharing/css/mobile.css | 15 ++++++++++-----
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 74320ab..4beb01a 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -234,7 +234,7 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; }
 
 #fileList tr td.filename a.name label {
 	position: absolute;
-	width: 100%;
+	width: 80%;
 	height: 50px;
 }
 
diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css
index e29760b..35b90eb 100644
--- a/apps/files_sharing/css/mobile.css
+++ b/apps/files_sharing/css/mobile.css
@@ -1,10 +1,5 @@
 @media only screen and (max-width: 600px) {
 
-/* make header and controls bar scroll up for more view of content on small screens */
-#header,
-#controls {
-	position: absolute;
-}
 
 /* hide size and date columns */
 table th#headerSize,
@@ -14,5 +9,15 @@ table td.date {
 	display: none;
 }
 
+/* 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;
+}
+
 
 }
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list