Make path and up button always available in filemanager mobile theme

This commit is contained in:
Hadi Nategh 2017-02-01 13:17:20 +01:00
parent 405fcd3d7d
commit c1950b4b1c
3 changed files with 13 additions and 2 deletions

View File

@ -2469,8 +2469,7 @@ var et2_nextmatch_header_bar = (function(){ "use strict"; return et2_DOMWidget.e
this.toggle_header = jQuery(document.createElement('button')) this.toggle_header = jQuery(document.createElement('button'))
.addClass('nm_toggle_header') .addClass('nm_toggle_header')
.click(function(){ .click(function(){
jQuery(self.div).slideToggle('fast'); jQuery(self.div).toggleClass('nm_header_hide');
jQuery(self.div).removeClass('nm_header_hide');
jQuery(this).toggleClass('nm_toggle_header_on'); jQuery(this).toggleClass('nm_toggle_header_on');
window.setTimeout(function(){self.nextmatch.resize();},800); window.setTimeout(function(){self.nextmatch.resize();},800);
}) })

View File

@ -447,6 +447,13 @@ div#stylite-filemanager-upload .dialogFooterToolbar button:active {
#filemanager-index_nm #filemanager-index_filemanager-index-header_left { #filemanager-index_nm #filemanager-index_filemanager-index-header_left {
height: auto; height: auto;
} }
#filemanager-index_nm .nextmatch_header.nm_header_hide {
display: inline-block !important;
}
#filemanager-index_nm .nextmatch_header.nm_header_hide .header_row_right,
#filemanager-index_nm .nextmatch_header.nm_header_hide .filtersContainer {
display: none;
}
#filemanager-index_nm .nextmatch_header .filemanager_navigation { #filemanager-index_nm .nextmatch_header .filemanager_navigation {
height: auto; height: auto;
} }

View File

@ -53,8 +53,13 @@
padding-left: 15px; padding-left: 15px;
} }
} }
#filemanager-index_tarp {display: none !important;} #filemanager-index_tarp {display: none !important;}
#filemanager-index_filemanager-index-header_left {height:auto;} #filemanager-index_filemanager-index-header_left {height:auto;}
.nextmatch_header.nm_header_hide {
display:inline-block !important;
.header_row_right, .filtersContainer {display:none;}
}
.nextmatch_header { .nextmatch_header {
.filemanager_navigation { .filemanager_navigation {
height: auto; height: auto;