* Adjust code .
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#mainContent #createDropdown ul {position: absolute;}
|
||||
#pageNav .dropdown-menu {max-height: inherit;}
|
||||
#mainContent > .panel {margin-bottom: 0; height: calc(100vh - 125px); overflow-y: auto;}
|
||||
#mainContent > .main-col {overflow-x: hidden;}
|
||||
#mainContent > .main-col {padding-left: 0; overflow-x: hidden;}
|
||||
|
||||
.no-content {width: 100px; height: 100px; margin: 0 auto;}
|
||||
.notice {text-align: center; padding-left: 15px; padding-top: 20px;}
|
||||
@@ -63,7 +63,8 @@ li.drag-shadow ul {display: none!important;}
|
||||
.input-tree {width: 120px;}
|
||||
|
||||
/* css for sidebar */
|
||||
.sidebar-toggle > .icon {position: absolute; top: 50%; left: -12px; width: 12px; height: 30px; margin-top: -10px; line-height: 30px; color: #fff; text-align: center; background: #7dcdfe; border-radius: 6px; cursor: pointer;}
|
||||
.sidebar-toggle {flex: 0 0 16px;}
|
||||
.sidebar-toggle > .icon {width: 12px; height: 30px; margin-top: -10px; line-height: 30px; color: #fff; text-align: center; background: #7dcdfe; border-radius: 6px; cursor: pointer;}
|
||||
|
||||
.spliter {flex: 0 0 12px;}
|
||||
.spliter-btn {height: 28px; width: 10px; background: #fff; position: absolute; top: 30%; left: -1px; border: 1px solid #D9D9D9; border-radius: 2px;}
|
||||
|
||||
@@ -123,7 +123,23 @@ $(function()
|
||||
});
|
||||
$('body').on('click', function(e)
|
||||
{
|
||||
if(!$.contains(e.target, $('.dropdown-in-tree'))) $('.dropdown-in-tree').remove();
|
||||
$('.dropdown-in-tree').remove();
|
||||
}).on('click', '.sidebar-toggle', function()
|
||||
{
|
||||
var $this = $(this);
|
||||
var $icon = $this.find('.icon');
|
||||
if($('#sideBar').hasClass('hidden'))
|
||||
{
|
||||
$icon.addClass('icon-angle-left');
|
||||
$icon.removeClass('icon-angle-right');
|
||||
$('#sideBar').removeClass('hidden');
|
||||
}
|
||||
else
|
||||
{
|
||||
$icon.addClass('icon-angle-right');
|
||||
$icon.removeClass('icon-angle-left');
|
||||
$('#sideBar').addClass('hidden');
|
||||
}
|
||||
}).on('click', '.dropdown-in-tree li', function(e)
|
||||
{
|
||||
var item = $(this).data();
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div id='mainContent'class="fade <?php if(!empty($libTree)) echo 'flex';?> split-row">
|
||||
<div id='mainContent'class="fade <?php if(!empty($libTree)) echo 'flex';?>">
|
||||
<?php if(empty($libTree)):?>
|
||||
<div class="table-empty-tip">
|
||||
<p>
|
||||
@@ -93,7 +93,7 @@
|
||||
<div id='sideBar' class="panel side side-col col overflow-auto" data-min-width="150">
|
||||
<div id="fileTree" class="file-tree"></div>
|
||||
</div>
|
||||
<div class="sidebar-toggle"></div>
|
||||
<div class="sidebar-toggle flex-center"><i class="icon icon-angle-left"></i></div>
|
||||
<div class="main-col flex-full col overflow-auto flex-auto" data-min-width="500">
|
||||
<div class="cell<?php if($browseType == 'bySearch') echo ' show';?>" style="min-width: 400px" id="queryBox" data-module=<?php echo $type . $libType . 'Doc';?>></div>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user