mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Admin dashboard portlet width. 1300px over and under.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9572 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a2f2385464
commit
6d8f293567
3 changed files with 10 additions and 6 deletions
|
|
@ -134,10 +134,12 @@ body>.popup{margin:1em}
|
|||
.x .gnb.jx li a:active,
|
||||
.x .gnb.jx li a:focus{background:none}
|
||||
.x .gnb.jx li.activeOn>a{background:#ddd}
|
||||
@media only all and (max-width:860px){.x .gnb ul{padding-left:1em}
|
||||
@media only all and (max-width:860px){
|
||||
.x .gnb ul{padding-left:1em}
|
||||
.x .gnb .setting{right:1em}
|
||||
}
|
||||
@media only all and (max-width:640px){.x .gnb ul{display:block;position:static;padding:0}
|
||||
@media only all and (max-width:640px){
|
||||
.x .gnb ul{display:block;position:static;padding:0}
|
||||
.x .gnb li{float:none;clear:both;border-top:1px solid #ccc}
|
||||
.x .gnb ul ul{border:0;position:static}
|
||||
.x .gnb li li{border:0}
|
||||
|
|
@ -153,7 +155,8 @@ body>.popup{margin:1em}
|
|||
.x .bmk li{position:relative;padding:3px 30px 3px 0;white-space:nowrap}
|
||||
.x .bmk li .action{position:absolute;top:0;right:0}
|
||||
.x .bmk li .action .text{text-decoration:none;width:16px;text-align:center;margin:0}
|
||||
@media only all and (max-width:640px){.x .bmk{position:static;background-color:#fff;padding:10px 20px;background:#fff}
|
||||
@media only all and (max-width:640px){
|
||||
.x .bmk{position:static;background-color:#fff;padding:10px 20px;background:#fff}
|
||||
.x .bmk .tgAnchor{display:block}
|
||||
.x .bmk ul{position:relative;border:0;border-top:1px solid #ccc;border-radius:0;box-shadow:none;padding:0;margin:5px 0 0 0}
|
||||
.x .bmk li{position:relative;top:-1px;border-top:1px dotted #ccc}
|
||||
|
|
@ -310,7 +313,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}
|
||||
@media only all and (min-width:1280px){.x .dashboard .portlet{float:left !important;width:32% !important;margin-right:1em !important}
|
||||
@media only all and (min-width:1300px){
|
||||
.x .dashboard .portlet{float:left !important;width:32% !important;margin-right:1em !important}
|
||||
}
|
||||
/* Single Column*/
|
||||
.x .single{position:relative;float:none;width:auto;margin-left:-230px}
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ jQuery(function($){
|
|||
|
||||
// Display the dashboard in two column
|
||||
$(window).resize(function(){
|
||||
if($(document).width() < 1280){
|
||||
if($(document).width() < 1300){
|
||||
$('.dashboard>.section>br').remove();
|
||||
$('.dashboard>.section>.portlet:odd').after('<br style="clear:both" />');
|
||||
} else {
|
||||
|
|
|
|||
2
modules/admin/tpl/js/admin.min.js
vendored
2
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -1,7 +1,7 @@
|
|||
jQuery(function(a){a(".form li").find(">input:text,>input:password,>textarea").filter('input[value!=""],textarea:not(:empty)').prev("label").css("visibility","hidden").end().end().prev("label").addClass("overlap").css({top:"15px",left:"5px"}).next().focus(function(){var b=a(this).prev().stop().animate({opacity:0,left:"25px"},"fast",function(){b.css("visibility","hidden")})}).blur(function(){var b=a(this);a.trim(b.val())==""&&b.prev().stop().css("visibility","visible").animate({opacity:1,left:"5px"},
|
||||
"fast")}).end().parent().css("position","relative");var c=a("input:radio+label,input:checkbox+label").prev("input");c.change(function(){var b=a(this).attr("name");c.filter(function(){return this.name==b}).next("label").css("font-weight","normal").end().filter(":checked").next("label").css("font-weight","bold").end()}).change();a(".form th>input:checkbox").change(function(){var b=a(this),d=b.data("name");b.closest("table").find("input:checkbox").filter(function(){var b=a(this);return!b.prop("disabled")&&
|
||||
(b.attr("name")==d||b.data("name")==d)}).prop("checked",b.prop("checked")).end().end().trigger("update.checkbox",[d,this.checked])});a.fn.xePagination=function(){this.not(".xe-pagination").addClass("xe-pagination").find("span.tgContent").css("whiteSpace","nowrap").end().find("a.tgAnchor").each(function(){var b=a(this);b.after(a(b.attr("href")))}).end();return this};a(".pagination").xePagination();a(".portlet .action").css({display:"none",position:"absolute"}).parent().mouseleave(function(){a(this).find(">.action").fadeOut(100)}).mouseenter(function(){a(this).find(">.action").fadeIn(100)}).focusin(function(){a(this).mouseenter()}).focusout(function(){var b=
|
||||
a(this),d;clearTimeout(b.data("timer"));d=setTimeout(function(){b.find(":focus").length||b.mouseleave()},10);b.data("timer",d)});a(window).resize(function(){a(document).width()<1280?(a(".dashboard>.section>br").remove(),a(".dashboard>.section>.portlet:odd").after('<br style="clear:both" />')):(a(".dashboard>.section>br").remove(),a(".dashboard>.section>.portlet:eq(2),.dashboard>.section>.portlet:eq(5)").after('<br style="clear:both" />'))});a(window).resize();a(".header>.siteTool>a.i").bind("before-open.tc",
|
||||
a(this),d;clearTimeout(b.data("timer"));d=setTimeout(function(){b.find(":focus").length||b.mouseleave()},10);b.data("timer",d)});a(window).resize(function(){a(document).width()<1300?(a(".dashboard>.section>br").remove(),a(".dashboard>.section>.portlet:odd").after('<br style="clear:both" />')):(a(".dashboard>.section>br").remove(),a(".dashboard>.section>.portlet:eq(2),.dashboard>.section>.portlet:eq(5)").after('<br style="clear:both" />'))});a(window).resize();a(".header>.siteTool>a.i").bind("before-open.tc",
|
||||
function(){a(this).addClass("active").next("div.tgContent").find(">.section:gt(0)").hide().end().find(">.btnArea>button").show()}).bind("after-close.tc",function(){a(this).removeClass("active")}).next("#siteMapList").find(">.section:last").after('<p class="btnArea"><button type="button">› more</button></p>').find("+p>button").click(function(){a(this).hide().parent().prevAll(".section").show()});a.fn.xeMask=function(){this.each(function(){var b=a(this),d=b.text();b.data("originalText",d);/^([\w\-\.]+?)@(([\w-]+\.)+[a-z]{2,})$/ig.test(d)&&
|
||||
b.data("maskedText",RegExp.$1+"...");b.text(b.data("maskedText"))}).mouseover(function(){a(this).text(a(this).data("originalText"))}).mouseout(function(){a(this).text(a(this).data("maskedText"))}).focus(function(){a(this).mouseover()}).blur(function(){a(this).mouseout()})};a(".masked").xeMask()});
|
||||
jQuery(function(a){a.fn.xeMenu=function(){this.removeClass("jx").attr("role","navigation").find("li").attr("role","menuitem").find(">ul").hide().end().filter(":has(>ul)").attr("aria-haspopup","true").end().end().delegate("li",{mouseover:function(){a(this).addClass("active").find(">ul").show().end().parentsUntil(".gnb").filter("li").addClass("active").end().end()},mouseleave:function(){a(this).removeClass("active").find(">ul").hide()},focusout:function(){var c=a(this);setTimeout(function(){c.find(":focus").length||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue