mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
Admin dashboard portlet width. 1280px over and under.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9551 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
78613c0ce1
commit
7206aff619
2 changed files with 13 additions and 1 deletions
|
|
@ -301,6 +301,9 @@ body.modalContainer{_height:100%;_width:100%} /* IE6 only */
|
||||||
.x .dashboard .portlet{float:left;width:48%;margin-right:1em}
|
.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(odd){float:left;width:49%;margin-right:0}
|
||||||
.x .dashboard .portlet:nth-of-type(even){float:right;width:49%;margin-right:0}
|
.x .dashboard .portlet:nth-of-type(even){float:right;width:49%;margin-right:0}
|
||||||
|
@media only all and (min-width:1280px){
|
||||||
|
.x .dashboard .portlet{float:left !important;width:32% !important;margin-right:1em !important}
|
||||||
|
}
|
||||||
/* Single Column*/
|
/* Single Column*/
|
||||||
.x .single{position:relative;float:none;width:auto;margin-left:-230px}
|
.x .single{position:relative;float:none;width:auto;margin-left:-230px}
|
||||||
/* Search */
|
/* Search */
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,16 @@ jQuery(function($){
|
||||||
});
|
});
|
||||||
|
|
||||||
// Display the dashboard in two column
|
// Display the dashboard in two column
|
||||||
|
$(window).resize(function(){
|
||||||
|
if($(document).width() < 1280){
|
||||||
|
$('.dashboard>.section>br').remove();
|
||||||
$('.dashboard>.section>.portlet:odd').after('<br style="clear:both" />');
|
$('.dashboard>.section>.portlet:odd').after('<br style="clear:both" />');
|
||||||
|
} else {
|
||||||
|
$('.dashboard>.section>br').remove();
|
||||||
|
$('.dashboard>.section>.portlet:eq(2),.dashboard>.section>.portlet:eq(5)').after('<br style="clear:both" />');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$(window).resize();
|
||||||
|
|
||||||
|
|
||||||
// Popup list : 'Move to site' and 'Site map'
|
// Popup list : 'Move to site' and 'Site map'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue