mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 14:19:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1816 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
996fc97b7e
commit
c62c515195
8 changed files with 72 additions and 60 deletions
|
|
@ -66,16 +66,16 @@ h4 .view { color:#158692; padding-right:.6em; font:bold .9em Tahoma; background:
|
|||
.buttonTypeA { display:block; cursor:pointer; background:url(../images/buttonTypeACenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;}
|
||||
.buttonTypeA:hover { text-decoration:none;}
|
||||
.buttonTypeA img { vertical-align:middle;}
|
||||
.buttonTypeA input { border:none; cursor:pointer; background:url(../images/white/buttonTypeACenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;border:0px; _position:relative; _top:3px;}
|
||||
.buttonTypeA .leftCap { width:2px; height:24px; background:url(../images/buttonTypeALeft.gif) no-repeat; margin:0 .3em 0 0; position:relative; left:-1px;}
|
||||
.buttonTypeA input { border:none; cursor:pointer; background:url(../images/white/buttonTypeACenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;border:0px; }
|
||||
.buttonTypeA .leftCap { width:2px; height:24px; background:url(../images/buttonTypeALeft.gif) no-repeat; margin:0 .3em 0 0; left:-1px;}
|
||||
.buttonTypeA .rightCap { width:2px; height:24px; background:url(../images/buttonTypeARight.gif) no-repeat; margin:0 -1px 0 .4em;}
|
||||
.buttonTypeA .icon { margin:0 .4em 0 .2em;}
|
||||
|
||||
.buttonTypeB { display:block; cursor:pointer; background:url(../images/buttonTypeBCenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; font-size:.9em; white-space:nowrap;}
|
||||
.buttonTypeB:hover { text-decoration:none;}
|
||||
.buttonTypeB img { vertical-align:middle;}
|
||||
.buttonTypeB input { border:none; cursor:pointer; background:url(../images/white/buttonTypeBCenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;border:0px; _position:relative; _top:4px;}
|
||||
.buttonTypeB .leftCap { width:2px; height:21px; background:url(../images/buttonTypeBLeft.gif) no-repeat; margin:0 .3em 0 0; position:relative; left:-1px;}
|
||||
.buttonTypeB input { border:none; cursor:pointer; background:url(../images/white/buttonTypeBCenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;border:0px; }
|
||||
.buttonTypeB .leftCap { width:2px; height:21px; background:url(../images/buttonTypeBLeft.gif) no-repeat; margin:0 .3em 0 0; left:-1px;}
|
||||
.buttonTypeB .rightCap { width:2px; height:21px; background:url(../images/buttonTypeBRight.gif) no-repeat; margin:0 -1px 0 .4em;}
|
||||
.buttonTypeB .icon { margin:0 .2em;}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@ function doDeleteShortCut(selected_module) {
|
|||
// footer를 화면 크기에 맞춰 설정
|
||||
xAddEventListener(window, 'load', fixAdminLayoutFooter);
|
||||
xAddEventListener(window, 'resize', fixAdminLayoutFooter);
|
||||
function fixAdminLayoutFooter() {
|
||||
var headerHeight = xHeight(xGetElementById('header'));
|
||||
var bodyHeight = xHeight(xGetElementById('cBody'));
|
||||
var footerHeight = xHeight(xGetElementById('footer'));
|
||||
function fixAdminLayoutFooter(height) {
|
||||
var headerHeight = xHeight('header');
|
||||
var bodyHeight = xHeight('cBody');
|
||||
var footerHeight = xHeight('footer');
|
||||
var clientHeight = xClientHeight();
|
||||
var newHeight = clientHeight - footerHeight - headerHeight + 71 + 38;
|
||||
if(typeof(editor_height)!='undefined') newHeight += editor_height;
|
||||
|
||||
if(newHeight<bodyHeight) newHeight = bodyHeight;
|
||||
xHeight(xGetElementById('cBody'), newHeight);
|
||||
if(typeof(height)=='number') newHeight += height;
|
||||
xHeight('cBody', newHeight);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue