MDL-14383 Removing YUI 2.5.0 to upgrade to 2.5.2

This commit is contained in:
nicolasconnault
2008-07-25 10:41:39 +00:00
parent ed1fcf794b
commit 10740b3360
153 changed files with 0 additions and 91043 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 B

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

Before

Width:  |  Height:  |  Size: 2.3 KiB

-7
View File
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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
-7
View File
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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;}
-7
View File
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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.

Before

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

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

Before

Width:  |  Height:  |  Size: 1.4 KiB

-7
View File
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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.

Before

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

-7
View File
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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;}
-7
View File
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.yui-resize{position:relative;zoom:1;z-index:0;}.yui-resize-wrap{zoom:1;}.yui-draggable{cursor:move;}.yui-resize .yui-resize-handle{position:absolute;z-index:1;font-size:0;margin:0;padding:0;zoom:1;height:1px;width:1px;}.yui-resize .yui-resize-handle-br{height:5px;width:5px;bottom:0;right:0;cursor:se-resize;z-index:2;zoom:1;}.yui-resize .yui-resize-handle-bl{height:5px;width:5px;bottom:0;left:0;cursor:sw-resize;z-index:2;zoom:1;}.yui-resize .yui-resize-handle-tl{height:5px;width:5px;top:0;left:0;cursor:nw-resize;z-index:2;zoom:1;}.yui-resize .yui-resize-handle-tr{height:5px;width:5px;top:0;right:0;cursor:ne-resize;z-index:2;zoom:1;}.yui-resize .yui-resize-handle-r{width:5px;height:100%;top:0;right:0;cursor:e-resize;zoom:1;}.yui-resize .yui-resize-handle-l{height:100%;width:5px;top:0;left:0;cursor:w-resize;zoom:1;}.yui-resize .yui-resize-handle-b{width:100%;height:5px;bottom:0;right:0;cursor:s-resize;zoom:1;}.yui-resize .yui-resize-handle-t{width:100%;height:5px;top:0;right:0;cursor:n-resize;zoom:1;}.yui-resize-proxy{position:absolute;border:1px dashed #000;visibility:hidden;z-index:1000;}.yui-resize-hover .yui-resize-handle,.yui-resize-hidden .yui-resize-handle{opacity:0;filter:alpha(opacity=0);}.yui-resize-ghost{opacity:.5;filter:alpha(opacity=50);}.yui-resize-knob .yui-resize-handle{height:6px;width:6px;}.yui-resize-knob .yui-resize-handle-tr{right:-3px;top:-3px;}.yui-resize-knob .yui-resize-handle-tl{left:-3px;top:-3px;}.yui-resize-knob .yui-resize-handle-bl{left:-3px;bottom:-3px;}.yui-resize-knob .yui-resize-handle-br{right:-3px;bottom:-3px;}.yui-resize-knob .yui-resize-handle-t{left:45%;top:-3px;}.yui-resize-knob .yui-resize-handle-r{right:-3px;top:45%;}.yui-resize-knob .yui-resize-handle-l{left:-3px;top:45%;}.yui-resize-knob .yui-resize-handle-b{left:45%;bottom:-3px;}.yui-resize-status{position:absolute;top:-999px;left:-999px;padding:2px;font-size:80%;display:none;zoom:1;z-index:9999;}.yui-resize-status strong,.yui-resize-status em{font-weight:normal;font-style:normal;padding:1px;zoom:1;}.yui-skin-sam .yui-resize .yui-resize-handle{background-color:#F2F2F2;}.yui-skin-sam .yui-resize .yui-resize-handle-active{background-color:#7D98B8;zoom:1;}.yui-skin-sam .yui-resize-knob .yui-resize-handle{border:1px solid #808080;}.yui-skin-sam .yui-resize-hover .yui-resize-handle-active{opacity:1;filter:alpha(opacity=100);}.yui-skin-sam .yui-resize-proxy{border:1px dashed #426FD9;}.yui-skin-sam .yui-resize-status{border:1px solid #A6982B;border-top:1px solid #D4C237;background-color:#FFEE69}.yui-skin-sam .yui-resize-status strong,.yui-skin-sam .yui-resize-status em{float:left;display:block;clear:both;padding:1px;text-align:center;}.yui-skin-sam .yui-resize .yui-resize-handle-inner-r,.yui-skin-sam .yui-resize .yui-resize-handle-inner-l{background:transparent url( layout_sprite.png) no-repeat 0 -5px;height:16px;width:5px;position:absolute;top:45%;}.yui-skin-sam .yui-resize .yui-resize-handle-inner-t,.yui-skin-sam .yui-resize .yui-resize-handle-inner-b{background:transparent url(layout_sprite.png) no-repeat -20px 0;height:5px;width:16px;position:absolute;left:50%;}.yui-skin-sam .yui-resize .yui-resize-handle-br{background-image:url( layout_sprite.png );background-repeat:no-repeat;background-position:-22px -62px;}.yui-skin-sam .yui-resize .yui-resize-handle-tr{background-image:url( layout_sprite.png );background-repeat:no-repeat;background-position:-22px -42px;}.yui-skin-sam .yui-resize .yui-resize-handle-tl{background-image:url( layout_sprite.png );background-repeat:no-repeat;background-position:-22px -82px;}.yui-skin-sam .yui-resize .yui-resize-handle-bl{background-image:url( layout_sprite.png );background-repeat:no-repeat;background-position:-22px -23px;}.yui-skin-sam .yui-resize-knob .yui-resize-handle-t,.yui-skin-sam .yui-resize-knob .yui-resize-handle-r,.yui-skin-sam .yui-resize-knob .yui-resize-handle-b,.yui-skin-sam .yui-resize-knob .yui-resize-handle-l,.yui-skin-sam .yui-resize-knob .yui-resize-handle-tl,.yui-skin-sam .yui-resize-knob .yui-resize-handle-tr,.yui-skin-sam .yui-resize-knob .yui-resize-handle-bl,.yui-skin-sam .yui-resize-knob .yui-resize-handle-br,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-t,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-r,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-b,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-l,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-tl,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-tr,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-bl,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-br{background-image:none;}
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.

Before

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

-7
View File
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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.

Before

Width:  |  Height:  |  Size: 1.1 KiB

-7
View File
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
-162
View File
@@ -1,162 +0,0 @@
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.
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
-357
View File
@@ -1,357 +0,0 @@
Calendar Release Notes
*** 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
-6821
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
-6791
View File
File diff suppressed because it is too large Load Diff
@@ -1,6 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 B

-267
View File
@@ -1,267 +0,0 @@
Connection Manager Release Notes
*** version 2.5.0 ***
* setForm() can now detects HTTPS in the URI for file upload transactions. The
third, boolean argument for HTTPS when using IE is no longer necessary.
* [FIXED] SF1882101. POST transactions without a message will now have a
Content-Length value set to 0 for FF 2.x. This is accomplished by passing a
value of empty string instead of null to XHR's send(). All other A-Grade
browsers remain unaffected and perform correctly.
*** version 2.4.0 ***
* [FIXED] SF1804153. Transactions initialized with setForm() now properly clear
the POST data field after each transaction.
* The callback object can accept a new member, cache, defined with a boolean
value. If set to false (e.g., var callback = { cache:false };), a timestamp
will be appended to the URI to override HTTP GET caching. This timestamp value
will appear as rnd=timestamp in the request querystring.
* Custom Events startEvent, completeEvent, and abortEvent now receive
callback.argument, if defined, in addition to the transaction ID. Each Custom
Event's function handler receives two arguments -- the event type as the first
argument, and an array as the second argument. The first element in the array
is the transaction ID, and the second element are any arguments defined in the
callback object.
*** version 2.3.1 ***
* setDefaultPostHeader() can now be overloaded with a boolean, string, or
number. By default, POST transactions send the following Content-Type header:
'application/x-www-form-urlencoded; charset=UTF-8'.
A custom Content-Type header can now be set by passing its value to
setDefaultPostHeader().
* HTML form submissions now send a Content-Type header of "application/x-www-
form-urlencoded", omitting the charset=UTF-8 value.
* setDefaultXhrHeader() can now be overloaded with a boolean, string, or number.
By default, all transactions send a custom header of "X-Requested-
With:XMLHttpRequest".
This default header value can be overridden by passing the desired value as an
argument to setDefaultPostHeader().
* The file upload iframe's event listener is now explicitly removed before the
iframe is destroyed.
*** version 2.3.0 ***
* Custom Events are introduced in Connection Manager. These events -- for a
non-file upload transaction -- are:
* startEvent
* completeEvent
* successEvent
* failureEvent
* abortEvent
For transactions involving file upload with an HTML form, the events are:
* startEvent
* completeEvent
* uploadEvent
* abortEvent
* Event utility is a now Connection Manager dependency.
* abort() and isCallInProgress() are now functional for file upload
transactions.
* NOTE: The native XHR implementation in Safari 2.0.4 has been confirmed to leak
memory.
* UPDATE: The XHR implementation in Safari 3.0 beta(and WebKit builds) now
appear to handle HTTP 204 responses correctly. XHR in Opera, as of 9.21, still
does not produce a valid HTTP status code with an HTTP 204 response.
*** version 2.2.2 ***
* No revisions.
*** version 2.2.1 ***
* setForm() will include the correct name-value of the HTML Submit button
clicked where multiple HTML Submit button options are present in an HTML form.
To enable this feature, include the Event utility source file as a dependency
before the Connection Manager source file.
* The XHR implementation in IE6 and IE7, Opera, and Safari do not properly
handle an HTTP 204 response. IE6/7 will instead return a Win error 1223.
handleTransactionResponse() will treat 1223 as an HTTP 204, and route the
response appropriately to the success callback. createResponseObject() will
normalize the response object's status and statusText values to 204 and "No
Content" respectively. However, no headers are returned.
Opera and Safari provide no discernable response with HTTP 204(e.g., response
object's properties are undefined). This response will trigger the failure
callback with a status of 0 and statusText of "communication failure".
*** version 2.2.0 ***
* initHeader() now accepts a third argument as a boolean. When set to true,
this specific header will automatically be sent with each transaction.
Otherwise, the header will be set and sent for the specific transaction only.
Example: initHeader('X-YUI-State','Beta', true); all transactions will send this
header.
* resetDefaultHeaders() will clear the default headers collection.
* All Connection Mananger transactions will broadcast the header: "X-Requested-
With: XMLHttpRequest".
* This can be turned off: YAHOO.util.Connect.setDefaultXhrHeader(false);
* The HTTP method argument in asyncRequest is now case-insensitive.
* uploadFile() will now correctly handle the absence of a callback object,
allowing the transaction to complete silently.
*** version 0.12.2 ***
* The Opera/Connection Manager concurrent object condition, described in version
0.12.0, no longer tests applies for Opera, version 9.10.
*** version 0.12.1 ***
* connection-debug.js corrected and synchronized with connection.js. Code
inconsistencies between the two files existed in 0.12.0.
*** version 0.12.0 ***
* When uploading files via setForm() and asyncRequest includes a POST data
argument, appendPostData() will create hidden input fields for each postData
label/value and append each field to the form object.
* setForm() returns the assembled label/value string of the parsed HTML form
fields.
* NOTE: Opera 9.02 does not allow for more than 12 concurrent Connection Manager
objects.
The following example creates 12 requests in a loop:
for(var n=0; n<=12; i++){
conn[n] = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback);
}
If n > 13, Opera 9.02 will crash. Connection manager objects count n must be <=
12 at all times. This condition was not present in Opera version 9.01.
This condition does not apply to other A-Grade browsers (
http://developer.yahoo.com/yui/articles/gbs/gbs_browser-chart.html)
*** version 0.11.3 ***
* YUI Event dependency for file uploading is now optional.
* uploadFile() now sets unique IDs for each file upload transaction to prevent
iframe collisions with parallel uploads.
* The callback object now has property responseXML to provide support for file
upload transactions that return an XML document.
* setForm() will verify if a select option value attribute is present and use
its value, including empty string, before using the text node value.
* Modified polling mechanism in handleReadyState() and
handleTransactionResponse() to prevent infinite polling if JavaScript errors
occur in the user-defined callback.
* createFrame() will now accept a boolean argument of true to set the frame
source to "javascript:false" to prevent IE from throwing security warnings in an
HTTPS environment.
* setHeader() now enumerates through the _http_header object using
hasOwnProperty() to prevent collisions with members added to Object via
prototype.
* If using setForm() and asyncRequest includes a POST data argument, the data
will be concatenated to the HTML form POST message.
*** version 0.11.2 ***
* No revisions.
*** version 0.11.1 ***
* uploadFile() now verifies the existence of callback.upload before invoking
callback, with or without object scope.
*** version 0.11.0 ***
* Each transaction can be defined with a timeout threshold, in milliseconds,
through the callback object. If the threshold is reached, and the transaction
hasn't yet completed, the transaction will call abort().
* abort() will now accept a callback object as the second argument. The
failure callback will receive a response object to indicate the transaction was
aborted.
* setForm() will now support file uploads by setting the second argument to
true (e.g., YAHOO.util.Connect.setForm(formObject, true). File upload does not
use the callback success or failure handler. Instead, it uses a new callback
object handler: upload.
* HTML form submit will no longer submit form fields without a defined name
attribute.
* The default POST header of 'Content-Type','application/x-www-form-urlencoded'
can be overridden by calling setDefaultPostHeader(false). This
will remove the default header from non-HTML form, POST submissions.
* setHeader() now enumerates through the _http_header object with
propertyIsEnumerable to prevent collisions with members added to Object via
prototype.
*** version 0.10.0 ***
* handleTransactionResponse() now treats the full HTTP 2xx range as a success
case, instead of just HTTP 200.
* To accommodate multiple field values in Mozilla/Firefox, multiple initHeader
calls with the same label will now result in the values concatenated to a
comma- delimited string value.
Example:
Setting Content-Type:'application/x-www-form-urlencoded' and Content-
Type:'text/xml' will result in Content-Type:'application/x-www-form-urlencoded,
text/xml'.
* Default polling interval lowered to 50ms.
* YAHOO.util.Connect.setPollingInterval() will allow you to set a polling
interval -- in milliseconds -- to override the default value.
* YAHOO.util.Connect.getResponseHeader[headerLabel] now supported as a response
object property to provide symmetry with the native XHR object's property.
Example:
YAHOO.util.Connect.getResponseHeader['Content-Length'] will return the value
for the Content-Length header, if the header is available.
* YAHOO.util.Connect.allResponseHeaders property renamed to
getAllResponseHeaders to provide symmetry with the native XHR object's
property.
* YAHOO.util.Connect.setForm() now supports HTTP GET as well as HTTP POST.
* YAHOO.util.Connect.setForm() now accepts an HTML form object as well as its
name attribute value.
* YAHOO.util.Connect.setForm() will not submit HTML form fields that are
disabled or do not have a name attribute value.
* [FIXED] Response exceptions result in infinite callback loop in
Mozilla/Firefox.
* [FIXED] YAHOO.util.Connect.abort() now properly clears polling interval.
* [FIXED] isCallInProgress() now verifies whether XHR instance still exists,
and returns false if the connection object is no longer available.
*** 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
-1365
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 971 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 B

-160
View File
@@ -1,160 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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 {
/*
Application of "overflow:auto" prevents Mac scrollbars from bleeding
through the modality mask in Gecko. The block-scollbars class is only
added for Gecko on MacOS
*/
overflow: auto;
}
/*
PLEASE NOTE:
1) ".masked select" is used to prevent <SELECT> elements bleeding through
the modality mask in IE 6.
2) ".drag select" is used to hide <SELECT> elements when dragging a
Panel in IE 6. This is necessary to prevent some redraw problems with
the <SELECT> elements when a Panel instance is dragged.
3) ".hide-select select" is appended to an Overlay instance's root HTML
element when it is being annimated by YAHOO.widget.ContainerEffect.
This is necessary because <SELECT> elements don't inherit their parent
element's opacity in IE 6.
*/
.masked select,
.drag select,
.hide-select select {
_visibility: hidden;
}
.yui-panel-container select {
_visibility: inherit;
}
/*
There are two known issues with YAHOO.widget.Overlay (and its subclasses) that
manifest in Gecko-based browsers on Mac OS X:
1) Elements with scrollbars will poke through Overlay instances floating
above them.
2) An Overlay's scrollbars and the scrollbars of its child nodes remain
visible when the Overlay is hidden.
To fix these bugs:
1) The "overflow" property of an Overlay instance's root element and child
nodes is toggled between "hidden" and "auto" (through the application
and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
as its "visibility" configuration property is toggled between
"false" and "true."
2) The "display" property of <SELECT> elements that are child nodes of the
Overlay instance's root element is set to "none" when it is hidden.
PLEASE NOTE:
1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
applied only for Gecko on Mac OS X and are added/removed to/from the
Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
"showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.
2) There may be instances where the CSS for a web page or application
contains style rules whose specificity override the rules implemented by
the Container CSS files to fix this bug. In such cases, is necessary to
leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
write custom style rules to guard against this bug.
** For more information on this issue, see:
+ https://bugzilla.mozilla.org/show_bug.cgi?id=187435
+ SourceForge bug #1723530
*/
.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;
}
/*
Workaround for Safari 2.x - the yui-force-redraw class is applied, and then removed when
the Panel's content changes, to force Safari 2.x to redraw the underlay.
We attempt to choose a CSS property which has no visual impact when added,
removed.
*/
.yui-panel-container.shadow .underlay.yui-force-redraw {
padding-bottom: 1px;
}
.yui-effect-fade .underlay {
display:none;
}
/*
PLEASE NOTE: The <DIV> element used for a Tooltip's shadow is appended
to its root element via JavaScript once it has been rendered. The
code that creates the shadow lives in the Tooltip's public "onRender"
event handler that is a prototype method of YAHOO.widget.Tooltip.
Implementers wishing to remove a Tooltip's shadow or add any other markup
required for a given skin for Tooltip should override the "onRender" method.
*/
.yui-tt-shadow {
position: absolute;
}
-318
View File
@@ -1,318 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.yui-overlay,
.yui-panel-container {
visibility:hidden;
position:absolute;
z-index: 2;
}
.yui-tt {
visibility:hidden;
position:absolute;
color:#333;
background-color:#FDFFB4;
font-family:arial,helvetica,verdana,sans-serif;
padding:2px;
border:1px solid #FCC90D;
font:100% sans-serif;
width:auto;
}
/*
PLEASE NOTE: The <DIV> element used for a Tooltip's shadow is appended
to its root element via JavaScript once it has been rendered. The
code that creates the shadow lives in the Tooltip's public "onRender"
event handler that is a prototype method of YAHOO.widget.Tooltip.
Implementers wishing to remove a Tooltip's shadow or add any other markup
required for a given skin for Tooltip should override the "onRender" method.
*/
.yui-tt-shadow {
display: none;
}
* html body.masked select {
visibility:hidden;
}
* html div.yui-panel-container select {
visibility:inherit;
}
* html div.drag select {
visibility:hidden;
}
* html div.hide-select select {
visibility:hidden;
}
.mask {
z-index: 1;
display:none;
position:absolute;
top:0;
left:0;
-moz-opacity: 0.5;
opacity:.50;
filter: alpha(opacity=50);
background-color:#CCC;
}
/*
There are two known issues with YAHOO.widget.Overlay (and its subclasses) that
manifest in Gecko-based browsers on Mac OS X:
1) Elements with scrollbars will poke through Overlay instances floating
above them.
2) An Overlay's scrollbars and the scrollbars of its child nodes remain
visible when the Overlay is hidden.
To fix these bugs:
1) The "overflow" property of an Overlay instance's root element and child
nodes is toggled between "hidden" and "auto" (through the application
and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
as its "visibility" configuration property is toggled between
"false" and "true."
2) The "display" property of <SELECT> elements that are child nodes of the
Overlay instance's root element is set to "none" when it is hidden.
PLEASE NOTE:
1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
applied only for Gecko on Mac OS X and are added/removed to/from the
Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
"showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.
2) There may be instances where the CSS for a web page or application
contains style rules whose specificity override the rules implemented by
the Container CSS files to fix this bug. In such cases, is necessary to
leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
write custom style rules to guard against this bug.
** For more information on this issue, see:
+ https://bugzilla.mozilla.org/show_bug.cgi?id=187435
+ SourceForge bug #1723530
*/
.hide-scrollbars,
.hide-scrollbars * {
overflow: hidden;
}
.hide-scrollbars select {
display: none;
}
.show-scrollbars {
overflow: auto;
}
.yui-panel-container.show-scrollbars {
overflow: visible;
}
.yui-panel-container.show-scrollbars .underlay {
overflow: auto;
}
.yui-panel-container.focused {
}
/* Panel underlay styles */
.yui-panel-container .underlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.yui-panel-container.matte {
padding: 3px;
background-color: #fff;
}
.yui-panel-container.shadow .underlay {
top: 3px;
bottom: -3px;
right: -3px;
left: 3px;
background-color: #000;
opacity: .12;
filter: alpha(opacity=12); /* For IE */
}
/*
Workaround for Safari 2.x - the yui-force-redraw class is applied, and then removed when
the Panel's content changes, to force Safari 2.x to redraw the underlay.
We attempt to choose a CSS property which has no visual impact when added,
removed, but still causes Safari to redraw
*/
.yui-panel-container.shadow .underlay.yui-force-redraw {
padding-bottom: 1px;
}
.yui-effect-fade .underlay {
display:none;
}
.yui-panel {
visibility:hidden;
border-collapse:separate;
position:relative;
left:0;
top:0;
font:1em Arial;
background-color:#FFF;
border:1px solid #000;
z-index:1;
overflow:hidden;
}
.yui-panel .hd {
background-color:#3d77cb;
color:#FFF;
font-size:100%;
line-height:100%;
border:1px solid #FFF;
border-bottom:1px solid #000;
font-weight:bold;
padding:4px;
white-space:nowrap;
}
.yui-panel .bd {
overflow:hidden;
padding:4px;
}
.yui-panel .bd p {
margin:0 0 1em;
}
.yui-panel .container-close {
position:absolute;
top:5px;
right:4px;
z-index:6;
height:12px;
width:12px;
margin:0px;
padding:0px;
background:url(close12_1.gif) no-repeat;
cursor:pointer;
visibility:inherit;
}
.yui-panel .ft {
padding:4px;
overflow:hidden;
}
.yui-simple-dialog .bd .yui-icon {
background-repeat:no-repeat;
width:16px;
height:16px;
margin-right:10px;
float:left;
}
.yui-simple-dialog .bd span.blckicon {
background: url("blck16_1.gif") no-repeat;
}
.yui-simple-dialog .bd span.alrticon {
background: url("alrt16_1.gif") no-repeat;
}
.yui-simple-dialog .bd span.hlpicon {
background: url("hlp16_1.gif") no-repeat;
}
.yui-simple-dialog .bd span.infoicon {
background: url("info16_1.gif") no-repeat;
}
.yui-simple-dialog .bd span.warnicon {
background: url("warn16_1.gif") no-repeat;
}
.yui-simple-dialog .bd span.tipicon {
background: url("tip16_1.gif") no-repeat;
}
.yui-dialog .ft,
.yui-simple-dialog .ft {
padding-bottom:5px;
padding-right:5px;
text-align:right;
}
.yui-dialog form,
.yui-simple-dialog form {
margin:0;
}
.button-group button {
font:100 76% verdana;
text-decoration:none;
background-color: #E4E4E4;
color: #333;
cursor: hand;
vertical-align: middle;
border: 2px solid #797979;
border-top-color:#FFF;
border-left-color:#FFF;
margin:2px;
padding:2px;
}
.button-group button.default {
font-weight:bold;
}
.button-group button:hover,
.button-group button.hover {
border:2px solid #90A029;
background-color:#EBF09E;
border-top-color:#FFF;
border-left-color:#FFF;
}
.button-group button:active {
border:2px solid #E4E4E4;
background-color:#BBB;
border-top-color:#333;
border-left-color:#333;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 928 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 B

@@ -1,297 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/* Panel modality mask styles */
.yui-skin-sam .mask {
background-color: #000;
opacity: .25;
*filter: alpha(opacity=25); /* Set opacity in IE */
}
/* Panel styles */
.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 {
/*
Use of "zoom: 1" is to trigger "haslayout" for IE to get
negative margins working.
*/
*zoom: 1;
/*
Use of "position: relative" is necessary to get negative margins
working in IE.
*/
*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%; /* 12px */
line-height: 2; /* ~24px */
*line-height: 1.9; /* For IE */
font-weight: bold;
color: #000;
background: url(../../../../assets/skins/sam/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(../../../../assets/skins/sam/sprite.png) no-repeat 0 -300px;
cursor:pointer;
}
/* Panel underlay styles */
.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 {
/* IE 7 Quirks Mode and IE 6 Standards Mode and Quirks mode */
_padding: 2px 5px 0 3px;
}
.yui-skin-sam .yui-panel-container.shadow .underlay {
position: absolute;
top: 2px;
right: -3px;
bottom: -3px;
left: -3px;
/* IE 7 Standards Mode */
*top: 3px;
*left: -1px;
*right: -1px;
*bottom: -1px;
/* IE 7 Quirks Mode and IE 6 Standards Mode and Quirks mode */
_top: 0;
_right: 0;
_bottom: 0;
_left: 0;
_margin-top: 3px;
_margin-left: -1px;
background-color: #000;
opacity: .12;
*filter: alpha(opacity=12); /* Set opacity in IE */
}
/* Dialog styles */
.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;
}
/* Dialog default button style */
.yui-skin-sam .yui-dialog .ft button.default {
font-weight:bold;
}
/* Dialog default YUI Button style */
.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;
}
/* SimpleDialog icon styles */
.yui-skin-sam .yui-simple-dialog .bd .yui-icon {
background: url(../../../../assets/skins/sam/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;
}
/* Tooltip styles */
.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); /* For IE */
}
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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(../../../../assets/skins/sam/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(../../../../assets/skins/sam/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(../../../../assets/skins/sam/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);}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 580 B

-124
View File
@@ -1,124 +0,0 @@
Dom Release Notes
** Known Issues **
* margin/padding/borders on HTML element cause getXY to misreport
* margin/borders on BODY element may cause getXY to misreport
* Fixed postioning causes getXY to misreport in some cases
----------------------------
*** version 2.5.0 ***
* get() now correctly handles textNodes
*** version 2.4.0 ***
* no longer accounting for safari body margin when offsetParent == body
* isAncestor and inDocument no longer use batch
* added getClientRegion()
*** version 2.3.1 ***
* allow batch() to work on array-like object
* return null from Dom.get(undefined)
*** version 2.3.0 ***
* added getAncestorBy methods
* added getChildren methods
* added getSibling methods
* trimming added for class mgmt methods
* fixed getXY inside table for Opera
*** version 2.3.0 ***
* added getAncestorBy methods
* added getChildren methods
* added getSibling methods
* trimming added for class mgmt methods
* fixed getXY inside table for Opera
*** version 2.2.2 ***
* fixed getXY scroll regression
*** version 2.2.1 ***
* fixed toCamel propertyCache used by set/getStyle
* added set/getStyle support for float property
* optimized get() for common use case
* fixed getXY for safari when el has absolute ancestors
* using className property instead of string literal for class mgmt methods
* added getXY/getRegion support for body element
*** version 2.2.0 ***
* no change
*** version 0.12.2 ***
* no change
*** version 0.12.1 ***
* getElementsByClassName no longer reverts to document when "root" not found
* setXY no longer makes a second call to getXY unless noRetry is false
* minified version no longer strips line breaks
*** version 0.12.0 ***
* fixed getXY for IE null parent
* branching set/getStyle at load time instead of run time
*** version 0.11.3 ***
* fixed getX and getY returning incorrect values for collections
* fixed getXY incorrectly calculated for Opera inline elements
* fixed isAncestor failure in safari when 2nd arg is document.documentElement
* fixed infinite loop in replaceClass when oldClassName == newClassName
* getDocumentWidth no longer includes scrollbars
*** version 0.11.2 ***
* limit depth of parent.document crawl to 1 for getXY
* test offsetParent instead of parentNode for getXY
* return null if no el fo r get
* just addClass if no class to replace for replaceClass
*** version 0.11.1 ***
* return null if el is null for get()
* test offsetParent rather than parentNode for getXY()
* limit depth of parent.document crawl for IE getXY() to 1
* if no oldClassName to replace, just addClass for replaceClass()
*** version 0.11.0 ***
* Work around Opera 9 broken currentStyle
* Removed timeout wrapper from setXY retry
* Tagname tests now case-insensitive
* Internal "this" references changed to allow for method shorthand
* get/setStyle now accept both camel and hyphen case
* Gecko reverted to crawling offsets for getXY
*** version 0.10.0 ***
* Safari now fails gracefully when querying computedStyle of an unavailable element
* Class management functions added (hasClass, addClass, removeClass, replaceClass, getElementsByClassName)
* All methods that accept HTMLElements or IDs now also accept arrays of HTMLElements and/or IDs
* GenerateId method added
* isAncestor method added
* inDocument method added
* getElementsBy method added
* batch method added
* getClientHeight/Width deprecated in favor of getViewportHeight/Width
* getDocumentHeight/Width methods added
*** version 0.9.0 ***
* Initial release
-1261
View File
File diff suppressed because it is too large Load Diff
-8
View File
File diff suppressed because one or more lines are too long
-1225
View File
File diff suppressed because it is too large Load Diff
-165
View File
@@ -1,165 +0,0 @@
Drag and Drop Release Notes
2.5.0
* Added CustomEvents in addition to method overrides
(See API Docs for more information)
* Added an IFRAME element to the proxy div (only in IE) to keep select
elements and other object from bleeding through
2.4.0
* Added configuration option called "dragOnly". If dragOnly is set to true,
all event in the fireEvents method will not fire. These events are:
onInvalidDrop
b4DragOut & onDragOut
onDragEnter
b4DragOver & onDragOver
b4DragDrop & onDragDrop
This config option should be used to drag elements that have no need for
drop interaction. They are elements that just need to move.
2.3.1
* No change
2.3.0
* YAHOO.util.DragDropMgr.stopDrag is now public, and can be used to cancel
a drag in progress. An optional "silent" flag was added to skip the
onMouseUp and endDrag functions when needed (eliminating the need to
supply mouseup page coordinates to these functions).
* DDProxy: the position of the proxy is not set before the drag is confirmed,
preventing auto-scroll from distrupting the user experience.
* Modified the default proxy so that IE properly registers the proxy as
the event target during the drag.
* If a dd instance is created using a dom reference rather than an id, that
reference is stored and used throughout making it possible to control
instances outside the current window.
* The document mousemove listener no longer returns true.
2.2.2
* No change
2.2.1
* Added YAHOO.util.DragDropMgr.interactionInfo, which is
a repository of interaction information accumulated during
the current event loop result, and accessible from the
handlers for the events.
* The region for the dragged element is now cached while
processing the drag and drop events
* List example supports moving an item to an empty list
* Fixed missing html tags in the examples
* The debug version now works when included before the logger is included.
2.2.0
* onMouseDown event is executed before element positions are calculated
* refreshCache refreshes everything if groups array is not provided
* setX/setYConstraint doesn't fail when presented ints cast as strings
0.12.2
* No change
0.12.1
* Added a STRICT_INTERSECT drag and drop interaction mode. This alters the
behavior of DDM::getBestMatch. INTERSECT mode first tests the cursor
location, and if it is over the target that target wins, otherwise it
tests the overlap of the elements. STRICT_INTERSECT mode tests only
the overlap, the largest overlap wins.
* getBestMatch will work for targeted elements that have no overlap.
0.12.0
* The logic to determine if a drag should be initiated has been isolated
to the clickValidator method. This method can be overridden to provide
custom valdiation logic. For example, it is possible to specify hotspots
of any dimension or shape. The provided example shows how to make only
a circular region in the middle of the element initiate a drag.
* Added a new drag and drop event: onInvalidDrop. This is executed when
the dragged element in dropped in a location without a target. Previously
this condition could only detected by implementing handlers for three
other events.
* Now accepts an element reference in lieu of an id. Ids will
be generated if the element does not have one.
* Fixed horizontal autoscroll when scrollTop is zero.
* Added hasOuterHandles property to bypass the isOverTarget check in the
mousedown validation routine. Fixes setOuterHandleElId.
0.11.4
* YAHOO.util.DragDropMgr.swapNode now handles adjacent nodes properly
* Fixed missing variable declarations
0.11.3
* Fixed a JavaScript error that would be generated when trying to implement
DDProxy using the default settings and a tiny element.
* Fixed an error that resulted when constraints were applied to DragDrop
instances.
0.11.2
* Drag and drop will no longer interfere with selecting text on elements
that are not involved in drag and drop.
* The shared drag and drop proxy element now resizes correctly when autoResize
is enabled.
0.11.1
* Fixes an issue where the setXY cache could get out of sync if the element's
offsetParent is changed during onDragDrop.
0.11.0
* The Dom.util.setXY calculation for the initial placement of the dragged
element is cached during the drag, enhancing the drag performance.
* DDProxy no longer enforces having a single proxy element for all instances.
dragElId can be set in the config object in the constructor. If the
element already exists it will use that element, otherwise a new one will
be created with that id.
* DDProxy->borderWidth has been removed. The value is calculated on the fly
instead.
* Added DragDrop->clearTicks and DragDrop->clearConstraints
* All drag and drop constructors now have an additional, optional parameter
call "config". It is an object that can contain properties for a
number of configuration settings.
* Drag and drop will not be disabled for elements that cannot have their
location determined.
* isLegalTarget won't return dd objects that are not targetable.
* Added DragDrop->removeFromGroup.
* Constraints are now applied properly when determining which drag and drop
events should fire.
0.10.0
* Improved the performance when in intersect mode
* It was possible for the drag and drop initialization to be skipped
for very slow loading pages. This was fixed.
* New methods to exclude regions within your drag and drop element:
addInvalidHandleId(), addInvalidHandleClass()
* Added an onAvailable handler that is executed after the initial state is set.
* Drag and drop is more forgiving when the implementer attempts to create the
instance prior to the element being in the document, but after the window
load event has fired.
-3587
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
-3481
View File
File diff suppressed because it is too large Load Diff
-25
View File
@@ -1,25 +0,0 @@
Element Release Notes
*** version 2.5.0 ***
* SetAttributes now correctly handles false values
*** version 2.4.0 ***
no change
*** version 2.3.1 ***
no change
*** version 2.3.0 ***
* setAttributes now sets in order configs were added
* added subscribe alias for on/addListener
*** version 2.2.2 ***
* fixed contentReady timing regression
*** version 2.2.1 ***
* Added support for "dblclick", "focus", "blur", and "submit" event (for elements that support them)
* Fixed scope correction for addListener/on/subscribe
*** version 2.2.0 ***
* beta introduction (broken out of TabView for general use)
* The Element class provides a wrapper for HTMLElements in the DOM and makes simpler common tasks such as adding listeners, manipulating the DOM, and setting and getting attributes.
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
-992
View File
@@ -1,992 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/**
* Provides Attribute configurations.
* @namespace YAHOO.util
* @class Attribute
* @constructor
* @param hash {Object} The intial Attribute.
* @param {YAHOO.util.AttributeProvider} The owner of the Attribute instance.
*/
YAHOO.util.Attribute = function(hash, owner) {
if (owner) {
this.owner = owner;
this.configure(hash, true);
}
};
YAHOO.util.Attribute.prototype = {
/**
* The name of the attribute.
* @property name
* @type String
*/
name: undefined,
/**
* The value of the attribute.
* @property value
* @type String
*/
value: null,
/**
* The owner of the attribute.
* @property owner
* @type YAHOO.util.AttributeProvider
*/
owner: null,
/**
* Whether or not the attribute is read only.
* @property readOnly
* @type Boolean
*/
readOnly: false,
/**
* Whether or not the attribute can only be written once.
* @property writeOnce
* @type Boolean
*/
writeOnce: false,
/**
* The attribute's initial configuration.
* @private
* @property _initialConfig
* @type Object
*/
_initialConfig: null,
/**
* Whether or not the attribute's value has been set.
* @private
* @property _written
* @type Boolean
*/
_written: false,
/**
* The method to use when setting the attribute's value.
* The method recieves the new value as the only argument.
* @property method
* @type Function
*/
method: null,
/**
* The validator to use when setting the attribute's value.
* @property validator
* @type Function
* @return Boolean
*/
validator: null,
/**
* Retrieves the current value of the attribute.
* @method getValue
* @return {any} The current value of the attribute.
*/
getValue: function() {
return this.value;
},
/**
* Sets the value of the attribute and fires beforeChange and change events.
* @method setValue
* @param {Any} value The value to apply to the attribute.
* @param {Boolean} silent If true the change events will not be fired.
* @return {Boolean} Whether or not the value was set.
*/
setValue: function(value, silent) {
var beforeRetVal;
var owner = this.owner;
var name = this.name;
var event = {
type: name,
prevValue: this.getValue(),
newValue: value
};
if (this.readOnly || ( this.writeOnce && this._written) ) {
return false; // write not allowed
}
if (this.validator && !this.validator.call(owner, value) ) {
return false; // invalid value
}
if (!silent) {
beforeRetVal = owner.fireBeforeChangeEvent(event);
if (beforeRetVal === false) {
return false;
}
}
if (this.method) {
this.method.call(owner, value);
}
this.value = value;
this._written = true;
event.type = name;
if (!silent) {
this.owner.fireChangeEvent(event);
}
return true;
},
/**
* Allows for configuring the Attribute's properties.
* @method configure
* @param {Object} map A key-value map of Attribute properties.
* @param {Boolean} init Whether or not this should become the initial config.
*/
configure: function(map, init) {
map = map || {};
this._written = false; // reset writeOnce
this._initialConfig = this._initialConfig || {};
for (var key in map) {
if ( key && YAHOO.lang.hasOwnProperty(map, key) ) {
this[key] = map[key];
if (init) {
this._initialConfig[key] = map[key];
}
}
}
},
/**
* Resets the value to the initial config value.
* @method resetValue
* @return {Boolean} Whether or not the value was set.
*/
resetValue: function() {
return this.setValue(this._initialConfig.value);
},
/**
* Resets the attribute config to the initial config state.
* @method resetConfig
*/
resetConfig: function() {
this.configure(this._initialConfig);
},
/**
* Resets the value to the current value.
* Useful when values may have gotten out of sync with actual properties.
* @method refresh
* @return {Boolean} Whether or not the value was set.
*/
refresh: function(silent) {
this.setValue(this.value, silent);
}
};
(function() {
var Lang = YAHOO.util.Lang;
/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
*/
/**
* Provides and manages YAHOO.util.Attribute instances
* @namespace YAHOO.util
* @class AttributeProvider
* @uses YAHOO.util.EventProvider
*/
YAHOO.util.AttributeProvider = function() {};
YAHOO.util.AttributeProvider.prototype = {
/**
* A key-value map of Attribute configurations
* @property _configs
* @protected (may be used by subclasses and augmentors)
* @private
* @type {Object}
*/
_configs: null,
/**
* Returns the current value of the attribute.
* @method get
* @param {String} key The attribute whose value will be returned.
*/
get: function(key){
this._configs = this._configs || {};
var config = this._configs[key];
if (!config) {
return undefined;
}
return config.value;
},
/**
* Sets the value of a config.
* @method set
* @param {String} key The name of the attribute
* @param {Any} value The value to apply to the attribute
* @param {Boolean} silent Whether or not to suppress change events
* @return {Boolean} Whether or not the value was set.
*/
set: function(key, value, silent){
this._configs = this._configs || {};
var config = this._configs[key];
if (!config) {
return false;
}
return config.setValue(value, silent);
},
/**
* Returns an array of attribute names.
* @method getAttributeKeys
* @return {Array} An array of attribute names.
*/
getAttributeKeys: function(){
this._configs = this._configs;
var keys = [];
var config;
for (var key in this._configs) {
config = this._configs[key];
if ( Lang.hasOwnProperty(this._configs, key) &&
!Lang.isUndefined(config) ) {
keys[keys.length] = key;
}
}
return keys;
},
/**
* Sets multiple attribute values.
* @method setAttributes
* @param {Object} map A key-value map of attributes
* @param {Boolean} silent Whether or not to suppress change events
*/
setAttributes: function(map, silent){
for (var key in map) {
if ( Lang.hasOwnProperty(map, key) ) {
this.set(key, map[key], silent);
}
}
},
/**
* Resets the specified attribute's value to its initial value.
* @method resetValue
* @param {String} key The name of the attribute
* @param {Boolean} silent Whether or not to suppress change events
* @return {Boolean} Whether or not the value was set
*/
resetValue: function(key, silent){
this._configs = this._configs || {};
if (this._configs[key]) {
this.set(key, this._configs[key]._initialConfig.value, silent);
return true;
}
return false;
},
/**
* Sets the attribute's value to its current value.
* @method refresh
* @param {String | Array} key The attribute(s) to refresh
* @param {Boolean} silent Whether or not to suppress change events
*/
refresh: function(key, silent){
this._configs = this._configs;
key = ( ( Lang.isString(key) ) ? [key] : key ) ||
this.getAttributeKeys();
for (var i = 0, len = key.length; i < len; ++i) {
if ( // only set if there is a value and not null
this._configs[key[i]] &&
! Lang.isUndefined(this._configs[key[i]].value) &&
! Lang.isNull(this._configs[key[i]].value) ) {
this._configs[key[i]].refresh(silent);
}
}
},
/**
* Adds an Attribute to the AttributeProvider instance.
* @method register
* @param {String} key The attribute's name
* @param {Object} map A key-value map containing the
* attribute's properties.
* @deprecated Use setAttributeConfig
*/
register: function(key, map) {
this.setAttributeConfig(key, map);
},
/**
* Returns the attribute's properties.
* @method getAttributeConfig
* @param {String} key The attribute's name
* @private
* @return {object} A key-value map containing all of the
* attribute's properties.
*/
getAttributeConfig: function(key) {
this._configs = this._configs || {};
var config = this._configs[key] || {};
var map = {}; // returning a copy to prevent overrides
for (key in config) {
if ( Lang.hasOwnProperty(config, key) ) {
map[key] = config[key];
}
}
return map;
},
/**
* Sets or updates an Attribute instance's properties.
* @method setAttributeConfig
* @param {String} key The attribute's name.
* @param {Object} map A key-value map of attribute properties
* @param {Boolean} init Whether or not this should become the intial config.
*/
setAttributeConfig: function(key, map, init) {
this._configs = this._configs || {};
map = map || {};
if (!this._configs[key]) {
map.name = key;
this._configs[key] = this.createAttribute(map);
} else {
this._configs[key].configure(map, init);
}
},
/**
* Sets or updates an Attribute instance's properties.
* @method configureAttribute
* @param {String} key The attribute's name.
* @param {Object} map A key-value map of attribute properties
* @param {Boolean} init Whether or not this should become the intial config.
* @deprecated Use setAttributeConfig
*/
configureAttribute: function(key, map, init) {
this.setAttributeConfig(key, map, init);
},
/**
* Resets an attribute to its intial configuration.
* @method resetAttributeConfig
* @param {String} key The attribute's name.
* @private
*/
resetAttributeConfig: function(key){
this._configs = this._configs || {};
this._configs[key].resetConfig();
},
// wrapper for EventProvider.subscribe
// to create events on the fly
subscribe: function(type, callback) {
this._events = this._events || {};
if ( !(type in this._events) ) {
this._events[type] = this.createEvent(type);
}
YAHOO.util.EventProvider.prototype.subscribe.apply(this, arguments);
},
on: function() {
this.subscribe.apply(this, arguments);
},
addListener: function() {
this.subscribe.apply(this, arguments);
},
/**
* Fires the attribute's beforeChange event.
* @method fireBeforeChangeEvent
* @param {String} key The attribute's name.
* @param {Obj} e The event object to pass to handlers.
*/
fireBeforeChangeEvent: function(e) {
var type = 'before';
type += e.type.charAt(0).toUpperCase() + e.type.substr(1) + 'Change';
e.type = type;
return this.fireEvent(e.type, e);
},
/**
* Fires the attribute's change event.
* @method fireChangeEvent
* @param {String} key The attribute's name.
* @param {Obj} e The event object to pass to the handlers.
*/
fireChangeEvent: function(e) {
e.type += 'Change';
return this.fireEvent(e.type, e);
},
createAttribute: function(map) {
return new YAHOO.util.Attribute(map, this);
}
};
YAHOO.augment(YAHOO.util.AttributeProvider, YAHOO.util.EventProvider);
})();
(function() {
// internal shorthand
var Dom = YAHOO.util.Dom,
AttributeProvider = YAHOO.util.AttributeProvider;
/**
* Element provides an wrapper object to simplify adding
* event listeners, using dom methods, and managing attributes.
* @module element
* @namespace YAHOO.util
* @requires yahoo, dom, event
* @beta
*/
/**
* Element provides an wrapper object to simplify adding
* event listeners, using dom methods, and managing attributes.
* @class Element
* @uses YAHOO.util.AttributeProvider
* @constructor
* @param el {HTMLElement | String} The html element that
* represents the Element.
* @param {Object} map A key-value map of initial config names and values
*/
YAHOO.util.Element = function(el, map) {
if (arguments.length) {
this.init(el, map);
}
};
YAHOO.util.Element.prototype = {
/**
* Dom events supported by the Element instance.
* @property DOM_EVENTS
* @type Object
*/
DOM_EVENTS: null,
/**
* Wrapper for HTMLElement method.
* @method appendChild
* @param {YAHOO.util.Element || HTMLElement} child The element to append.
*/
appendChild: function(child) {
child = child.get ? child.get('element') : child;
this.get('element').appendChild(child);
},
/**
* Wrapper for HTMLElement method.
* @method getElementsByTagName
* @param {String} tag The tagName to collect
*/
getElementsByTagName: function(tag) {
return this.get('element').getElementsByTagName(tag);
},
/**
* Wrapper for HTMLElement method.
* @method hasChildNodes
* @return {Boolean} Whether or not the element has childNodes
*/
hasChildNodes: function() {
return this.get('element').hasChildNodes();
},
/**
* Wrapper for HTMLElement method.
* @method insertBefore
* @param {HTMLElement} element The HTMLElement to insert
* @param {HTMLElement} before The HTMLElement to insert
* the element before.
*/
insertBefore: function(element, before) {
element = element.get ? element.get('element') : element;
before = (before && before.get) ? before.get('element') : before;
this.get('element').insertBefore(element, before);
},
/**
* Wrapper for HTMLElement method.
* @method removeChild
* @param {HTMLElement} child The HTMLElement to remove
*/
removeChild: function(child) {
child = child.get ? child.get('element') : child;
this.get('element').removeChild(child);
return true;
},
/**
* Wrapper for HTMLElement method.
* @method replaceChild
* @param {HTMLElement} newNode The HTMLElement to insert
* @param {HTMLElement} oldNode The HTMLElement to replace
*/
replaceChild: function(newNode, oldNode) {
newNode = newNode.get ? newNode.get('element') : newNode;
oldNode = oldNode.get ? oldNode.get('element') : oldNode;
return this.get('element').replaceChild(newNode, oldNode);
},
/**
* Registers Element specific attributes.
* @method initAttributes
* @param {Object} map A key-value map of initial attribute configs
*/
initAttributes: function(map) {
},
/**
* Adds a listener for the given event. These may be DOM or
* customEvent listeners. Any event that is fired via fireEvent
* can be listened for. All handlers receive an event object.
* @method addListener
* @param {String} type The name of the event to listen for
* @param {Function} fn The handler to call when the event fires
* @param {Any} obj A variable to pass to the handler
* @param {Object} scope The object to use for the scope of the handler
*/
addListener: function(type, fn, obj, scope) {
var el = this.get('element');
scope = scope || this;
el = this.get('id') || el;
var self = this;
if (!this._events[type]) { // create on the fly
if ( this.DOM_EVENTS[type] ) {
YAHOO.util.Event.addListener(el, type, function(e) {
if (e.srcElement && !e.target) { // supplement IE with target
e.target = e.srcElement;
}
self.fireEvent(type, e);
}, obj, scope);
}
this.createEvent(type, this);
}
YAHOO.util.EventProvider.prototype.subscribe.apply(this, arguments); // notify via customEvent
},
/**
* Alias for addListener
* @method on
* @param {String} type The name of the event to listen for
* @param {Function} fn The function call when the event fires
* @param {Any} obj A variable to pass to the handler
* @param {Object} scope The object to use for the scope of the handler
*/
on: function() { this.addListener.apply(this, arguments); },
/**
* Alias for addListener
* @method subscribe
* @param {String} type The name of the event to listen for
* @param {Function} fn The function call when the event fires
* @param {Any} obj A variable to pass to the handler
* @param {Object} scope The object to use for the scope of the handler
*/
subscribe: function() { this.addListener.apply(this, arguments); },
/**
* Remove an event listener
* @method removeListener
* @param {String} type The name of the event to listen for
* @param {Function} fn The function call when the event fires
*/
removeListener: function(type, fn) {
this.unsubscribe.apply(this, arguments);
},
/**
* Wrapper for Dom method.
* @method addClass
* @param {String} className The className to add
*/
addClass: function(className) {
Dom.addClass(this.get('element'), className);
},
/**
* Wrapper for Dom method.
* @method getElementsByClassName
* @param {String} className The className to collect
* @param {String} tag (optional) The tag to use in
* conjunction with class name
* @return {Array} Array of HTMLElements
*/
getElementsByClassName: function(className, tag) {
return Dom.getElementsByClassName(className, tag,
this.get('element') );
},
/**
* Wrapper for Dom method.
* @method hasClass
* @param {String} className The className to add
* @return {Boolean} Whether or not the element has the class name
*/
hasClass: function(className) {
return Dom.hasClass(this.get('element'), className);
},
/**
* Wrapper for Dom method.
* @method removeClass
* @param {String} className The className to remove
*/
removeClass: function(className) {
return Dom.removeClass(this.get('element'), className);
},
/**
* Wrapper for Dom method.
* @method replaceClass
* @param {String} oldClassName The className to replace
* @param {String} newClassName The className to add
*/
replaceClass: function(oldClassName, newClassName) {
return Dom.replaceClass(this.get('element'),
oldClassName, newClassName);
},
/**
* Wrapper for Dom method.
* @method setStyle
* @param {String} property The style property to set
* @param {String} value The value to apply to the style property
*/
setStyle: function(property, value) {
var el = this.get('element');
if (!el) {
return this._queue[this._queue.length] = ['setStyle', arguments];
}
return Dom.setStyle(el, property, value); // TODO: always queuing?
},
/**
* Wrapper for Dom method.
* @method getStyle
* @param {String} property The style property to retrieve
* @return {String} The current value of the property
*/
getStyle: function(property) {
return Dom.getStyle(this.get('element'), property);
},
/**
* Apply any queued set calls.
* @method fireQueue
*/
fireQueue: function() {
var queue = this._queue;
for (var i = 0, len = queue.length; i < len; ++i) {
this[queue[i][0]].apply(this, queue[i][1]);
}
},
/**
* Appends the HTMLElement into either the supplied parentNode.
* @method appendTo
* @param {HTMLElement | Element} parentNode The node to append to
* @param {HTMLElement | Element} before An optional node to insert before
*/
appendTo: function(parent, before) {
parent = (parent.get) ? parent.get('element') : Dom.get(parent);
this.fireEvent('beforeAppendTo', {
type: 'beforeAppendTo',
target: parent
});
before = (before && before.get) ?
before.get('element') : Dom.get(before);
var element = this.get('element');
if (!element) {
return false;
}
if (!parent) {
return false;
}
if (element.parent != parent) {
if (before) {
parent.insertBefore(element, before);
} else {
parent.appendChild(element);
}
}
this.fireEvent('appendTo', {
type: 'appendTo',
target: parent
});
},
get: function(key) {
var configs = this._configs || {};
var el = configs.element; // avoid loop due to 'element'
if (el && !configs[key] && !YAHOO.lang.isUndefined(el.value[key]) ) {
return el.value[key];
}
return AttributeProvider.prototype.get.call(this, key);
},
setAttributes: function(map, silent){
var el = this.get('element');
for (var key in map) {
// need to configure if setting unconfigured HTMLElement attribute
if ( !this._configs[key] && !YAHOO.lang.isUndefined(el[key]) ) {
this.setAttributeConfig(key);
}
}
// set based on configOrder
for (var i = 0, len = this._configOrder.length; i < len; ++i) {
if (map[this._configOrder[i]] !== undefined) {
this.set(this._configOrder[i], map[this._configOrder[i]], silent);
}
}
},
set: function(key, value, silent) {
var el = this.get('element');
if (!el) {
this._queue[this._queue.length] = ['set', arguments];
if (this._configs[key]) {
this._configs[key].value = value; // so "get" works while queueing
}
return;
}
// set it on the element if not configured and is an HTML attribute
if ( !this._configs[key] && !YAHOO.lang.isUndefined(el[key]) ) {
_registerHTMLAttr.call(this, key);
}
return AttributeProvider.prototype.set.apply(this, arguments);
},
setAttributeConfig: function(key, map, init) {
var el = this.get('element');
if (el && !this._configs[key] && !YAHOO.lang.isUndefined(el[key]) ) {
_registerHTMLAttr.call(this, key, map);
} else {
AttributeProvider.prototype.setAttributeConfig.apply(this, arguments);
}
this._configOrder.push(key);
},
getAttributeKeys: function() {
var el = this.get('element');
var keys = AttributeProvider.prototype.getAttributeKeys.call(this);
//add any unconfigured element keys
for (var key in el) {
if (!this._configs[key]) {
keys[key] = keys[key] || el[key];
}
}
return keys;
},
createEvent: function(type, scope) {
this._events[type] = true;
AttributeProvider.prototype.createEvent.apply(this, arguments);
},
init: function(el, attr) {
_initElement.apply(this, arguments);
}
};
var _initElement = function(el, attr) {
this._queue = this._queue || [];
this._events = this._events || {};
this._configs = this._configs || {};
this._configOrder = [];
attr = attr || {};
attr.element = attr.element || el || null;
this.DOM_EVENTS = {
'click': true,
'dblclick': true,
'keydown': true,
'keypress': true,
'keyup': true,
'mousedown': true,
'mousemove': true,
'mouseout': true,
'mouseover': true,
'mouseup': true,
'focus': true,
'blur': true,
'submit': true
};
var isReady = false; // to determine when to init HTMLElement and content
if (YAHOO.lang.isString(el) ) { // defer until available/ready
_registerHTMLAttr.call(this, 'id', { value: attr.element });
}
if (Dom.get(el)) {
isReady = true;
_initHTMLElement.call(this, attr);
_initContent.call(this, attr);
}
YAHOO.util.Event.onAvailable(attr.element, function() {
if (!isReady) { // otherwise already done
_initHTMLElement.call(this, attr);
}
this.fireEvent('available', { type: 'available', target: attr.element });
}, this, true);
YAHOO.util.Event.onContentReady(attr.element, function() {
if (!isReady) { // otherwise already done
_initContent.call(this, attr);
}
this.fireEvent('contentReady', { type: 'contentReady', target: attr.element });
}, this, true);
};
var _initHTMLElement = function(attr) {
/**
* The HTMLElement the Element instance refers to.
* @attribute element
* @type HTMLElement
*/
this.setAttributeConfig('element', {
value: Dom.get(attr.element),
readOnly: true
});
};
var _initContent = function(attr) {
this.initAttributes(attr);
this.setAttributes(attr, true);
this.fireQueue();
};
/**
* Sets the value of the property and fires beforeChange and change events.
* @private
* @method _registerHTMLAttr
* @param {YAHOO.util.Element} element The Element instance to
* register the config to.
* @param {String} key The name of the config to register
* @param {Object} map A key-value map of the config's params
*/
var _registerHTMLAttr = function(key, map) {
var el = this.get('element');
map = map || {};
map.name = key;
map.method = map.method || function(value) {
el[key] = value;
};
map.value = map.value || el[key];
this._configs[key] = new YAHOO.util.Attribute(map, this);
};
/**
* Fires when the Element's HTMLElement can be retrieved by Id.
* <p>See: <a href="#addListener">Element.addListener</a></p>
* <p><strong>Event fields:</strong><br>
* <code>&lt;String&gt; type</code> available<br>
* <code>&lt;HTMLElement&gt;
* target</code> the HTMLElement bound to this Element instance<br>
* <p><strong>Usage:</strong><br>
* <code>var handler = function(e) {var target = e.target};<br>
* myTabs.addListener('available', handler);</code></p>
* @event available
*/
/**
* Fires when the Element's HTMLElement subtree is rendered.
* <p>See: <a href="#addListener">Element.addListener</a></p>
* <p><strong>Event fields:</strong><br>
* <code>&lt;String&gt; type</code> contentReady<br>
* <code>&lt;HTMLElement&gt;
* target</code> the HTMLElement bound to this Element instance<br>
* <p><strong>Usage:</strong><br>
* <code>var handler = function(e) {var target = e.target};<br>
* myTabs.addListener('contentReady', handler);</code></p>
* @event contentReady
*/
/**
* Fires before the Element is appended to another Element.
* <p>See: <a href="#addListener">Element.addListener</a></p>
* <p><strong>Event fields:</strong><br>
* <code>&lt;String&gt; type</code> beforeAppendTo<br>
* <code>&lt;HTMLElement/Element&gt;
* target</code> the HTMLElement/Element being appended to
* <p><strong>Usage:</strong><br>
* <code>var handler = function(e) {var target = e.target};<br>
* myTabs.addListener('beforeAppendTo', handler);</code></p>
* @event beforeAppendTo
*/
/**
* Fires after the Element is appended to another Element.
* <p>See: <a href="#addListener">Element.addListener</a></p>
* <p><strong>Event fields:</strong><br>
* <code>&lt;String&gt; type</code> appendTo<br>
* <code>&lt;HTMLElement/Element&gt;
* target</code> the HTMLElement/Element being appended to
* <p><strong>Usage:</strong><br>
* <code>var handler = function(e) {var target = e.target};<br>
* myTabs.addListener('appendTo', handler);</code></p>
* @event appendTo
*/
YAHOO.augment(YAHOO.util.Element, AttributeProvider);
})();
YAHOO.register("element", YAHOO.util.Element, {version: "2.5.0", build: "895"});
@@ -1,32 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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;
}
-3
View File
@@ -1,3 +0,0 @@
**** version 2.5.0 ***
Initial Release
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
-1994
View File
File diff suppressed because it is too large Load Diff
@@ -1,55 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/* logger default styles */
/* default width: 31em */
/* default font-size 77% */
.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; }
/* for containers built from scratch */
.yui-skin-sam .yui-log-container { position:absolute;top:1em;right:1em; }
/* buttons */
.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; }
/* header */
.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; }
/* body */
.yui-skin-sam .yui-log .yui-log-bd { width:100%;height:20em;background-color:#FFF;border:1px solid gray;overflow:auto; } /* height is controlled here: default 20em*/
.yui-skin-sam .yui-log p { margin:1px;padding:.1em; }
.yui-skin-sam .yui-log pre { margin:0;padding:0; }
/* for pre to respect newlines yet wrap long lines */
/* http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ */
.yui-skin-sam .yui-log pre.yui-log-verbose {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* 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+ */
}
/* footer */
.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; }
/* logs */
.yui-skin-sam .yui-log .info { background-color:#A7CC25; } /* A7CC25 green */
.yui-skin-sam .yui-log .warn { background-color:#F58516; } /* F58516 orange */
.yui-skin-sam .yui-log .error { background-color:#E32F0B; } /* E32F0B red */
.yui-skin-sam .yui-log .time { background-color:#A6C9D7; } /* A6C9D7 blue */
.yui-skin-sam .yui-log .window { background-color:#F2E886; } /* F2E886 tan */
@@ -1,7 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.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;}
-1002
View File
File diff suppressed because it is too large Load Diff
-235
View File
@@ -1,235 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/* Menu & MenuBar styles */
.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;
}
/*
The following style rule trigger the "hasLayout" property in
IE (http://msdn2.microsoft.com/en-us/library/ms533776.aspx) for a
MenuBar instance's <ul> element, allowing both to clear their floated
child <li> elements.
*/
.yuimenubar ul {
*zoom: 1;
}
/*
Remove the "hasLayout" trigger for submenus of MenuBar instances as it
is unnecessary.
*/
.yuimenubar .yuimenu ul {
*zoom: normal;
}
/*
The following style rule allows a MenuBar instance's <ul> element to clear
its floated <li> elements in Firefox, Safari and and Opera.
*/
.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;
/*
The value for the left margin controls how much the help text is
offset from the text of the menu item. This value will need to
be customized depending on the longest text label of a menu item.
*/
margin: -1em 0 0 10em;
}
/*
PLEASE NOTE: The <div> element used for a menu's shadow is appended
to its root element via JavaScript once it has been rendered. The
code that creates the shadow lives in the menu's public "onRender"
event handler that is a prototype method of YAHOO.widget.Menu.
Implementers wishing to remove a menu's shadow or add any other markup
required for a given skin for menu should override the "onRender" method.
*/
.yui-menu-shadow {
position: absolute;
visibility: hidden;
z-index: -1;
}
.yui-menu-shadow-visible {
top: 2px;
right: -3px;
left: -3px;
bottom: -3px;
visibility: visible;
}
/*
There are two known issues with YAHOO.widget.Overlay (the superclass class of
Menu) that manifest in Gecko-based browsers on Mac OS X:
1) Elements with scrollbars will poke through Overlay instances floating
above them.
2) An Overlay's scrollbars and the scrollbars of its child nodes remain
visible when the Overlay is hidden.
To fix these bugs in Menu (a subclass of YAHOO.widget.Overlay):
1) The "overflow" property of a Menu instance's shadow element and child
nodes is toggled between "hidden" and "auto" (through the application
and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
as its "visibility" configuration property is toggled between
"false" and "true."
2) The "display" property of <select> elements that are child nodes of the
Menu instance's root element is set to "none" when it is hidden.
PLEASE NOTE:
1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
applied only for Gecko on Mac OS X and are added/removed to/from the
Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
"showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.
2) There may be instances where the CSS for a web page or application
contains style rules whose specificity override the rules implemented by
the Menu CSS files to fix this bug. In such cases, is necessary to
leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
write custom style rules to guard against this bug.
** For more information on this issue, see:
+ https://bugzilla.mozilla.org/show_bug.cgi?id=187435
+ SourceForge bug #1723530
*/
.hide-scrollbars * {
overflow: hidden;
}
.hide-scrollbars select {
display: none;
}
/*
The following style rule (".yuimenu.show-scrollbars") overrides the
".show-scrollbars" rule defined in container-core.css which sets the
"overflow" property of a YAHOO.widget.Overlay instance's root HTML element to
"auto" when it is visible. Without this override, a Menu would have scrollbars
when one of its submenus is visible.
*/
.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;
}
-494
View File
@@ -1,494 +0,0 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/* Menu & MenuBar styles */
.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;
}
/*
The following style rule trigger the "hasLayout" property in
IE (http://msdn2.microsoft.com/en-us/library/ms533776.aspx) for a
MenuBar instance's <ul> element, allowing both to clear their floated
child <li> elements.
*/
.yuimenubar ul {
*zoom: 1;
}
/*
Remove the "hasLayout" trigger for submenus of MenuBar instances as it
is unnecessary.
*/
.yuimenubar .yuimenu ul {
*zoom: normal;
}
/*
The following style rule allows a MenuBar instance's <ul> element to clear
its floated <li> elements in Firefox, Safari and and Opera.
*/
.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;
/*
The value for the left margin controls how much the help text is
offset from the text of the menu item. This value will need to
be customized depending on the longest text label of a menu item.
*/
margin: -1em 0 0 10em;
}
/*
PLEASE NOTE: The <div> element used for a menu's shadow is appended
to its root element via JavaScript once it has been rendered. The
code that creates the shadow lives in the menu's public "onRender"
event handler that is a prototype method of YAHOO.widget.Menu.
Implementers wishing to remove a menu's shadow or add any other markup
required for a given skin for menu should override the "onRender" method.
*/
.yui-menu-shadow {
position: absolute;
visibility: hidden;
z-index: -1;
}
.yui-menu-shadow-visible {
top: 2px;
right: -3px;
left: -3px;
bottom: -3px;
visibility: visible;
}
/*
There are two known issues with YAHOO.widget.Overlay (the superclass class of
Menu) that manifest in Gecko-based browsers on Mac OS X:
1) Elements with scrollbars will poke through Overlay instances floating
above them.
2) An Overlay's scrollbars and the scrollbars of its child nodes remain
visible when the Overlay is hidden.
To fix these bugs in Menu (a subclass of YAHOO.widget.Overlay):
1) The "overflow" property of a Menu instance's shadow element and child
nodes is toggled between "hidden" and "auto" (through the application
and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
as its "visibility" configuration property is toggled between
"false" and "true."
2) The "display" property of <select> elements that are child nodes of the
Menu instance's root element is set to "none" when it is hidden.
PLEASE NOTE:
1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
applied only for Gecko on Mac OS X and are added/removed to/from the
Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
"showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.
2) There may be instances where the CSS for a web page or application
contains style rules whose specificity override the rules implemented by
the Menu CSS files to fix this bug. In such cases, is necessary to
leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
write custom style rules to guard against this bug.
** For more information on this issue, see:
+ https://bugzilla.mozilla.org/show_bug.cgi?id=187435
+ SourceForge bug #1723530
*/
.hide-scrollbars * {
overflow: hidden;
}
.hide-scrollbars select {
display: none;
}
/*
The following style rule (".yuimenu.show-scrollbars") overrides the
".show-scrollbars" rule defined in container-core.css which sets the
"overflow" property of a YAHOO.widget.Overlay instance's root HTML element to
"auto" when it is visible. Without this override, a Menu would have scrollbars
when one of its submenus is visible.
*/
.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;
}
/* MenuBar style rules */
.yuimenubar {
background-color: #f6f7ee;
}
/* Menu style rules */
.yuimenu {
background-color: #f6f7ee;
border: solid 1px #c4c4be;
padding: 1px;
}
.yui-menu-shadow {
display: none;
}
.yuimenu ul {
border: solid 1px #c4c4be;
border-width: 1px 0 0 0;
padding: 10px 0;
}
.yuimenu .yui-menu-body-scrolled {
overflow: hidden;
}
/* Group titles */
.yuimenu h6,
.yuimenubar h6 {
font-size: 100%;
font-weight: normal;
border: solid 1px #c4c4be;
color: #b9b9b9;
}
.yuimenubar h6 {
float: left;
padding: 4px 12px;
border-width: 0 1px 0 0;
}
.yuimenubar .yuimenu h6 {
float: none;
}
.yuimenu h6 {
border-width: 1px 0 0 0;
padding: 5px 10px 0 10px;
}
.yuimenu ul.first-of-type,
.yuimenu ul.hastitle,
.yuimenu h6.first-of-type {
border-width: 0;
}
/* Top and bottom scroll controls */
.yuimenu .topscrollbar,
.yuimenu .bottomscrollbar {
height: 16px;
background-position: center center;
background-repeat: no-repeat;
}
.yuimenu .topscrollbar {
background-image: url(menu_up_arrow.png);
}
.yuimenu .topscrollbar_disabled {
background-image: url(menu_up_arrow_disabled.png);
}
.yuimenu .bottomscrollbar {
background-image: url(menu_down_arrow.png);
}
.yuimenu .bottomscrollbar_disabled {
background-image: url(menu_down_arrow_disabled.png);
}
/* MenuItem and MenuBarItem styles */
.yuimenuitem {
/*
For IE: Used to collapse superfluous white space between <li> elements
that is triggered by the "display" property of the <a> elements being
set to "block."
*/
*border-bottom: solid 1px #f6f7ee;
}
.yuimenuitemlabel,
.yuimenubaritemlabel {
font-size: 85%;
color: #000;
text-decoration: none;
}
.yuimenuitemlabel {
padding: 2px 24px;
}
.yuimenubaritemlabel {
border-width: 0 0 0 1px;
border-style: solid;
border-color: #c4c4be;
padding: 4px 24px;
}
.yuimenubar li.first-of-type .yuimenubaritemlabel {
border-width: 0;
}
.yuimenubaritem-hassubmenu {
background: url(menubaritem_submenuindicator.png) right center no-repeat;
}
.yuimenuitem-hassubmenu {
background: url(menuitem_submenuindicator.png) right center no-repeat;
}
.yuimenuitem-checked {
background: url(menuitem_checkbox.png) left center no-repeat;
}
.yuimenuitemlabel .helptext {
margin-top: -1.1em;
*margin-top: -1.2em; /* For IE*/
}
/* MenuItem states */
/* Selected MenuItem */
.yuimenubaritem-selected,
.yuimenuitem-selected {
background-color: #8c8ad0;
}
.yuimenubaritemlabel-selected,
.yuimenuitemlabel-selected {
text-decoration: underline;
color: #fff;
}
.yuimenubaritem-hassubmenu-selected {
background-image: url(menubaritem_submenuindicator_selected.png);
}
.yuimenuitem-hassubmenu-selected {
background-image: url(menuitem_submenuindicator_selected.png);
}
.yuimenuitem-checked-selected {
background-image: url(menuitem_checkbox_selected.png);
}
/* Disabled MenuItem */
.yuimenubaritemlabel-disabled,
.yuimenuitemlabel-disabled {
cursor: default;
color: #b9b9b9;
}
.yuimenubaritem-hassubmenu-disabled {
background-image: url(menubaritem_submenuindicator_disabled.png);
}
.yuimenuitem-hassubmenu-disabled {
background-image: url(menuitem_submenuindicator_disabled.png);
}
.yuimenuitem-checked-disabled {
background-image: url(menuitem_checkbox_disabled.png);
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 936 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 936 B

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