mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
Issue 2444. GNB vertical toggle. GMB mobile toggle. #site vertical height resize.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11431 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dd7a630a3b
commit
5e596ba61e
8 changed files with 264 additions and 74 deletions
|
|
@ -51,16 +51,19 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.header{border-radius:5px 5px 0 0;padding:10px 15px;zoom:1;border-bottom:1px solid #ddd;background:#f6f6f6;background:-webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#F1F1F1));background:-moz-linear-gradient(top,#F6F6F6,#F1F1F1);background:-o-linear-gradient(top,#F6F6F6,#F1F1F1)}
|
||||
.x>.header:after{content:"";display:block;clear:both}
|
||||
.x>.body{zoom:1;padding:0 20px 0 240px}
|
||||
.x>.body.wide{padding:0 20px 0 60px}
|
||||
.x>.body:after{content:"";display:block;clear:both}
|
||||
.x>.body>.content{width:100%;padding:1px 0 0 0;float:right;margin:0 0 30px -100%}
|
||||
.x>.body>.content>*:first-child{margin-top:0}
|
||||
.x>.body>.gnb{position:relative;left:-240px;float:left;width:220px;margin:0 -220px 0 0;background:#f4f4f4;box-shadow:2px 0 4px #ddd}
|
||||
.x>.body.wide>.gnb{width:36px;margin:0 -36px 0 0;left:-60px;position:fixed;top:73px;left:10px}
|
||||
@media all and (max-width:980px){
|
||||
.x>.body{padding:0}
|
||||
.x>.body,
|
||||
.x>.body.wide{padding:0}
|
||||
.x>.body>.content{width:auto;padding:1px 10px 0 10px;float:none;margin:0 0 30px 0}
|
||||
.x>.body>.gnb{float:none;width:auto;margin-right:0;left:0;border-radius:0}
|
||||
.x>.body>.gnb,
|
||||
.x>.body.wide>.gnb{float:none;width:auto;margin-right:0;left:0;border-radius:0;position:relative;top:auto;left:auto}
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.x>.header>h1{margin:0 15px 0 0;float:left;text-shadow:0 1px 0 #fff}
|
||||
.x>.header>h1>a{text-decoration:none;color:#333;font-size:24px;line-height:40px;font-family:Arial, Helvetica, sans-serif}
|
||||
|
|
@ -79,7 +82,9 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.header>.account>ul>li>a:focus{text-decoration:underline}
|
||||
.x>.header>.account .lang+#lang{position:absolute;top:20px;left:auto;right:0;min-width:0}
|
||||
@media all and (max-width:480px){
|
||||
.x>.header>.site,
|
||||
.x>.header>.site{margin-top:0}
|
||||
}
|
||||
@media all and (max-width:980px){
|
||||
.x>.header>.account{margin-top:0}
|
||||
}
|
||||
/* Footer */
|
||||
|
|
@ -91,9 +96,18 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.footer .vr{color:#ccc !important}
|
||||
/* GNB */
|
||||
.x>.body>.gnb>.close{background:none;border:0;position:absolute;top:0;left:0;width:100%;height:1px;overflow:hidden;margin:0;padding:0}
|
||||
.x>.body>.gnb ul{margin:0 0 15px 0;padding:0;list-style:none}
|
||||
.x>.body>.gnb>ul{box-shadow:0 2px 4px #ddd}
|
||||
.x>.body>.gnb ul{margin:0;padding:0;list-style:none}
|
||||
.x>.body>.gnb>ul{position:relative;z-index:1;box-shadow:0 2px 4px #ddd}
|
||||
.x>.body>.gnb a{text-decoration:none;text-shadow:0 1px 0 #fff;color:#000;display:block}
|
||||
.x>.body>.gnb>a[href="#gnbNav"]{display:none}
|
||||
@media all and (max-width:980px){
|
||||
.x>.body.mobile>.gnb>ul>li{display:none}
|
||||
.x>.body.mobile>.gnb>ul>li:first-child{display:block}
|
||||
.x>.body.mobile>.gnb.open>ul>li{display:block}
|
||||
.x>.body>.gnb>a[href="#gnbNav"]{display:block;position:absolute;z-index:2;top:0;right:0;line-height:37px;width:44px;white-space:nowrap;font-size:0;border-left:1px solid #ddd}
|
||||
.x>.body>.gnb>a[href="#gnbNav"]:before{content:"";position:absolute;width:1px;height:100%;border-left:1px solid #fff}
|
||||
.x>.body>.gnb>a>i{position:absolute;top:50%;left:50%;margin:-7px 0 0 -7px}
|
||||
}
|
||||
/* li */
|
||||
.x>.body>.gnb>ul>li{background:#94a55c;border-top:1px solid #fff;border-bottom:1px solid #ddd;vertical-align:top;white-space:nowrap}
|
||||
.x>.body>.gnb>ul>li.active{background:#222}
|
||||
|
|
@ -101,7 +115,7 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.body>.gnb>ul>li.active{border-bottom:0;padding:0 0 1px 0}
|
||||
/* li>a */
|
||||
.x>.body>.gnb>ul>li>a{padding:8px 5px 8px 10px;background:#f1f1f1;background:-webkit-gradient(linear,left top,left bottom,from(#F1F1F1),to(#E8E8E8));background:-moz-linear-gradient(top,#F1F1F1,#E8E8E8);background:-o-linear-gradient(top,#F1F1F1,#E8E8E8)}
|
||||
.x>.body>.gnb>ul>li>a:before{content:"";display:inline-block;width:14px;height:14px;margin:0 4px 0 0;vertical-align:middle;opacity:.75;filter:alpha(opacity=75)}
|
||||
.x>.body>.gnb>ul>li>a:before{content:"";display:inline-block;width:14px;height:14px;margin:-4px 4px 0 0;vertical-align:middle;opacity:.75;filter:alpha(opacity=75)}
|
||||
.x>.body>.gnb>ul>li>a[href$="module=admin"]:before{background-position:-432px 0}
|
||||
.x>.body>.gnb>ul>li>a[href*="act=dispMenuAdminSiteMap"]:before{background-position:0 -24px}
|
||||
.x>.body>.gnb>ul>li>a[href*="act=dispMemberAdminList"]:before{background-position:-168px 0}
|
||||
|
|
@ -116,12 +130,15 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.body>.gnb>ul>li.open>a{font-weight:bold;color:#fff;text-shadow:0 -1px 0 #333;background:#94a55c;background:-webkit-gradient(linear,left top,left bottom,from(#b3d155),to(#94a55c));background:-moz-linear-gradient(top,#b3d155,#94a55c);background:-o-linear-gradient(top,#b3d155,#94a55c)}
|
||||
.x>.body>.gnb>ul>li.active>a{font-weight:bold;color:#fff;text-shadow:none;background:#222;background:-webkit-gradient(linear,left top,left bottom,from(#555),to(#222));background:-moz-linear-gradient(top,#555,#222);background:-o-linear-gradient(top,#555,#222)}
|
||||
/* li>a>span */
|
||||
.x>.body.wide>.gnb>ul>li>a>.tx{display:inline-block;width:1px;height:1px;overflow:hidden}
|
||||
.x>.body>.gnb>ul>li>a>.closeAll,
|
||||
.x>.body.wide>.gnb>ul>li.open>a>.closeAll,
|
||||
.x>.body>.gnb>ul>li.open>a>.openAll{display:none}
|
||||
.x>.body>.gnb>ul>li.open>a>.closeAll{display:inline}
|
||||
/* li>ul */
|
||||
.x>.body>.gnb>ul>li>ul{display:none;margin:0 10px 10px 10px;border-radius:4px}
|
||||
.x>.body>.gnb>ul>li.open>ul{display:block}
|
||||
.x>.body.wide>.gnb>ul>li.open>ul{display:none}
|
||||
/* li>ul>li */
|
||||
.x>.body>.gnb>ul>li>ul>li{border-top:1px solid #ddd;position:relative}
|
||||
.x>.body>.gnb>ul>li>ul>li:first-child{border:0}
|
||||
|
|
@ -136,6 +153,9 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
/* li>ul>li>.action */
|
||||
.x>.body>.gnb>ul>li>ul>li>.remove{position:absolute;top:4px;right:5px}
|
||||
.x>.body>.gnb>ul>li>ul>li>.remove>.x_close{width:20px}
|
||||
@media all and (max-width:980px){
|
||||
.x>.body.wide>.gnb>ul>li>a>.tx{width:auto;height:auto}
|
||||
}
|
||||
/* Dashboard */
|
||||
.x .dashboard{zoom:1}
|
||||
.x .dashboard:after{content:"";display:block;clear:both}
|
||||
|
|
|
|||
34
modules/admin/tpl/css/admin.min.css
vendored
34
modules/admin/tpl/css/admin.min.css
vendored
|
|
@ -51,16 +51,19 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.header{border-radius:5px 5px 0 0;padding:10px 15px;zoom:1;border-bottom:1px solid #ddd;background:#f6f6f6;background:-webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#F1F1F1));background:-moz-linear-gradient(top,#F6F6F6,#F1F1F1);background:-o-linear-gradient(top,#F6F6F6,#F1F1F1)}
|
||||
.x>.header:after{content:"";display:block;clear:both}
|
||||
.x>.body{zoom:1;padding:0 20px 0 240px}
|
||||
.x>.body.wide{padding:0 20px 0 60px}
|
||||
.x>.body:after{content:"";display:block;clear:both}
|
||||
.x>.body>.content{width:100%;padding:1px 0 0 0;float:right;margin:0 0 30px -100%}
|
||||
.x>.body>.content>*:first-child{margin-top:0}
|
||||
.x>.body>.gnb{position:relative;left:-240px;float:left;width:220px;margin:0 -220px 0 0;background:#f4f4f4;box-shadow:2px 0 4px #ddd}
|
||||
.x>.body.wide>.gnb{width:36px;margin:0 -36px 0 0;left:-60px;position:fixed;top:73px;left:10px}
|
||||
@media all and (max-width:980px){
|
||||
.x>.body{padding:0}
|
||||
.x>.body,
|
||||
.x>.body.wide{padding:0}
|
||||
.x>.body>.content{width:auto;padding:1px 10px 0 10px;float:none;margin:0 0 30px 0}
|
||||
.x>.body>.gnb{float:none;width:auto;margin-right:0;left:0;border-radius:0}
|
||||
.x>.body>.gnb,
|
||||
.x>.body.wide>.gnb{float:none;width:auto;margin-right:0;left:0;border-radius:0;position:relative;top:auto;left:auto}
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.x>.header>h1{margin:0 15px 0 0;float:left;text-shadow:0 1px 0 #fff}
|
||||
.x>.header>h1>a{text-decoration:none;color:#333;font-size:24px;line-height:40px;font-family:Arial, Helvetica, sans-serif}
|
||||
|
|
@ -79,7 +82,9 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.header>.account>ul>li>a:focus{text-decoration:underline}
|
||||
.x>.header>.account .lang+#lang{position:absolute;top:20px;left:auto;right:0;min-width:0}
|
||||
@media all and (max-width:480px){
|
||||
.x>.header>.site,
|
||||
.x>.header>.site{margin-top:0}
|
||||
}
|
||||
@media all and (max-width:980px){
|
||||
.x>.header>.account{margin-top:0}
|
||||
}
|
||||
/* Footer */
|
||||
|
|
@ -91,9 +96,18 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.footer .vr{color:#ccc !important}
|
||||
/* GNB */
|
||||
.x>.body>.gnb>.close{background:none;border:0;position:absolute;top:0;left:0;width:100%;height:1px;overflow:hidden;margin:0;padding:0}
|
||||
.x>.body>.gnb ul{margin:0 0 15px 0;padding:0;list-style:none}
|
||||
.x>.body>.gnb>ul{box-shadow:0 2px 4px #ddd}
|
||||
.x>.body>.gnb ul{margin:0;padding:0;list-style:none}
|
||||
.x>.body>.gnb>ul{position:relative;z-index:1;box-shadow:0 2px 4px #ddd}
|
||||
.x>.body>.gnb a{text-decoration:none;text-shadow:0 1px 0 #fff;color:#000;display:block}
|
||||
.x>.body>.gnb>a[href="#gnbNav"]{display:none}
|
||||
@media all and (max-width:980px){
|
||||
.x>.body.mobile>.gnb>ul>li{display:none}
|
||||
.x>.body.mobile>.gnb>ul>li:first-child{display:block}
|
||||
.x>.body.mobile>.gnb.open>ul>li{display:block}
|
||||
.x>.body>.gnb>a[href="#gnbNav"]{display:block;position:absolute;z-index:2;top:0;right:0;line-height:37px;width:44px;white-space:nowrap;font-size:0;border-left:1px solid #ddd}
|
||||
.x>.body>.gnb>a[href="#gnbNav"]:before{content:"";position:absolute;width:1px;height:100%;border-left:1px solid #fff}
|
||||
.x>.body>.gnb>a>i{position:absolute;top:50%;left:50%;margin:-7px 0 0 -7px}
|
||||
}
|
||||
/* li */
|
||||
.x>.body>.gnb>ul>li{background:#94a55c;border-top:1px solid #fff;border-bottom:1px solid #ddd;vertical-align:top;white-space:nowrap}
|
||||
.x>.body>.gnb>ul>li.active{background:#222}
|
||||
|
|
@ -101,7 +115,7 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.body>.gnb>ul>li.active{border-bottom:0;padding:0 0 1px 0}
|
||||
/* li>a */
|
||||
.x>.body>.gnb>ul>li>a{padding:8px 5px 8px 10px;background:#f1f1f1;background:-webkit-gradient(linear,left top,left bottom,from(#F1F1F1),to(#E8E8E8));background:-moz-linear-gradient(top,#F1F1F1,#E8E8E8);background:-o-linear-gradient(top,#F1F1F1,#E8E8E8)}
|
||||
.x>.body>.gnb>ul>li>a:before{content:"";display:inline-block;width:14px;height:14px;margin:0 4px 0 0;vertical-align:middle;opacity:.75;filter:alpha(opacity=75)}
|
||||
.x>.body>.gnb>ul>li>a:before{content:"";display:inline-block;width:14px;height:14px;margin:-4px 4px 0 0;vertical-align:middle;opacity:.75;filter:alpha(opacity=75)}
|
||||
.x>.body>.gnb>ul>li>a[href$="module=admin"]:before{background-position:-432px 0}
|
||||
.x>.body>.gnb>ul>li>a[href*="act=dispMenuAdminSiteMap"]:before{background-position:0 -24px}
|
||||
.x>.body>.gnb>ul>li>a[href*="act=dispMemberAdminList"]:before{background-position:-168px 0}
|
||||
|
|
@ -116,12 +130,15 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x>.body>.gnb>ul>li.open>a{font-weight:bold;color:#fff;text-shadow:0 -1px 0 #333;background:#94a55c;background:-webkit-gradient(linear,left top,left bottom,from(#b3d155),to(#94a55c));background:-moz-linear-gradient(top,#b3d155,#94a55c);background:-o-linear-gradient(top,#b3d155,#94a55c)}
|
||||
.x>.body>.gnb>ul>li.active>a{font-weight:bold;color:#fff;text-shadow:none;background:#222;background:-webkit-gradient(linear,left top,left bottom,from(#555),to(#222));background:-moz-linear-gradient(top,#555,#222);background:-o-linear-gradient(top,#555,#222)}
|
||||
/* li>a>span */
|
||||
.x>.body.wide>.gnb>ul>li>a>.tx{display:inline-block;width:1px;height:1px;overflow:hidden}
|
||||
.x>.body>.gnb>ul>li>a>.closeAll,
|
||||
.x>.body.wide>.gnb>ul>li.open>a>.closeAll,
|
||||
.x>.body>.gnb>ul>li.open>a>.openAll{display:none}
|
||||
.x>.body>.gnb>ul>li.open>a>.closeAll{display:inline}
|
||||
/* li>ul */
|
||||
.x>.body>.gnb>ul>li>ul{display:none;margin:0 10px 10px 10px;border-radius:4px}
|
||||
.x>.body>.gnb>ul>li.open>ul{display:block}
|
||||
.x>.body.wide>.gnb>ul>li.open>ul{display:none}
|
||||
/* li>ul>li */
|
||||
.x>.body>.gnb>ul>li>ul>li{border-top:1px solid #ddd;position:relative}
|
||||
.x>.body>.gnb>ul>li>ul>li:first-child{border:0}
|
||||
|
|
@ -136,6 +153,9 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
/* li>ul>li>.action */
|
||||
.x>.body>.gnb>ul>li>ul>li>.remove{position:absolute;top:4px;right:5px}
|
||||
.x>.body>.gnb>ul>li>ul>li>.remove>.x_close{width:20px}
|
||||
@media all and (max-width:980px){
|
||||
.x>.body.wide>.gnb>ul>li>a>.tx{width:auto;height:auto}
|
||||
}
|
||||
/* Dashboard */
|
||||
.x .dashboard{zoom:1}
|
||||
.x .dashboard:after{content:"";display:block;clear:both}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue