Admin .single column layout add.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9337 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2011-09-26 07:46:25 +00:00
parent adf7ffba67
commit 3ca0e29024
3 changed files with 11 additions and 0 deletions

View file

@ -289,6 +289,8 @@ body.modalContainer{_height:100%;_width:100%} /* IE6 only */
.x .dashboard .portlet{float:left;width:48%;margin-right:1em}
.x .dashboard .portlet:nth-of-type(odd){float:left;width:49%;margin-right:0}
.x .dashboard .portlet:nth-of-type(even){float:right;width:49%;margin-right:0}
/* Single Column*/
.x .single{position:relative;float:none;width:auto;margin-left:-230px}
/* Search */
.x .search{zoom:1}
.x .search:after{content:"";display:block;clear:both}

View file

@ -289,6 +289,8 @@ body.modalContainer{_height:100%;_width:100%} /* IE6 only */
.x .dashboard .portlet{float:left;width:48%;margin-right:1em}
.x .dashboard .portlet:nth-of-type(odd){float:left;width:49%;margin-right:0}
.x .dashboard .portlet:nth-of-type(even){float:right;width:49%;margin-right:0}
/* Single Column*/
.x .single{position:relative;float:none;width:auto;margin-left:-230px}
/* Search */
.x .search{zoom:1}
.x .search:after{content:"";display:block;clear:both}

View file

@ -1150,3 +1150,10 @@ function completeInstallModule(ret_obj) {
jQuery(document).ready(function($){
$('body').ajaxComplete(function(){ hideWaitingFogLayer() });
});
/* admin single column layout */
jQuery(function($){
if($('.x>.body>.lnb').length == 0){ // When it have no lnb
$('.x>.body>.content').addClass('single'); // Add class single
}
});