diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-05 13:52:25 +0400 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-05 13:52:25 +0400 |
commit | 615f0c4a1c8cf5f8129064124f2d306192ed27be (patch) | |
tree | af542859706ac02812a8a4db98c35ccfd563dfb5 /apps/files_sharing | |
parent | a096f19bb23d676456c91862e3d84f3a8d8d894b (diff) |
first mobile style rules, hide extra columns in files view and scroll header
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/css/mobile.css | 18 | ||||
-rw-r--r-- | apps/files_sharing/public.php | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css new file mode 100644 index 00000000000..e29760b794b --- /dev/null +++ b/apps/files_sharing/css/mobile.css @@ -0,0 +1,18 @@ +@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, +table td.filesize, +table th#headerDate, +table td.date { + display: none; +} + + +}
\ No newline at end of file diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 49d485c86af..620e61c0344 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -136,6 +136,7 @@ if (isset($path)) { } else { OCP\Util::addScript('files', 'file-upload'); OCP\Util::addStyle('files_sharing', 'public'); + OCP\Util::addStyle('files_sharing', 'mobile'); OCP\Util::addScript('files_sharing', 'public'); OCP\Util::addScript('files', 'fileactions'); OCP\Util::addScript('files', 'jquery.iframe-transport'); |