- Replaced color picker form control with a more robust version.

This commit is contained in:
JT Smith 2007-07-09 09:03:56 +00:00
parent 6fe068e42d
commit 6e0470771e
1193 changed files with 342 additions and 223 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -0,0 +1,34 @@
.pkg h3 {
padding-left:34px;
font:normal 11px verdana,helvetica,tahoma,sans-serif;
height:18px;
cursor:pointer;
}
h3.collapser-expanded{
background: #fff url(pkg-open.gif) no-repeat 0px -1px;
}
h3.collapser-collapsed {
background: #fff url(pkg-closed.gif) no-repeat 0px -1px;
}
.pkg-body{
margin-left:16px;
font:normal 11px verdana,helvetica,tahoma,sans-serif;
}
#classes a{
font:normal 11px verdana,helvetica,tahoma,sans-serif;
display:block;
text-decoration:none;
height:18px;
color:black;
background: #fff url(class.gif) no-repeat 16px -1px;
padding-left:34px;
-moz-outline:none;
outline:none;
white-space: nowrap;
}
#classes a:hover{
text-decoration: underline;
}
#classes a.ex{
background: #fff url(example.gif) no-repeat 16px -1px;
}

View file

@ -0,0 +1,77 @@
#class .loading-indicator{
font-size:12px;
height:18px;
}
#docs .x-layout-panel-north{
border:0px none;
background:#0000aa url(../../resources/images/default/basic-dialog/hd-sprite.gif) repeat-x 0px -83px;
padding-top:3px;
padding-left:3px;
}
#docs .x-layout-collapsed-west{
background-image: url(collapse-bg.gif);
background-repeat:no-repeat;
background-position:center;
}
#header {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
color:white;
}
.loading-indicator {
font-size:8pt;
background-image:url('../../resources/images/grid/loading.gif');
background-repeat: no-repeat;
background-position:top left;
padding-left:20px;
height:18px;
text-align:left;
}
a#welcome-link{
background:#fff url(docs.gif) no-repeat 0px 0px;
padding-left:18px;
}
a#help-forums{
background:#fff url(forum.gif) no-repeat 16px 0px;
padding-left:34px;
display:block
}
#loading{
position:absolute;
left:45%;
top:40%;
border:1px solid #6593cf;
padding:2px;
background:#c3daf9;
width:150px;
text-align:center;
z-index:20001;
}
#loading .loading-indicator{
border:1px solid #a3bad9;
background:white url(block-bg.gif) repeat-x;
color:#003366;
font:bold 13px tahoma,arial,helvetica;
padding:10px;
margin:0;
}
#classes{
overflow:auto;
padding:5px;
}
#classes a span {
font:normal 11px verdana,helvetica,tahoma,sans-serif;
}
#classes .cls a:hover span {
text-decoration:underline;
color:#003366;
}
#classes .x-tree-selected a span {
background:#c3daf9;
border:1px dashed #99bbe8;
color:#000;
}
#classes .x-tree-selected a:hover span {
text-decoration:none;
color:#000;
}

BIN
www/extras/extjs/docs/resources/docs.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,016 B

148
www/extras/extjs/docs/resources/docs.js vendored Normal file
View file

@ -0,0 +1,148 @@
var Docs = function(){
var layout, center;
var classClicked = function(e, target){
Docs.loadDoc(target.href);
};
return {
init : function(){
// initialize state manager, we will use cookies
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
// create the main layout
layout = new Ext.BorderLayout(document.body, {
north: {
split:false,
initialSize: 32,
titlebar: false
},
west: {
split:true,
initialSize: 250,
minSize: 175,
maxSize: 400,
titlebar: true,
collapsible: true,
animate: true,
useShim:true,
cmargins: {top:2,bottom:2,right:2,left:2}
},
center: {
titlebar: true,
title: 'View Documentation',
autoScroll:false,
tabPosition: 'top',
closeOnTab: true,
//alwaysShowTabs: true,
resizeTabs: true
}
});
// tell the layout not to perform layouts until we're done adding everything
layout.beginUpdate();
layout.add('north', new Ext.ContentPanel('header'));
layout.add('west', new Ext.ContentPanel('classes', {title: 'Documentation Explorer', fitToFrame:true}));
center = layout.getRegion('center');
center.add(new Ext.ContentPanel('main', {fitToFrame:true}));
layout.restoreState();
layout.endUpdate();
var classes = Ext.get('classes');
if(Docs.classData){
var tree = new Ext.tree.TreePanel(classes, {
loader: new Ext.tree.TreeLoader(),
rootVisible:false,
animate:false
});
new Ext.tree.TreeSorter(tree, {folderSort:true,leafAttr:'isClass'});
var root = new Ext.tree.AsyncTreeNode({
text:'Ext Docs',
children: [Docs.classData]
});
tree.setRootNode(root);
tree.on('click', function(n){
if(n.isLeaf()){
Docs.loadDoc('output/'+n.attributes.fullName+'.html');
}
});
tree.render();
}else{
classes.on('click', classClicked, null, {delegate: 'a', stopEvent:true});
classes.select('h3').each(function(el){
var c = new NavNode(el.dom);
if(!/^\s*(?:API Reference|Examples and Demos)\s*$/.test(el.dom.innerHTML)){
c.collapse();
}
});
}
var page = window.location.href.split('#')[1];
if(!page){
page = 'welcome.html';
}
this.loadDoc(page);
// safari and opera have iframe sizing issue, relayout fixes it
if(Ext.isSafari || Ext.isOpera){
layout.layout();
}
var loading = Ext.get('loading');
var mask = Ext.get('loading-mask');
mask.setOpacity(.8);
mask.shift({
xy:loading.getXY(),
width:loading.getWidth(),
height:loading.getHeight(),
remove:true,
duration:1,
opacity:.3,
easing:'bounceOut',
callback : function(){
loading.fadeOut({duration:.2,remove:true});
}
});
},
loadDoc : function(url){
Ext.get('main').dom.src = url;
}
};
}();
Ext.onReady(Docs.init, Docs, true);
/**
* Simple tree node class based on Collapser and predetermined markup.
*/
var NavNode = function(clickEl, collapseEl){
this.clickEl = Ext.get(clickEl);
if(!collapseEl){
collapseEl = this.clickEl.dom.nextSibling;
while(collapseEl.nodeType != 1){
collapseEl = collapseEl.nextSibling;
}
}
this.collapseEl = Ext.get(collapseEl);
this.clickEl.addClass('collapser-expanded');
this.clickEl.mon('click', function(){
this.collapsed === true ?
this.expand() : this.collapse();
}, this, true);
};
NavNode.prototype = {
collapse : function(){
this.collapsed = true;
this.collapseEl.setDisplayed(false);
this.clickEl.replaceClass('collapser-expanded','collapser-collapsed');
},
expand : function(){
this.collapseEl.setDisplayed(true);
this.collapsed = false;
this.collapseEl.setStyle('height', '');
this.clickEl.replaceClass('collapser-collapsed','collapser-expanded');
}
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 881 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 904 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

BIN
www/extras/extjs/docs/resources/plus.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

View file

@ -0,0 +1,206 @@
body {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #000000;
background-color:#FFFFFF;
margin: 0px;
padding: 10px;
}
.body-wrap{
width:95%;
}
.list {list-style:inside square;margin-bottom:10px;}
.list li{padding:2px;}
body, td, th {
font-size: 13px;
}
code {
font-family: "Lucida Console", "Courier New", Courier, monospace;
font-size: 12px;
}
pre {
font-family: "Lucida Console", "Courier New", Courier, monospace;
font-size: 12px;
}
th {
text-align: left;
font-weight: bold;
vertical-align: bottom;
color:black;
padding:3px;
font-weight:bold;
border:1px solid #cccccc;
border-collapse: collapse;
}
.top-tools{
display:none;
}
table {
background-color: white;
}
a {
color: #083772;
}
a:link {
color: #083772;
text-decoration: none;
}
a:visited {
color: #1e4e8f;
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #0000CC;
}
a:active {
text-decoration: none;
color: #1e4e8f;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
font-weight: bold;
margin-top: 3px;
margin-bottom: 3px;
letter-spacing: 1px;
width: 90%;
}
h1 {
font-size: 18px;
}
h2 {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 18px;
padding-top: 20px;
padding-bottom: 5px;
}
h3 {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 16px;
}
h4 {
font-size: 12px;
color: #666666;
}
h5 {
font-size: 11px;
}
.label {
font-weight: bold;
padding-right: 15px;
}
.description{
margin: 10px 0px;
}
.member-table{
width:100%;
margin-bottom:10px;
}
.member-table td{
padding:2px;
vertical-align:top;
padding-right:15px;
}
body .alt{
background:#f1f1f1;
}
.member-table td.micon{
width:20px;
padding:0px;
border-left:1px solid #bbbbbb;
}
.member-table td.msource{
border-right:1px solid #bbbbbb;
width:100px;
}
.mlink{
font-weight:bold;
}
.member-table td.inherited{
background-image: url(inherited.gif);
background-position:2px 2px;
background-repeat: no-repeat;
}
.member-table td.mdesc{
padding-top:0px;
}
.member-table td.micon,.member-table td.mdesc,.member-table td.msource{
border-bottom:1px solid #bbbbbb;
}
.optional{
color:#555555;
}
pre {
background: #F8F8F8;
border: 1px solid #e8e8e8;
border-left-width: 8px;
padding: 0.8em;
margin: 1em ;
margin-right: 0;
}
pre {
font-size: 12px !important;
line-height:14px !important;
padding:5px;
margin-left:0;
}
.detail-wrap{
border:1px solid #bbbbbb;
border-bottom:0px none;
}
.mdetail-head{
margin-top:10px;
}
.mdetail{
padding:7px;
border-bottom:1px solid #bbbbbb;
}
.mdetail h3{
margin: 5px 0px;
font-size:14px;
color:#083772;
}
.mdetail-desc{
margin:8px;
}
.mdetail-def{
font-style: italic;
font-size: 12px;
margin-top:10px;
margin-left:8px;
display:block;
}
.sub-desc{
margin:5px;
margin-left:16px;
}
.mdetail-params{
margin-top:10px;
}
.mdetail-params strong{
font-weight:bold;
display: block;
margin-bottom:3px;
}
.mdetail-params ul{
list-style: inside;
list-style-type: disc;
margin-left:12px;
}
.mdetail-params li{
list-style: inside;
list-style-type: disc;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 0.11.0
*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding: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%;}q:before,q:after{content:'';}

View file

@ -0,0 +1,216 @@
body {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #000000;
background-color:#FFFFFF;
margin: 0px;
padding: 10px;
}
.body-wrap{
width:95%;
}
.list {list-style:inside square;margin-bottom:10px;}
.list li{padding:2px;}
body, td, th {
font-size: 13px;
}
code {
font-family: "Lucida Console", "Courier New", Courier, monospace;
font-size: 12px;
}
pre {
font-family: "Lucida Console", "Courier New", Courier, monospace;
font-size: 12px;
}
th {
text-align: left;
font-weight: bold;
vertical-align: bottom;
background:#1e4e8f url(/deploy/yui-ext/resources/images/basic-dialog/hd-sprite.gif) repeat-x 0px -83px;
color:white;
padding:3px;
}
.top-tools{
float:right;
clear:none;
}
table {
background-color: white;
}
a {
color: #083772;
}
a:link {
color: #083772;
text-decoration: none;
}
a:visited {
color: #1e4e8f;
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #0000CC;
}
a:active {
text-decoration: none;
color: #1e4e8f;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
font-weight: bold;
margin-top: 3px;
margin-bottom: 3px;
letter-spacing: 1px;
width: 90%;
}
h1 {
font-size: 18px;
}
h2 {
font-weight: bold;
font-size: 15px;
padding-top: 20px;
padding-bottom: 5px;
}
h3 {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 16px;
}
h4 {
font-size: 12px;
color: #666666;
}
h5 {
font-size: 11px;
}
.label {
font-weight: bold;
padding-right: 15px;
}
.description{
margin: 10px 0px;
}
.member-table{
width:100%;
margin-bottom:10px;
}
.member-table td{
padding:2px;
vertical-align:top;
padding-right:15px;
}
body .alt{
background:#f1f1f1;
}
.member-table td.micon{
width:20px;
padding:0px;
border-left:1px solid #bbbbbb;
}
.member-table td.msource{
border-right:1px solid #bbbbbb;
width:100px;
}
.mlink{
font-weight:bold;
}
.member-table td.inherited{
background-image: url(inherited.gif);
background-position:2px 2px;
background-repeat: no-repeat;
}
.member-table td.mdesc{
padding-top:0px;
}
.member-table td.micon,.member-table td.mdesc,.member-table td.msource{
border-bottom:1px solid #bbbbbb;
}
.optional{
color:#555555;
}
pre {
background: #F8F8F8;
border: 1px solid #e8e8e8;
border-left-width: 8px;
padding: 0.8em;
margin: 1em ;
margin-right: 0;
font-size: 12px;
line-height:14px;
padding:5px;
margin-left:0;
}
.detail-wrap{
border:1px solid #bbbbbb;
border-bottom:0px none;
}
.mdetail-head{
margin-top:10px;
}
.mdetail{
padding:7px;
border-bottom:1px solid #bbbbbb;
}
.mdetail h3{
margin: 5px 0px;
font-size:14px;
color:#083772;
}
.mdetail-desc{
margin:8px;
}
.mdetail-def{
font-style: italic;
font-size: 12px;
margin-top:10px;
margin-left:8px;
display:block;
}
.sub-desc{
margin:5px;
margin-left:16px;
}
.mdetail-params{
margin-top:10px;
}
.mdetail-params strong{
font-weight:bold;
display: block;
margin-bottom:3px;
}
.mdetail-params ul{
list-style: inside;
list-style-type: disc;
margin-left:12px;
}
.mdetail-params li{
list-style: inside;
list-style-type: disc;
}
pre.highlighted code{
font-family:courier,"courier new",monospace;
font-size:12px !important;
color:#000;
}
.highlighted b{
font-weight: normal;
color: #800080;
}
.highlighted i,.highlighted i b{
font-weight: normal;
font-style: normal;
color: #999;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1,61 @@
body{
background:url(welcome-bg.gif) top left;
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #000000;
margin: 0px;
font-size:13px;
padding-bottom:15px;
}
a {
color: #083772;
}
a:link {
color: #083772;
text-decoration: none;
}
a:visited {
color: #1e4e8f;
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #0000CC;
}
.col{
width:45%;
float:left;
margin-left:10px;
}
.block{
border:3px solid #B2D0F7;
background:white url(block-bg.gif) repeat-x;
margin-top:10px;
}
.block-title{
color: #083772;
font-weight: bold;
padding: 4px;
padding-left: 8px;
}
.block-body{
padding:8px;
padding-top:2px;
}
.block-body b{
color:#333333;
font-size:11px;
}
.block-body em {
display:block;
margin-top:5px;
font-size:11px;
color:gray;
text-align:right;
}
.list{
list-style: square;
padding-left:20px;
margin-top:5px;
}