git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2327 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-12 03:59:52 +00:00
commit 8326004cb2
2773 changed files with 91485 additions and 0 deletions

167
common/css/button.css Normal file
View file

@ -0,0 +1,167 @@
/*
http://www.hedgerwow.com/360/dhtml/css-round-button/demo.php
*/
a.button, span.button, del.button {
display:-moz-inline-box;
display:inline-block;
cursor:pointer;
border:none;
font-size:0;
line-height:0;
/*
for Safari, read this first
http://creativebits.org/webdev/safari_background_repeat_bug_fix
*/
background-position:0 -3px;
background-repeat:no-repeat;
height:24px;
text-decoration:none;
color:#2e523b;
font-style:normal;
margin:0 6px 0px 0;
padding:0 10px 0 0;
vertical-align:middle;
padding-top:-2px;
position:relative;
_width:10px;
_overflow-y:hidden;
}
a.button, span.button, del.button, a.button span, span.button button, span.button input, del.button span {
background-image:url(../tpl/images/form_buttons.png);
_background-image:url(../tpl/images/form_buttons.gif);
}
a.button span, span.button button, span.button input, del.button span {
white-space:nowrap;
cursor:pointer;
color:#222;
display:-moz-inline-box;
display:inline-block;
line-height:1;
letter-spacing:0 !important;
font-size:12px !important;
font-style:normal;
background-color:transparent;
background-position:100% -3px;
background-repeat:no-repeat;
height:24px;
padding:4px 11px 0 7px;
margin:0 -18px 0 6px;
border:none;
vertical-align:text-top;
zoom:1;
_position:relative;
_padding:3px 13px 0 4px;
_margin:0 -10px 0 4px;
_display:block;
_top:0;
_right:-5px;
}
*:first-child+html a.button span, span.button button, span.button input, del.button span { padding-top:6px; }
span.button button {
line-height:2.5;/*Opera need this*/
}
html.safari a.button span, html.safari del.button span {
line-height:1.3;
}
html.safari span.button button {
line-height:2.6;
}
html.safari a.button:focus, html.safari span.button button:focus {
outline:none;
}
del.button{
/* cursor:not-allowed; */
background-position:0 -123px;
}
del.button span {
cursor:default;
color:#aaa !important;
background-position:100% -123px;
}
a.button span {
_padding-top:7px;
}
*:first-child+html a.button span { padding-top:7px; }
span.button button, span.button input {
padding:0 6px 0 0;
line-height:2.5;/*Opera need this*/
}
/** optional **/
/*
a.button:visited{
color:#aaa;
}
*/
/*Hover Style*/
a.button:hover, span.button:hover, a.button:focus, a.dom-button-focus, span.button-behavior-hover {
background-position:0 -63px;
color:#222;
text-decoration:none;
}
a.button:hover span, span.button:hover input, span.button:hover button, a.button:focus span, span.button-behavior-hover button, span.button-behavior-hover input {
background-position:100% -63px;
}
a.button:active, a.button:focus span {
color:#444;
}
del.button-behavior-hover, del.button:hover {
background-position:0 -183px;
/* cursor:not-allowed; */
}
del.button-behavior-hover span, del.button:hover span {
background-position:100% -183px;
/* cursor:not-allowed; */
}
/*Optional hack for IE6 to simulate :hover selector*/
span.button button, del.button span, span.button input {
_behavior:expression(
(function(el){
if( typeof( behavior_onMouseEnter) == 'undefined'){
behavior_onMouseEnter = function(el) {
var dEl = this.parentNode;
var sClass = dEl.className ;
dEl.__defaultClassName = sClass ;
dEl.className = sClass + ' button-behavior-hover';
this.setCapture();
};
behavior_onMouseLeave = function(el) {
var dEl = this.parentNode;
dEl.className = dEl.__defaultClassName ;
dEl.__defaultClassName = undefined;
this.releaseCapture();
};
};
el.runtimeStyle.behavior = 'none';
el.onmouseenter = behavior_onMouseEnter;
el.onmouseleave = behavior_onMouseLeave;
}
)(this));
}

79
common/css/default.css Normal file
View file

@ -0,0 +1,79 @@
@charset "utf-8";
/*
Used Hack
IE6 & Below
{ property:value; _property:value; }
IE7 Only
*:first-child+html #selector
IE7 & IE6 & Below
*:first-child+html #selector,
* html #selector {}
*/
/* Special Class Selector */
.fr { float:right; }
.fl { float:left; }
.clear { clear:both; }
.fwB { font-weight:bold;}
.tCenter { text-align:center; }
.tRight { text-align:right; }
.tLeft { text-align:left; }
.gap1 { margin-top:.8em; }
/* default.css - Type Selector Definition */
* { margin:0; padding:0; }
html { width:100%; position:relative;}
body { margin:0; font-size:.75em; font-family:sans-serif;}
img { border:none; }
label { cursor:pointer; }
form { margin:0; padding:0; }
.iePngFix { behavior:url(./common/js/iePngFix.htc); }
.zbxe_info { vertical-align:middle; behavior:url(./common/js/iePngFix.htc); }
/* Input Style Definition */
.inputTypeText { border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; height:1.4em; padding:.2em 0 0 .3em; background:#ffffff; font-size:1em; }
.inputTypeText:hover,
.inputTypeText:focus { background:#f4f4f4; }
.inputTypeTextArea { border:1px solid !important; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6 !important; background:#ffffff; font-size:1em;}
.w40 { width:40px; }
.w60 { width:60px; }
.w80 { width:80px; }
.w100 { width:100px; }
.w120 { width:120px; }
.w140 { width:140px; }
.w200 { width:200px; }
.w300 { width:300px; }
.w400 { width:400px; }
/* editor style */
a.bold { font-weight:bold; }
.editor_blue_text { color: #145ff9; text-decoration:underline; }
.editor_blue_text a { color: #145ff9; text-decoration:underline; }
.editor_red_text { color: #f42126; text-decoration:underline; }
.editor_red_text a { color: #f42126; text-decoration:underline; }
.editor_yellow_text { color: #c9bd00; text-decoration:underline; }
.editor_yellow_text a { color: #c9bd00; text-decoration:underline; }
.editor_green_text { color: #08830B; text-decoration:underline; }
.editor_green_text a { color: #08830B; text-decoration:underline; }
.folder_opener { display: block; }
.folder_closer { display: none; }
.folder_area { display: none; }
.zbxe_widget_output { background-image:url(../tpl/images/widget_text.gif) no-repeat center bottom; display:block;}
.member_signature { margin-top:10px; border:1px solid #DDDDDD; padding:10px; }
#waitingforserverresponse { display:inline; border:2px solid #444444; background-color:#FFFFFF; padding:15px 20px 13px 20px; font-weight:bold; color:#444444; top:40px; left:40px; position:absolute; z-index:100; visibility:hidden; }
#fororiginalimageareabg { z-index:1001; background-color:#FFFFFF; width:100%; height:100%; top:0px; left:0px; position:relative; padding:20px 10px 10px 10px; border:8px solid #DDDDDD; }
#fororiginalimagearea { visibility:hidden; padding:0px; margin:0px; width:100%; height:100%; top:0px; left:0px; position:absolute; z-index:1000; text-align:left; overflow:hidden; }
#fororiginalimage { z-index:1002; }
#closeOriginalImageBtn { position:absolute; right:8px; top:5px; cursor:pointer; width:50px; height:12px; z-index:1003; }
#membermenuarea { position:absolute; left:0px; top:0px; z-index:1003; visibility:hidden; border:2px solid #D9D9D9; background-color:#FFFFFF; padding:0; }
#membermenuarea .box { border:1px solid #CACACA; background-color:#FFFFFF; padding:7px; line-height:22px;}
#membermenuarea .item { color:#333333; cursor:pointer; margin:0; padding:3px 0 3px 18px; white-space:nowrap; height:22px;}
#membermenuarea .item_on { color:#333333; font-weight:bold; margin:0; cursor:pointer; padding:3px 0 3px 18px; height:22px; letter-spacing:-1px; white-space:nowrap;}