diff --git a/filemanager/templates/mobile/index.xet b/filemanager/templates/mobile/index.xet new file mode 100644 index 0000000000..a149378097 --- /dev/null +++ b/filemanager/templates/mobile/index.xet @@ -0,0 +1,56 @@ + + + + + + + + diff --git a/filemanager/templates/pixelegg/app.css b/filemanager/templates/pixelegg/app.css index 61a5b5df8e..3fc6ffe811 100755 --- a/filemanager/templates/pixelegg/app.css +++ b/filemanager/templates/pixelegg/app.css @@ -544,3 +544,18 @@ div#stylite-filemanager-upload .dialogFooterToolbar button:active { -moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); } +/* tablets and smartphones */ +@media only screen and (max-device-width: 1024px) { + #filemanager-index_nm table.egwGridView_outer tbody span[id^='filemanager-index'][id$='size]'] { + font-size: 8pt; + text-align: right; + } + #filemanager-index_nm table.egwGridView_outer tbody label[id^='filemanager-index'][id$='name]'] { + overflow: hidden; + text-overflow: ellipsis; + max-width: 100%; + } + #filemanager-index_nm table.egwGridView_outer tbody label[id^='filemanager-index'][id$='name]'] span { + white-space: nowrap; + } +} diff --git a/filemanager/templates/pixelegg/app.less b/filemanager/templates/pixelegg/app.less index a831f441e6..1e88632e74 100644 --- a/filemanager/templates/pixelegg/app.less +++ b/filemanager/templates/pixelegg/app.less @@ -14,6 +14,7 @@ @import (reference) "../../../pixelegg/less/definitions.less"; +@import (reference) "../../../pixelegg/less/def_mobile.less"; @import (less) "../default/app.css"; /*/***************************************************************** @@ -346,4 +347,25 @@ div#stylite-filemanager-upload{ } -// \ No newline at end of file +// + +/* tablets and smartphones */ +@media only screen and (max-device-width:1024px) { + #filemanager-index_nm { + table.egwGridView_outer tbody { + span[id^='filemanager-index'][id$='size]']{ + .mob-fontsize-s; + text-align: right; + } + label[id^='filemanager-index'][id$='name]'] { + overflow: hidden; + text-overflow: ellipsis; + max-width: 100%; + span{ + white-space: nowrap; + + } + } + } + } +} \ No newline at end of file