upgrade to yui 2.5.1

This commit is contained in:
JT Smith 2008-03-25 16:13:25 +00:00
parent e00050ad1c
commit ff7d72becc
1632 changed files with 812103 additions and 0 deletions

291
www/extras/yui/README Normal file
View file

@ -0,0 +1,291 @@
YUI Library Release Notes
*** version 2.5.1 ***
This update contains the following:
- additions to the Yahoo, Uploader, Editor, and DataSource components to improve YUI support for Adobe AIR
- Douglas Crockford's fix for a security vulnerability where the JSON parser could be tricked into processing
an unquoted string as quoted which could allow unsafe scripts to be evaled
- a new aggregate file Ñ yuiloader-dom-event.js that is the ideal baseline rollup to use to be able to
lazy-load any part of YUI on-demand
- over 60 bug fixes
Please see the README file for each component in the build directory for specific updates since
version 2.5.0.
*** version 2.5.0 ***
This release introduces six new components into YUI:
* Cookie Utility
* ImageCropper
* Layout Manager
* Resize
* Uploader
* Profiler Viewer
These new components are introduced as "beta", with the exception of the Charts
WidgeUploadert which is released as an experimental component. Please see the YUI FAQ
on the definition of beta and experimental at:
http://developer.yahoo.com/yui/articles/faq/#beta
In addition to new components, you'll find updates and bug fixes throughout the
library.
*** version 2.4.1 ***
This update contains one change. We have reverted the change to the way the Event Utility cleans up
events in its page unload handler that was introduced in 2.4.0. The change resulted in some events
not being properly unloaded, which in turn resulted in IE-specific memory leaks in some YUI components
including the Menu Control and controls in the Container Family.
*** version 2.4.0 ***
This release introduces five new components into YUI:
* Selector
* Charts Widget
* Get Utility
* Profiler
* JSON Utility
These new components are introduced as "beta", with the exception of the Charts
Widget which is released as an experimental component. Please see the YUI FAQ
on the definition of beta and experimental at:
http://developer.yahoo.com/yui/articles/faq/#beta
In addition to new components, you'll find updates and bug fixes throughout the
library.
*** version 2.3.1 ***
This update contains general fixes to the YUI library. Please see the README
file for each component in the build directory for specific updates since
version 2.3.0.
*** version 2.3.0 ***
This release introduces six new components into YUI:
* Base CSS
* Color Picker Control
* ImageLoader Utility
* Rich Text Editor
* YUI Loader Utility
* YUI Test Utility
These new components are introduced as "beta", with the exception of ImageLoader
Utility which is released as an experimental component. Please see the YUI
FAQ on the definition of beta and experimental at:
http://developer.yahoo.com/yui/articles/faq/#beta
In addition to new components, you'll find updates and bug fixes throughout the
library.
*** version 2.2.2 ***
This update contains general fixes to the YUI library. Please see the
README file for each component in the build directory for specific updates since
version 2.2.1.
*** version 2.2.1 ***
This update contains general fixes to the YUI library. Please see the
README file for each component in the build directory for specific updates since
version 2.2.0.
*** version 2.2.0 ***
This release synchronizes the SourceForge version with Yahoo!'s version of YUI
-- version number 2.2.0. Please see the following blog article for information
on this specific version increment at:
http://www.yuiblog.com/blog/2007/02/20/yui-220-released
The following new components are introduced with this release:
* Button
* DataTable
* Browser History Manager
The following components are now available as utilities:
* Element
* DataSource
These new components are introduced as "beta", with the exception of Browser
History Manager as an experimental component. Please see the YUI FAQ on the
definition of beta and experimental at:
http://developer.yahoo.com/yui/articles/faq/#beta
* CSS customizations *
Calendar, Container, and Menu have been revised to allow image customizations
through their respective CSS files. Please refer to each component's README to
see the full details on affected properties.
Additional details for fixes and updates can be found in the README files for
each updated component. All YUI API cheatsheets have been updated for the
current version and can be found at: yui/docs/assets/cheatsheets.zip.
*** version 0.12.2 ***
This update contains general fixes to the YUI library. Please see the
README file for each component in the build directory for specific updates since
version 0.12.1. As part of the 0.12.2 update, a number of corrections have been
made to functional examples that were configured incorrectly in 0.12.1.
*** version 0.12.1 ***
This update contains general fixes to the YUI library. Please see the
README file for each component in the build directory for specific updates since
version 0.12.0.
Beginning with this release, all YUI minification will be performed with JSMin(
http://www.crockford.com/javascript/jsmin.html). Line breaks will be preserved.
*** version 0.12.0 ***
This version introduces the Tabview widget as well as general fixes to the YUI
library. Additional details can be found in the README files for each updated
component. All YUI API cheatsheets have been updated for the current version
and can be found at: yui/docs/assets/cheatsheets.zip.
* documentation *
The YUI API documentation format is revised with this release. This new
format -- now a flat file structure under yui/docs/ -- implements the YUI
AutoComplete widget on the main landing page to allow keyword searching of YUI.
It also contains the full API documentation for all YUI components along with
the following categories of data for each component(if applicable):
* Inheritance hierarchy for extensions and subclasses.
* YUI dependencies
* Properties and methods
* Events
* Configuration attributes.
* concatenated files *
For convenience, three additional, minified variations of YUI are now available
for your use:
* reset-fonts-grids.css
* yahoo-dom-event.js
* utilities.js
* API changes *
There are interface changes to the Calendar widget. Please see the 0.12.0
Calendar upgrade guide at http:// developer.yahoo.com/yui/calendar/upgrade.html
to see if this update affects your Calendar implementation and instructions on
upgrading to version 0.12.0.
*** version 0.11.4 ***
This update contains some priority bug fixes to the following components:
* Yahoo
* Container
* Drag and Drop
* Event
Additional details can be found in the README files for each updated component.
*** version 0.11.3 ***
This update contains general fixes to the YUI library. Please see the
README file for each component in the build directory for updates and fixes
since version 0.11.2.
*** version 0.11.2 ***
This update contains a high-priority fix to Drag and Drop that prevents text
selection. Additional details can be found in the README file for:
* Drag and Drop
*** version 0.11.1 ***
Release 0.11.1 addresses some high-priority bugs reported in the recently
released version 0.11.0. Additional details can be found in the README files for
each updated component:
* Animation
* Dom
* Drag and Drop
* Connection Manager
* Container
*** version 0.11.0 ***
This version introduces the Logger widget. The YUI cheatsheets for version
0.11.0 and 0.10.0 are also included in this distribution under docs/assets.
Please see the README file for each component in the build directory for
updates and fixes since version 0.10.0.
*** version 0.10.0 ***
In this release, the directory structure has been modified to provide more
component organization. This is the new format:
yui/
|
-- build/
| |
| -- dom/
| |
| | -- assets/
| |
| | -- dom.js
| |
-- docs/
| |
| -- dom/
| |
-- examples/
| |
| -- dom/
| |
| | -- img/
Notice there are three immediate directories under the
root YUI. They are:
*build/*
This directory contains the source files for each YUI component, and each
component is presented as a sub-directory under build/. Notice that there are
generally two source files: component.js and component-min.js. The "component"
source is the raw, commented build and "component-min" is the minified version
of the same file with comments and whitespace removed. With some components,
there is an assets sub-directory. CSS and image dependencies for each
component are stored in its assets sub-directory.
Note: If a component makes use of images, the image source path in the
component's CSS file will point to Akamai. The physical images are also
available in the assets/ directory for local availability. Please modify the
CSS image references if you wish to use your own image assets.
*docs/*
This directory contains the jsdoc-generated API reference for every YUI
component. Each component is presented as a sub-directory under docs/.
*examples/*
This directory contains functional examples for each component in the YUI
Library. The examples are not part of the formal distribution; rather,
they provide demonstrations of each component in use. Each example uses YUI
Library source files from the build/ directory, while all example-specific
dependencies are stored in sub-directories (e.g. examples/dom/img).
Some components, including the AutoComplete Control and Connection Manager,
make use of PHP to implement certain examples.
For example:
In yui/examples/dom, the dom.js source file and all YUI .js dependencies
are drawn from yui/build/ directories. All other example-specific sources are
stored as sub-directories: yui/examples/dom/css and yui/examples/dom/img.
Each functional example is also available and functional on
developer.yahoo.com/yui/. They reproduced here as part of the distribution
for your convenience.

32
www/extras/yui/assets/YUIexamples.js vendored Normal file
View file

@ -0,0 +1,32 @@
//Create namespace:
YAHOO.namespace("yui.examples");
//Only instantiate logger stuff if the page has loaded in logger mode:
if((YAHOO.widget.LogReader)&&(YAHOO.util.Dom.get("loggerDiv"))) {
//Create Logger instance for example page:
YAHOO.yui.examples.exampleLogger = new YAHOO.widget.LogReader("loggerDiv");
//Logger comes up a bit more cleanly if its container has an approximate
//height and is visibility:hidden intil after init;
YAHOO.yui.examples.loggerInit = function() {
YAHOO.util.Dom.setStyle("loggerDiv", "height", "auto");
YAHOO.util.Dom.setStyle("loggerDiv", "visibility", "visible");
}
YAHOO.util.Event.onDOMReady(YAHOO.yui.examples.loggerInit);
}
//instantiate buttons:
YAHOO.yui.examples.onLinkButtonsMarkupReady = function() {
//if the logger is in use, enable its button:
if (YAHOO.util.Dom.get("loggerLink")) {
var loggerButton = new YAHOO.widget.Button("loggerLink");
}
//if a new window button is present, initialize it:
if (YAHOO.util.Dom.get("newWindowLink")) {
var newWindowButton = new YAHOO.widget.Button("newWindowLink");
}
}
//wait until loggerDiv is present; the window buttons will have loaded
//by then as well:
YAHOO.util.Event.onDOMReady(YAHOO.yui.examples.onLinkButtonsMarkupReady);

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

View file

@ -0,0 +1,190 @@
/* Give syntax-highlighting textareas some height for unsupported browsers */
textarea.JScript, textarea.HTML, textarea.XML {height:10em;}
/* Main style for the table */
.dp-highlighter {
width: 100%;
overflow: auto;
line-height: 100% !important;
margin:0 0 1em 0;
}
.dp-highlighter table {
width:99% !important;
margin: 2px 0px 2px 0px !important;
border-collapse: collapse;
border-bottom: 2px solid #eee;
background-color: #fff;
}
.dp-highlighter tbody.hide { display: none; }
.dp-highlighter tbody.show { display: table-row-group; _display: block; }
.dp-highlighter td
{
font-family: Courier New;
font-size: 11px;
}
/* Styles for the tools */
.dp-highlighter .tools-corner {
background-color: #eee;
font-size: 9px;
}
.dp-highlighter .tools {
background-color: #eee;
padding: 3px 8px 3px 10px;
border-bottom: 1px solid gray;
font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif;
color: silver;
}
.dp-highlighter .tools-corner {
background-color: #eee;
}
.dp-highlighter .tools a {
font-size: 9px;
color: gray;
text-decoration: none;
}
.dp-highlighter .tools a:hover {
color: red;
text-decoration: underline;
}
/* Gutter with line number */
.dp-highlighter .gutter {
padding-right: 5px;
padding-left: 10px;
width: 5px;
background-color: #eee;
border-right: 1px solid gray;
color: gray;
text-align: right;
vertical-align: top;
}
/* Single line style */
.dp-highlighter .line1, .line2 {
padding-left: 10px;
/*border-bottom: 1px solid #F7F7F7;*/
white-space:nowrap;
}
.dp-highlighter .line2 {
/*background-color: #F7F7F7;*/
}
/* About dialog styles */
.dp-about {
background-color: #fff;
margin: 0px;
}
.dp-about table {
width: 100%;
height: 100%;
font-size: 11px;
font-family: Tahoma, Verdana, Arial, sans-serif !important;
}
.dp-about td {
padding: 10px;
vertical-align: top;
}
.dp-about .copy {
border-bottom: 1px solid #ACA899;
height: 95%;
}
.dp-about .title {
color: red;
font-weight: bold;
}
.dp-about .para {
margin-bottom: 4px;
}
.dp-about .footer {
background-color: #ECEADB;
border-top: 1px solid #fff;
text-align: right;
}
.dp-about .close {
font-size: 11px;
font-family: Tahoma, Verdana, Arial, sans-serif !important;
background-color: #ECEADB;
width: 60px;
height: 22px;
}
/* Language specific styles */
.dp-c {}
.dp-c .comment { color: green; }
.dp-c .string { color: blue; }
.dp-c .preprocessor { color: gray; }
.dp-c .keyword { color: blue; }
.dp-c .vars { color: #d00; }
/*
.dp-vb {}
.dp-vb .comment { color: green; }
.dp-vb .string { color: blue; }
.dp-vb .preprocessor { color: gray; }
.dp-vb .keyword { color: blue; }
.dp-sql {}
.dp-sql .comment { color: green; }
.dp-sql .string { color: red; }
.dp-sql .keyword { color: blue; }
.dp-sql .func { color: #ff1493; }
.dp-sql .op { color: #808080; }
*/
.dp-xml {}
.dp-xml .cdata { color: #ff1493; }
.dp-xml .comments { color: green; }
.dp-xml .tag { color: blue; }
.dp-xml .tag-name { color: black; font-weight: bold; }
.dp-xml .attribute { color: red; }
.dp-xml .attribute-value { color: blue; }
/*
.dp-delphi {}
.dp-delphi .comment { color: #008200; font-style: italic; }
.dp-delphi .string { color: blue; }
.dp-delphi .number { color: blue; }
.dp-delphi .directive { color: #008284; }
.dp-delphi .keyword { font-weight: bold; color: navy; }
.dp-delphi .vars { color: #000; }
.dp-py {}
.dp-py .comment { color: green; }
.dp-py .string { color: red; }
.dp-py .docstring { color: brown; }
.dp-py .keyword { color: blue; font-weight: bold;}
.dp-py .builtins { color: #ff1493; }
.dp-py .magicmethods { color: #808080; }
.dp-py .exceptions { color: brown; }
.dp-py .types { color: brown; font-style: italic; }
.dp-py .commonlibs { color: #8A2BE2; font-style: italic; }*/
.dp-css .keyword { color: red; }
.dp-css .value { color: #ff1493; }
.dp-css .comment { color: green; }
.dp-css .string { color: blue; }
.dp-css .preprocessor { color: gray; }
.dp-css .keyword { color: blue; }
.dp-css .vars { color: #d00; }
.dp-css .colors { font-weight: bold; }

View file

@ -0,0 +1,805 @@
/**
* Code Syntax Highlighter.
* Version 1.3.0
* Copyright (C) 2004 Alex Gorbatchev.
* http://www.dreamprojections.com/syntaxhighlighter/
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General
* Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
//
// create namespaces
//
var dp = {
sh : // dp.sh
{
Utils : {}, // dp.sh.Utils
Brushes : {}, // dp.sh.Brushes
Strings : {},
Version : '1.3.0'
}
};
dp.sh.Strings = {
AboutDialog : '<html><head><title>About...</title></head><body class="dp-about"><table cellspacing="0"><tr><td class="copy"><p class="title">dp.SyntaxHighlighter</div><div class="para">Version: {V}</p><p><a href="http://www.dreamprojections.com/syntaxhighlighter/?ref=about" target="_blank">http://www.dreamprojections.com/SyntaxHighlighter</a></p>&copy;2004-2005 Alex Gorbatchev. All right reserved.</td></tr><tr><td class="footer"><input type="button" class="close" value="OK" onClick="window.close()"/></td></tr></table></body></html>',
// tools
ExpandCode : '+ expand code',
ViewPlain : 'view plain',
Print : 'print',
CopyToClipboard : 'copy to clipboard',
About : '?',
CopiedToClipboard : 'The code is in your clipboard now.'
};
dp.SyntaxHighlighter = dp.sh;
//
// Dialog and toolbar functions
//
dp.sh.Utils.Expand = function(sender)
{
var table = sender;
var span = sender;
// find the span in which the text label and pipe contained so we can hide it
while(span != null && span.tagName != 'SPAN')
span = span.parentNode;
// find the table
while(table != null && table.tagName != 'TABLE')
table = table.parentNode;
// remove the 'expand code' button
span.parentNode.removeChild(span);
table.tBodies[0].className = 'show';
table.parentNode.style.height = '100%'; // containing div isn't getting updated properly when the TBODY is shown
}
// opens a new windows and puts the original unformatted source code inside.
dp.sh.Utils.ViewSource = function(sender)
{
var code = sender.parentNode.originalCode;
var wnd = window.open('', '_blank', 'width=750, height=400, location=0, resizable=1, menubar=0, scrollbars=1');
code = code.replace(/</g, '&lt;');
wnd.document.write('<pre>' + code + '</pre>');
wnd.document.close();
}
// copies the original source code in to the clipboard (IE only)
dp.sh.Utils.ToClipboard = function(sender)
{
var code = sender.parentNode.originalCode;
// This works only for IE. There's a way to make it work with Mozilla as well,
// but it requires security settings changed on the client, which isn't by
// default, so 99% of users won't have it working anyways.
if(window.clipboardData)
{
window.clipboardData.setData('text', code);
alert(dp.sh.Strings.CopiedToClipboard);
}
}
// creates an invisible iframe, puts the original source code inside and prints it
dp.sh.Utils.PrintSource = function(sender)
{
var td = sender.parentNode;
var code = td.processedCode;
var iframe = document.createElement('IFRAME');
var doc = null;
var wnd =
// this hides the iframe
iframe.style.cssText = 'position:absolute; width:0px; height:0px; left:-5px; top:-5px;';
td.appendChild(iframe);
doc = iframe.contentWindow.document;
code = code.replace(/</g, '&lt;');
doc.open();
doc.write('<pre>' + code + '</pre>');
doc.close();
iframe.contentWindow.focus();
iframe.contentWindow.print();
td.removeChild(iframe);
}
dp.sh.Utils.About = function()
{
var wnd = window.open('', '_blank', 'dialog,width=320,height=150,scrollbars=0');
var doc = wnd.document;
var styles = document.getElementsByTagName('style');
var links = document.getElementsByTagName('link');
doc.write(dp.sh.Strings.AboutDialog.replace('{V}', dp.sh.Version));
// copy over ALL the styles from the parent page
for(var i = 0; i < styles.length; i++)
doc.write('<style>' + styles[i].innerHTML + '</style>');
for(var i = 0; i < links.length; i++)
if(links[i].rel.toLowerCase() == 'stylesheet')
doc.write('<link type="text/css" rel="stylesheet" href="' + links[i].href + '"></link>');
doc.close();
wnd.focus();
}
//
// Match object
//
dp.sh.Match = function(value, index, css)
{
this.value = value;
this.index = index;
this.length = value.length;
this.css = css;
}
//
// Highlighter object
//
dp.sh.Highlighter = function()
{
this.addGutter = true;
this.addControls = true;
this.collapse = false;
this.tabsToSpaces = true;
}
// static callback for the match sorting
dp.sh.Highlighter.SortCallback = function(m1, m2)
{
// sort matches by index first
if(m1.index < m2.index)
return -1;
else if(m1.index > m2.index)
return 1;
else
{
// if index is the same, sort by length
if(m1.length < m2.length)
return -1;
else if(m1.length > m2.length)
return 1;
}
return 0;
}
// gets a list of all matches for a given regular expression
dp.sh.Highlighter.prototype.GetMatches = function(regex, css)
{
var index = 0;
var match = null;
while((match = regex.exec(this.code)) != null)
{
this.matches[this.matches.length] = new dp.sh.Match(match[0], match.index, css);
}
}
dp.sh.Highlighter.prototype.AddBit = function(str, css)
{
var span = document.createElement('span');
str = str.replace(/&/g, '&amp;');
str = str.replace(/ /g, '&nbsp;');
str = str.replace(/</g, '&lt;');
str = str.replace(/\n/gm, '&nbsp;<br>');
// when adding a piece of code, check to see if it has line breaks in it
// and if it does, wrap individual line breaks with span tags
if(css != null)
{
var regex = new RegExp('<br>', 'gi');
if(regex.test(str))
{
var lines = str.split('&nbsp;<br>');
str = '';
for(var i = 0; i < lines.length; i++)
{
span = document.createElement('SPAN');
span.className = css;
span.innerHTML = lines[i];
this.div.appendChild(span);
// don't add a <BR> for the last line
if(i + 1 < lines.length)
this.div.appendChild(document.createElement('BR'));
}
}
else
{
span.className = css;
span.innerHTML = str;
this.div.appendChild(span);
}
}
else
{
span.innerHTML = str;
this.div.appendChild(span);
}
}
// checks if one match is inside any other match
dp.sh.Highlighter.prototype.IsInside = function(match)
{
if(match == null || match.length == 0)
return;
for(var i = 0; i < this.matches.length; i++)
{
var c = this.matches[i];
if(c == null)
continue;
if((match.index > c.index) && (match.index <= c.index + c.length))
return true;
}
return false;
}
dp.sh.Highlighter.prototype.ProcessRegexList = function()
{
for(var i = 0; i < this.regexList.length; i++)
this.GetMatches(this.regexList[i].regex, this.regexList[i].css);
}
dp.sh.Highlighter.prototype.ProcessSmartTabs = function(code)
{
var lines = code.split('\n');
var result = '';
var tabSize = 4;
var tab = '\t';
// This function inserts specified amount of spaces in the string
// where a tab is while removing that given tab.
function InsertSpaces(line, pos, count)
{
var left = line.substr(0, pos);
var right = line.substr(pos + 1, line.length); // pos + 1 will get rid of the tab
var spaces = '';
for(var i = 0; i < count; i++)
spaces += ' ';
return left + spaces + right;
}
// This function process one line for 'smart tabs'
function ProcessLine(line, tabSize)
{
if(line.indexOf(tab) == -1)
return line;
var pos = 0;
while((pos = line.indexOf(tab)) != -1)
{
// This is pretty much all there is to the 'smart tabs' logic.
// Based on the position within the line and size of a tab,
// calculate the amount of spaces we need to insert.
var spaces = tabSize - pos % tabSize;
line = InsertSpaces(line, pos, spaces);
}
return line;
}
// Go through all the lines and do the 'smart tabs' magic.
for(var i = 0; i < lines.length; i++)
result += ProcessLine(lines[i], tabSize) + '\n';
return result;
}
dp.sh.Highlighter.prototype.SwitchToTable = function()
{
// thanks to Lachlan Donald from SitePoint.com for this <br/> tag fix.
var html = this.div.innerHTML.replace(/<(br)\/?>/gi, '\n');
var lines = html.split('\n');
var row = null;
var cell = null;
var tBody = null;
var html = '';
var pipe = ' | ';
// creates an anchor to a utility
function UtilHref(util, text)
{
return '<a href="#" onclick="dp.sh.Utils.' + util + '(this); return false;">' + text + '</a>';
}
tBody = document.createElement('TBODY'); // can be created and all others go to tBodies collection.
this.table.appendChild(tBody);
if(this.addGutter == true)
{
row = tBody.insertRow(-1);
cell = row.insertCell(-1);
cell.className = 'tools-corner';
}
if(this.addControls == true)
{
var tHead = document.createElement('THEAD'); // controls will be placed in here
this.table.appendChild(tHead);
row = tHead.insertRow(-1);
// add corner if there's a gutter
if(this.addGutter == true)
{
cell = row.insertCell(-1);
cell.className = 'tools-corner';
}
cell = row.insertCell(-1);
// preserve some variables for the controls
cell.originalCode = this.originalCode;
cell.processedCode = this.code;
cell.className = 'tools';
if(this.collapse == true)
{
tBody.className = 'hide';
cell.innerHTML += '<span><b>' + UtilHref('Expand', dp.sh.Strings.ExpandCode) + '</b>' + pipe + '</span>';
}
cell.innerHTML += UtilHref('ViewSource', dp.sh.Strings.ViewPlain) + pipe + UtilHref('PrintSource', dp.sh.Strings.Print);
// IE has this clipboard object which is easy enough to use
if(window.clipboardData)
cell.innerHTML += pipe + UtilHref('ToClipboard', dp.sh.Strings.CopyToClipboard);
cell.innerHTML += pipe + UtilHref('About', dp.sh.Strings.About);
}
for(var i = 0, lineIndex = this.firstLine; i < lines.length - 1; i++, lineIndex++)
{
row = tBody.insertRow(-1);
if(this.addGutter == true)
{
cell = row.insertCell(-1);
cell.className = 'gutter';
cell.innerHTML = lineIndex;
}
cell = row.insertCell(-1);
cell.className = 'line' + (i % 2 + 1); // uses .line1 and .line2 css styles for alternating lines
cell.innerHTML = lines[i];
}
this.div.innerHTML = '';
}
dp.sh.Highlighter.prototype.Highlight = function(code)
{
function Trim(str)
{
return str.replace(/^\s*(.*?)[\s\n]*$/g, '$1');
}
function Chop(str)
{
return str.replace(/\n*$/, '').replace(/^\n*/, '');
}
function Unindent(str)
{
var lines = str.split('\n');
var indents = new Array();
var regex = new RegExp('^\\s*', 'g');
var min = 1000;
// go through every line and check for common number of indents
for(var i = 0; i < lines.length && min > 0; i++)
{
if(Trim(lines[i]).length == 0)
continue;
var matches = regex.exec(lines[i]);
if(matches != null && matches.length > 0)
min = Math.min(matches[0].length, min);
}
// trim minimum common number of white space from the begining of every line
if(min > 0)
for(var i = 0; i < lines.length; i++)
lines[i] = lines[i].substr(min);
return lines.join('\n');
}
// This function returns a portions of the string from pos1 to pos2 inclusive
function Copy(string, pos1, pos2)
{
return string.substr(pos1, pos2 - pos1);
}
var pos = 0;
this.originalCode = code;
this.code = Chop(Unindent(code));
this.div = document.createElement('DIV');
this.table = document.createElement('TABLE');
this.matches = new Array();
if(this.CssClass != null)
this.table.className = this.CssClass;
// replace tabs with spaces
if(this.tabsToSpaces == true)
this.code = this.ProcessSmartTabs(this.code);
this.table.border = 0;
this.table.cellSpacing = 0;
this.table.cellPadding = 0;
this.ProcessRegexList();
// if no matches found, add entire code as plain text
if(this.matches.length == 0)
{
this.AddBit(this.code, null);
this.SwitchToTable();
return;
}
// sort the matches
this.matches = this.matches.sort(dp.sh.Highlighter.SortCallback);
// The following loop checks to see if any of the matches are inside
// of other matches. This process would get rid of highligting strings
// inside comments, keywords inside strings and so on.
for(var i = 0; i < this.matches.length; i++)
if(this.IsInside(this.matches[i]))
this.matches[i] = null;
// Finally, go through the final list of matches and pull the all
// together adding everything in between that isn't a match.
for(var i = 0; i < this.matches.length; i++)
{
var match = this.matches[i];
if(match == null || match.length == 0)
continue;
this.AddBit(Copy(this.code, pos, match.index), null);
this.AddBit(match.value, match.css);
pos = match.index + match.length;
}
this.AddBit(this.code.substr(pos), null);
this.SwitchToTable();
}
dp.sh.Highlighter.prototype.GetKeywords = function(str)
{
return '\\b' + str.replace(/ /g, '\\b|\\b') + '\\b';
}
// highlightes all elements identified by name and gets source code from specified property
dp.sh.HighlightAll = function(name, showGutter /* optional */, showControls /* optional */, collapseAll /* optional */, firstLine /* optional */)
{
function FindValue()
{
var a = arguments;
for(var i = 0; i < a.length; i++)
{
if(a[i] == null)
continue;
if(typeof(a[i]) == 'string' && a[i] != '')
return a[i] + '';
if(typeof(a[i]) == 'object' && a[i].value != '')
return a[i].value + '';
}
return null;
}
function IsOptionSet(value, list)
{
for(var i = 0; i < list.length; i++)
if(list[i] == value)
return true;
return false;
}
function GetOptionValue(name, list, defaultValue)
{
var regex = new RegExp('^' + name + '\\[(\\w+)\\]$', 'gi');
var matches = null;
for(var i = 0; i < list.length; i++)
if((matches = regex.exec(list[i])) != null)
return matches[1];
return defaultValue;
}
var elements = document.getElementsByName(name);
var highlighter = null;
var registered = new Object();
var propertyName = 'value';
// if no code blocks found, leave
if(elements == null)
return;
// register all brushes
for(var brush in dp.sh.Brushes)
{
var aliases = dp.sh.Brushes[brush].Aliases;
if(aliases == null)
continue;
for(var i = 0; i < aliases.length; i++)
registered[aliases[i]] = brush;
}
for(var i = 0; i < elements.length; i++)
{
var element = elements[i];
var options = FindValue(
element.attributes['class'], element.className,
element.attributes['language'], element.language
);
var language = '';
if(options == null)
continue;
options = options.split(':');
language = options[0].toLowerCase();
if(registered[language] == null)
continue;
// instantiate a brush
highlighter = new dp.sh.Brushes[registered[language]]();
// hide the original element
element.style.display = 'none';
highlighter.addGutter = (showGutter == null) ? !IsOptionSet('nogutter', options) : showGutter;
highlighter.addControls = (showControls == null) ? !IsOptionSet('nocontrols', options) : showControls;
highlighter.collapse = (collapseAll == null) ? IsOptionSet('collapse', options) : collapseAll;
// first line idea comes from Andrew Collington, thanks!
highlighter.firstLine = (firstLine == null) ? parseInt(GetOptionValue('firstline', options, 1)) : firstLine;
highlighter.Highlight(element[propertyName]);
// place the result table inside a div
var div = document.createElement('DIV');
div.className = 'dp-highlighter';
div.appendChild(highlighter.table);
element.parentNode.insertBefore(div, element);
}
}
dp.sh.Brushes.Xml = function()
{
this.CssClass = 'dp-xml';
}
dp.sh.Brushes.Xml.prototype = new dp.sh.Highlighter();
dp.sh.Brushes.Xml.Aliases = ['xml', 'xhtml', 'xslt', 'html', 'xhtml'];
dp.sh.Brushes.Xml.prototype.ProcessRegexList = function()
{
function push(array, value)
{
array[array.length] = value;
}
/* If only there was a way to get index of a group within a match, the whole XML
could be matched with the expression looking something like that:
(<!\[CDATA\[\s*.*\s*\]\]>)
| (<!--\s*.*\s*?-->)
| (<)*(\w+)*\s*(\w+)\s*=\s*(".*?"|'.*?'|\w+)(/*>)*
| (</?)(.*?)(/?>)
*/
var index = 0;
var match = null;
var regex = null;
// Match CDATA in the following format <![ ... [ ... ]]>
// <\!\[[\w\s]*?\[(.|\s)*?\]\]>
this.GetMatches(new RegExp('<\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\]>', 'gm'), 'cdata');
// Match comments
// <!--\s*.*\s*?-->
this.GetMatches(new RegExp('<!--\\s*.*\\s*?-->', 'gm'), 'comments');
// Match attributes and their values
// (\w+)\s*=\s*(".*?"|\'.*?\'|\w+)*
regex = new RegExp('([\\w-\.]+)\\s*=\\s*(".*?"|\'.*?\'|\\w+)*', 'gm');
while((match = regex.exec(this.code)) != null)
{
push(this.matches, new dp.sh.Match(match[1], match.index, 'attribute'));
// if xml is invalid and attribute has no property value, ignore it
if(match[2] != undefined)
{
push(this.matches, new dp.sh.Match(match[2], match.index + match[0].indexOf(match[2]), 'attribute-value'));
}
}
// Match opening and closing tag brackets
// </*\?*(?!\!)|/*\?*>
this.GetMatches(new RegExp('</*\\?*(?!\\!)|/*\\?*>', 'gm'), 'tag');
// Match tag names
// </*\?*\s*(\w+)
regex = new RegExp('</*\\?*\\s*([\\w-\.]+)', 'gm');
while((match = regex.exec(this.code)) != null)
{
push(this.matches, new dp.sh.Match(match[1], match.index + match[0].indexOf(match[1]), 'tag-name'));
}
}
dp.sh.Brushes.Php = function()
{
var keywords = 'and or xor __FILE__ __LINE__ array as break case ' +
'cfunction class const continue declare default die do echo else ' +
'elseif empty enddeclare endfor endforeach endif endswitch endwhile eval exit ' +
'extends for foreach function global if include include_once isset list ' +
'new old_function print require require_once return static switch unset use ' +
'var while __FUNCTION__ __CLASS__';
this.regexList = [
{ regex: new RegExp('//.*$', 'gm'), css: 'comment' }, // one line comments
{ regex: new RegExp('/\\*[\\s\\S]*?\\*/', 'g'), css: 'comment' }, // multiline comments
{ regex: new RegExp('"(?:[^"\n]|[\"])*?"', 'g'), css: 'string' }, // double quoted strings
{ regex: new RegExp("'(?:[^'\n]|[\'])*?'", 'g'), css: 'string' }, // single quoted strings
{ regex: new RegExp('\\$\\w+', 'g'), css: 'vars' }, // variables
{ regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // keyword
];
this.CssClass = 'dp-c';
}
dp.sh.Brushes.Php.prototype = new dp.sh.Highlighter();
dp.sh.Brushes.Php.Aliases = ['php'];
dp.sh.Brushes.JScript = function()
{
var keywords = 'abstract boolean break byte case catch char class const continue debugger ' +
'default delete do double else enum export extends false final finally float ' +
'for function goto if implements import in instanceof int interface long native ' +
'new null package private protected public return short static super switch ' +
'synchronized this throw throws transient true try typeof var void volatile while with';
this.regexList = [
{ regex: new RegExp('//.*$', 'gm'), css: 'comment' }, // one line comments
{ regex: new RegExp('/\\*[\\s\\S]*?\\*/', 'g'), css: 'comment' }, // multiline comments
{ regex: new RegExp('"(?:[^"\n]|[\"])*?"', 'g'), css: 'string' }, // double quoted strings
{ regex: new RegExp("'(?:[^'\n]|[\'])*?'", 'g'), css: 'string' }, // single quoted strings
{ regex: new RegExp('^\\s*#.*', 'gm'), css: 'preprocessor' }, // preprocessor tags like #region and #endregion
{ regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // keywords
];
this.CssClass = 'dp-c';
}
dp.sh.Brushes.JScript.prototype = new dp.sh.Highlighter();
dp.sh.Brushes.JScript.Aliases = ['js', 'jscript', 'javascript'];
dp.sh.Brushes.CSS = function() {
//Not used yet - added to values
var tags = 'abbr acronym address applet area a b base basefont bdo big blockquote body br button ' +
'caption center cite code col colgroup dd del dfn dir div dl dt em fieldset form frame frameset h1 h2 h3 h4 h5 h6 head hr html img i ' +
'iframe img input ins isindex kbd label legend li link map menu meta noframes noscript ol optgroup option p param pre q s samp script select ' +
'span strike strong style sub sup table tbody td textarea tfoot th thead title tr tt ul u';
var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
'height letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
'outline-color outline-style outline-width outline overflow-x overflow-y overflow padding-top padding-right padding-bottom padding-left padding page ' +
'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
'quotes richness right left bottom top size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
'table-layout text-align text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index zoom important after filter opacity';
var values = 'progid:DXImageTransform.Microsoft.AlphaImageLoader src sizingMethod alpha opacity ' +
'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder both bottom braille capitalize center center-left center-right circle close-quote code collapse compact condensed '+
'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
'gray green groove handheld hebrew help hidden hide high higher inline-table inline inset inside invert italic justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
'outside overline pointer portrait print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
this.regexList = [
{ regex: new RegExp('//.*$', 'gm'), css: 'comment' }, // one line comments
{ regex: new RegExp('/\\*[\\s\\S]*?\\*/', 'g'), css: 'comment' }, // multiline comments
{ regex: new RegExp('"(?:[^"\n]|[\"])*?"', 'g'), css: 'string' }, // double quoted strings
{ regex: new RegExp("'(?:[^'\n]|[\'])*?'", 'g'), css: 'string' }, // single quoted strings
{ regex: new RegExp('^\\s*.*{', 'gm'), css: 'preprocessor' }, // everything before a {
{ regex: new RegExp('}', 'gm'), css: 'preprocessor' }, // The }
{ regex: new RegExp(this.GetKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
{ regex: new RegExp(this.GetValuesCSS(values), 'gm'), css: 'value' }, // values
{ regex: new RegExp('(-?\\d+)(\.\\d+)?(px|em|pt|\:|\%|)', 'g'), css: 'value' } //Sizes
];
//Not used any more
/*
{ regex: new RegExp('(-?\\d+)(\.\\d+)', 'g'), css: 'value' }, //Plain Numbers
{ regex: new RegExp('(0(?=;))', 'g'), css: 'value' } //Number 0
{ regex: new RegExp('\([.]\)', 'gm'), css: 'string' }, // Things in parenthesis
{ regex: new RegExp('\\#[a-zA-Z0-9]{3,6}', 'g'), css: 'colors' }, // html colors
{ regex: new RegExp(this.GetKeywords(tags), 'g'), css: 'tags' }, // keywords
*/
this.CssClass = 'dp-css';
}
dp.sh.Highlighter.prototype.GetKeywordsCSS = function(str) {
//var str = '\\b' + str.replace(/ /g, '(?=:)\\b|\\b') + '\:\\b';
var str = '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
//console.log(str);
return str;
}
dp.sh.Highlighter.prototype.GetValuesCSS = function(str) {
var str = '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
//console.log(str);
return str;
}
dp.sh.Brushes.CSS.prototype = new dp.sh.Highlighter();
dp.sh.Brushes.CSS.Aliases = ['css'];

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -0,0 +1,295 @@
/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.4.0
*/
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,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;}li{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;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}legend{color:#000;}
body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.301em;min-width:750px;}#doc2{width:73.074em;*width:71.313em;}#doc3{margin:auto 10px;width:auto;}#doc4{width:74.923em;*width:73.117em;}.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-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gb .yui-u,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{float:left;margin-left:2%;width:32%;}.yui-gb .yui-gb .yui-u,.yui-gb .yui-gc .yui-u{*margin-left:1.8%;_margin-left:4%;}.yui-g .yui-gb .yui-u{_margin-left:.8%;}.yui-gb .yui-u{float:right;}.yui-gb div.first{margin-left:0;float:left;}.yui-g .yui-gb div.first,.yui-gb .yui-gb div.first{*margin-right:0;*width:32%;_width:31.7%;}.yui-gb .yui-gc div.first,.yui-gb .yui-gd div.first{*margin-right:0;}.yui-gb .yui-gd .yui-u{*width:66%;_width:61.2%;}.yui-gb .yui-gd div.first{*width:31%;_width:29.5%;}.yui-g .yui-gc .yui-u,.yui-gb .yui-gc .yui-u{width:32%;_float:right;margin-right:0;_margin-left:0;}.yui-gb .yui-gc div.first{width:66%;*float:left;*margin-left:0;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf .yui-u{margin:0;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf,.yui-gc .yui-u,.yui-gd .yui-g,.yui-g .yui-gc .yui-u,.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf .yui-g,.yui-gf .yui-u{float:right;}.yui-g .yui-gc div.first,.yui-g .yui-ge div.first,.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-g .yui-u,.yui-gb .yui-g .yui-u,.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u,.yui-ge .yui-g .yui-u,.yui-gf .yui-g .yui-u{width:49%;*width:48.1%;*margin-left:0;}.yui-g .yui-g div.first{*margin:0;}.yui-gb .yui-g div.first{*margin-right:4%;_margin-right:1.3%;}.yui-gb .yui-gb .yui-u{_margin-left:.7%;}.yui-gb .yui-g div.first,.yui-gb .yui-gb div.first{*margin-left:0;}.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u{*width:48.1%;*margin-left:0;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf{width:49.1%;}.yui-g .yui-gb div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-g .yui-gc div.first,.yui-gc div.first,.yui-gd .yui-g,.yui-gd .yui-u{width:66%;}.yui-gd div.first,.yui-gb .yui-gd div.first{width:32%;}.yui-g .yui-gd div.first{_width:29.9%;}.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf div.first{width:24%;}.yui-gb .yui-ge div.yui-u,.yui-gb .yui-gf div.yui-u{float:right;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf div.first {float:left;}.yui-ge div.first,.yui-gf .yui-g,.yui-gf .yui-u{width:74.2%;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf div.first{*width:24%;_width:20%;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf .yui-u{*width:73.5%;_width:65.5%;}#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;}.yui-gb .yui-u{float:left;}
blockquote,ul,ol,dl {
margin:1em;
}
ol,ul,dl {
margin-left:2em;
}
ol li {
list-style: decimal outside;
}
ul li {
list-style: disc outside;
}
/*begin YDN/YUI styles*/
#bd {padding-top:1em;}
.yui-gb:after{clear:none;}
#doc3 {min-width:950px;}
h1, h2, h3, h4, h5, h6 {font-weight:bold; color:#E76300;}
h1, h2, h3, h4, h5, h6, p {line-height:1.2em; font-size:100%; margin:1em 0 0 0;}
h1.first-content, h2.first-content, h3.first-content {margin-top:0; padding-top:0; border:none;} /*if an h is the first thing on the page or in a section, it should be flush with the top border of its content area; otherwise, its content area should be padded to create space.*/
p { margin-bottom:1em }
h1 { font-size: 136%; padding:0; padding-top:18px}
.wiki h1 { font-size: 120%; padding:0; margin-bottom:1em}
h2 { font-size: 110%; margin-top:1.5em; margin-bottom:.2em; padding:1em 0 0 0; border-top:1px dashed #C3D2DC;}
h2.first { border-top:none; margin-top:0; margin-bottom:.2em;}
#doc3 h2.first { float:none; /*float specified to resolve conflict on generic float declaration for .first in grids*/}
h4 {margin-top:1em; color: #000;}
ul, ol, dl, dd {margin-left:30px;}
dt { font-weight:bold; }
ul, ol {margin-bottom:.7em;}
ul {list-style:disc;}
ol {list-style:decimal;}
strong {font-weight:bold;}
em {font-style:italic;}
a, a code {color:#0000de;}
a:visited, a:visited code {color:#639;}
a:active, a:active code {color: #f00;}
h1 a { color:#E76300; }
h1 a:visited {color:#E76300}
#logo_pane { display: none; }
#ygma { margin:.5em auto 1em auto; }
#bd ol {}
#bd ol li p { margin-left:0}
#bd ol li ol {list-style:lower-alpha}
#bd ol li ol li {margin-bottom:1em}
#bd ol li ol li ol{list-style:lower-roman}
#bd ol li ol li ol li {margin-bottom:1em}
#bd p.errormessage {background:url(http://us.i1.yimg.com/us.yimg.com/i/us/search/gr/alertbubble.gif) 0 0 no-repeat; padding-left:30px; margin:2em 2em 2em 1em; font-weight:bold}
/*formerly #bd targeting*/
ul {margin-top:2px; }
ul.topspace { margin-top:1em }
ul li { margin:0 17px 0 7px; }
ul li ul { margin-top:0em }
ul.plain {margin-top: 0; list-style: none;}
ul.plain ul {margin-top: 0; list-style: none;}
ul.jump {list-style: none; margin-top: 1em;}
ul.jump li {margin-top: .5em;}
/*#bd table { margin:10px 17px; width:720px; }*/
/*#bd th { background:#B6CDE1; padding:2px; color:#fff; vertical-align:top}
#bd td { padding:2px; vertical-align:top}
#bd td.even { background:red; }*/
h2.classname { border-top:none; margin-top:0; margin-bottom:.2em; font-size: 130%; color:#000000}
h3.breadcrumb { border-top:none; margin-top:0; margin-bottom:.2em; font-size: 80%; color:#000000}
h3.methods { border-top:none; margin-top:0; margin-bottom:.2em; font-size: 100%; color:#000000}
.screenshot {border:thin solid #999999; margin:8px;}
#toc {background-color:#ecf5fa; padding:0; border:1px solid #89d }
#toc ul {margin:0; padding:0;}
#toc ul li {list-style:none; padding:0; margin:0; font-size:85%; }
#toc ul li.selected { font-weight:bold; color:#fff; background:#f82; padding:0; }
#toc ul li.selected a { color:#fff; }
#toc ul li a { display:block; padding:2px 2px 2px 10px; text-decoration:none; }
#toc ul li a:hover { color:#fff; background:#e60; }
#toc ul li em { display:none; }
#toc ul li.sect { font-weight:bold; color:#fff; background:#89d; padding:2px 0; text-indent:2px; margin-top:2px;}
#toc ul li.first {margin-top:0;}
#ft { margin-top:4em }
#ft p { padding-bottom:2em; margin:0; text-align:center; font-size:80%; line-height:1.4em}
#ft p.first { padding:1em 0 0 0; margin:0; }
#pagetitle {background: url(http://us.i1.yimg.com/us.yimg.com/i/ydn/bg_hd.gif) 0 0 repeat-x #B6CDE1; border: 1px solid #93B2CC; position:relative;}
#pagetitle h1 {text-indent:15px; padding:4px 0 2px 0; background: url(http://us.i1.yimg.com/us.yimg.com/i/ydn/title_h_bg.gif) 0 0 no-repeat; margin:0; color:#000; font-size:120%; font-weight:bold; position:relative; left:-1px; top:-1px; margin-right:-2px;}
#pagetitle h1 em {color:#FF9933; font-size:60%; font-weight:bold; font-style:normal; position:relative; top:-6px}
#ygunav {background:#eee; border-bottom:2px solid #ccc; padding:0 10px;font-size:78%;text-align:right;margin-bottom:6px;height:2.5em;line-height:2.5em;}
html>body #ygunav {overflow:hidden;}
#ygunav strong {font-family:verdana;}
#ygunav p {display:inline;margin:0;padding:0;}
#ygunav p em {float:left;text-align:left;font-style:normal; padding-top:.7em}
* html #ygunav p em {margin-top:1px;}
#ygunav p em i {visibility:hidden;}
#ygunav a {color:#000;}
#ygunav form {display:inline;margin:0 0 0 1em;}
#ygsp {width:8em;font-size:110%;padding:0;vertical-align:middle;}
#ygunav .ygbt {background:#dcdcdc;font:110% verdana;position:relative;top:1px;}
* html #ygunav .ygbt {top:4px;}
* html>body #ygunav .ygbt {line-height:0;top:-4px;}
#ygunav label {color:#666;font-family:tahoma;position:relative;top:1px;}
#bd ol.getstarted { margin:0; padding:0; }
#bd ol.getstarted li { font-weight:bold; color:#668AA8; margin-bottom:1em; padding-left:20px; list-style-type:none;}
#bd ol.getstarted li p { color:#000; font-weight:normal; margin:0 0 0 20px; padding:0 }
/* removing
#bd p {margin-bottom:8px;}
*/
#promo {zoom:1;border: 1px solid #B6CDE1; padding:1em; position:relative; background-color:#FFF5DF;}
/*#promo ul {margin-bottom:0;}*/
#promo h1 {margin-top:0; padding-top:0}
#promo h2 {line-height:1.2em; color:#668AA8; margin-top:0; padding-top:0; border:none; font-size:100%}
#promo p {line-height:1.2em; font-weight:400;}
#promo h1 em {float:right; top:0; right:0; font-style:normal; font-size:80%}
#promo h4 { color:#E76300; }
#promo.component div {width:48%; float:left;}
#promo:after {content:'.';visibility:hidden;clear:left;height:0;display:block;}
#promo p#api {margin-top:.2em;}
#promo #download img {float:left; padding:0 0.5em 0.5em 0;}
#promo #blog {clear:left;}
code {font-family:"Courier New"; font-size: 100%; font-weight:bolder;}
div.apisummary {height:auto; margin:10px 0; width:auto; zoom:1;}
div.apisummary table {font-size:inherit;font:100%; border-collapse:separate; border:1px solid #666666; border-left:none;}
#doc3 div.apisummary table td, #doc3 div.apisummary table th {padding:.35em; vertical-align:top;}
div.apisummary table th { background:#B6CDE1; color:#fff; vertical-align:top; font-weight:bold;}
div.apisummary table td { border-top:1px solid #666666;}
div.apisummary table td, div.apisummary table th { border-left:1px solid #666666;}
div.apisummary table tr { background-color:#ddd;}
div.apisummary table tr.odd { background-color:#fff; }
div.apisummary table tfoot tr { background-color:#fff; }
dl#menuwidgets dt {font-weight:bold;}
dl#menuwidgets {margin:0 0 0 1.5em;}
img.example {clear:right;margin-bottom:10px;margin-left:10px;border:0;float:right;border:1px solid #999;}
/*YUI theater box on main page top right corner*/
#yui-theater {width:316px; overflow:hidden;}
#yui-theater h3 {margin:0; padding:0; color:#E76300; font-size:100%; font-weight:bold; font-stretch:expanded;}
#yui-theater h2 {margin:0 0 10px 0; padding:0; border:none; color:#000; font-size:122%; font-weight:bold;}
#yui-theater p {margin:7px 0 0 0;}
#yui-theater div {float:right; font-size:85%;}
/*rss reader styles*/
p.loading-content {background-image:url(http://us.i1.yimg.com/us.yimg.com/i/ydn/yuiweb/img/busy_arrow.gif); background-position:top left; background-repeat:no-repeat; height:20px;padding:4px 0 0 25px; margin:0;}
#doc3 ul.yuirssreader {margin:0; padding:0;}
#doc3 ul.yuirssreader li {list-style-type:none;padding:5px 0 0 12px; margin:0;}
#doc3 ul.yuirssreader li p {margin:0; padding:0;}
ul.yuirssreader cite {color:#666666; margin:0;}
span.yuirssreader-date {font-size:77%; color:#E76300;}
img.rssbadge {display:inline;border:none !important;}
#index-secondary {width:316px;float:right;margin-left:10px;}
#index-main {margin-right:331px;}
#index-main #promo li {list-style-type:none;font-size:92%;margin-top:2px;}
#index-main #promo ul {margin:0;}
/*styles for right gutter on component pages*/
#cheatsheet h3 {margin-top:0;}
#cheatsheet img, #componentvideo img {margin:.5em 0 .2em 0; border:1px solid #999;}
#cheatsheet p {margin:0; font-size:77%;}
#cheatsheet h4, .example-container h4, #examples h4 {margin:0.2em 0 .1em 0; color:#668AA8; font-size:92%;}
#examples ul, #morereading ul, #module ul {font-size:85%; list-style:circle; margin:0 0 1em 10px;}
#examples p, #componentvideo p {font-size:85%; margin:0 0 .2em 0;}
#examples li.selected {font-weight:bold;}
/*styles for example pages*/
.example .promo {background-color:#89d;border-color:#666666; padding:1em;}
.example .promo h1, .example .promo h2, .example .promo h3 {color:#FFCC66;}
.example .promo h1 {font-size:159%; padding-top:0; margin-top:0;}
.exampleIntro, .exampleIntro p, .exampleIntro a, .exampleIntro a code {color:#fff;}
.example .promo p {margin-top:.7em;}
.firstContent {margin-top:0; padding-top:0;}
#logger {margin-top:1em;}
.example-container {background-color:#F1F6F7;}
.example-container .bd {padding:1em; position:relative; z-index:1; zoom:1;}
.example-container .bd .bd {padding:0; position:static;} /* Reset to defaults to ensure styles are only applied to the top-level .bd of .example-container */
.example-container>.bd:after {content:'.';visibility:hidden;clear:left;height:0;display:block;}
.example-container .exampleHd {background: url(example-hd-bg.gif) 0 0 repeat-x #4E4D4C; }
.example-container h3 {margin:.2em 0 .4em 0;}
.example .example-container h1, .example .example-container h2, .example .example-container h3, .example .example-container h4, .example .example-container h5, .example .example-container h6 {color:#E76300; font-weight:bold;}
.example-container a {color:#000;}
.example-container a:visited, .example-container a:visited code {color:#000;}
.example-container a:active, .example-container a:active code {color: #000;}
#loggerGloss {margin-top:.5em; font-size:85%;}
#loggerDiv {font-size:77%;text-align:left;margin-top:.5em; visibility:hidden; height:280px; } /*gets turned on by script when loaded */
#loggerDiv.yui-log {padding:.4em;width:96%;background-color:#FBE7D9;border:1px solid #666;font-family:monospace;z-index:9000;}
#loggerDiv.yui-log p {margin:1px;padding:.1em;}
#loggerDiv.yui-log .yui-log-hd {margin:0; padding:0; background-color:#CECCCC;}
#loggerDiv.yui-log .yui-log-hd h4 {display:none;}
#loggerDiv.yui-log .yui-log-bd {width:100%;height:20em;background-color:#FFF;border:1px solid #ECECEC;overflow-y:auto;overflow-x:hidden;}
#loggerDiv.yui-log .yui-log-bd pre {border-top:1px solid #ECECEC;}
#loggerDiv.yui-log .yui-log-bd code p {margin:1px 0;}
#loggerDiv.yui-log .yui-log-ft .yui-log-categoryfilters {margin-top:.5em;clear:right;}
#loggerDiv.yui-log .yui-log-ft .yui-log-sourcefilters {margin-top:.5em;border:none; clear:both;}
#loggerDiv.yui-log .yui-log-btns {margin-top:.2em;padding:.2em;background: url(bg_hd.gif) 0 0 repeat-x #CECCCC; text-align:right; float:none;}
#loggerDiv.yui-log .yui-log-filtergrp {margin-right:.3em; float:left; display:block}
#loggerDiv.yui-log .yui-log-ft {margin-top:.3em;margin-bottom:.3em; font-family:verdana; zoom:1;}
/*bug in Safari when this is applied to .yui-log-ft:*/
#loggerDiv.yui-log:after {content:'.';visibility:hidden;clear:both;height:0;display:block;}
.example-container.newWindow {text-align:center;}
p.newWindowButton {text-align:right; margin-top:0; padding:.5em;}
.bd p.newWindowButton {text-align:center;} /*when new window is required and button appears in middle of example body*/
p.loggerButton {text-align:center;}
#loggerLink a, #newWindowLink a {font-size:115%; font-weight:bold; color:#000099;}
#newWindowLink a {font-size:107%;}
#loggerModule {padding-bottom:.2em;}
/*right column navigation on example rosters*/
#exampleToc {background-color:#ecf5fa; padding:0; border:1px solid #89d; margin-top:.5em;}
#exampleToc ul {margin:0; padding:0; font-size:85%; }
#exampleToc ul li {list-style:none; padding:0; margin:0; }
#exampleToc ul li.selected { font-weight:bold; color:#fff; background:#000099; padding:0; }
#exampleToc ul li.selected a { color:#fff; }
#exampleToc ul li a { display:block; padding:2px 2px 2px 10px; text-decoration:none; }
#exampleToc ul li a:hover { color:#fff; background:#e60; }
#exampleToc ul li.selected a code { color:#fff; }
/*theater page styles*/
.theater h1 {border-bottom:1px dashed #CCC; margin-bottom:1em;padding-bottom:.2em;}
.theater img {border:1px solid #666;}
.theater img.last {border:1px solid #666;}
.theater p.details {font-size:77%; color:#666; margin:.2em 0 0 0; padding:0;}
.theater p.description, #doc3 .theater ul li {font-size:85%; margin:0; padding:0; color:#333;}
#readmePanel .hd { font-weight:bold; font-size:129%; color:#fff; background:#89d; }
#readmePanel .bd {text-align:left; overflow:auto;}
#readmePanel .ft {text-align:right; background-color:#E7E7E7; font-size:85%;}
/* Browser specific (not valid) styles to make preformatted text wrap */
#readmePanel .bd pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
font-size: 100%;
color:#000033;}
/*ed eliot's server-side delicious badge css*/
#delicious-badge {margin-top:.6em; font: 85% Arial, sans-serif; border: 1px solid #b1b1b1; }
#delicious-badge .bookmark { background: url(http://images.del.icio.us/static/img/delicious.small.gif) no-repeat left center; padding-left: 15px; font-weight: bold; }
#delicious-badge p, #delicious-badge div { padding: 7px; margin: 0; text-align: center; }
#delicious-badge a { color: #00f; text-decoration: none; }
#delicious-badge div { background: #eee; }
#delicious-badge div span { font-weight: bold; color: #000; }
#delicious-badge ul, #delicious-badge li { display: inline; list-style: none; padding: 0; margin: 0; }
#delicious-badge li { margin-left: 5px; }
#delicious-badge li span { position: absolute; left: -999px; width: 999px; }
#delicious-badge .saved-by { color: #999; }
#delicious-badge .saved-by span { background: #00f; padding: 3px; color: #fff; }
#delicious-badge .be-first { font-size: 85%; color: #999; }
#delicious-badge .tag-size-1 { font-size: 100%; }
#delicious-badge .tag-size-2 { font-size: 107%; }
#delicious-badge .tag-size-3 { font-size: 114%; }
#delicious-badge .tag-size-4 { font-size: 122%; }
#delicious-badge .tag-size-5 { font-size: 129%; }
/*faq page:*/
.yui-ge .yui-g {width:98%;}
.yui-ge .yui-g .yui-u {width:48.1%;}
#questions {margin:1em 0 2em 0; padding:0.5em; border:1px solid #838383; background-color:#E6E6E6;}
#questions ul {margin:0; list-style:none;}
#yui-main #questions li {padding-bottom:.2em; font-size:85%; margin:0;}
#questions li a {display:block; padding:.6em; text-decoration:none;}
#questions li a:hover {background-color:#F6F6F6;}
/*for notes on file includes*/
.include-notice {border:1px solid #6F7EA1; background:#eee; font:77% verdana; padding:.7em;}
.include-notice strong {color:#990000;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -0,0 +1,65 @@
Animation Release Notes
*** version 2.5.1 ***
* no change
*** version 2.5.0 ***
* replace toString overrides with static NAME property
*** version 2.4.0 ***
* calling stop() on an non-animated Anim no longer fires onComplete
*** version 2.3.1 ***
* no change
*** version 2.3.0 ***
* duration of zero now executes 1 frame animation
* added setEl() method to enable reuse
* fixed stop() for multiple animations
*** version 2.3.0 ***
* duration of zero now executes 1 frame animation
* added setEl() method to enable reuse
* fixed stop() for multiple animations
*** version 2.2.2 ***
* no change
*** version 2.2.1 ***
* no change
*** version 2.2.0 ***
* Fixed AnimMgr.stop() when called without tween
*** version 0.12.2 ***
* raised AnimMgr.fps to 1000
*** version 0.12.1 ***
* minified version no longer strips line breaks
*** version 0.12.0 ***
* added boolean finish argument to Anim.stop()
*** version 0.11.3 ***
* no changes
*** version 0.11.1 ***
* changed "prototype" shorthand to "proto" (workaround firefox < 1.5 scoping
bug)
*** version 0.11.0 ***
* ColorAnim subclass added
* Motion and Scroll now inherit from ColorAnim
* getDefaultUnit method added
* defaultUnit and defaultUnits deprecated
* getDefault and setDefault methods deprecated
*** version 0.10.0 ***
* Scroll now handles relative ("by") animation correctly
* Now converts "auto" values of "from" to appropriate initial values
*** version 0.9.0 ***
* Initial release

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-skin-sam .yui-ac{position:relative;font-family:arial;font-size:100%;}.yui-skin-sam .yui-ac-input{position:absolute;width:100%;}.yui-skin-sam .yui-ac-container{position:absolute;top:1.6em;width:100%;}.yui-skin-sam .yui-ac-content{position:absolute;width:100%;border:1px solid #808080;background:#fff;overflow:hidden;z-index:9050;}.yui-skin-sam .yui-ac-shadow{position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity:0.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;}.yui-skin-sam .yui-ac-content ul{margin:0;padding:0;width:100%;}.yui-skin-sam .yui-ac-content li{margin:0;padding:2px 5px;cursor:default;white-space:nowrap;}.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight{background:#B3D4FF;}.yui-skin-sam .yui-ac-content li.yui-ac-highlight{background:#426FD9;color:#FFF;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-button{display:-moz-inline-box;display:inline-block;vertical-align:text-bottom;}.yui-button .first-child{display:block;*display:inline-block;}.yui-button button,.yui-button a{display:block;*display:inline-block;border:none;margin:0;}.yui-button button{background-color:transparent;*overflow:visible;cursor:pointer;}.yui-button a{text-decoration:none;}.yui-skin-sam .yui-button{border-width:1px 0;border-style:solid;border-color:#808080;background:url(sprite.png) repeat-x 0 0;margin:auto .25em;}.yui-skin-sam .yui-button .first-child{border-width:0 1px;border-style:solid;border-color:#808080;margin:0 -1px;*position:relative;*left:-1px;}.yui-skin-sam .yui-button button,.yui-skin-sam .yui-button a{padding:0 10px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam .yui-button a{*line-height:2;}.yui-skin-sam .yui-split-button button,.yui-skin-sam .yui-menu-button button{padding-right:20px;background-position:right center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-button button{background-image:url(menu-button-arrow.png);}.yui-skin-sam .yui-split-button button{background-image:url(split-button-arrow.png);}.yui-skin-sam .yui-button-focus{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-focus .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-focus button,.yui-skin-sam .yui-button-focus a{color:#000;}.yui-skin-sam .yui-split-button-focus button{background-image:url(split-button-arrow-focus.png);}.yui-skin-sam .yui-button-hover{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-hover .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-hover button,.yui-skin-sam .yui-button-hover a{color:#000;}.yui-skin-sam .yui-split-button-hover button{background-image:url(split-button-arrow-hover.png);}.yui-skin-sam .yui-button-active{border-color:#7D98B8;background-position:0 -1700px;}.yui-skin-sam .yui-button-active .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-active button,.yui-skin-sam .yui-button-active a{color:#000;}.yui-skin-sam .yui-split-button-activeoption{border-color:#808080;background-position:0 0;}.yui-skin-sam .yui-split-button-activeoption .first-child{border-color:#808080;}.yui-skin-sam .yui-split-button-activeoption button{background-image:url(split-button-arrow-active.png);}.yui-skin-sam .yui-radio-button-checked,.yui-skin-sam .yui-checkbox-button-checked{border-color:#304369;background-position:0 -1400px;}.yui-skin-sam .yui-radio-button-checked .first-child,.yui-skin-sam .yui-checkbox-button-checked .first-child{border-color:#304369;}.yui-skin-sam .yui-radio-button-checked button,.yui-skin-sam .yui-checkbox-button-checked button{color:#fff;}.yui-skin-sam .yui-button-disabled{border-color:#ccc;background-position:0 -1500px;}.yui-skin-sam .yui-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam .yui-button-disabled button,.yui-skin-sam .yui-button-disabled a{color:#A6A6A6;cursor:default;}.yui-skin-sam .yui-menu-button-disabled button{background-image:url(menu-button-arrow-disabled.png);}.yui-skin-sam .yui-split-button-disabled button{background-image:url(split-button-arrow-disabled.png);}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-picker-panel{background:#e3e3e3;border-color:#888;}.yui-picker-panel .hd{background-color:#ccc;font-size:100%;line-height:100%;border:1px solid #e3e3e3;font-weight:bold;overflow:hidden;padding:6px;color:#000;}.yui-picker-panel .bd{background:#e8e8e8;margin:1px;height:200px;}.yui-picker-panel .ft{background:#e8e8e8;margin:1px;padding:1px;}.yui-picker{position:relative;}.yui-picker-hue-thumb{cursor:default;width:18px;height:18px;top:-8px;left:-2px;z-index:9;position:absolute;}.yui-picker-hue-bg{-moz-outline:none;outline:0px none;position:absolute;left:200px;height:183px;width:14px;background:url(hue_bg.png) no-repeat;top:4px;}.yui-picker-bg{-moz-outline:none;outline:0px none;position:absolute;top:4px;left:4px;height:182px;width:182px;background-color:#F00;background-image:url(picker_mask.png);}*html .yui-picker-bg{background-image:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../build/colorpicker/assets/picker_mask.png',sizingMethod='scale');}.yui-picker-mask{position:absolute;z-index:1;top:0px;left:0px;}.yui-picker-thumb{cursor:default;width:11px;height:11px;z-index:9;position:absolute;top:-4px;left:-4px;}.yui-picker-swatch{position:absolute;left:240px;top:4px;height:60px;width:55px;border:1px solid #888;}.yui-picker-websafe-swatch{position:absolute;left:304px;top:4px;height:24px;width:24px;border:1px solid #888;}.yui-picker-controls{position:absolute;top:72px;left:226px;font:1em monospace;}.yui-picker-controls .hd{background:transparent;border-width:0px !important;}.yui-picker-controls .bd{height:100px;border-width:0px !important;}.yui-picker-controls ul{float:left;padding:0 2px 0 0;margin:0}.yui-picker-controls li{padding:2px;list-style:none;margin:0}.yui-picker-controls input{font-size:0.85em;width:2.4em;}.yui-picker-hex-controls{clear:both;padding:2px;}.yui-picker-hex-controls input{width:4.6em;}.yui-picker-controls a{font:1em arial,helvetica,clean,sans-serif;display:block;*display:inline-block;padding:0;color:#000;}

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-overlay,.yui-panel-container{visibility:hidden;position:absolute;z-index:2;}.yui-panel-container form{margin:0;}.mask{z-index:1;display:none;position:absolute;top:0;left:0;right:0;bottom:0;}.mask.block-scrollbars{overflow:auto;}.masked select,.drag select,.hide-select select{_visibility:hidden;}.yui-panel-container select{_visibility:inherit;}.hide-scrollbars,.hide-scrollbars *{overflow:hidden;}.hide-scrollbars select{display:none;}.show-scrollbars{overflow:auto;}.yui-panel-container.show-scrollbars,.yui-tt.show-scrollbars{overflow:visible;}.yui-panel-container.show-scrollbars .underlay,.yui-tt.show-scrollbars .yui-tt-shadow{overflow:auto;}.yui-panel-container.shadow .underlay.yui-force-redraw{padding-bottom:1px;}.yui-effect-fade .underlay{display:none;}.yui-tt-shadow{position:absolute;}.yui-skin-sam .mask{background-color:#000;opacity:.25;*filter:alpha(opacity=25);}.yui-skin-sam .yui-panel-container{padding:0 1px;*padding:2px 3px;}.yui-skin-sam .yui-panel{position:relative;*zoom:1;left:0;top:0;border-style:solid;border-width:1px 0;border-color:#808080;z-index:1;}.yui-skin-sam .yui-panel .hd,.yui-skin-sam .yui-panel .bd,.yui-skin-sam .yui-panel .ft{*zoom:1;*position:relative;border-style:solid;border-width:0 1px;border-color:#808080;margin:0 -1px;}.yui-skin-sam .yui-panel .hd{border-bottom:solid 1px #ccc;}.yui-skin-sam .yui-panel .bd,.yui-skin-sam .yui-panel .ft{background-color:#F2F2F2;}.yui-skin-sam .yui-panel .hd{padding:0 10px;font-size:93%;line-height:2;*line-height:1.9;font-weight:bold;color:#000;background:url(sprite.png) repeat-x 0 -200px;}.yui-skin-sam .yui-panel .bd{padding:10px;}.yui-skin-sam .yui-panel .ft{border-top:solid 1px #808080;padding:5px 10px;font-size:77%;}.yui-skin-sam .yui-panel-container.focused .yui-panel .hd{}.yui-skin-sam .container-close{position:absolute;top:5px;right:6px;width:25px;height:15px;background:url(sprite.png) no-repeat 0 -300px;cursor:pointer;}.yui-skin-sam .yui-panel-container .underlay{right:-1px;left:-1px;}.yui-skin-sam .yui-panel-container.matte{padding:9px 10px;background-color:#fff;}.yui-skin-sam .yui-panel-container.shadow{_padding:2px 5px 0 3px;}.yui-skin-sam .yui-panel-container.shadow .underlay{position:absolute;top:2px;right:-3px;bottom:-3px;left:-3px;*top:3px;*left:-1px;*right:-1px;*bottom:-1px;_top:0;_right:0;_bottom:0;_left:0;_margin-top:3px;_margin-left:-1px;background-color:#000;opacity:.12;*filter:alpha(opacity=12);}.yui-skin-sam .yui-dialog .ft{border-top:none;padding:0 10px 10px 10px;font-size:100%;}.yui-skin-sam .yui-dialog .ft .button-group{display:block;text-align:right;}.yui-skin-sam .yui-dialog .ft button.default{font-weight:bold;}.yui-skin-sam .yui-dialog .ft span.default{border-color:#304369;background-position:0 -1400px;}.yui-skin-sam .yui-dialog .ft span.default .first-child{border-color:#304369;}.yui-skin-sam .yui-dialog .ft span.default button{color:#fff;}.yui-skin-sam .yui-simple-dialog .bd .yui-icon{background:url(sprite.png) no-repeat 0 0;width:16px;height:16px;margin-right:10px;float:left;}.yui-skin-sam .yui-simple-dialog .bd span.blckicon{background-position:0 -1100px;}.yui-skin-sam .yui-simple-dialog .bd span.alrticon{background-position:0 -1050px;}.yui-skin-sam .yui-simple-dialog .bd span.hlpicon{background-position:0 -1150px;}.yui-skin-sam .yui-simple-dialog .bd span.infoicon{background-position:0 -1200px;}.yui-skin-sam .yui-simple-dialog .bd span.warnicon{background-position:0 -1900px;}.yui-skin-sam .yui-simple-dialog .bd span.tipicon{background-position:0 -1250px;}.yui-skin-sam .yui-tt .bd{position:relative;top:0;left:0;z-index:1;color:#000;padding:2px 5px;border-color:#D4C237 #A6982B #A6982B #A6982B;border-width:1px;border-style:solid;background-color:#FFEE69;}.yui-skin-sam .yui-tt.show-scrollbars .bd{overflow:auto;}.yui-skin-sam .yui-tt-shadow{top:2px;right:-3px;left:-3px;bottom:-3px;background-color:#000;}.yui-skin-sam .yui-tt-shadow-visible{opacity:.12;*filter:alpha(opacity=12);}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-crop{position:relative;}.yui-crop .yui-crop-mask{position:absolute;top:0;left:0;height:100%;width:100%;}.yui-crop .yui-resize{position:absolute;top:10px;left:10px;}.yui-crop .yui-crop-resize-mask{position:absolute;top:0;left:0;height:100%;width:100%;background-position:-10px -10px;overflow:hidden;}.yui-skin-sam .yui-crop .yui-crop-mask{background-color:#000;opacity:.5;filter:alpha(opacity=50);}.yui-skin-sam .yui-crop .yui-resize{border:1px dashed #fff;}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-skin-sam .yui-log{padding:1em;width:31em;background-color:#AAA;color:#000;border:1px solid black;font-family:monospace;font-size:77%;text-align:left;z-index:9000;}.yui-skin-sam .yui-log-container{position:absolute;top:1em;right:1em;}.yui-skin-sam .yui-log input{margin:0;padding:0;font-family:arial;font-size:100%;font-weight:normal;}.yui-skin-sam .yui-log .yui-log-btns{position:relative;float:right;bottom:.25em;}.yui-skin-sam .yui-log .yui-log-hd{margin-top:1em;padding:.5em;background-color:#575757;}.yui-skin-sam .yui-log .yui-log-hd h4{margin:0;padding:0;font-size:108%;font-weight:bold;color:#FFF;}.yui-skin-sam .yui-log .yui-log-bd{width:100%;height:20em;background-color:#FFF;border:1px solid gray;overflow:auto;}.yui-skin-sam .yui-log p{margin:1px;padding:.1em;}.yui-skin-sam .yui-log pre{margin:0;padding:0;}.yui-skin-sam .yui-log pre.yui-log-verbose{white-space:pre-wrap;white-space:-moz-pre-wrap !important;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;}.yui-skin-sam .yui-log .yui-log-ft{margin-top:.5em;}.yui-skin-sam .yui-log .yui-log-ft .yui-log-categoryfilters{}.yui-skin-sam .yui-log .yui-log-ft .yui-log-sourcefilters{width:100%;border-top:1px solid #575757;margin-top:.75em;padding-top:.75em;}.yui-skin-sam .yui-log .yui-log-filtergrp{margin-right:.5em;}.yui-skin-sam .yui-log .info{background-color:#A7CC25;}.yui-skin-sam .yui-log .warn{background-color:#F58516;}.yui-skin-sam .yui-log .error{background-color:#E32F0B;}.yui-skin-sam .yui-log .time{background-color:#A6C9D7;}.yui-skin-sam .yui-log .window{background-color:#F2E886;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yuimenubar{visibility:visible;position:static;}.yuimenu .yuimenu,.yuimenubar .yuimenu{visibility:hidden;position:absolute;top:-10000px;left:-10000px;}.yuimenubar li,.yuimenu li{list-style-type:none;}.yuimenubar ul,.yuimenu ul,.yuimenubar li,.yuimenu li,.yuimenu h6,.yuimenubar h6{margin:0;padding:0;}.yuimenuitemlabel,.yuimenubaritemlabel{text-align:left;white-space:nowrap;}.yuimenubar ul{*zoom:1;}.yuimenubar .yuimenu ul{*zoom:normal;}.yuimenubar>.bd>ul:after{content:".";display:block;clear:both;visibility:hidden;height:0;line-height:0;}.yuimenubaritem{float:left;}.yuimenubaritemlabel,.yuimenuitemlabel{display:block;}.yuimenuitemlabel .helptext{font-style:normal;display:block;margin:-1em 0 0 10em;}.yui-menu-shadow{position:absolute;visibility:hidden;z-index:-1;}.yui-menu-shadow-visible{top:2px;right:-3px;left:-3px;bottom:-3px;visibility:visible;}.hide-scrollbars *{overflow:hidden;}.hide-scrollbars select{display:none;}.yuimenu.show-scrollbars,.yuimenubar.show-scrollbars{overflow:visible;}.yuimenu.hide-scrollbars .yui-menu-shadow,.yuimenubar.hide-scrollbars .yui-menu-shadow{overflow:hidden;}.yuimenu.show-scrollbars .yui-menu-shadow,.yuimenubar.show-scrollbars .yui-menu-shadow{overflow:auto;}.yui-skin-sam .yuimenubar{font-size:93%;line-height:2;*line-height:1.9;border:solid 1px #808080;background:url(sprite.png) repeat-x 0 0;}.yui-skin-sam .yuimenubarnav .yuimenubaritem{border-right:solid 1px #ccc;}.yui-skin-sam .yuimenubaritemlabel{padding:0 10px;color:#000;text-decoration:none;cursor:default;border-style:solid;border-color:#808080;border-width:1px 0;*position:relative;margin:-1px 0;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel{padding-right:20px;*display:inline-block;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu{background:url(menubaritem_submenuindicator.png) right center no-repeat;}.yui-skin-sam .yuimenubaritem-selected{background:url(sprite.png) repeat-x 0 -1700px;}.yui-skin-sam .yuimenubaritemlabel-selected{border-color:#7D98B8;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-selected{border-left-width:1px;margin-left:-1px;*left:-1px;}.yui-skin-sam .yuimenubaritemlabel-disabled{cursor:default;color:#A6A6A6;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu-disabled{background-image:url(menubaritem_submenuindicator_disabled.png);}.yui-skin-sam .yuimenu{font-size:93%;line-height:1.5;*line-height:1.45;}.yui-skin-sam .yuimenubar .yuimenu,.yui-skin-sam .yuimenu .yuimenu{font-size:100%;}.yui-skin-sam .yuimenu .bd{border:solid 1px #808080;background-color:#fff;}.yui-skin-sam .yuimenu ul{padding:3px 0;border-width:1px 0 0 0;border-color:#ccc;border-style:solid;}.yui-skin-sam .yuimenu ul.first-of-type{border-width:0;}.yui-skin-sam .yuimenu h6{font-weight:bold;border-style:solid;border-color:#ccc;border-width:1px 0 0 0;color:#a4a4a4;padding:3px 10px 0 10px;}.yui-skin-sam .yuimenu ul.hastitle,.yui-skin-sam .yuimenu h6.first-of-type{border-width:0;}.yui-skin-sam .yuimenu .yui-menu-body-scrolled{border-color:#ccc #808080;overflow:hidden;}.yui-skin-sam .yuimenu .topscrollbar,.yui-skin-sam .yuimenu .bottomscrollbar{height:16px;border:solid 1px #808080;background:#fff url(sprite.png) no-repeat 0 0;}.yui-skin-sam .yuimenu .topscrollbar{border-bottom-width:0;background-position:center -950px;}.yui-skin-sam .yuimenu .topscrollbar_disabled{background-position:center -975px;}.yui-skin-sam .yuimenu .bottomscrollbar{border-top-width:0;background-position:center -850px;}.yui-skin-sam .yuimenu .bottomscrollbar_disabled{background-position:center -875px;}.yui-skin-sam .yuimenuitem{_border-bottom:solid 1px #fff;}.yui-skin-sam .yuimenuitemlabel{padding:0 20px;color:#000;text-decoration:none;cursor:default;}.yui-skin-sam .yuimenuitemlabel .helptext{margin-top:-1.5em;*margin-top:-1.45em;}.yui-skin-sam .yuimenuitem-hassubmenu{background-image:url(menuitem_submenuindicator.png);background-position:right center;background-repeat:no-repeat;}.yui-skin-sam .yuimenuitem-checked{background-image:url(menuitem_checkbox.png);background-position:left center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-shadow-visible{background-color:#000;opacity:.12;*filter:alpha(opacity=12);}.yui-skin-sam .yuimenuitem-selected{background-color:#B3D4FF;}.yui-skin-sam .yuimenuitemlabel-disabled{cursor:default;color:#A6A6A6;}.yui-skin-sam .yuimenuitem-hassubmenu-disabled{background-image:url(menuitem_submenuindicator_disabled.png);}.yui-skin-sam .yuimenuitem-checked-disabled{background-image:url(menuitem_checkbox_disabled.png);}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-skin-sam .yui-pv{background-color:#4a4a4a;font:arial;position:relative;width:99%;z-index:1000;margin-bottom:1em;overflow:hidden;}.yui-skin-sam .yui-pv .hd{background:url(header_background.png) repeat-x;min-height:30px;overflow:hidden;zoom:1;padding:2px 0;}.yui-skin-sam .yui-pv .hd h4{padding:8px 10px;margin:0;font:bold 14px arial;color:#fff;}.yui-skin-sam .yui-pv .hd a{background:#3f6bc3;font:bold 11px arial;color:#fff;padding:4px;margin:3px 10px 0 0;border:1px solid #3f567d;cursor:pointer;display:block;float:right;}.yui-skin-sam .yui-pv .hd span{display:none;}.yui-skin-sam .yui-pv .hd span.yui-pv-busy{height:18px;width:18px;background:url(wait.gif) no-repeat;overflow:hidden;display:block;float:right;margin:4px 10px 0 0;}.yui-skin-sam .yui-pv .hd:after,.yui-pv .bd:after,.yui-skin-sam .yui-pv-chartlegend dl:after{content:'.';visibility:hidden;clear:left;height:0;display:block;}.yui-skin-sam .yui-pv .bd{position:relative;zoom:1;overflow-x:auto;overflow-y:hidden;}.yui-skin-sam .yui-pv .yui-pv-table{padding:0 10px;margin:5px 0 10px 0;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-bd td{color:#eeee5c;font:12px arial;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd{background:#929292;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even{background:#58637a;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even td.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even td.yui-dt-desc{background:#384970;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd td.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd td.yui-dt-desc{background:#6F6E6E;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th{background-image:none;background:#2E2D2D;}.yui-skin-sam .yui-pv th.yui-dt-asc .yui-dt-liner{background:transparent url(asc.gif) no-repeat scroll right center;}.yui-skin-sam .yui-pv th.yui-dt-desc .yui-dt-liner{background:transparent url(desc.gif) no-repeat scroll right center;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th a{color:#fff;font:bold 12px arial;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th.yui-dt-desc{background:#333;}.yui-skin-sam .yui-pv-chartcontainer{padding:0 10px;}.yui-skin-sam .yui-pv-chart{height:250px;clear:right;margin:5px 0 0 0;color:#fff;}.yui-skin-sam .yui-pv-chartlegend div{float:right;margin:0 0 0 10px;_width:250px;}.yui-skin-sam .yui-pv-chartlegend dl{border:1px solid #999;padding:.2em 0 .2em .5em;zoom:1;margin:5px 0;}.yui-skin-sam .yui-pv-chartlegend dt{float:left;display:block;height:.7em;width:.7em;padding:0;}.yui-skin-sam .yui-pv-chartlegend dd{float:left;display:block;color:#fff;margin:0 1em 0 .5em;padding:0;font:11px arial;}.yui-skin-sam .yui-pv-minimized{height:35px;}.yui-skin-sam .yui-pv-minimized .bd{top:-3000px;}.yui-skin-sam .yui-pv-minimized .hd a.yui-pv-refresh{display:none;}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.ygtvtn{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -5600px no-repeat;}.ygtvtm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4000px no-repeat;}.ygtvtmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4800px no-repeat;}.ygtvtp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -6400px no-repeat;}.ygtvtph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -7200px no-repeat;}.ygtvln{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -1600px no-repeat;}.ygtvlm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 0px no-repeat;}.ygtvlmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -800px no-repeat;}.ygtvlp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -2400px no-repeat;}.ygtvlph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -3200px no-repeat;}.ygtvloading{width:18px;height:22px;background:url(treeview-loading.gif) 0 0 no-repeat;}.ygtvdepthcell{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8000px no-repeat;}.ygtvblankdepthcell{width:18px;height:22px;}.ygtvitem{}.ygtvchildren{*zoom:1;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;}.ygtvspacer{height:22px;width:12px;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/

View file

@ -0,0 +1,162 @@
AutoComplete Release Notes
*** version 2.5.0 ***
* Fixed bug where Mac users were not able to input "&" or "(" characters.
*** version 2.4.0 ***
* Support for YUI JSON Utility.
* The allowBrowserAutocomplete property now supports cases when the user navigates
away from page via mean other than a form submission.
* Added support for integration with the Get Utility, for proxyless data
retrieval from dynamically loaded script nodes.
* Typing 'Enter' to select item no longer causes automatic form submission on
Mac browsers.
*** version 2.3.1 ***
* AutoComplete no longer throw a JavaScript error due to an invalid or
non-existent parent container. While a wrapper DIV element is still expected in
order to enable skinning (see 2.3.0 release note), a lack of such will not
cause an error.
* When suggestion container is collapsed, Mac users no longer need to type
Enter twice to submit input.
*** version 2.3.0 ***
* Applied new skinning model. Please note that in order to enable skinning,
AutoComplete now expects a wrapper DIV element around the INPUT element and the
container DIV element, in this fashion:
<div id="myAutoComplete">
<input type="text" id="myInput">
<div id="myContainer"></div>
</div>
* The default queryDelay value has been changed to 0.2. In low-latency
implementations (e.g., when queryDelay is set to 0 against a local
JavaScript DataSource), typeAhead functionality may experience a race condition
when retrieving the value of the textbox. To avoid this problem, implementers
are advised not to set the queryDelay value too low.
* Fixed runtime property value validation.
* Implemented new method doBeforeSendQuery().
* Implemented new method destroy().
* Added support for latest JSON lib http://www.json.org/json.js.
* Fixed forceSelection issues with matched selections and multiple selections.
* No longer create var oAnim in global scope.
* The properties alwaysShowContainer and useShadow should not be enabled together.
* There is a known issue in Firefox where the native browser autocomplete
attribute cannot be disabled programmatically on input boxes that are in use.
**** version 2.2.2 ***
* No changes.
*** version 2.2.1 ***
* Fixed form submission in Safari bug.
* Fixed broken DS_JSArray support for minQueryLength=0.
* Improved type checking with YAHOO.lang.
*** version 2.2.0 ***
* No changes.
*** version 0.12.2 ***
* No changes.
*** version 0.12.1 ***
* No longer trigger typeAhead feature when user is backspacing on input text.
*** version 0.12.0 ***
* The following constants must be defined as static class properties and are no longer
available as instance properties:
YAHOO.widget.DataSource.ERROR_DATANULL
YAHOO.widget.DataSource.ERROR_DATAPARSE
YAHOO.widget.DS_XHR.TYPE_JSON
YAHOO.widget.DS_XHR.TYPE_XML
YAHOO.widget.DS_XHR.TYPE_FLAT
YAHOO.widget.DS_XHR.ERROR_DATAXHR
* The property minQueryLength now supports zero and negative number values for
DS_JSFunction and DS_XHR objects, to enable null or empty string queries and to disable
AutoComplete functionality altogether, respectively.
* Enabling the alwaysShowContainer feature will no longer send containerExpandEvent or
containerCollapseEvent.
**** version 0.11.3 ***
* The iFrameSrc property has been deprecated. Implementers no longer need to
specify an https URL to avoid IE security warnings when working with sites over
SSL.
*** version 0.11.0 ***
* The method getListIds() has been deprecated for getListItems(), which returns
an array of DOM references.
* All classnames have been prefixed with "yui-ac-".
* Container elements should no longer have CSS property "display" set to "none".
* The useIFrame property can now be set after instantiation.
* On some browsers, the unmatchedItemSelectEvent may not be fired properly when
delimiter characters are defined.
* On some browsers, defining delimiter characters while enabling forceSelection
may result in unexpected behavior.
*** version 0.10.0 ***
* Initial release
* In order to enable the useIFrame property, it should be set in the
constructor.
* On some browsers, defining delimiter characters while enabling forceSelection
may result in unexpected behavior.

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
/* This file intentionally left blank */

View file

@ -0,0 +1,50 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
/* styles for entire widget */
.yui-skin-sam .yui-ac {
position:relative;font-family:arial;font-size:100%;
}
/* styles for input field */
.yui-skin-sam .yui-ac-input {
position:absolute;width:100%;
}
/* styles for results container */
.yui-skin-sam .yui-ac-container {
position:absolute;top:1.6em;width:100%;
}
/* styles for header/body/footer wrapper within container */
.yui-skin-sam .yui-ac-content {
position:absolute;width:100%;border:1px solid #808080;background:#fff;overflow:hidden;z-index:9050;
}
/* styles for container shadow */
.yui-skin-sam .yui-ac-shadow {
position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity: 0.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;
}
/* styles for results list */
.yui-skin-sam .yui-ac-content ul{
margin:0;padding:0;width:100%;
}
/* styles for result item */
.yui-skin-sam .yui-ac-content li {
margin:0;padding:2px 5px;cursor:default;white-space:nowrap;
}
/* styles for prehighlighted result item */
.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight {
background:#B3D4FF;
}
/* styles for highlighted result item */
.yui-skin-sam .yui-ac-content li.yui-ac-highlight {
background:#426FD9;color:#FFF;
}

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-skin-sam .yui-ac{position:relative;font-family:arial;font-size:100%;}.yui-skin-sam .yui-ac-input{position:absolute;width:100%;}.yui-skin-sam .yui-ac-container{position:absolute;top:1.6em;width:100%;}.yui-skin-sam .yui-ac-content{position:absolute;width:100%;border:1px solid #808080;background:#fff;overflow:hidden;z-index:9050;}.yui-skin-sam .yui-ac-shadow{position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity:0.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;}.yui-skin-sam .yui-ac-content ul{margin:0;padding:0;width:100%;}.yui-skin-sam .yui-ac-content li{margin:0;padding:2px 5px;cursor:default;white-space:nowrap;}.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight{background:#B3D4FF;}.yui-skin-sam .yui-ac-content li.yui-ac-highlight{background:#426FD9;color:#FFF;}

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,21 @@
YUI Library - Base - Release Notes
Version 2.5.1
* No changes.
Version 2.5.0
* No changes.
Version 2.4.0
* Fixed typo in comments.
* Added margin-bottom:1em; for PRE element to match P
* Added color:#000 for legend element, accomodation for IE
* Added set width (equivilant to 160px but set in EMs) for input's
width type = text or password, and for textareas.
Version 2.3.0
* Initial release.

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong{font-weight:bold;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;} em{font-style:italic;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}p,fieldset,table,pre{margin-bottom:1em;}input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}

View file

@ -0,0 +1,79 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
/* base.css, part of YUI's CSS Foundation */
h1 {
/*18px via YUI Fonts CSS foundation*/
font-size:138.5%;
}
h2 {
/*16px via YUI Fonts CSS foundation*/
font-size:123.1%;
}
h3 {
/*14px via YUI Fonts CSS foundation*/
font-size:108%;
}
h1,h2,h3 {
/* top & bottom margin based on font size */
margin:1em 0;
}
h1,h2,h3,h4,h5,h6,strong {
/*bringing boldness back to headers and the strong element*/
font-weight:bold;
}
abbr,acronym {
/*indicating to users that more info is available */
border-bottom:1px dotted #000;
cursor:help;
}
em {
/*bringing italics back to the em element*/
font-style:italic;
}
blockquote,ul,ol,dl {
/*giving blockquotes and lists room to breath*/
margin:1em;
}
ol,ul,dl {
/*bringing lists on to the page with breathing room */
margin-left:2em;
}
ol li {
/*giving OL's LIs generated numbers*/
list-style: decimal outside;
}
ul li {
/*giving UL's LIs generated disc markers*/
list-style: disc outside;
}
dl dd {
/*giving UL's LIs generated numbers*/
margin-left:1em;
}
th,td {
/*borders and padding to make the table readable*/
border:1px solid #000;
padding:.5em;
}
th {
/*distinguishing table headers from data cells*/
font-weight:bold;
text-align:center;
}
caption {
/*coordinated margin to match cell's padding*/
margin-bottom:.5em;
/*centered so it doesn't blend in to other content*/
text-align:center;
}
p,fieldset,table,pre {
/*so things don't run into each other*/
margin-bottom:1em;
}
/* setting a consistent width, 160px;
control of type=file still not possible */
input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}

View file

@ -0,0 +1,349 @@
*** Version 2.5.1 ***
+ No changes.
*** Version 2.5.0 ***
+ Fixed issue where returning false inside the scope of a listener for attribute "before"
events (i.e "beforeCheckedChange") would not cancel the attribute's default setter.
*** Version 2.4.1 ***
+ No changes.
*** Version 2.4.0 ***
Added the following features:
-----------------------------
+ Added a static method "YAHOO.widget.Button.getButton" that returns a Button
instance with the specified HTML element id.
Fixed the following bugs:
-------------------------
+ Removed the ".yui-skin-sam" CSS class name from style rules in the core
stylesheet so that it is now truly skin agnostic.
+ Updated the default text for tooltips for Buttons of type "radio" so that
they offer the correct instructional text.
+ Menus with grouped YAHOO.widget.MenuItem instances will now highlight
correctly when used with Button.
+ Buttons of type "link" now have the same default height as other Button
types in Internet Explorer.
+ Buttons of various types now line up correctly on the same line.
+ Menu is now truly an optional dependancy of Button.
+ Menus now render with the correct width when the "yui-skin-sam" CSS class
name is applied to an element other than the <BODY>.
*** Version 2.3.1 ***
Fixed the following bugs:
-------------------------
+ Purged the old 2.2.2 Button stylesheet and related image assets that was
mistakenly included in the 2.3.0 build.
+ Fixed an issue in Gecko where changing a Button instance's "label" attribute
after the Button had been created would not result in the Button redrawing at
a width to fit its content.
+ Fixed an issue where the singleton keypress event handler
(YAHOO.widget.Button.onFormKeyPress) registered for forms containing
Button instances of type "submit" was not removed from the form once all of
its child Button instances are destroyed.
+ Submitting a form by clicking on a MenuItem of a SplitButton's or MenuButton's
Menu will no longer result in a JavaScript error.
+ Modified how element tag names are compared to support XHTML applications.
+ Added code to remove the CSS class names representing the "hover," "focus,"
and "active" states when a Button instance is disabled.
*** Version 2.3 ***
Added the following features:
-----------------------------
+ Added a "focusmenu" configuration attribute that controls whether or not a
Button instance's menu will automatically be focused when made visible.
+ Added a "lazyloadmenu" configuration attribute that controls the value of
the "lazyload" configuration property of a Button's menu.
+ Added "menuclassname" configuration attribute that defines a CSS class name
to be applied to the root HTML element of a button's menu.
Fixed the following bugs:
-------------------------
+ Setting the "label" attribute of a Button of type "link" to a string with
a "www." prefix will no longer result in the value of the "href" property
being used for the "label" in IE.
+ Disabling a Button when its menu is visible will now result in the menu
being hidden.
+ Hidden field(s) created by a Button instance are now removed if the
submission of its parent form is cancelled.
+ If a Button instance is preceeded by another enabled HTML submit button
(<input type="submit" ...> or <button type="submit" ...>), it will no longer
create a hidden field representing its name and value when its parent form
is submitted.
+ If an HTML form contains a mix of YUI Buttons of type "submit" and standard
HTML submit buttons (<input type="submit" ...> or <button type="submit" ...>)
its "submit" event will no longer fire twice when it is submitted by the user
pressing the enter key while focus inside another HTML form control.
+ If all Button instances in a form are disabled, the form will no longer be
submitted when the user presses the enter key while focused inside another
HTML form control.
+ The first enabled Button instance in a form now correctly adds its name and
value to the form's data set when the form is submitted by the user pressing
the enter key while focused inside another form control.
+ Fixed typo in the source file for the ButtonGroup class that was causing the
private variable "m_oButtons" to be declared as a global.
+ Switched to use of the CSS display type "-moz-inline-box" from
"-moz-inline-stack" for Gecko-based browsers so that the entire area of a
Button instance is clickable when it is rendered inside another inline
element.
+ Added "yui-button" and "yui-[button type]-button" prefix to CSS classes to
sandbox Button styles.
Changes:
--------
+ Default value of "type" configuration attribute now "push" (was "button").
+ Type "menubutton" now "menu."
+ Type "splitbuton" now "split."
+ Added "addStateCSSClasses" method.
+ Added "removeStateCSSClasses" method.
+ Renamed protected property "_hiddenField" to "_hiddenFields."
+ Removed protected "submit" event handler named "_onFormSubmit."
+ Renamed public method "createHiddenField" to "createHiddenFields."
+ Added new "removeHiddenFields" method.
+ Renamed static method "YAHOO.widget.Button.onFormKeyDown"
to "YAHOO.widget.Button.onFormKeyPress."
+ Renamed "TAG_NAME" constant (YAHOO.widget.Button.prototype.TAG_NAME and
YAHOO.widget.ButtonGroup.prototype.TAG_NAME) to
"NODE_NAME" (YAHOO.widget.Button.prototype.NODE_NAME and
YAHOO.widget.ButtonGroup.prototype.NODE_NAME).
+ The "selectedMenuItem" configuration attribute now correctly gets/sets the
index of the selected MenuItem instance of the button's menu, rather than a
MenuItem instance.
+ The "container" configuration attribute is now writeonce
+ The "menu" configuration attribute is now writeonce
+ The root element of each button's menu now will have two CSS classes
appended to it:
- The CSS class name specified by the "menuclassname" configuration
attribute (by default is "yui-button-menu")
- A type-specific class name (either "yui-split-button-menu"
or "yui-menu-button-menu")
+ "menu" configuration attribute now supports creation or use of
YAHOO.widget.Overlay in addition to previously supported
YAHOO.widget.Menu:
- To create a menu from existing markup using YAHOO.widget.Overlay, pass the
id or node reference of the HTML element to be used to create the Overlay
as the value of the "menu" configuration attribute.
- YAHOO.widget.Overlay instances passed as a value for the "menu"
configuration attribute need to be fully rendered.
- To create a menu from existing markup using YAHOO.widget.Menu, pass the
id or node reference of the HTML element to be used to create the menu
as the value of the "menu" configuration attribute and give the
HTML element the same class name as specified by
YAHOO.widget.Menu.prototype.CSS_CLASS_NAME.
- YAHOO.widget.Overlay instances used as a menu are by default not rendered
until they are are made visible for the first time. This behavior
can be changed so that they are rendered immediately by setting the value
of the "lazyloadmenu" configuration attribute to "false."
+ If you pass an element id for the value of the "menu" configuration
attribute, that node is now accessed immediately via the "get" method of the
Dom utility (YAHOO.util.Dom) as opposed to the "onContentReady" method of the
Event utility (YAHOO.util.Event).
+ Modified code to support a more generic markup format. Now any number of
HTML elements can exist between a Button's root HTML element and its button
node (be it an <A> or <BUTTON> element):
<ROOT_NODE> ... <BUTTON_NODE /> ... </ROOT_NODE>
+ A Button can now be initialized using any of the following six HTML patterns:
- <A> TEXT/HTML </A>
- <BUTTON> TEXT/HTML </BUTTON>
- <INPUT />
- <ROOT_NODE> ... <A> TEXT/HTML </A> ... </ROOT_NODE>
- <ROOT_NODE> ... <BUTTON> TEXT/HTML </BUTTON> ... </ROOT_NODE>
- <ROOT_NODE> ... <INPUT /> ... </ROOT_NODE>
+ The id of a Button instance can now match that of its source element.
+ CSS changes:
1) All Buttons have a "yui-" prefix as opposed to "yui":
2.2.2 | 2.3
-------------------------
.yuibutton | .yui-button
2) Each Button type has its own class name with a "yui-" prefix and
"-button" suffix IN ADDITION TO the default "yui-button" class name:
2.2.2 | 2.3
------------------------------------------
.yuibutton.splitbutton | .yui-split-button
.yuibutton.menubutton | .yui-menu-button
* Allows for the definition of generic styles that apply to all buttons,
while providing a means for uniquely styling buttons of a specific type.
3) For states that are common to all Buttons, two classes are applied: a
generic class name (i.e. yui-button-[state]) and a type-specific state class
name (yui-[type]-button-[state]):
2.2.2 | 2.3
-------------------------------------------
.yuibutton.focus | .yui-button-focus
.yuibutton.radio.focus | .yui-radio-button-focus
* States common to all Button types are:
+ focus
+ hover
+ active
+ disabled
** Allows for the definition of generic styles that apply to all states of
all buttons, while providing a means for uniquely styling states for
buttons of a specific type.
4) Buttons of type "radio" and "checkbox" have two classes applied to
represent their "checked" state: a generic class name
(i.e. yui-button-checked) and a type-specific class
name (yui-[type]-button-checked):
2.2.2 | 2.3
-------------------------------------------
.yuibutton.checked | .yui-button-checked
.yuibutton.radio.checked | .yui-radio-button-checked
.yuibutton.checkbox.checked | .yui-checkbox-button-checked
** This allows for the definition of a universal style for all Buttons that
have a "checked" state or the ability to define a type-specific style for
the "checked" state.
5) States that are specific to a particular type only get a type-specific
state class name. Currently this only applies to the "splitbutton" type:
2.2.2 | 2.3
-------------------------------------------
.yuibutton.activeoption | .yui-split-button-activeoption
6) The "ie6" class name is removed.
*** Version 2.2.2 ***
+ No changes
*** Version 2.2.1 ***
Added the following features:
-----------------------------
+ Added "getHiddenField" method to YAHOO.widget.Button.
Fixed the following bugs:
-------------------------
+ Removed built-in use of the Event utility's "onAvailable" method from the
constructor of Button and ButtonGroup as it was preventing the addition of
event listeners on instances created from existing markup. Going forward
Button and ButtonGroup instances created from existing markup can only be
instantiated once their source HTML element is available in the DOM. The
Button examples illustrate how this can be accomplished.
+ Modified code so that disabled Button instances no longer fire DOM events.
+ Pressing the enter key while focused on a form field whose parent form
contains a Button instance of type "submit" will now automatically submit
the form using the first Button instance of type "submit".
+ Clicking a Button instance of type="submit" will now cause the Button's
parent form's "submit" event to fire.
+ Modified Button CSS so that the filter used to apply alpha transparency to
a Button's background PNG is only used by IE 6. The previous code was
enabling IE's Alpha image loader for IE 7 in Quirks mode.
+ Fixed documentation error for "getForm" method.
Changes:
--------
+ Made the "submitForm" method of YAHOO.widget.Button public (was
previously protected).
+ Removed "init" event and corresponding "oninit" configuration attribute
from YAHOO.widget.Button and YAHOO.widget.ButtonGroup.
+ Added the CSS class "ie6" to button.css. This classname is append to root
DOM element of Button instances created with IE 6. By default this class
is used to apply a filter that gives alpha transparency to a Button's
background PNG.
*** Version 2.2.0 ***
* Button Control introduced

View file

@ -0,0 +1,44 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-button {
display: -moz-inline-box; /* Gecko */
display: inline-block; /* IE, Opera and Safari */
vertical-align: text-bottom;
}
.yui-button .first-child {
display: block;
*display: inline-block; /* IE */
}
.yui-button button,
.yui-button a {
display: block;
*display: inline-block; /* IE */
border: none;
margin: 0;
}
.yui-button button {
background-color: transparent;
*overflow: visible; /* Remove superfluous padding for IE */
cursor: pointer;
}
.yui-button a {
text-decoration: none;
}

View file

@ -0,0 +1,232 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-skin-sam .yui-button {
border-width: 1px 0;
border-style: solid;
border-color: #808080;
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
margin: auto .25em;
}
.yui-skin-sam .yui-button .first-child {
border-width: 0 1px;
border-style: solid;
border-color: #808080;
margin: 0 -1px;
*position: relative; /* Necessary to get negative margins working in IE */
*left: -1px;
}
.yui-skin-sam .yui-button button,
.yui-skin-sam .yui-button a {
padding: 0 10px;
font-size: 93%; /* 12px */
line-height: 2; /* ~24px */
*line-height: 1.7; /* For IE */
min-height: 2em; /* For Gecko */
*min-height: auto; /* For IE */
color: #000;
}
.yui-skin-sam .yui-button a {
/*
Necessary to get Button's of type "link" to be the correct
height in IE.
*/
*line-height: 2;
}
.yui-skin-sam .yui-split-button button,
.yui-skin-sam .yui-menu-button button {
padding-right: 20px;
background-position: right center;
background-repeat: no-repeat;
}
.yui-skin-sam .yui-menu-button button {
background-image: url(menu-button-arrow.png);
}
.yui-skin-sam .yui-split-button button {
background-image: url(split-button-arrow.png);
}
/* Focus state */
.yui-skin-sam .yui-button-focus {
border-color: #7D98B8;
background-position: 0 -1300px;
}
.yui-skin-sam .yui-button-focus .first-child {
border-color: #7D98B8;
}
.yui-skin-sam .yui-button-focus button,
.yui-skin-sam .yui-button-focus a {
color: #000;
}
.yui-skin-sam .yui-split-button-focus button {
background-image: url(split-button-arrow-focus.png);
}
/* Hover state */
.yui-skin-sam .yui-button-hover {
border-color: #7D98B8;
background-position: 0 -1300px;
}
.yui-skin-sam .yui-button-hover .first-child {
border-color: #7D98B8;
}
.yui-skin-sam .yui-button-hover button,
.yui-skin-sam .yui-button-hover a {
color: #000;
}
.yui-skin-sam .yui-split-button-hover button {
background-image: url(split-button-arrow-hover.png);
}
/* Active state */
.yui-skin-sam .yui-button-active {
border-color: #7D98B8;
background-position: 0 -1700px;
}
.yui-skin-sam .yui-button-active .first-child {
border-color: #7D98B8;
}
.yui-skin-sam .yui-button-active button,
.yui-skin-sam .yui-button-active a {
color: #000;
}
.yui-skin-sam .yui-split-button-activeoption {
border-color: #808080;
background-position: 0 0;
}
.yui-skin-sam .yui-split-button-activeoption .first-child {
border-color: #808080;
}
.yui-skin-sam .yui-split-button-activeoption button {
background-image: url(split-button-arrow-active.png);
}
/* Checked state */
.yui-skin-sam .yui-radio-button-checked,
.yui-skin-sam .yui-checkbox-button-checked {
border-color: #304369;
background-position: 0 -1400px;
}
.yui-skin-sam .yui-radio-button-checked .first-child,
.yui-skin-sam .yui-checkbox-button-checked .first-child {
border-color: #304369;
}
.yui-skin-sam .yui-radio-button-checked button,
.yui-skin-sam .yui-checkbox-button-checked button {
color: #fff;
}
/* Disabled state */
.yui-skin-sam .yui-button-disabled {
border-color: #ccc;
background-position: 0 -1500px;
}
.yui-skin-sam .yui-button-disabled .first-child {
border-color: #ccc;
}
.yui-skin-sam .yui-button-disabled button,
.yui-skin-sam .yui-button-disabled a {
color: #A6A6A6;
cursor: default;
}
.yui-skin-sam .yui-menu-button-disabled button {
background-image: url(menu-button-arrow-disabled.png);
}
.yui-skin-sam .yui-split-button-disabled button {
background-image: url(split-button-arrow-disabled.png);
}

View file

@ -0,0 +1,7 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-button{display:-moz-inline-box;display:inline-block;vertical-align:text-bottom;}.yui-button .first-child{display:block;*display:inline-block;}.yui-button button,.yui-button a{display:block;*display:inline-block;border:none;margin:0;}.yui-button button{background-color:transparent;*overflow:visible;cursor:pointer;}.yui-button a{text-decoration:none;}.yui-skin-sam .yui-button{border-width:1px 0;border-style:solid;border-color:#808080;background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;margin:auto .25em;}.yui-skin-sam .yui-button .first-child{border-width:0 1px;border-style:solid;border-color:#808080;margin:0 -1px;*position:relative;*left:-1px;}.yui-skin-sam .yui-button button,.yui-skin-sam .yui-button a{padding:0 10px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam .yui-button a{*line-height:2;}.yui-skin-sam .yui-split-button button,.yui-skin-sam .yui-menu-button button{padding-right:20px;background-position:right center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-button button{background-image:url(menu-button-arrow.png);}.yui-skin-sam .yui-split-button button{background-image:url(split-button-arrow.png);}.yui-skin-sam .yui-button-focus{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-focus .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-focus button,.yui-skin-sam .yui-button-focus a{color:#000;}.yui-skin-sam .yui-split-button-focus button{background-image:url(split-button-arrow-focus.png);}.yui-skin-sam .yui-button-hover{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-hover .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-hover button,.yui-skin-sam .yui-button-hover a{color:#000;}.yui-skin-sam .yui-split-button-hover button{background-image:url(split-button-arrow-hover.png);}.yui-skin-sam .yui-button-active{border-color:#7D98B8;background-position:0 -1700px;}.yui-skin-sam .yui-button-active .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-active button,.yui-skin-sam .yui-button-active a{color:#000;}.yui-skin-sam .yui-split-button-activeoption{border-color:#808080;background-position:0 0;}.yui-skin-sam .yui-split-button-activeoption .first-child{border-color:#808080;}.yui-skin-sam .yui-split-button-activeoption button{background-image:url(split-button-arrow-active.png);}.yui-skin-sam .yui-radio-button-checked,.yui-skin-sam .yui-checkbox-button-checked{border-color:#304369;background-position:0 -1400px;}.yui-skin-sam .yui-radio-button-checked .first-child,.yui-skin-sam .yui-checkbox-button-checked .first-child{border-color:#304369;}.yui-skin-sam .yui-radio-button-checked button,.yui-skin-sam .yui-checkbox-button-checked button{color:#fff;}.yui-skin-sam .yui-button-disabled{border-color:#ccc;background-position:0 -1500px;}.yui-skin-sam .yui-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam .yui-button-disabled button,.yui-skin-sam .yui-button-disabled a{color:#A6A6A6;cursor:default;}.yui-skin-sam .yui-menu-button-disabled button{background-image:url(menu-button-arrow-disabled.png);}.yui-skin-sam .yui-split-button-disabled button{background-image:url(split-button-arrow-disabled.png);}

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

4670
www/extras/yui/build/button/button.js vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,398 @@
Calendar Release Notes
*** version 2.5.1 ***
+ Fixed bug with mindate, maxdate being applied incorrectly if
set to a day on which time change took place (DST, E.U Summertime)
and the day is not the first day of the week.
+ Fixed DateMath.getWeekNumber implementation to return correct
week numbers. The older implementation would return Week 0 for
certain weeks (e.g. the week starting Sun Dec 28th 2008)
To suppor the fix, DateMath.getWeekNumber has a signature
change in 2.5.1 and can now support U.S Week calculations based
on Jan 1st identifying the first week of the year, as well as
ISO8601 week calculations based on Jan 4th identifying the first
week of the year
The arguments which the method expected prior to 2.5.1 were not
being used in calculating the week number. The new signature is:
DateMath.getWeekNumber(Date dt, Number firstDayOfWeek, Number janDate)
Where:
dt is the date for which week number is required
firstDayOfWeek is the day index identifying the first
day of the week. Default is 0 (Sunday).
janDate is the date in the first week of January, which
identifies the first week of the year.
Default is YAHOO.widget.DateMath.WEEK_ONE_JAN_DATE (1)
NOTE: Calendar instances themselves do not currently expose a
configuration property to change the week numbering system
used. A "janDate" value is not passed to the getWeekNumber
method, when used by Calendar, resulting in it using the default value.
Therefore, ISO8601 week numbering can be generated for Calendars
by setting the value of YAHOO.widget.DateMath.WEEK_ONE_JAN_DATE
to 4.
*** version 2.5.0 ***
+ Prevent default event handling in CalendarNavigator enter key
listener, to prevent automatic form submission when using Calendar
inside a form.
+ Added workaround to DateMath.add and subtract for Safari 2 (webkit)
bug in Date.setDate(n) which doesn't handle value of n less than -128
or greater than 127 correctly.
See: http://brianary.blogspot.com/2006/03/safari-date-bug.html
+ Added border, padding and margin rules to Calendar Sam Skin to
protect Sam Skin's look and feel when Calendar is used with
YUI base.css
*** version 2.4.0 ***
+ Added CalendarNavigator (year selector) feature to allow the user to
jump to a year/month directly without having to scroll through months
sequentially.
The feature is enabled/configured using the "navigator" configuration
property.
+ Added Custom Events:
showNav/beforeShowNav
hideNav/beforeHideNav,
renderNav/beforeRenderNav
To Calendar/CalendarGroup, in support of the CalendarNavigator
functionality.
+ Added Custom Events:
show/beforeShow
hide/beforeHide
To Calendar and CalendarGroup. Returning false from a
beforeShow/beforeHide listener can be used to prevent the Calendar
from being shown/hidden respectively.
+ Added Public Methods:
getCellIndex(date) [ Calendar ]
getCalendarPage(date) [ CalendarGroup ]
toDate(dateArray) [ Calendar/CalendarGroup ]
removeRenderers() [ Calendar/CalendarGroup ]
+ The Calendar/CalendarGroup constructor is now more flexible:
* It no longer requires an "id" argument.
In it's simplest form, a Calendar/CalendarGroup can be
constructed by simply providing a container id or reference.
var cal = new YAHOO.widget.Calendar("container");
-or-
var containerDiv = YAHOO.util.Dom.get("container");
var cal = new YAHOO.widget.Calendar(containerDiv);
An id for the Calendar does not need to be provided, and will be
generated from the container id by appending an "_t" suffix to the
container id if only the container is provided.
* The container argument can be either a string, representing the
id of the container, or an HTMLElement referring to the container
element itself, as suggested in the example above.
* If an HTMLElement is provided for the container argument and the
element does not have an id, one will be generated for it using
YAHOO.util.Dom.generateId().
* The older form of Calendar/CalendarGroup signature, expecting
both an id and containerId is still supported and works as it did
prior to 2.4.0.
+ Fixed performance issue, where the same custom renderer was being
applied multiple times to the same cell.
+ Added getDate(year, month, date) factory method to the DateMath utility,
which can be used to create JavaScript Date instances for years less
than 100.
The default Date(year, month, date) constructor implementations across
browsers, assume that if year < 100, the caller is referring to the
nineteen hundreds, and the year is set to 19xx instead of xx (as with
the deprecated setYear method). However Date.setFullYear(xx) can
be used to set dates below 100. The above factory method provides a
construction mechanism consistent with setFullYear.
+ Changed Calendar/CalendarGroup/DateMath code to use the DateMath.getDate
method, so that 2 digit years are not assumed to be in the 1900's.
NOTE: Calendar's API already expects 4 digit date strings when referring
to years after 999.
*** version 2.3.1 ***
+ Changed Calendar/CalendarGroup to render an empty title bar element
when "close" is set to true, but "title" has not been set, to allow Sam
Skin to render a title bar correctly.
*** version 2.3.0 ***
+ Added checks to select, selectCell, deselect and deselectCell methods
to ensure the Calendar/Calendar group was not set to an invalid state
by programmatically selecting unselectable dates or cells.
+ Added new locale configuration properties for the Month/Year label
used in the Calendar header (MY_LABEL_MONTH_POSITION,
MY_LABEL_YEAR_POSITION, MY_LABEL_YEAR_SUFFIX, MY_LABEL_MONTH_SUFFIX).
Japan is an example locale, where customization of the Month/Year
label is required.
+ Changed "first", "last" class names to "first-of-type", "last-of-type",
to avoid collision with YUI Grids' use of the "first" class name.
+ Added public isDateOOB method, to check if a given date is outside of
the minimum/maximum configuration dates of the Calendar.
+ Deprecated YAHOO.widget.Calendar.browser, refactored to use
YAHOO.env.ua instead.
+ Removed overflow:hidden from default Calendar/CalendarGroup container
for non-IE6 browsers to fix clipping issue with IE7 when CalendarGroup
was inside a box with a specific width. overflow:hidden is still
required for IE6 with an iframe shim.
+ Added Opera container width calculation fix to CalendarGroup.show
method, to fix incorrect wrapping when using a CalendarGroup which is
initially rendered hidden (display:none). Previously this fix was
only applied on render.
*** version 2.2.2 ***
+ Fixed problem with selected dates being shared across instances, when
more than one Calendar/CalendarGroup was on the page
*** version 2.2.1 ***
+ Fixed problem with selectCell adding duplicate selected date entries
for dates which were already selected
+ Fixed problem with CalendarGroup iframe shim not covering the
CalendarGroup title area
+ Removed javascript:void(null) from close button and cell links which
was interrupting form submission and firing onbeforeunload in IE
+ Fixed problem with CalendarGroup getSelectedDates returning invalid
results, when used in conjunction with the "selected" Config property
(either passed in the constructor config argument or set seperately
after construction)
+ Refactored Calendar and CalendarGroup to improve performance,
especially when working with a large number of instances in
IE6
*** version 2.2.0 ***
+ Image customization can now be done through CSS. Images for Close,
Left and Right Arrows are now pulled in using CSS defined in
calendar.css and by default use relative paths to the images in
the same directory as calendar.css.
+ Deprecated Calendar.IMG_ROOT and NAV_ARROW_LEFT, NAV_ARROW_RIGHT
configuration properties. Customizations based on older releases
which set these properties will still function as expected.
+ Deprecated CalendarGroup.CSS_2UPCLOSE. Calendar's Style.CSS_CLOSE
property now represents the new default CSS class (calclose) for
the close button. CSS_2UPCLOSE is still applied along with
CSS_CLOSE to the new markup for the close button to support existing
customizations of the CSS_2UPCLOSE CSS class (close-icon)
+ Fixed problem with Safari setting Calendar pages to incorrect dates
if the pages spanned a year boundary in CalendarGroups with 3 or more
pages, due to a bug in Safari's implementation of Date setMonth
+ Fixed problem with CalendarGroup setMonth rendering Calendar pages
with incorrect dates in all browsers if current pages spanned year
boundary
+ Fixed incorrect CalendarGroup logging statement in calendar-debug.js
+ Fixed domEventMap support for Safari versions prior to 2.0.2,
caused by hasOwnProperty not being supported
+ Removed unused private property : _pageDate from Calendar class
*** version 0.12.2 ***
+ Corrected documentation for clearTime function to reflect the
change from midnight to noon
*** version 0.12.1 ***
+ Calendar and CalendarGroup now automatically parse the argument
passed to setMonth and setYear into an integer, eliminating
potential concatenation bugs.
*** version 0.12 ***
+ New documentation format implemented
+ Calendar2up and Calendar_Core are now deprecated. Now, Calendar alone
represents the single Calendar instance, and CalendarGroup represents
an n-up instance, defaulting to 2up
+ Added semantic style classes to Calendar elements to allow for
custom styling solely using CSS.
+ Remapped all configuration properties to use the Config object
(familiar to those who use the Container collection of controls).
Property names are the same as their previous counterparts, but
wrapped into Calendar.cfg, allowing for runtime reconfiguration of
most properties
+ Added "title" property for setting the Calendar title
+ Added "close" property for enabling and disabling the close icon
+ Added "iframe" property for enabling an iframe shim in Internet
Explorer 6 and below to fix the select bleed-through bug
+ pageDate moved to property: "pagedate"
+ selectedDates moved to property: "selected"
+ minDate moved to property : "mindate", which accepts a JavaScript
Date object like its predecessor, but also supports string dates
+ maxDate moved to property : "maxdate", which accepts a JavaScript
Date object like its predecessor, but also supports string dates
+ Moved style declarations to initStyles function
+ Optimized event handling in doSelectCell/doCellMouseOver/
doCellMouseOut by only attaching the listener to the outer
Calendar container, and only reacting to events on cells with
the "selectable" CSS class.
+ Added domEventMap field for applying DOM event listeners to cells
containing specific class and tag combinations.
+ Moved all cell DOM event attachment to applyListeners function
+ Added getDateByCellId / getDateFieldsByCellId helper functions
+ Corrected DateMath.getWeekNumber to comply with ISO week number
handling
+ Separated renderCellDefault style portions into styleCellDefault
function for easy extension
+ Deprecated onBeforeSelect. Created beforeSelectEvent which
automatically subscribes to its deprecated predecessor.
+ Deprecated onSelect. Created selectEvent, which automatically
subscribes to its deprecated predecessor.
+ Deprecated onBeforeDeselect. Created beforeSelectEvent which
automatically subscribes to its deprecated predecessor.
+ Deprecated onDeselect. Created beforeDeselectEvent, which
automatically subscribes to its deprecated predecessor.
+ Deprecated onChangePage. Created changePageEvent, which automatically
subscribes to its deprecated predecessor.
+ Deprecated onRender. Created renderEvent, which automatically
subscribes to its deprecated predecessor.
+ Deprecated onReset. Created resetEvent, which automatically
subscribes to its deprecated predecessor.
+ Deprecated onClear. Created clearEvent, which automatically
subscribes to its deprecated predecessor.
+ Corrected setMonth documentation to refer to 0-11 indexed months.
+ Added show and hide methods to Calendar for setting the Calendar's
display property.
+ Optimized internal render classes to use innerHTML and string buffers
+ Removed wireCustomEvents function
+ Removed wireDefaultEvents function
+ Removed doNextMonth / doPreviousMonth
+ Removed all buildShell (header, body, footer) functions, since
the Calendar shell is now built dynamically on each render
+ Wired all CalendarGroup events and configuration properties to
be properly delegated to Calendar
+ Augmented CalendarGroup with all built-in renderers, label functions,
hide, show, and initStyles, creating API transparency between Calendar
and CalendarGroup.
+ Made all tagName, createElement, and entity references XHTML compliant
+ Fixed Daylight Saving Time bug for Brazilian time zone
*** version 0.11.3 ***
+ Calendar_Core: Added arguments for selected/deselected dates to
onSelect/onDeselect
+ CalendarGroup: Fixed bug where selected dates passed to constructor
were not represented in selectedDates
+ Calendar2up: Now displays correctly in Opera 9
*** version 0.11.0 ***
+ DateMath: DateMath.add now properly adds weeks
+ DateMath: between() function added
+ DateMath: getWeekNumber() fixed to take starting day of week into
account
+ All references to Calendar's built in CSS class handlers are
removed, replaced with calls to Dom utility (addClass, removeClass)
+ Several CSS class constants now have clearer names
+ All CSS classes are now properly namespaced to avoid CSS conflicts
+ Fixed table:hover bug in CSS
+ Calendar no longer requires the container ID and variable name to
match in order for month navigation to function properly
+ Calendar month navigation arrows are now represented as
background images
*** version 0.10.0 ***
+ Major performance improvements from attaching DOM events to
associated table cells only once, when the Calendar shell is built
+ DOM events for mouseover/mouseout are now fired for all browsers
(not just Internet Explorer)
+ Reset functionality bug fixed for 2-up Calendar view
*** version 0.9.0 ***
* Initial release

View file

@ -0,0 +1,126 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
/**
* CORE
*
* This is the set of CSS rules required by Calendar to drive core functionality and structure.
* Changes to these rules may result in the Calendar not functioning or rendering correctly.
*
* They should not be modified for skinning.
**/
/* CALENDAR BOUNDING BOX */
.yui-calcontainer {
position:relative;
float:left;
_overflow:hidden; /* IE6 only, to clip iframe shim */
}
/* IFRAME SHIM */
.yui-calcontainer iframe {
position:absolute;
border:none;
margin:0;padding:0;
z-index:0;
width:100%;
height:100%;
left:0px;
top:0px;
}
/* IFRAME SHIM IE6 only */
.yui-calcontainer iframe.fixedsize {
width:50em;
height:50em;
top:-1px;
left:-1px;
}
/* BOUNDING BOX FOR EACH CALENDAR GROUP PAGE */
.yui-calcontainer.multi .groupcal {
z-index:1;
float:left;
position:relative;
}
/* TITLE BAR */
.yui-calcontainer .title {
position:relative;
z-index:1;
}
/* CLOSE ICON CONTAINER */
.yui-calcontainer .close-icon {
position:absolute;
z-index:1;
}
/* CALENDAR TABLE */
.yui-calendar {
position:relative;
}
/* NAVBAR LEFT ARROW CONTAINER */
.yui-calendar .calnavleft {
position:absolute;
z-index:1;
}
/* NAVBAR RIGHT ARROW CONTAINER */
.yui-calendar .calnavright {
position:absolute;
z-index:1;
}
/* NAVBAR TEXT CONTAINER */
.yui-calendar .calheader {
position:relative;
width:100%;
text-align:center;
}
/* CalendarNavigator */
.yui-calcontainer .yui-cal-nav-mask {
position:absolute;
z-index:2;
margin:0;
padding:0;
width:100%;
height:100%;
_width:0; /* IE6, IE7 quirks - width/height set programmatically to match container */
_height:0;
left:0;
top:0;
display:none;
}
/* NAVIGATOR BOUNDING BOX */
.yui-calcontainer .yui-cal-nav {
position:absolute;
z-index:3;
top:0;
display:none;
}
/* NAVIGATOR BUTTONS (based on button-core.css) */
.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn {
display: -moz-inline-box; /* Gecko */
display: inline-block; /* IE, Opera and Safari */
}
.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button {
display: block;
*display: inline-block; /* IE */
*overflow: visible; /* Remove superfluous padding for IE */
border: none;
background-color: transparent;
cursor: pointer;
}
/* Specific changes for calendar running under fonts/reset */
.yui-calendar .calbody a:hover {background:inherit;}
p#clear {clear:left; padding-top:10px;}

View file

@ -0,0 +1,314 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
.yui-calcontainer {
position:relative;
padding:5px;
background-color:#F7F9FB;
border:1px solid #7B9EBD;
float:left;
_overflow:hidden; /* IE6 only, to clip iframe shim */
}
.yui-calcontainer iframe {
position:absolute;
border:none;
margin:0;padding:0;
z-index:0;
width:100%;
height:100%;
left:0px;
top:0px;
}
/* IE6 only */
.yui-calcontainer iframe.fixedsize {
width:50em;
height:50em;
top:-1px;
left:-1px;
}
.yui-calcontainer.multi {
padding:0;
}
.yui-calcontainer.multi .groupcal {
padding:5px;
background-color:transparent;
z-index:1;
float:left;
position:relative;
border:none;
}
.yui-calcontainer .title {
font:100% sans-serif;
color:#000;
font-weight:bold;
margin-bottom:5px;
height:25px;
position:absolute;
top:3px;left:5px;
z-index:1;
}
.yui-calcontainer .close-icon {
position:absolute;
right:3px;
top:3px;
border:none;
z-index:1;
}
.yui-calcontainer .calclose {
background: url("calx.gif") no-repeat;
width:17px;
height:13px;
cursor:pointer;
}
/* Calendar element styles */
.yui-calendar {
font:100% sans-serif;
text-align:center;
border-spacing:0;
border-collapse:separate;
position:relative;
}
.yui-calcontainer.withtitle {
padding-top:1.5em;
}
.yui-calendar .calnavleft {
position:absolute;
cursor:pointer;
top:2px;
bottom:0;
width:9px;
height:12px;
left:2px;
z-index:1;
background: url("callt.gif") no-repeat;
}
.yui-calendar .calnavright {
position:absolute;
cursor:pointer;
top:2px;
bottom:0;
width:9px;
height:12px;
right:2px;
z-index:1;
background: url("calrt.gif") no-repeat;
}
.yui-calendar td.calcell {
padding:.1em .2em;
border:1px solid #E0E0E0;
text-align:center;
}
.yui-calendar td.calcell a {
color:#003DB8;
text-decoration:none;
}
.yui-calendar td.calcell.today {
border:1px solid #000;
}
.yui-calendar td.calcell.oom {
cursor:default;
color:#999;
background-color:#EEE;
border:1px solid #E0E0E0;
}
.yui-calendar td.calcell.selected {
color:#003DB8;
background-color:#FFF19F;
border:1px solid #FF9900;
}
.yui-calendar td.calcell.calcellhover {
cursor:pointer;
color:#FFF;
background-color:#FF9900;
border:1px solid #FF9900;
}
.yui-calendar td.calcell.calcellhover a {
color:#FFF;
}
.yui-calendar td.calcell.restricted {
text-decoration:line-through;
}
.yui-calendar td.calcell.previous {
color:#CCC;
}
.yui-calendar td.calcell.highlight1 { background-color:#CCFF99; }
.yui-calendar td.calcell.highlight2 { background-color:#99CCFF; }
.yui-calendar td.calcell.highlight3 { background-color:#FFCCCC; }
.yui-calendar td.calcell.highlight4 { background-color:#CCFF99; }
.yui-calendar .calhead {
border:1px solid #E0E0E0;
vertical-align:middle;
background-color:#FFF;
}
.yui-calendar .calheader {
position:relative;
width:100%;
text-align:center;
}
.yui-calendar .calheader img {
border:none;
}
.yui-calendar .calweekdaycell {
color:#666;
font-weight:normal;
text-align:center;
width:1.5em;
}
.yui-calendar .calfoot {
background-color:#EEE;
}
.yui-calendar .calrowhead, .yui-calendar .calrowfoot {
color:#666;
font-size:9px;
font-style:italic;
font-weight:normal;
width:15px;
}
.yui-calendar .calrowhead {
border-right-width:2px;
}
/* CalendarNavigator */
.yui-calendar a.calnav {
_position:relative;
padding-left:2px;
padding-right:2px;
text-decoration:none;
color:#000;
}
.yui-calendar a.calnav:hover {
border:1px solid #003366;
background-color:#6699cc;
background: url(calgrad.png) repeat-x;
color:#fff;
cursor:pointer;
}
.yui-calcontainer .yui-cal-nav-mask {
position:absolute;
z-index:2;
display:none;
margin:0;
padding:0;
left:0;
top:0;
width:100%;
height:100%;
_width:0; /* IE6, IE7 Quirks - width/height set programmatically to match container */
_height:0;
background-color:#000;
opacity:0.25;
*filter:alpha(opacity=25);
}
.yui-calcontainer .yui-cal-nav {
position:absolute;
z-index:3;
display:none;
padding:0;
top:1.5em;
left:50%;
width:12em;
margin-left:-6em;
border:1px solid #7B9EBD;
background-color:#F7F9FB;
font-size:93%;
}
.yui-calcontainer.withtitle .yui-cal-nav {
top:3.5em;
}
.yui-calcontainer .yui-cal-nav-y,
.yui-calcontainer .yui-cal-nav-m,
.yui-calcontainer .yui-cal-nav-b {
padding:2px 5px 2px 5px;
}
.yui-calcontainer .yui-cal-nav-b {
text-align:center;
}
.yui-calcontainer .yui-cal-nav-e {
margin-top:2px;
padding:2px;
background-color:#EDF5FF;
border-top:1px solid black;
display:none;
}
.yui-calcontainer .yui-cal-nav label {
display:block;
font-weight:bold;
}
.yui-calcontainer .yui-cal-nav-mc {
width:100%;
_width:auto; /* IE6 doesn't like width 100% */
}
.yui-calcontainer .yui-cal-nav-y input.yui-invalid {
background-color:#FFEE69;
border: 1px solid #000;
}
.yui-calcontainer .yui-cal-nav-yc {
width:3em;
}
.yui-calcontainer .yui-cal-nav-b button {
font-size:93%;
text-decoration:none;
cursor: pointer;
background-color: #79b2ea;
border: 1px solid #003366;
border-top-color:#FFF;
border-left-color:#FFF;
margin:1px;
}
.yui-calcontainer .yui-cal-nav-b .yui-default button {
/* not implemented */
}
/* Specific changes for calendar running under fonts/reset */
.yui-calendar .calbody a:hover {background:inherit;}
p#clear {clear:left; padding-top:10px;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 B

View file

@ -0,0 +1,361 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
/**
* SAM
*
* Skin colors used:
*
* - Control Border : 808080
* - Control Chrome : f2f2f2
* - Cell Borders : cccccc
* - Normal Cell BG : ffffff
* - Date Links : 0066cc
* - Selected Cells BG : b3d4ff
* - Cell Hover BG : 426fd9
* - Disabled BG : cccccc
* - Disabled Text Color : a6a6a6
**/
/* CALENDAR BOUNDING BOX */
.yui-skin-sam .yui-calcontainer {
background-color:#f2f2f2;
border:1px solid #808080;
padding:10px;
}
/* CALENDARGROUP BOUNDING BOX */
.yui-skin-sam .yui-calcontainer.multi {
padding:0 5px 0 5px;
}
/* BOUNDING BOX FOR EACH CALENDAR GROUP PAGE */
.yui-skin-sam .yui-calcontainer.multi .groupcal {
background-color:transparent;
border:none;
padding:10px 5px 10px 5px;
margin:0;
}
/* TITLE BAR */
.yui-skin-sam .yui-calcontainer .title {
background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
border-bottom:1px solid #cccccc;
font:100% sans-serif;
color:#000;
font-weight:bold;
height:auto;
padding:.4em;
margin:0 -10px 10px -10px;
top:0;
left:0;
text-align:left;
}
.yui-skin-sam .yui-calcontainer.multi .title {
margin:0 -5px 0 -5px;
}
.yui-skin-sam .yui-calcontainer.withtitle {
padding-top:0;
}
/* CLOSE BUTTON */
.yui-skin-sam .yui-calcontainer .calclose {
background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -300px;
width:25px;
height:15px;
top:.4em;
right:.4em;
cursor:pointer;
}
/* CALENDAR TABLE */
.yui-skin-sam .yui-calendar {
border-spacing:0;
border-collapse:collapse;
font:100% sans-serif;
text-align:center;
margin:0;
}
/* NAVBAR BOUNDING BOX */
.yui-skin-sam .yui-calendar .calhead {
background:transparent;
border:none;
vertical-align:middle;
padding:0;
}
/* NAVBAR TEXT CONTAINER */
.yui-skin-sam .yui-calendar .calheader {
background:transparent;
font-weight:bold;
padding:0 0 .6em 0;
text-align:center;
}
.yui-skin-sam .yui-calendar .calheader img {
border:none;
}
/* NAVBAR LEFT ARROW */
.yui-skin-sam .yui-calendar .calnavleft {
background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -450px;
width:25px;
height:15px;
top:0;
bottom:0;
left:-10px;
margin-left:.4em;
cursor:pointer;
}
/* NAVBAR RIGHT ARROW */
.yui-skin-sam .yui-calendar .calnavright {
background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -500px;
width:25px;
height:15px;
top:0;
bottom:0;
right:-10px;
margin-right:.4em;
cursor:pointer;
}
/* WEEKDAY HEADER ROW */
.yui-skin-sam .yui-calendar .calweekdayrow {
height:2em;
}
.yui-skin-sam .yui-calendar .calweekdayrow th {
padding:0;
border:none;
}
/* WEEKDAY (Su, Mo, Tu...) HEADER CELLS */
.yui-skin-sam .yui-calendar .calweekdaycell {
color:#000;
font-weight:bold;
text-align:center;
width:2em;
}
/* CALENDAR FOOTER. NOT IMPLEMENTED BY DEFAULT */
.yui-skin-sam .yui-calendar .calfoot {
background-color:#f2f2f2;
}
/* WEEK NUMBERS (ROW HEADERS/FOOTERS) */
.yui-skin-sam .yui-calendar .calrowhead, .yui-skin-sam .yui-calendar .calrowfoot {
color:#a6a6a6;
font-size:85%;
font-style:normal;
font-weight:normal;
border:none;
}
.yui-skin-sam .yui-calendar .calrowhead {
text-align:right;
padding:0 2px 0 0;
}
.yui-skin-sam .yui-calendar .calrowfoot {
text-align:left;
padding:0 0 0 2px;
}
/* NORMAL CELLS */
.yui-skin-sam .yui-calendar td.calcell {
border:1px solid #cccccc;
background:#fff;
padding:1px;
height:1.6em;
line-height:1.6em; /* set line height equal to cell height to center vertically */
text-align:center;
white-space:nowrap;
}
/* LINK INSIDE NORMAL CELLS */
.yui-skin-sam .yui-calendar td.calcell a {
color:#0066cc;
display:block;
height:100%;
text-decoration:none;
}
/* TODAY'S DATE */
.yui-skin-sam .yui-calendar td.calcell.today {
background-color:#000;
}
.yui-skin-sam .yui-calendar td.calcell.today a {
background-color:#fff;
}
/* OOM DATES */
.yui-skin-sam .yui-calendar td.calcell.oom {
background-color:#cccccc;
color:#a6a6a6;
cursor:default;
}
/* SELECTED DATE */
.yui-skin-sam .yui-calendar td.calcell.selected {
background-color:#fff;
color:#000;
}
.yui-skin-sam .yui-calendar td.calcell.selected a {
background-color:#b3d4ff;
color:#000;
}
/* HOVER DATE */
.yui-skin-sam .yui-calendar td.calcell.calcellhover {
background-color:#426fd9;
color:#fff;
cursor:pointer;
}
.yui-skin-sam .yui-calendar td.calcell.calcellhover a {
background-color:#426fd9;
color:#fff;
}
/* DEFAULT OOB DATES */
.yui-skin-sam .yui-calendar td.calcell.previous {
color:#e0e0e0;
}
/* CUSTOM RENDERERS */
.yui-skin-sam .yui-calendar td.calcell.restricted { text-decoration:line-through; }
.yui-skin-sam .yui-calendar td.calcell.highlight1 { background-color:#ccff99; }
.yui-skin-sam .yui-calendar td.calcell.highlight2 { background-color:#99ccff; }
.yui-skin-sam .yui-calendar td.calcell.highlight3 { background-color:#ffcccc; }
.yui-skin-sam .yui-calendar td.calcell.highlight4 { background-color:#ccff99; }
/* CalendarNavigator */
/* MONTH/YEAR LABEL */
.yui-skin-sam .yui-calendar a.calnav {
border: 1px solid #f2f2f2;
padding:0 4px;
text-decoration:none;
color:#000;
zoom:1;
}
.yui-skin-sam .yui-calendar a.calnav:hover {
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
border-color:#A0A0A0;
cursor:pointer;
}
/* NAVIGATOR MASK */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-mask {
background-color:#000;
opacity:0.25;
*filter:alpha(opacity=25); /* IE */
}
/* NAVIGATOR BOUNDING BOX */
.yui-skin-sam .yui-calcontainer .yui-cal-nav {
font-family:arial,helvetica,clean,sans-serif;
font-size:93%;
border:1px solid #808080;
left:50%;
margin-left:-7em;
width:14em;
padding:0;
top:2.5em;
background-color:#f2f2f2;
}
.yui-skin-sam .yui-calcontainer.withtitle .yui-cal-nav {
top:4.5em;
}
/* NAVIGATOR BOUNDING BOX */
.yui-skin-sam .yui-calcontainer.multi .yui-cal-nav {
width:16em;
margin-left:-8em;
}
/* NAVIGATOR YEAR/MONTH/BUTTON/ERROR BOUNDING BLOCKS */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-y,
.yui-skin-sam .yui-calcontainer .yui-cal-nav-m,
.yui-skin-sam .yui-calcontainer .yui-cal-nav-b {
padding:5px 10px 5px 10px;
}
.yui-skin-sam .yui-calcontainer .yui-cal-nav-b {
text-align:center;
}
.yui-skin-sam .yui-calcontainer .yui-cal-nav-e {
margin-top:5px;
padding:5px;
background-color:#EDF5FF;
border-top:1px solid black;
display:none;
}
/* NAVIGATOR LABELS */
.yui-skin-sam .yui-calcontainer .yui-cal-nav label {
display:block;
font-weight:bold;
}
/* NAVIGATOR MONTH CONTROL */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-mc {
width:100%;
_width:auto; /* IE6, IE7 Quirks don't handle 100% well */
}
/* NAVIGATOR MONTH CONTROL, VALIDATION ERROR */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-y input.yui-invalid {
background-color:#FFEE69;
border: 1px solid #000;
}
/* NAVIGATOR YEAR CONTROL */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-yc {
width:4em;
}
/* NAVIGATOR BUTTONS */
/* BUTTON WRAPPER */
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn {
border:1px solid #808080;
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
background-color:#ccc;
margin: auto .15em;
}
/* BUTTON (based on button-skin.css) */
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button {
padding:0 8px;
font-size:93%;
line-height: 2; /* ~24px */
*line-height: 1.7; /* For IE */
min-height: 2em; /* For Gecko */
*min-height: auto; /* For IE */
color: #000;
}
/* DEFAULT BUTTONS */
/* NOTE: IE6 will only pickup the yui-default specifier from the multiple class specifier */
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default {
border:1px solid #304369;
background-color: #426fd9;
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1400px;
}
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default button {
color:#fff;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

6850
www/extras/yui/build/calendar/calendar.js vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,17 @@
YUI Library - Charts - Release Notes
2.5.1
* No changes
2.5.0
* Added lineSize style to series styles
* Added showLabels substyle to xAxis and yAxis styles
* Added more descriptive local content warning for ExternalInterface failure
* Improved minor unit calculation
* Fixed animation and marker positioning bugs
* Fixed bug that caused series definition update to fail
* Fixed bug that caused setting hex color values with # symbol to fail
* Added initialization flag to ensure DataSource doesn't receive multiple requests during initialization.
2.4.0
* Experimental release

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more