From 2e753d942a4dc59d104b91b75beb6cb40bae5697 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 30 Mar 2020 14:22:15 +0200 Subject: [PATCH] * Filemanager: fix upload in mobile template does not work for hidden share link --- filemanager/templates/mobile/app.css | 15 +++--- filemanager/templates/mobile/app.less | 68 +++++++++++++------------- filemanager/templates/mobile/index.xet | 4 +- 3 files changed, 43 insertions(+), 44 deletions(-) diff --git a/filemanager/templates/mobile/app.css b/filemanager/templates/mobile/app.css index 4949df05f4..ff8e9491ba 100644 --- a/filemanager/templates/mobile/app.css +++ b/filemanager/templates/mobile/app.css @@ -492,16 +492,15 @@ div#stylite-filemanager-upload .dialogFooterToolbar button:active { height: auto; position: relative !important; } - .et2_file.plus_button { - position: absolute !important; + #filemanager-index_filemanager-index-header_left .et2_file.plus_button { + position: fixed !important; right: 15px; bottom: 15px; border-radius: 50%; - width: 60px; - height: 60px; + width: 60px !important; + height: 60px !important; background-position: center; z-index: 100; - background-color: #0c5da5; box-shadow: 0px 1px 5px 3px silver; background-image: url(../../../pixelegg/images/topmenu_items/mobile/plus_white.svg) !important; background-repeat: no-repeat; @@ -510,18 +509,18 @@ div#stylite-filemanager-upload .dialogFooterToolbar button:active { padding: 0; border: none; } - .et2_file.plus_button .et2_file_span { + #filemanager-index_filemanager-index-header_left .et2_file.plus_button .et2_file_span { width: 50px; height: 50px; border: none; background: none; } - .et2_file.plus_button .et2_file_upload { + #filemanager-index_filemanager-index-header_left .et2_file.plus_button .et2_file_upload { width: 60px; height: 60px; top: 0; } - .et2_file.plus_button div.progress { + #filemanager-index_filemanager-index-header_left .et2_file.plus_button div.progress { position: fixed; left: 0; top: 0px; diff --git a/filemanager/templates/mobile/app.less b/filemanager/templates/mobile/app.less index 30cadd7077..49bdf9409e 100644 --- a/filemanager/templates/mobile/app.less +++ b/filemanager/templates/mobile/app.less @@ -98,42 +98,44 @@ select#filemanager-index_filter {width:100%;} .nextmatch_header_row div.header_row_right {height:auto;position: relative !important;} } - .et2_file.plus_button { - position: absolute !important; - right: 15px; - bottom: 15px; - border-radius: 50%; - width: 60px; - height: 60px; - background-position: center; - z-index: 100; - background-color: #0c5da5; - box-shadow: 0px 1px 5px 3px silver; - background-image: url(../../../pixelegg/images/topmenu_items/mobile/plus_white.svg) !important; - background-repeat: no-repeat; - background-size: 24px 24px; - border: none; - margin: 0; - padding: 0; - border: none; - .et2_file_span{ - width:50px; - height: 50px; + #filemanager-index_filemanager-index-header_left { + .et2_file.plus_button { + position: fixed !important; + right: 15px; + bottom: 15px; + border-radius: 50%; + width: 60px !important; + height: 60px !important; + background-position: center; + z-index: 100; + box-shadow: 0px 1px 5px 3px silver; + background-image: url(../../../pixelegg/images/topmenu_items/mobile/plus_white.svg) !important; + background-repeat: no-repeat; + background-size: 24px 24px; border: none; - background: none; - } - .et2_file_upload { - width: 60px; - height: 60px; - top: 0; - } - div.progress { - position: fixed; - left: 0; - top: 0px; - width: 93%; + margin: 0; + padding: 0; + border: none; + .et2_file_span{ + width:50px; + height: 50px; + border: none; + background: none; + } + .et2_file_upload { + width: 60px; + height: 60px; + top: 0; + } + div.progress { + position: fixed; + left: 0; + top: 0px; + width: 93%; + } } } + .previewImage img {max-width: 100%;} div#filemanager-file_tabs td.eaclAccount,td.eaclRights {display: block;} } \ No newline at end of file diff --git a/filemanager/templates/mobile/index.xet b/filemanager/templates/mobile/index.xet index 490a7aac37..aadf8bdcb6 100644 --- a/filemanager/templates/mobile/index.xet +++ b/filemanager/templates/mobile/index.xet @@ -50,12 +50,10 @@ +