';
return $res;
}
diff --git a/modules/core/site.css b/modules/core/site.css
index 3ed6289540..8bb95c73f5 100644
--- a/modules/core/site.css
+++ b/modules/core/site.css
@@ -602,8 +602,7 @@ button {
.folder_toggle {
font-size: 0px;
float: left;
- margin: 15px;
- margin-top: 19px;
+ margin: 10px 15px;
display: none;
}
.folder_toggle img {
@@ -979,7 +978,8 @@ div.unseen,
background-color: #fff;
position: fixed;
padding-left: 45px !important;
- padding-top: 20px;
+ padding-right: 45px !important;
+ padding-top: 10px !important;
margin-bottom: 5px;
left: 0px;
right: 0px;
@@ -997,11 +997,12 @@ div.unseen,
display: block;
top: 0px;
left: -3px;
+ font-size: 20px;
+ font-weight: bold;
}
-.mobile .folder_toggle img {
- width: 24px;
- height: 32px;
- margin-top: -7px;
+.mobile .folder_toggle i {
+ font-size: 2rem;
+ font-weight: bold;
}
.mobile .folder_toggle {
position: fixed;
@@ -1040,7 +1041,7 @@ div.unseen,
padding-left: 5px;
padding-top: 5px;
top: 1px;
- left: 65px !important;
+ left: 70px !important;
}
@media (orientation: landscape) {
.mobile .msg_controls {
@@ -1151,8 +1152,10 @@ div.unseen,
padding-left: 5px;
padding-right: 5px;
}
-.mobile .list_controls img {
- margin-top: 10px;
+.mobile .list_controls i {
+ margin-top: 10px !important;
+ font-size: 2rem;
+ font-weight: bold;
}
.mobile .page_links {
font-size: 150%;
@@ -1286,6 +1289,9 @@ div.unseen,
}
.mobile #list_controls_menu.show {
display: flex;
+ width: 100vw;
+ left: 0px;
+ box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.mobile .imap_sort {
width: 100%;
@@ -1335,3 +1341,7 @@ div.unseen,
.settings_table .form-select {
display: inline-block;
}
+.on_mobile {display: none;}
+.mobile .no_mobile {display: none !important;}
+.mobile .on_mobile {display: block !important;}
+.mobile .move_to_location {right: 0;}
diff --git a/modules/core/site.js b/modules/core/site.js
index 2b809f55d9..c2f48314a6 100644
--- a/modules/core/site.js
+++ b/modules/core/site.js
@@ -827,7 +827,9 @@ function Message_List() {
this.sort_fld = sort_type;
$('.combined_sort').val(sort_type);
}
- $('.core_msg_control').on("click", function() { return self.message_action($(this).data('action')); });
+ $('.core_msg_control').on("click", function(e) {
+ e.preventDefault();
+ return self.message_action($(this).data('action')); });
$('.toggle_link').on("click", function() { return self.toggle_rows(); });
$('.refresh_link').on("click", function() { return self.load_sources(); });
};
@@ -936,7 +938,6 @@ function Message_List() {
if (!updated) {
self.update_after_action(action_type, selected);
}
- return false;
};
this.prev_next_links = function(cache, class_name) {
diff --git a/modules/imap/output_modules.php b/modules/imap/output_modules.php
index 7cfc9d25e2..38660eadbf 100644
--- a/modules/imap/output_modules.php
+++ b/modules/imap/output_modules.php
@@ -747,8 +747,10 @@ protected function output() {
class Hm_Output_move_copy_controls extends Hm_Output_Module {
protected function output() {
if ($this->get('move_copy_controls', false)) {
- $res = '
'.$this->trans('Copy').'';
- $res .= '
'.$this->trans('Move').'';
+ $res = '
'.$this->trans('Copy').'';
+ $res .= '
'.$this->trans('Move').'';
+ $res .= '
'.$this->trans('Copy').'';
+ $res .= '
'.$this->trans('Move').'';
$res .= '';
$res .= '
';
$res .= '
';
diff --git a/modules/imap/site.js b/modules/imap/site.js
index b5599c2778..00303bf2a7 100644
--- a/modules/imap/site.js
+++ b/modules/imap/site.js
@@ -1194,7 +1194,7 @@ $(function() {
if ($('.imap_move').length > 0) {
check_select_for_imap();
- $('.toggle_link').on("click", function() { setTimeout(search_selected_for_imap, 100); });
+ $('.toggle_link').on("click", function() { $('.mailbox_list_title').toggleClass('hide'); setTimeout(search_selected_for_imap, 100); });
Hm_Ajax.add_callback_hook('ajax_imap_folder_display', check_select_for_imap);
Hm_Message_List.callbacks.push(check_select_for_imap);
$('.imap_move').on("click", function() { return false; });