first mobile style rules, hide extra columns in files view and scroll header
This commit is contained in:
parent
b24c21b00f
commit
2bdd014f83
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -136,6 +136,7 @@ if (isset($path)) {
|
||||||
} else {
|
} else {
|
||||||
OCP\Util::addScript('files', 'file-upload');
|
OCP\Util::addScript('files', 'file-upload');
|
||||||
OCP\Util::addStyle('files_sharing', 'public');
|
OCP\Util::addStyle('files_sharing', 'public');
|
||||||
|
OCP\Util::addStyle('files_sharing', 'mobile');
|
||||||
OCP\Util::addScript('files_sharing', 'public');
|
OCP\Util::addScript('files_sharing', 'public');
|
||||||
OCP\Util::addScript('files', 'fileactions');
|
OCP\Util::addScript('files', 'fileactions');
|
||||||
OCP\Util::addScript('files', 'jquery.iframe-transport');
|
OCP\Util::addScript('files', 'jquery.iframe-transport');
|
||||||
|
|
Loading…
Reference in New Issue