update YUI to 2.8.0r4
This commit is contained in:
parent
27f474ec64
commit
2d28e0c0ba
2007 changed files with 344487 additions and 210070 deletions
|
|
@ -1,124 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
|
||||
<title>Yahoo! UI Library - Tree Control</title>
|
||||
<link rel="stylesheet" type="text/css" href="http://us.js2.yimg.com/us.js.yimg.com/lib/common/css/fonts_2.0.0-b3.css" />
|
||||
<link rel="stylesheet" type="text/css" href="http://us.js2.yimg.com/us.js.yimg.com/lib/common/css/grids_2.0.0-b3.css" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/screen.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/local/tree.css" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="pageTitle">
|
||||
<h3>Tree Control</h3>
|
||||
</div>
|
||||
|
||||
<?php include('inc-alljs.php'); ?>
|
||||
<?php include('inc-rightbar.php'); ?>
|
||||
|
||||
<div id="content">
|
||||
<form id="mainForm" action="javscript:;">
|
||||
<div class="newsItem">
|
||||
<h3>Default TreeView Widget</h3>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
|
||||
<div id="expandcontractdiv">
|
||||
<a href="javascript:tree.expandAll()">Expand all</a>
|
||||
<a href="javascript:tree.collapseAll()">Collapse all</a>
|
||||
</div>
|
||||
<div id="treeDiv1"></div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="footerContainer">
|
||||
<div id="footer">
|
||||
<p> </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var tree;
|
||||
(function() {
|
||||
|
||||
var nodeIndex, nodes=[], callback = null;
|
||||
|
||||
function treeInit() {
|
||||
buildRandomTextNodeTree();
|
||||
}
|
||||
|
||||
function buildRandomTextNodeTree() {
|
||||
tree = new YAHOO.widget.TreeView("treeDiv1");
|
||||
|
||||
for (var i = 0; i < Math.floor((Math.random()*4) + 20); i++) {
|
||||
var tmpNode = new YAHOO.widget.TextNode("label-" + i, tree.getRoot(), false);
|
||||
// tmpNode.collapse();
|
||||
// tmpNode.expand();
|
||||
buildRandomTextBranch(tmpNode);
|
||||
// buildLargeBranch(tmpNode);
|
||||
}
|
||||
|
||||
// Expand and collapse happen prior to the actual expand/collapse,
|
||||
// and can be used to cancel the operation
|
||||
tree.subscribe("expand", function(node) {
|
||||
//alert(node.index + " was expanded");
|
||||
// return false; // return false to cancel the expand
|
||||
});
|
||||
|
||||
tree.subscribe("collapse", function(node) {
|
||||
//alert(node.index + " was collapsed");
|
||||
});
|
||||
|
||||
// Trees with TextNodes will fire an event for when the label is clicked:
|
||||
tree.subscribe("labelClick", function(node) {
|
||||
//alert(node.index + " label was clicked");
|
||||
});
|
||||
|
||||
|
||||
tree.draw();
|
||||
YAHOO.log("Nodes " + tree._nodes.length);
|
||||
}
|
||||
|
||||
function buildLargeBranch(node) {
|
||||
if (node.depth < 10) {
|
||||
YAHOO.log("buildRandomTextBranch: " + node.index);
|
||||
for ( var i = 0; i < 10; i++ ) {
|
||||
new YAHOO.widget.TextNode(node.label + "-" + i, node, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function buildRandomTextBranch(node) {
|
||||
if (node.depth < 10) {
|
||||
YAHOO.log("buildRandomTextBranch: " + node.index);
|
||||
for ( var i = 0; i < Math.floor(Math.random() * 4) ; i++ ) {
|
||||
var tmpNode = new YAHOO.widget.TextNode(node.label + "-" + i, node, false);
|
||||
buildRandomTextBranch(tmpNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
YAHOO.util.Event.addListener(window, "load", treeInit);
|
||||
|
||||
})();
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
@ -1,164 +1,76 @@
|
|||
(function() {
|
||||
var Event=YAHOO.util.Event,Dom=YAHOO.util.Dom,oACDS,oAutoComp;
|
||||
|
||||
Cookie = {
|
||||
var Event=YAHOO.util.Event,
|
||||
Dom=YAHOO.util.Dom,
|
||||
oACDS, oAutoComp,
|
||||
show = {
|
||||
'private': false,
|
||||
'protected': false,
|
||||
'deprecated': false
|
||||
};
|
||||
|
||||
set: function(key, val, o){
|
||||
o = o||{};
|
||||
val = encodeURIComponent(val);
|
||||
if (o.domain) {
|
||||
val += '; domain=' + o.domain;
|
||||
}
|
||||
if (o.path) {
|
||||
val += '; path=' + o.path;
|
||||
}
|
||||
if (YAHOO.lang.isNumber(o.duration)) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + o.duration*24*60*60*1000);
|
||||
val += '; expires=' + date.toGMTString();
|
||||
}
|
||||
if (o.secure) {
|
||||
val += '; secure';
|
||||
}
|
||||
document.cookie = key + '=' + val;
|
||||
},
|
||||
|
||||
get: function(key){
|
||||
var m = document.cookie.match('(?:^|;)\\s*?' + key + '=([^;]*)');
|
||||
return (m) ? decodeURIComponent(m[1]) : null;
|
||||
},
|
||||
|
||||
remove: function(key){
|
||||
return this.set(key, "", {duration: -1});
|
||||
}
|
||||
}
|
||||
|
||||
var showPrivate=(Cookie.get("showPrivate")=="true");
|
||||
var showProtected=(Cookie.get("showProtected")=="true");
|
||||
var showDeprecated=(Cookie.get("showDeprecated")=="true");
|
||||
|
||||
//alert(Cookie.get("showPrivate"));
|
||||
//alert(Cookie.get("showProtected"));
|
||||
//var s="",style=(YAHOO.lang.ua.ie)?"":"inherit";
|
||||
var s="", style;
|
||||
|
||||
style=(showPrivate) ? "inherit" : "none";
|
||||
s='#doc3 .private { display:' + style + '; }';
|
||||
|
||||
style=(showProtected) ? "inherit" : "none";
|
||||
s+='\n#doc3 .protected { display:' + style + '; }';
|
||||
|
||||
style=(showDeprecated) ? "inherit" : "none";
|
||||
s+='\n#doc3 .deprecated { display:' + style + '; }';
|
||||
|
||||
if (s.length > 0) {
|
||||
var el=document.createElement("style");
|
||||
//el.innerHTML=s;
|
||||
|
||||
el.setAttribute("type", "text/css");
|
||||
if(el.styleSheet) {
|
||||
el.styleSheet.cssText = s;
|
||||
Event.onAvailable('yui-classopts-form', function() {
|
||||
//Checkboxes are available..
|
||||
var handleClick = function(e) {
|
||||
var id, checked = false;
|
||||
if (YAHOO.lang.isString(e)) {
|
||||
id = e;
|
||||
} else {
|
||||
var txt = document.createTextNode(s);
|
||||
el.appendChild(txt);
|
||||
var tar = Event.getTarget(e);
|
||||
id = tar.id;
|
||||
}
|
||||
var el = Dom.get(id);
|
||||
checked = el.checked;
|
||||
|
||||
document.getElementsByTagName("head")[0].appendChild(el);
|
||||
var className = id;
|
||||
if (checked) {
|
||||
show[id.replace('show_', '')] = true;
|
||||
Dom.addClass(document.body, className);
|
||||
YAHOO.util.Cookie.setSub('yuidoc', id, 'checked');
|
||||
} else {
|
||||
show[id.replace('show_', '')] = false;
|
||||
Dom.removeClass(document.body, className);
|
||||
YAHOO.util.Cookie.setSub('yuidoc', id, '');
|
||||
}
|
||||
};
|
||||
|
||||
var checkCookie = function(id) {
|
||||
var value = YAHOO.util.Cookie.getSub('yuidoc', id),
|
||||
el = Dom.get(id), checked = (value === 'checked');;
|
||||
|
||||
/*
|
||||
if (value === 'checked') {
|
||||
el.checked = true;
|
||||
} else {
|
||||
el.checked = false;
|
||||
}
|
||||
*/
|
||||
|
||||
el.checked = checked;
|
||||
return checked;
|
||||
};
|
||||
|
||||
var els = ['show_deprecated', 'show_protected', 'show_private'],
|
||||
reapplyHash = false;
|
||||
|
||||
for (var i = 0; i < els.length; i++) {
|
||||
Event.on(els[i], 'click', handleClick);
|
||||
reapplyHash = checkCookie(els[i]) || reapplyHash;
|
||||
handleClick(els[i]);
|
||||
}
|
||||
|
||||
function showHidePrivate(show) {
|
||||
showHide("private", show);
|
||||
showPrivate=show;
|
||||
Cookie.set("showPrivate", show, 2);
|
||||
}
|
||||
|
||||
function showHideProtected(show) {
|
||||
showHide("protected", show);
|
||||
showProtected=show;
|
||||
Cookie.set("showProtected", show, 2);
|
||||
}
|
||||
|
||||
function showHideDeprecated(show) {
|
||||
showHide("deprecated", show);
|
||||
showDeprecated=show;
|
||||
Cookie.set("showDeprecated", show, 2);
|
||||
}
|
||||
|
||||
function showHide(type, show) {
|
||||
var className=(show) ? "": "none";
|
||||
var els=Dom.getElementsByClassName(type);
|
||||
|
||||
// console.log('showhide ' + type + ', ' + els.length);
|
||||
|
||||
for (var i=0,l=els.length;i<l;i=i+1) {
|
||||
//try {
|
||||
Dom.setStyle(els[i], "display", className);
|
||||
//} catch(e) {}
|
||||
// If we dynamically show private/protected/etc items during
|
||||
// load, we need to reapply anchors so that the search feature
|
||||
// works correctly for items that are initially hidden.
|
||||
if (reapplyHash) {
|
||||
var dl = document.location, hash = dl.hash;
|
||||
if (hash) {
|
||||
dl.hash = hash;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Event.onAvailable("showprivate", function() {
|
||||
var el = Dom.get("showprivate");
|
||||
if (el) {
|
||||
|
||||
if (showPrivate) {
|
||||
el.checked=true;
|
||||
Cookie.set("showPrivate", true, 2);
|
||||
}
|
||||
|
||||
// get cookie state, show private if needed
|
||||
showHidePrivate(el.checked);
|
||||
|
||||
|
||||
// set up handler
|
||||
Event.on(el, "click", function(e) {
|
||||
showHidePrivate(this.checked);
|
||||
});
|
||||
}
|
||||
|
||||
el = Dom.get("showprotected");
|
||||
if (el) {
|
||||
|
||||
if (showProtected) {
|
||||
el.checked=true;
|
||||
Cookie.set("showProtected", true, 2);
|
||||
}
|
||||
|
||||
// get cookie state, show private if needed
|
||||
showHideProtected(el.checked);
|
||||
|
||||
// set up handler
|
||||
Event.on(el, "click", function(e) {
|
||||
showHideProtected(this.checked);
|
||||
});
|
||||
}
|
||||
|
||||
el = Dom.get("showdeprecated");
|
||||
if (el) {
|
||||
|
||||
if (showDeprecated) {
|
||||
el.checked=true;
|
||||
Cookie.set("showDeprecated", true, 2);
|
||||
}
|
||||
|
||||
// get cookie state, show private if needed
|
||||
showHideDeprecated(el.checked);
|
||||
|
||||
// set up handler
|
||||
Event.on(el, "click", function(e) {
|
||||
showHideDeprecated(this.checked);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
var propsort = function(a, b) {
|
||||
//return (a.url > b.url) ? 1 : ((a.url < b.url) ? -1 : 0);
|
||||
return (a.name.toLowerCase() > b.name.toLowerCase()) ? 1 : ((a.name.toLowerCase() < b.name.toLowerCase()) ? -1 : 0);
|
||||
}
|
||||
|
||||
//var allprops = ALL_YUI_PROPS;
|
||||
// allprops.sort(propsort);
|
||||
|
||||
//Starting the AutoComplete code
|
||||
var getResults = function(query) {
|
||||
var results = [];
|
||||
if(query && query.length > 0) {
|
||||
|
|
@ -169,11 +81,11 @@
|
|||
|
||||
var prop = ALL_YUI_PROPS[i];
|
||||
|
||||
if (!showProtected && prop.access == "protected") {
|
||||
if (!show['protected'] && prop.access == "protected") {
|
||||
// skip
|
||||
} else if (!showPrivate && prop.access == "private") {
|
||||
} else if (!show['private'] && prop.access == "private") {
|
||||
// skip
|
||||
} else if (!showDeprecated && prop.deprecated) {
|
||||
} else if (!show['deprecated'] && prop.deprecated) {
|
||||
// skip
|
||||
} else {
|
||||
var s = (prop.host + "." + prop.name).toLowerCase();
|
||||
|
|
@ -196,19 +108,10 @@
|
|||
if(aResults.length == 0) {
|
||||
if (query.length > 0) {
|
||||
oAutoComp.setBody("<div id=\"resultsdefault\">Not found</div>");
|
||||
} else {
|
||||
//oAutoComp.setBody("<div id=\"resultsdefault\">Start typing to find a property/method/event/config " +
|
||||
//" or browse a module by clicking a link on the left.</div>");
|
||||
oAutoComp.setBody("<div id=\"resultsdefault\">Start typing to find a property/method/event/config</div>");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var myOnContainerCollapse = function(sType, aArgs) {
|
||||
var oAutoComp = aArgs[0];
|
||||
oAutoComp.setBody("<div id=\"resultsdefault\">Start typing to find a property/method/event/config</div>");
|
||||
};
|
||||
|
||||
var myOnItemSelect = function(sType, aArgs) {
|
||||
var ac = aArgs[0];
|
||||
var item = aArgs[2];
|
||||
|
|
@ -224,7 +127,7 @@
|
|||
|
||||
// Instantiate AutoComplete
|
||||
oAutoComp = new YAHOO.widget.AutoComplete('searchinput','searchresults', oACDS);
|
||||
oAutoComp.alwaysShowContainer = true;
|
||||
//oAutoComp.alwaysShowContainer = true;
|
||||
oAutoComp.queryDelay = 0.2;
|
||||
oAutoComp.maxResultsDisplayed = 200;
|
||||
oAutoComp.minQueryLength = 0;
|
||||
|
|
@ -235,7 +138,6 @@
|
|||
|
||||
// Subscribe to Custom Events
|
||||
oAutoComp.dataReturnEvent.subscribe(myOnDataReturn);
|
||||
oAutoComp.containerCollapseEvent.subscribe(myOnContainerCollapse);
|
||||
oAutoComp.itemSelectEvent.subscribe(myOnItemSelect);
|
||||
|
||||
// Set initial content in the container
|
||||
|
|
@ -246,5 +148,15 @@
|
|||
var validateForm = function() {
|
||||
return false;
|
||||
};
|
||||
|
||||
YAHOO.util.Event.onAvailable('classTab', function() {
|
||||
var tabs = new YAHOO.widget.TabView('classTab');
|
||||
});
|
||||
/*
|
||||
YAHOO.util.Event.onAvailable('codeTree', function() {
|
||||
var tree1 = new YAHOO.widget.TreeView('codeTree');
|
||||
tree1.render();
|
||||
});
|
||||
*/
|
||||
|
||||
})();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,18 +1,25 @@
|
|||
/*2.2.0*/
|
||||
/*reset.css*/body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;}
|
||||
/*fonts.css*/body{font:13px arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}pre, code {font:115% monospace;*font-size:100%;}body * {line-height:1.22em;}
|
||||
/*grids.css*/body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.3em;min-width:750px;}#doc2{width:73.074em;*width:71.313em;min-width:950px;}#doc3{margin:auto 10px;width:auto;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.3207em;*width:12.0106em;}.yui-t1 #yui-main .yui-b{margin-left:13.3207em;*margin-left:13.0106em;}.yui-t2 .yui-b{float:left;width:13.8456em;*width:13.512em;}.yui-t2 #yui-main .yui-b{margin-left:14.8456em;*margin-left:14.512em;}.yui-t3 .yui-b{float:left;width:23.0759em;*width:22.52em;}.yui-t3 #yui-main .yui-b{margin-left:24.0759em;*margin-left:23.52em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.512em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.512em;}.yui-t5 .yui-b{float:right;width:18.4608em;*width:18.016em;}.yui-t5 #yui-main .yui-b{margin-right:19.4608em;*margin-right:19.016em;}.yui-t6 .yui-b{float:right;width:23.0759em;*width:22.52em;}.yui-t6 #yui-main .yui-b{margin-right:24.0759em;*margin-right:23.52em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-g .yui-u,.yui-g .yui-g,.yui-gc .yui-u,.yui-gc .yui-g .yui-u,.yui-ge .yui-u,.yui-gf .yui-u{float:right;display:inline;}.yui-g div.first,.yui-gc div.first,.yui-gc div.first div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first{float:left;}.yui-g .yui-u,.yui-g .yui-g{width:49.1%;}.yui-g .yui-g .yui-u,.yui-gc .yui-g .yui-u{width:48.1%;}.yui-gb .yui-u,.yui-gc .yui-u,.yui-gd .yui-u{float:left;margin-left:2%;*margin-left:1.895%;width:32%;}.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-gc div.first,.yui-gd .yui-u{width:66%;}.yui-gd div.first{width:32%;}.yui-ge .yui-u{width:24%;}.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}.yui-gf div.first{width:24%;}.yui-ge div.first{width:74.2%;}#bd:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;}
|
||||
|
||||
body { background-color: #fff; }
|
||||
|
||||
body { background-color: #ECF0F6; }
|
||||
|
||||
/* main page */
|
||||
a:link { color: #00F; }
|
||||
a:link { color: #003399; }
|
||||
a:visited { color: #003399;}
|
||||
|
||||
#doc3 #hd {margin-bottom:1em}
|
||||
#doc3 #hd a { text-decoration: none; }
|
||||
#doc3 #hd h1 { color: #545454; font:170%/50px arial Bold; padding: 0px 0 8px 130px; background: url(yui.png) left center no-repeat; }
|
||||
#doc3 #hd h3 { background: #947DB2; color: #FFF; font: 110%/1.22em arial; padding: 5px 10px; margin: 0 0 7px 0; }
|
||||
#doc3 #hd { margin-bottom:1em; position: relative; zoom: 1; }
|
||||
#doc3 #hd h1 { color: #545454; font-size: 170%; padding: 0px 0 8px 150px; background: url(yui.png) 15px 9px no-repeat; height: 60px; font-weight: bold; }
|
||||
#doc3 #hd h1 a { position: relative; top: 14px; }
|
||||
#doc3 #hd a { text-decoration: none; color: black; }
|
||||
#doc3 #hd h3 {
|
||||
background: #98AAB1; background-image: url(bg_hd.gif); color: #000; font-size: 100%; padding: 4px 10px; margin: 0 0 7px 0;
|
||||
border: 1px solid #98AAB1;
|
||||
}
|
||||
#ft hr {
|
||||
display: none;
|
||||
}
|
||||
#ft {
|
||||
background: #98AAB1; background-image: url(bg_hd.gif); color: #000; font-size: 100%; padding: 4px 10px; margin: 7px 0 0 0; border: 1px solid #98AAB1;
|
||||
}
|
||||
#doc3 #hd h3 A { color: #FFF; text-decoration: none; }
|
||||
#doc3 #hd .breadcrumbs { font-size: 85%; margin-bottom:10px;}
|
||||
#doc3 #hd .subtitle {position: absolute; right:1em; padding: 0px;margin:0px}
|
||||
|
|
@ -25,56 +32,86 @@ a:visited { color: #003399;}
|
|||
#doc3 .detail .deprecated strong { color:#441054; }
|
||||
#doc3 code, pre {font-size:85%}
|
||||
|
||||
/*
|
||||
#doc3 .private {
|
||||
display:none;
|
||||
#doc3 #hd h1 {
|
||||
border: 1px solid #98AAB1;
|
||||
background-color: #fff;
|
||||
margin-bottom: .5em;
|
||||
|
||||
}
|
||||
#bd {
|
||||
border: 1px solid #98AAB1;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#doc3 .protected {
|
||||
display:none;
|
||||
.submodules dd {
|
||||
font-size: 93%;
|
||||
font-weight: italic;
|
||||
}
|
||||
*/
|
||||
|
||||
#doc3 #classopts { font-size: 85%; float:right; margin:2px; padding: 2px; background-color:#cdc6d5;border: 1px solid #947db2;}
|
||||
|
||||
#doc3 .classopts { font-size: 85%; float:right; margin:2px; padding: 2px; background-color:#ECF0F6;border: 1px solid #98AAB1;}
|
||||
#yui-classopts-form fieldset legend { display: none; }
|
||||
|
||||
/* undo reset.css styles for description block formatting */
|
||||
#doc3 .description dl { margin: 5px 0 10px 0; }
|
||||
#doc3 .description ul { padding: 10px 0 10px 28px; font-size: 90%; list-style: disc}
|
||||
#doc3 .description li { list-style: disc}
|
||||
#doc3 .description p { padding-bottom: 10px}
|
||||
#doc3 .description strong { font-weight: bold;}
|
||||
#doc3 .description em {padding: 2px; background-color: #EFECCA}
|
||||
#doc3 pre { padding: 10px;}
|
||||
|
||||
#doc3 .summary { margin: 0px 0 10px 0; padding:10px; border: 1px solid #cccccc; background-color: #eeeeee; }
|
||||
#doc3 .summary { margin: 0px 10px 10px 0; padding:10px; background-color:#ECF0F6; border:1px solid #98AAB1; }
|
||||
#doc3 .extends {font-weight: normal; font-size: 90%}
|
||||
|
||||
#doc3 .nav {min-height: 400px;}
|
||||
#doc3 .nav .module {width:100%; background:#EEEEEE; margin: 0 0 15px 0; padding: 0; overflow:hidden}
|
||||
#doc3 .nav .module h4 { padding: 3px 5px; border-bottom: #947DB2 1px solid; }
|
||||
#doc3 .nav .module {
|
||||
width:100%;
|
||||
border-right: 1px solid #98AAB1;
|
||||
border-bottom: 1px solid #98AAB1;
|
||||
padding: 0; overflow:hidden;
|
||||
}
|
||||
#doc3 .nav .module h4 {
|
||||
padding: 3px 5px;
|
||||
border-bottom: 1px solid #98AAB1;
|
||||
background-image: url(bg_hd.gif);
|
||||
}
|
||||
#doc3 .nav .module h4 A { color: #000; text-decoration: none; }
|
||||
#doc3 .nav .module .content { padding: 2px; }
|
||||
#doc3 .nav .module UL.content LI { font-size: 90%; }
|
||||
#doc3 .nav .module UL.content A { text-decoration: none; }
|
||||
#doc3 .nav .module LI { padding: 2px 4px 2px 4px; }
|
||||
#doc3 .nav .module LI.selected { background: #CDC6D5; }
|
||||
#doc3 .nav .module UL.content A { text-decoration: none; color: black; display: block; padding: 2px 4px 2px 4px; }
|
||||
#doc3 .nav .module LI,
|
||||
#doc3 .nav .module LI A {
|
||||
zoom: 1;
|
||||
}
|
||||
#doc3 .nav .module LI.selected A,
|
||||
#doc3 .nav .module LI A:hover {
|
||||
background-color: #ECF0F6;
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
#doc3 .section { margin: 0 0 16px 0; }
|
||||
#doc3 .section { margin: 0 7px 7px 0; }
|
||||
#doc3 .section strong { font-weight: bold;}
|
||||
#doc3 .section hr { border: none 0; border-top: 1px solid #ccc; }
|
||||
#doc3 .section h4 { font-size:110%;}
|
||||
#doc3 .section h3 { background: #947DB2; width: 100%; color: #FFF; padding: 3px; margin: 0 0 7px 0; }
|
||||
#doc3 .section h3 { background: #98AAB1; background-image: url(bg_hd.gif); width: 98%; color: #000; padding: 3px; margin: 0 0 7px 0;
|
||||
border: 1px solid #98AAB1;
|
||||
|
||||
}
|
||||
#doc3 .section h3 .top { font-size: 60%; font-weight: normal; width: 100%; font-family: verdana; padding-left: 20px; }
|
||||
#doc3 .section h3 .top A { color: #FFF; text-decoration: none; }
|
||||
#doc3 .section h3 .top A { color: #000; text-decoration: none; }
|
||||
|
||||
#doc3 .section.details .content { padding: 0 0 0 10px; }
|
||||
#doc3 .section.details .description { padding: 10px 0 0 20px; }
|
||||
#doc3 .section.details .description dt { font-weight: bold; }
|
||||
#doc3 .section.details .description td { border:1px solid #ccc; margin:2px;padding:2px;}
|
||||
|
||||
#doc3 .inheritance { padding:10px; background-color:#eeeeee }
|
||||
#doc3 .inheritance { padding:10px; background-color:#ECF0F6; border:1px solid #98AAB1; }
|
||||
#doc3 .inheritance h4 { font-size: 100%;}
|
||||
|
||||
/* index page autocomplete */
|
||||
#propertysearch {;position:absolute;margin:1em;width:35em;}/* set width of widget here*/
|
||||
/*
|
||||
#propertysearch {;position:absolute;margin:1em;width:35em;}
|
||||
#searchinput {position:absolute;width:100%;height:1.4em;}
|
||||
#searchresults {position:absolute;top:1.7em;width:100%;}
|
||||
#searchresults .yui-ac-content {position:absolute;top:4px; left:0px; width:100%;height:20em;border:1px solid #aaa;background:#fff;overflow:auto;overflow-x:hidden;z-index:9050;}
|
||||
|
|
@ -84,6 +121,63 @@ a:visited { color: #003399;}
|
|||
#searchresults li.yui-ac-highlight {background:#D1C6DA;}
|
||||
#searchresults li em { position:absolute; width:44%; overflow:hidden; color:#654D6C;}
|
||||
#searchresults li span { position:relative; left:46% }
|
||||
*/
|
||||
|
||||
#propertysearch {
|
||||
width: 25em;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
bottom: -4px;
|
||||
}
|
||||
#searchinput {
|
||||
width: 83%;
|
||||
height: 1.4em;
|
||||
}
|
||||
#searchresults {
|
||||
position: absolute;
|
||||
right: 25em;
|
||||
top: 25px;
|
||||
height: 0;
|
||||
}
|
||||
#searchresults .yui-ac-content {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 25em;
|
||||
height: 20em;
|
||||
border: 1px solid #98AAB1;
|
||||
background: #fff;
|
||||
overflow: auto;
|
||||
overflow-x: hidden;
|
||||
z-index: 9050;
|
||||
}
|
||||
#searchresults li.yui-ac-highlight {
|
||||
background-color: #ECF0F6;
|
||||
}
|
||||
#searchresults li em {
|
||||
width:44%;
|
||||
overflow: hidden;
|
||||
color: #98AAB1;
|
||||
}
|
||||
|
||||
.deprecated, .private, .protected {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.show_deprecated .deprecated,
|
||||
body.show_private .private,
|
||||
body.show_protected .protected {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#splash_classList ul {
|
||||
margin: 1em;
|
||||
margin-left:2em;
|
||||
}
|
||||
#splash_classList ul li {
|
||||
list-style: disc outside;
|
||||
}
|
||||
|
||||
|
||||
/* source code view */
|
||||
#srcout {min-width: 580px; }
|
||||
|
|
|
|||
BIN
www/extras/yui/docs/assets/bg_hd.gif
Normal file
BIN
www/extras/yui/docs/assets/bg_hd.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 96 B |
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue