MDL-16784 Adding YUI 2.6.0
|
@ -10,5 +10,5 @@ Updated to YUI 0.12.0, 23 November 2006
|
||||||
Updated to YUI 0.12.1, 8 January 2007
|
Updated to YUI 0.12.1, 8 January 2007
|
||||||
Updated to YUI 0.12.2, 8 Febuary 2007
|
Updated to YUI 0.12.2, 8 Febuary 2007
|
||||||
Updated to YUI 2.3.0, 3 August 2007
|
Updated to YUI 2.3.0, 3 August 2007
|
||||||
Updated to YUI 2.5.0, 7 March 2008
|
|
||||||
Updated to YUI 2.5.2, 25 July 2008
|
Updated to YUI 2.5.2, 25 July 2008
|
||||||
|
Updated to YUI 2.6.0, 03 October 2008
|
||||||
|
|
71
lib/yui/animation/README
Executable file
|
@ -0,0 +1,71 @@
|
||||||
|
Animation Release Notes
|
||||||
|
|
||||||
|
*** version 2.6.0 ***
|
||||||
|
* ColorAnim updated to use getAncestorBy
|
||||||
|
|
||||||
|
*** version 2.5.2 ***
|
||||||
|
* no change
|
||||||
|
|
||||||
|
*** version 2.5.1 ***
|
||||||
|
* no change
|
||||||
|
|
||||||
|
*** version 2.5.0 ***
|
||||||
|
* replace toString overrides with static NAME property
|
||||||
|
|
||||||
|
*** version 2.4.0 ***
|
||||||
|
* calling stop() on an non-animated Anim no longer fires onComplete
|
||||||
|
|
||||||
|
*** version 2.3.1 ***
|
||||||
|
* no change
|
||||||
|
|
||||||
|
*** version 2.3.0 ***
|
||||||
|
|
||||||
|
* duration of zero now executes 1 frame animation
|
||||||
|
* added setEl() method to enable reuse
|
||||||
|
* fixed stop() for multiple animations
|
||||||
|
|
||||||
|
*** version 2.3.0 ***
|
||||||
|
* duration of zero now executes 1 frame animation
|
||||||
|
* added setEl() method to enable reuse
|
||||||
|
* fixed stop() for multiple animations
|
||||||
|
|
||||||
|
*** version 2.2.2 ***
|
||||||
|
* no change
|
||||||
|
|
||||||
|
*** version 2.2.1 ***
|
||||||
|
* no change
|
||||||
|
|
||||||
|
*** version 2.2.0 ***
|
||||||
|
* Fixed AnimMgr.stop() when called without tween
|
||||||
|
|
||||||
|
*** version 0.12.2 ***
|
||||||
|
* raised AnimMgr.fps to 1000
|
||||||
|
|
||||||
|
*** version 0.12.1 ***
|
||||||
|
* minified version no longer strips line breaks
|
||||||
|
|
||||||
|
*** version 0.12.0 ***
|
||||||
|
* added boolean finish argument to Anim.stop()
|
||||||
|
|
||||||
|
*** version 0.11.3 ***
|
||||||
|
* no changes
|
||||||
|
|
||||||
|
*** version 0.11.1 ***
|
||||||
|
* changed "prototype" shorthand to "proto" (workaround firefox < 1.5 scoping
|
||||||
|
bug)
|
||||||
|
|
||||||
|
*** version 0.11.0 ***
|
||||||
|
* ColorAnim subclass added
|
||||||
|
* Motion and Scroll now inherit from ColorAnim
|
||||||
|
* getDefaultUnit method added
|
||||||
|
* defaultUnit and defaultUnits deprecated
|
||||||
|
* getDefault and setDefault methods deprecated
|
||||||
|
|
||||||
|
*** version 0.10.0 ***
|
||||||
|
* Scroll now handles relative ("by") animation correctly
|
||||||
|
* Now converts "auto" values of "from" to appropriate initial values
|
||||||
|
|
||||||
|
*** version 0.9.0 ***
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
|
1385
lib/yui/animation/animation-debug.js
vendored
Executable file
23
lib/yui/animation/animation-min.js
vendored
Executable file
1381
lib/yui/animation/animation.js
vendored
Executable file
BIN
lib/yui/assets/skins/sam/asc.gif
Normal file
After Width: | Height: | Size: 177 B |
7
lib/yui/assets/skins/sam/autocomplete.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.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 iframe{opacity:0;filter:alpha(opacity=0);padding-right:.3em;padding-bottom:.3em;}.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;list-style:none;zoom:1;}.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;}
|
BIN
lib/yui/assets/skins/sam/blankimage.png
Executable file
After Width: | Height: | Size: 2.3 KiB |
7
lib/yui/assets/skins/sam/button.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.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;_margin:0;_position:static;}.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:1.875;*padding-bottom:1px;}.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);}
|
7
lib/yui/assets/skins/sam/calendar.css
Executable file
7
lib/yui/assets/skins/sam/carousel.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yui-carousel{visibility:hidden;overflow:hidden;position:relative;}.yui-carousel.yui-carousel-visible{visibility:visible;}.yui-carousel-content{overflow:hidden;position:relative;}.yui-carousel-element{margin:5px 0;overflow:hidden;padding:0;position:relative;width:32000px;z-index:1;}.yui-carousel-vertical .yui-carousel-element{margin:0 5px;}.yui-carousel-element li{border:1px solid #ccc;float:left;list-style:none;margin:1px;overflow:hidden;padding:0;text-align:center;*float:none;*display:inline-block;*zoom:1;*display:inline;}.yui-carousel .yui-carousel-item-selected{border:1px dashed #000;margin:1px;}.yui-carousel-vertical{height:32000px;margin:0 5px;width:auto;}.yui-carousel-vertical .yui-carousel-element li{display:block;float:none;}.yui-log .carousel{background:#f2e886;}.yui-carousel-nav{zoom:1;}.yui-carousel-nav:after{clear:both;content:"";display:block;}.yui-carousel-button-focus{outline:1px dotted #000;}.yui-skin-sam .yui-carousel,.yui-skin-sam .yui-carousel-vertical{border:1px solid #808080;}.yui-skin-sam .yui-carousel-nav{background:url(sprite.png) repeat-x 0 0;padding:3px;text-align:right;}.yui-skin-sam .yui-carousel-button{background:url(sprite.png) no-repeat 0 -600px;float:right;height:19px;margin:5px;overflow:hidden;width:40px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button{background-position:0 -800px;}.yui-skin-sam .yui-carousel-button-disabled{background-position:0 -2000px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button-disabled{background-position:0 -2100px;}.yui-skin-sam .yui-carousel-button input{background-color:transparent;border:0;cursor:pointer;display:block;height:44px;margin:-2px 0 0 -2px;padding:0 0 0 50px;}.yui-skin-sam span.yui-carousel-first-button{background-position:0px -550px;margin-left:-100px;margin-right:50px;*margin:5px 5px 5px -90px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button{background-position:0px -750px;}.yui-skin-sam span.yui-carousel-first-button-disabled{background-position:0 -1950px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button-disabled{background-position:0 -2050px;}.yui-skin-sam .yui-carousel-nav ul{float:right;margin:0;margin-left:-220px;margin-right:100px;*margin-left:-160px;*margin-right:0;padding:0;}.yui-skin-sam .yui-carousel-nav select{position:relative;*right:50px;top:4px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav ul,.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav select{float:none;margin:0;*zoom:1;}.yui-skin-sam .yui-carousel-nav ul li{float:left;height:19px;list-style:none;}.yui-skin-sam .yui-carousel-nav ul:after{clear:both;content:"";display:block;}.yui-skin-sam .yui-carousel-nav ul li a{background:url(sprite.png) no-repeat 0 -650px;display:block;height:9px;margin:10px 0 0 5px;overflow:hidden;width:9px;}.yui-skin-sam .yui-carousel-nav ul li a em{left:-10000px;position:absolute;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-selected a{background-position:0 -700px;}
|
7
lib/yui/assets/skins/sam/colorpicker.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.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
lib/yui/assets/skins/sam/container.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.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-override-padding{padding:0 !important;}.yui-panel-container .container-close{overflow:hidden;text-indent:-10000em;text-decoration:none;}.yui-skin-sam .mask{background-color:#000;opacity:.25;*filter:alpha(opacity=25);}.yui-skin-sam .yui-panel-container{padding:0 1px;*padding:2px;}.yui-skin-sam .yui-panel{position:relative;left:0;top:0;border-style:solid;border-width:1px 0;border-color:#808080;z-index:1;*border-width:1px;*zoom:1;_zoom:normal;}.yui-skin-sam .yui-panel .hd,.yui-skin-sam .yui-panel .bd,.yui-skin-sam .yui-panel .ft{border-style:solid;border-width:0 1px;border-color:#808080;margin:0 -1px;*margin:0;*border:0;}.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 4px 0 2px;}.yui-skin-sam .yui-panel-container.shadow .underlay{position:absolute;top:2px;left:-3px;right:-3px;bottom:-3px;*top:4px;*left:-1px;*right:-1px;*bottom:-1px;_top:0;_left:0;_right:0;_bottom: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-dialog .ft span.yui-button-disabled{background-position:0pt -1500px;border-color:#ccc;}.yui-skin-sam .yui-dialog .ft span.yui-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam .yui-dialog .ft span.yui-button-disabled button{color:#a6a6a6;}.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);}
|
7
lib/yui/assets/skins/sam/datatable.css
Executable file
BIN
lib/yui/assets/skins/sam/desc.gif
Normal file
After Width: | Height: | Size: 177 B |
BIN
lib/yui/assets/skins/sam/dt-arrow-dn.png
Executable file
After Width: | Height: | Size: 116 B |
BIN
lib/yui/assets/skins/sam/dt-arrow-up.png
Executable file
After Width: | Height: | Size: 116 B |
BIN
lib/yui/assets/skins/sam/editor-knob.gif
Executable file
After Width: | Height: | Size: 138 B |
BIN
lib/yui/assets/skins/sam/editor-sprite-active.gif
Executable file
After Width: | Height: | Size: 5.5 KiB |
BIN
lib/yui/assets/skins/sam/editor-sprite.gif
Executable file
After Width: | Height: | Size: 5.6 KiB |
7
lib/yui/assets/skins/sam/editor.css
Executable file
BIN
lib/yui/assets/skins/sam/header_background.png
Normal file
After Width: | Height: | Size: 158 B |
BIN
lib/yui/assets/skins/sam/hue_bg.png
Executable file
After Width: | Height: | Size: 1.1 KiB |
7
lib/yui/assets/skins/sam/imagecropper.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.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;border:0;}.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;}
|
7
lib/yui/assets/skins/sam/layout.css
Normal file
BIN
lib/yui/assets/skins/sam/layout_sprite.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
lib/yui/assets/skins/sam/loading.gif
Normal file
After Width: | Height: | Size: 2.6 KiB |
7
lib/yui/assets/skins/sam/logger.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.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;}
|
BIN
lib/yui/assets/skins/sam/menu-button-arrow-disabled.png
Executable file
After Width: | Height: | Size: 173 B |
BIN
lib/yui/assets/skins/sam/menu-button-arrow.png
Executable file
After Width: | Height: | Size: 173 B |
7
lib/yui/assets/skins/sam/menu.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yuimenu{top:-999em;left:-999em;}.yuimenubar{position:static;}.yuimenu .yuimenu,.yuimenubar .yuimenu{position:absolute;}.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{*zoom:1;_zoom:normal;border:solid 1px #808080;background-color:#fff;}.yui-skin-sam .yuimenu .yuimenu .bd{*zoom:normal;}.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);}
|
BIN
lib/yui/assets/skins/sam/menubaritem_submenuindicator.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.5 KiB |
BIN
lib/yui/assets/skins/sam/menuitem_checkbox.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
lib/yui/assets/skins/sam/menuitem_checkbox_disabled.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
lib/yui/assets/skins/sam/menuitem_submenuindicator.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
lib/yui/assets/skins/sam/menuitem_submenuindicator_disabled.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
7
lib/yui/assets/skins/sam/paginator.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yui-skin-sam .yui-pg-container{display:block;margin:6px 0;white-space:nowrap;}.yui-skin-sam .yui-pg-first,.yui-skin-sam .yui-pg-previous,.yui-skin-sam .yui-pg-next,.yui-skin-sam .yui-pg-last,.yui-skin-sam .yui-pg-current,.yui-skin-sam .yui-pg-pages,.yui-skin-sam .yui-pg-page{display:inline-block;font-family:arial,helvetica,clean,sans-serif;padding:3px 6px;zoom:1;}.yui-skin-sam .yui-pg-pages{padding:0;}.yui-skin-sam .yui-pg-current{padding:3px 0;}.yui-skin-sam a.yui-pg-first:link,.yui-skin-sam a.yui-pg-first:visited,.yui-skin-sam a.yui-pg-first:active,.yui-skin-sam a.yui-pg-first:hover,.yui-skin-sam a.yui-pg-previous:link,.yui-skin-sam a.yui-pg-previous:visited,.yui-skin-sam a.yui-pg-previous:active,.yui-skin-sam a.yui-pg-previous:hover,.yui-skin-sam a.yui-pg-next:link,.yui-skin-sam a.yui-pg-next:visited,.yui-skin-sam a.yui-pg-next:active,.yui-skin-sam a.yui-pg-next:hover,.yui-skin-sam a.yui-pg-last:link,.yui-skin-sam a.yui-pg-last:visited,.yui-skin-sam a.yui-pg-last:active,.yui-skin-sam a.yui-pg-last:hover,.yui-skin-sam a.yui-pg-page:link,.yui-skin-sam a.yui-pg-page:visited,.yui-skin-sam a.yui-pg-page:active,.yui-skin-sam a.yui-pg-page:hover{color:#06c;text-decoration:underline;outline:0;}.yui-skin-sam span.yui-pg-first,.yui-skin-sam span.yui-pg-previous,.yui-skin-sam span.yui-pg-next,.yui-skin-sam span.yui-pg-last{color:#a6a6a6;}.yui-skin-sam .yui-pg-page{background-color:#fff;border:1px solid #CBCBCB;padding:2px 6px;text-decoration:none;}.yui-skin-sam .yui-pg-current-page{background-color:transparent;border:none;font-weight:bold;padding:3px 6px;}.yui-skin-sam .yui-pg-page{margin-left:1px;margin-right:1px;}.yui-skin-sam .yui-pg-first,.yui-skin-sam .yui-pg-previous{padding-left:0;}.yui-skin-sam .yui-pg-next,.yui-skin-sam .yui-pg-last{padding-right:0;}.yui-skin-sam .yui-pg-current,.yui-skin-sam .yui-pg-rpp-options{margin-left:1em;margin-right:1em;}
|
BIN
lib/yui/assets/skins/sam/picker_mask.png
Executable file
After Width: | Height: | Size: 12 KiB |
7
lib/yui/assets/skins/sam/profilerviewer.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.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
lib/yui/assets/skins/sam/resize.css
Normal file
7
lib/yui/assets/skins/sam/simpleeditor.css
Normal file
26
lib/yui/assets/skins/sam/skin.css
Executable file
7
lib/yui/assets/skins/sam/slider.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yui-h-slider,.yui-v-slider{position:relative;}.yui-h-slider .yui-slider-thumb,.yui-v-slider .yui-slider-thumb{position:absolute;cursor:default;}.yui-skin-sam .yui-h-slider{background:url(../../bg-h.gif) no-repeat 5px 0;height:28px;width:228px;}.yui-skin-sam .yui-h-slider .yui-slider-thumb{top:4px;}.yui-skin-sam .yui-v-slider{background:url(../../bg-v.gif) no-repeat 12px 0;height:228px;width:48px;}
|
BIN
lib/yui/assets/skins/sam/split-button-arrow-active.png
Executable file
After Width: | Height: | Size: 280 B |
BIN
lib/yui/assets/skins/sam/split-button-arrow-disabled.png
Executable file
After Width: | Height: | Size: 185 B |
BIN
lib/yui/assets/skins/sam/split-button-arrow-focus.png
Executable file
After Width: | Height: | Size: 185 B |
BIN
lib/yui/assets/skins/sam/split-button-arrow-hover.png
Executable file
After Width: | Height: | Size: 185 B |
BIN
lib/yui/assets/skins/sam/split-button-arrow.png
Executable file
After Width: | Height: | Size: 185 B |
BIN
lib/yui/assets/skins/sam/sprite.png
Executable file
After Width: | Height: | Size: 3.7 KiB |
BIN
lib/yui/assets/skins/sam/sprite.psd
Normal file
7
lib/yui/assets/skins/sam/tabview.css
Executable file
BIN
lib/yui/assets/skins/sam/treeview-loading.gif
Executable file
After Width: | Height: | Size: 2.6 KiB |
BIN
lib/yui/assets/skins/sam/treeview-sprite.gif
Executable file
After Width: | Height: | Size: 4.2 KiB |
7
lib/yui/assets/skins/sam/treeview.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.ygtvitem{}.ygtvitem table{margin-bottom:0;border:none;}.ygtvrow td{border:none;padding:0;}.ygtvrow td a{text-decoration:none;}.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,.ygtvtmhh{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,.ygtvtphh{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,.ygtvlmhh{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,.ygtvlphh{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;}.ygtvchildren{}* html .ygtvchildren{height:2%;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;cursor:pointer;}.ygtvcontent{cursor:default;}.ygtvspacer{height:22px;width:12px;}.ygtvfocus{background-color:#c0e0e0;border:none;}.ygtvfocus .ygtvlabel,.ygtvfocus .ygtvlabel:link,.ygtvfocus .ygtvlabel:visited,.ygtvfocus .ygtvlabel:hover{background-color:#c0e0e0;}.ygtvfocus a,.ygtvrow td a{outline-style:none;}.ygtvok{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8800px no-repeat;}.ygtvok:hover{background:url(treeview-sprite.gif) 0 -8844px no-repeat;}.ygtvcancel{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8822px no-repeat;}.ygtvcancel:hover{background:url(treeview-sprite.gif) 0 -8866px no-repeat;}.ygtv-label-editor{background-color:#f2f2f2;border:1px solid silver;position:absolute;display:none;overflow:hidden;margin:auto;z-index:9000;}.ygtv-edit-TextNode{width:190px;}.ygtv-edit-TextNode .ygtvcancel,.ygtv-edit-TextNode .ygtvok{border:none;}.ygtv-edit-TextNode .ygtv-button-container{float:right;}.ygtv-edit-TextNode .ygtv-input input{width:140px;}.ygtv-edit-DateNode .ygtvcancel{border:none;}.ygtv-edit-DateNode .ygtvok{display:none;}.ygtv-edit-DateNode .ygtv-button-container{text-align:right;margin:auto;}
|
BIN
lib/yui/assets/skins/sam/wait.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
7
lib/yui/assets/skins/sam/yuitest.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
|
212
lib/yui/autocomplete/README
Executable file
|
@ -0,0 +1,212 @@
|
||||||
|
AutoComplete Release Notes
|
||||||
|
|
||||||
|
*** version 2.6.0 ***
|
||||||
|
|
||||||
|
* AutoComplete has a new required dependency on YAHOO.util.DataSource,
|
||||||
|
and the class YAHOO.widget.DataSource has been deprecated. As a result,
|
||||||
|
the following YAHOO.widget.DataSource properties have been ported to YAHOO.widget.AutoComplete:
|
||||||
|
- queryMatchCase
|
||||||
|
- queryMatchContains
|
||||||
|
- queryMatchSubset
|
||||||
|
|
||||||
|
* The following YAHOO.widget.DS_XHR properties have been deprecated in favor of
|
||||||
|
the new customizeable YAHOO.widget.AutoComplete method generateRequest:
|
||||||
|
- scriptQueryParam
|
||||||
|
- scriptQueryAppend
|
||||||
|
|
||||||
|
* The YAHOO.widget.DS_XHR property responseStripAfter has been deprecated in favor
|
||||||
|
of the new customizeable YAHOO.util.DataSource method doBeforeParseData.
|
||||||
|
|
||||||
|
* Now always fires either dataReturnEvent or dataErrorEvent upon a DataSource
|
||||||
|
response, whether container opens or not due to instance losing focus.
|
||||||
|
|
||||||
|
* Added textboxChangeEvent and containerPopulateEvent Custom Events.
|
||||||
|
|
||||||
|
* As a convenience, the formatResult() method now receives a third parameter which
|
||||||
|
is the query matching string for the result.
|
||||||
|
|
||||||
|
* In order to eliminate certain race conditions with the typeAhead feature, added
|
||||||
|
typeAheadDelay of default 0.5.
|
||||||
|
|
||||||
|
* Added new method filterResults() for an easily customizeable local string-
|
||||||
|
matching algorithm.
|
||||||
|
|
||||||
|
* The dataRequestEvent now passes along the request as well as the query string.
|
||||||
|
|
||||||
|
* The style list-style:none has been set in the default CSS.
|
||||||
|
|
||||||
|
|
||||||
|
*** version 2.5.2 ***
|
||||||
|
|
||||||
|
* Empty responses of TYPE_FLAT no longer open empty container.
|
||||||
|
|
||||||
|
* Mac FF no longer submits form on enter-to-select suggestion.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** version 2.5.1 ***
|
||||||
|
|
||||||
|
* No changes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** 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.
|
7
lib/yui/autocomplete/assets/autocomplete-core.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
/* This file intentionally left blank */
|
57
lib/yui/autocomplete/assets/skins/sam/autocomplete-skin.css
Executable file
|
@ -0,0 +1,57 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
/* styles for entire widget */
|
||||||
|
.yui-skin-sam .yui-ac {
|
||||||
|
position:relative;font-family:arial;font-size:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for input field */
|
||||||
|
.yui-skin-sam .yui-ac-input {
|
||||||
|
position:absolute;width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for results container */
|
||||||
|
.yui-skin-sam .yui-ac-container {
|
||||||
|
position:absolute;top:1.6em;width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for header/body/footer wrapper within container */
|
||||||
|
.yui-skin-sam .yui-ac-content {
|
||||||
|
position:absolute;width:100%;border:1px solid #808080;background:#fff;overflow:hidden;z-index:9050;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for container shadow */
|
||||||
|
.yui-skin-sam .yui-ac-shadow {
|
||||||
|
position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity: 0.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for container iframe */
|
||||||
|
.yui-skin-sam .yui-ac iframe {
|
||||||
|
opacity:0;filter: alpha(opacity=0);
|
||||||
|
padding-right:.3em; padding-bottom:.3em; /* Bug 2026798: extend iframe to shim the shadow */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for results list */
|
||||||
|
.yui-skin-sam .yui-ac-content ul{
|
||||||
|
margin:0;padding:0;width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for result item */
|
||||||
|
.yui-skin-sam .yui-ac-content li {
|
||||||
|
margin:0;padding:2px 5px;cursor:default;white-space:nowrap;list-style:none;
|
||||||
|
zoom:1; /* For IE to trigger mouse events on LI */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for prehighlighted result item */
|
||||||
|
.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight {
|
||||||
|
background:#B3D4FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for highlighted result item */
|
||||||
|
.yui-skin-sam .yui-ac-content li.yui-ac-highlight {
|
||||||
|
background:#426FD9;color:#FFF;
|
||||||
|
}
|
7
lib/yui/autocomplete/assets/skins/sam/autocomplete.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.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 iframe{opacity:0;filter:alpha(opacity=0);padding-right:.3em;padding-bottom:.3em;}.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;list-style:none;zoom:1;}.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;}
|
2917
lib/yui/autocomplete/autocomplete-debug.js
vendored
Executable file
12
lib/yui/autocomplete/autocomplete-min.js
vendored
Executable file
2873
lib/yui/autocomplete/autocomplete.js
vendored
Executable file
29
lib/yui/base/README
Executable file
|
@ -0,0 +1,29 @@
|
||||||
|
YUI Library - Base - Release Notes
|
||||||
|
|
||||||
|
Version 2.6.0
|
||||||
|
|
||||||
|
* No changes.
|
||||||
|
|
||||||
|
Version 2.5.2
|
||||||
|
|
||||||
|
* No changes.
|
||||||
|
|
||||||
|
Version 2.5.1
|
||||||
|
|
||||||
|
* No changes.
|
||||||
|
|
||||||
|
Version 2.5.0
|
||||||
|
|
||||||
|
* No changes.
|
||||||
|
|
||||||
|
Version 2.4.0
|
||||||
|
|
||||||
|
* Fixed typo in comments.
|
||||||
|
* Added margin-bottom:1em; for PRE element to match P
|
||||||
|
* Added color:#000 for legend element, accomodation for IE
|
||||||
|
* Added set width (equivilant to 160px but set in EMs) for input's
|
||||||
|
width type = text or password, and for textareas.
|
||||||
|
|
||||||
|
Version 2.3.0
|
||||||
|
|
||||||
|
* Initial release.
|
7
lib/yui/base/base-min.css
vendored
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong{font-weight:bold;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;} em{font-style:italic;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}p,fieldset,table,pre{margin-bottom:1em;}input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
|
82
lib/yui/base/base.css
Executable file
|
@ -0,0 +1,82 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
/* base.css, part of YUI's CSS Foundation */
|
||||||
|
h1 {
|
||||||
|
/*18px via YUI Fonts CSS foundation*/
|
||||||
|
font-size:138.5%;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
/*16px via YUI Fonts CSS foundation*/
|
||||||
|
font-size:123.1%;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
/*14px via YUI Fonts CSS foundation*/
|
||||||
|
font-size:108%;
|
||||||
|
}
|
||||||
|
h1,h2,h3 {
|
||||||
|
/* top & bottom margin based on font size */
|
||||||
|
margin:1em 0;
|
||||||
|
}
|
||||||
|
h1,h2,h3,h4,h5,h6,strong {
|
||||||
|
/*bringing boldness back to headers and the strong element*/
|
||||||
|
font-weight:bold;
|
||||||
|
}
|
||||||
|
abbr,acronym {
|
||||||
|
/*indicating to users that more info is available */
|
||||||
|
border-bottom:1px dotted #000;
|
||||||
|
cursor:help;
|
||||||
|
}
|
||||||
|
em {
|
||||||
|
/*bringing italics back to the em element*/
|
||||||
|
font-style:italic;
|
||||||
|
}
|
||||||
|
del {
|
||||||
|
text-decoration:line-through;
|
||||||
|
}
|
||||||
|
blockquote,ul,ol,dl {
|
||||||
|
/*giving blockquotes and lists room to breath*/
|
||||||
|
margin:1em;
|
||||||
|
}
|
||||||
|
ol,ul,dl {
|
||||||
|
/*bringing lists on to the page with breathing room */
|
||||||
|
margin-left:2em;
|
||||||
|
}
|
||||||
|
ol li {
|
||||||
|
/*giving OL's LIs generated numbers*/
|
||||||
|
list-style: decimal outside;
|
||||||
|
}
|
||||||
|
ul li {
|
||||||
|
/*giving UL's LIs generated disc markers*/
|
||||||
|
list-style: disc outside;
|
||||||
|
}
|
||||||
|
dl dd {
|
||||||
|
/*giving UL's LIs generated numbers*/
|
||||||
|
margin-left:1em;
|
||||||
|
}
|
||||||
|
th,td {
|
||||||
|
/*borders and padding to make the table readable*/
|
||||||
|
border:1px solid #000;
|
||||||
|
padding:.5em;
|
||||||
|
}
|
||||||
|
th {
|
||||||
|
/*distinguishing table headers from data cells*/
|
||||||
|
font-weight:bold;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
caption {
|
||||||
|
/*coordinated margin to match cell's padding*/
|
||||||
|
margin-bottom:.5em;
|
||||||
|
/*centered so it doesn't blend in to other content*/
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
p,fieldset,table,pre {
|
||||||
|
/*so things don't run into each other*/
|
||||||
|
margin-bottom:1em;
|
||||||
|
}
|
||||||
|
/* setting a consistent width, 160px;
|
||||||
|
control of type=file still not possible */
|
||||||
|
input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
|
436
lib/yui/button/README
Executable file
|
@ -0,0 +1,436 @@
|
||||||
|
*** version 2.6.0 ***
|
||||||
|
|
||||||
|
Fixed the following bugs:
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
+ Clicking on the option region of a Button of "type" split will fire the "option" event, but not
|
||||||
|
"mousedown," "mouseup," "click," or "dblclick".
|
||||||
|
|
||||||
|
+ Buttons of type "radio" and "checkbox" will not override a value provided for the title attribute.
|
||||||
|
|
||||||
|
+ Returning false in an inline "submit" event handler for a form will now prevent the form
|
||||||
|
from being submitted when the form contains Button instances.
|
||||||
|
|
||||||
|
+ Pressing the enter key to submit a form containing Button instances will no longer
|
||||||
|
trigger a beep sound in Internet Explorer.
|
||||||
|
|
||||||
|
+ The Button widget no longer logs errors when strict error reporting is enabled in FireFox.
|
||||||
|
|
||||||
|
+ Button instances are now automatically clicked when their corresponding <label> is clicked.
|
||||||
|
|
||||||
|
+ The name and value of selected MenuItems in submenus of a Button's Menu are now part of their
|
||||||
|
parent form's data when the form is submitted.
|
||||||
|
|
||||||
|
+ For Button's of type "menu" and "split" created using an existing <SELECT> element: The name and
|
||||||
|
value of the pre-selected MenuItem in a Button's Menu are now part of their parent form's data
|
||||||
|
when the form is submitted.
|
||||||
|
|
||||||
|
+ The "appendTo" event now correctly fires when the "container" attribute is set to a
|
||||||
|
node reference.
|
||||||
|
|
||||||
|
+ Simple forms with two fields: a Button of type "submit" and a text field will no longer
|
||||||
|
be submitted twice when the enter key is pressed.
|
||||||
|
|
||||||
|
+ Submitting a form by pressing the enter key will now result in a Button's "click" event
|
||||||
|
handlers getting called.
|
||||||
|
|
||||||
|
+ Buttons of type "menu" and "split" now consistently display their Menus in Opera.
|
||||||
|
|
||||||
|
+ Button no longer logs a warning when a Button is created without an id.
|
||||||
|
|
||||||
|
|
||||||
|
Added the following features:
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
+ Added a new "menumaxheight" attribute used to set the "maxheight" configuration property of a
|
||||||
|
Button's Menu.
|
||||||
|
|
||||||
|
+ Added a new "menuminscrollheight" attribute used to set the "minscrollheight" configuration
|
||||||
|
property of a Button's Menu.
|
||||||
|
|
||||||
|
+ Added a "menualignment" attribute attribute used to control how a Menu is aligned to its
|
||||||
|
corresponding Button.
|
||||||
|
|
||||||
|
+ Added a "yui-split-button-hoveroption" CSS class that is applied when the user hovers the mouse
|
||||||
|
over the "option" section of a split button.
|
||||||
|
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
--------
|
||||||
|
|
||||||
|
+ Removed the rounded corners for IE 6 Quirks Mode and Strict Mode and IE 7 Quirks Mode.
|
||||||
|
|
||||||
|
+ Changed the keyboard shortcut used to display the Menu for Button's of type "split" to the down
|
||||||
|
arrow key.
|
||||||
|
|
||||||
|
+ Passing a DOM element reference to the "container" attribute will no longer result in the Button
|
||||||
|
being appended to the container immediately. Use the "appendTo" event to listen for when
|
||||||
|
the Button will be appended to the element specified as its container. To append a Button to
|
||||||
|
an element in the DOM immediately, use the "appendTo" method rather than the "container"
|
||||||
|
attribute.
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.5.2 ***
|
||||||
|
|
||||||
|
Fixed the following bugs:
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
+ Button instances no longer flicker in Firefox 3 when their "label" attributed is updated.
|
||||||
|
|
||||||
|
+ Scrolled Menus of Buttons whose type attribute is set to "menu" or "split" no longer appear
|
||||||
|
on top of their corresponding Button instance.
|
||||||
|
|
||||||
|
+ The keyboard shortcut responsible for triggering the display of the Menu for Button instances of
|
||||||
|
type "split" will no longer trigger the display of the browser's default context menu in Opera.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.5.1 ***
|
||||||
|
|
||||||
|
+ No changes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.5.0 ***
|
||||||
|
|
||||||
|
+ Fixed issue where returning false inside the scope of a listener for attribute "before"
|
||||||
|
events (i.e "beforeCheckedChange") would not cancel the attribute's default setter.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.4.1 ***
|
||||||
|
|
||||||
|
+ No changes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.4.0 ***
|
||||||
|
|
||||||
|
Added the following features:
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
+ Added a static method "YAHOO.widget.Button.getButton" that returns a Button
|
||||||
|
instance with the specified HTML element id.
|
||||||
|
|
||||||
|
|
||||||
|
Fixed the following bugs:
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
+ Removed the ".yui-skin-sam" CSS class name from style rules in the core
|
||||||
|
stylesheet so that it is now truly skin agnostic.
|
||||||
|
|
||||||
|
+ Updated the default text for tooltips for Buttons of type "radio" so that
|
||||||
|
they offer the correct instructional text.
|
||||||
|
|
||||||
|
+ Menus with grouped YAHOO.widget.MenuItem instances will now highlight
|
||||||
|
correctly when used with Button.
|
||||||
|
|
||||||
|
+ Buttons of type "link" now have the same default height as other Button
|
||||||
|
types in Internet Explorer.
|
||||||
|
|
||||||
|
+ Buttons of various types now line up correctly on the same line.
|
||||||
|
|
||||||
|
+ Menu is now truly an optional dependancy of Button.
|
||||||
|
|
||||||
|
+ Menus now render with the correct width when the "yui-skin-sam" CSS class
|
||||||
|
name is applied to an element other than the <BODY>.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.3.1 ***
|
||||||
|
|
||||||
|
Fixed the following bugs:
|
||||||
|
-------------------------
|
||||||
|
+ Purged the old 2.2.2 Button stylesheet and related image assets that was
|
||||||
|
mistakenly included in the 2.3.0 build.
|
||||||
|
|
||||||
|
+ Fixed an issue in Gecko where changing a Button instance's "label" attribute
|
||||||
|
after the Button had been created would not result in the Button redrawing at
|
||||||
|
a width to fit its content.
|
||||||
|
|
||||||
|
+ Fixed an issue where the singleton keypress event handler
|
||||||
|
(YAHOO.widget.Button.onFormKeyPress) registered for forms containing
|
||||||
|
Button instances of type "submit" was not removed from the form once all of
|
||||||
|
its child Button instances are destroyed.
|
||||||
|
|
||||||
|
+ Submitting a form by clicking on a MenuItem of a SplitButton's or MenuButton's
|
||||||
|
Menu will no longer result in a JavaScript error.
|
||||||
|
|
||||||
|
+ Modified how element tag names are compared to support XHTML applications.
|
||||||
|
|
||||||
|
+ Added code to remove the CSS class names representing the "hover," "focus,"
|
||||||
|
and "active" states when a Button instance is disabled.
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.3 ***
|
||||||
|
|
||||||
|
Added the following features:
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
+ Added a "focusmenu" configuration attribute that controls whether or not a
|
||||||
|
Button instance's menu will automatically be focused when made visible.
|
||||||
|
|
||||||
|
+ Added a "lazyloadmenu" configuration attribute that controls the value of
|
||||||
|
the "lazyload" configuration property of a Button's menu.
|
||||||
|
|
||||||
|
+ Added "menuclassname" configuration attribute that defines a CSS class name
|
||||||
|
to be applied to the root HTML element of a button's menu.
|
||||||
|
|
||||||
|
|
||||||
|
Fixed the following bugs:
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
+ Setting the "label" attribute of a Button of type "link" to a string with
|
||||||
|
a "www." prefix will no longer result in the value of the "href" property
|
||||||
|
being used for the "label" in IE.
|
||||||
|
|
||||||
|
+ Disabling a Button when its menu is visible will now result in the menu
|
||||||
|
being hidden.
|
||||||
|
|
||||||
|
+ Hidden field(s) created by a Button instance are now removed if the
|
||||||
|
submission of its parent form is cancelled.
|
||||||
|
|
||||||
|
+ If a Button instance is preceeded by another enabled HTML submit button
|
||||||
|
(<input type="submit" ...> or <button type="submit" ...>), it will no longer
|
||||||
|
create a hidden field representing its name and value when its parent form
|
||||||
|
is submitted.
|
||||||
|
|
||||||
|
+ If an HTML form contains a mix of YUI Buttons of type "submit" and standard
|
||||||
|
HTML submit buttons (<input type="submit" ...> or <button type="submit" ...>)
|
||||||
|
its "submit" event will no longer fire twice when it is submitted by the user
|
||||||
|
pressing the enter key while focus inside another HTML form control.
|
||||||
|
|
||||||
|
+ If all Button instances in a form are disabled, the form will no longer be
|
||||||
|
submitted when the user presses the enter key while focused inside another
|
||||||
|
HTML form control.
|
||||||
|
|
||||||
|
+ The first enabled Button instance in a form now correctly adds its name and
|
||||||
|
value to the form's data set when the form is submitted by the user pressing
|
||||||
|
the enter key while focused inside another form control.
|
||||||
|
|
||||||
|
+ Fixed typo in the source file for the ButtonGroup class that was causing the
|
||||||
|
private variable "m_oButtons" to be declared as a global.
|
||||||
|
|
||||||
|
+ Switched to use of the CSS display type "-moz-inline-box" from
|
||||||
|
"-moz-inline-stack" for Gecko-based browsers so that the entire area of a
|
||||||
|
Button instance is clickable when it is rendered inside another inline
|
||||||
|
element.
|
||||||
|
|
||||||
|
+ Added "yui-button" and "yui-[button type]-button" prefix to CSS classes to
|
||||||
|
sandbox Button styles.
|
||||||
|
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
--------
|
||||||
|
|
||||||
|
+ Default value of "type" configuration attribute now "push" (was "button").
|
||||||
|
|
||||||
|
+ Type "menubutton" now "menu."
|
||||||
|
|
||||||
|
+ Type "splitbuton" now "split."
|
||||||
|
|
||||||
|
+ Added "addStateCSSClasses" method.
|
||||||
|
|
||||||
|
+ Added "removeStateCSSClasses" method.
|
||||||
|
|
||||||
|
+ Renamed protected property "_hiddenField" to "_hiddenFields."
|
||||||
|
|
||||||
|
+ Removed protected "submit" event handler named "_onFormSubmit."
|
||||||
|
|
||||||
|
+ Renamed public method "createHiddenField" to "createHiddenFields."
|
||||||
|
|
||||||
|
+ Added new "removeHiddenFields" method.
|
||||||
|
|
||||||
|
+ Renamed static method "YAHOO.widget.Button.onFormKeyDown"
|
||||||
|
to "YAHOO.widget.Button.onFormKeyPress."
|
||||||
|
|
||||||
|
+ Renamed "TAG_NAME" constant (YAHOO.widget.Button.prototype.TAG_NAME and
|
||||||
|
YAHOO.widget.ButtonGroup.prototype.TAG_NAME) to
|
||||||
|
"NODE_NAME" (YAHOO.widget.Button.prototype.NODE_NAME and
|
||||||
|
YAHOO.widget.ButtonGroup.prototype.NODE_NAME).
|
||||||
|
|
||||||
|
+ The "selectedMenuItem" configuration attribute now correctly gets/sets the
|
||||||
|
index of the selected MenuItem instance of the button's menu, rather than a
|
||||||
|
MenuItem instance.
|
||||||
|
|
||||||
|
+ The "container" configuration attribute is now writeonce
|
||||||
|
|
||||||
|
+ The "menu" configuration attribute is now writeonce
|
||||||
|
|
||||||
|
+ The root element of each button's menu now will have two CSS classes
|
||||||
|
appended to it:
|
||||||
|
- The CSS class name specified by the "menuclassname" configuration
|
||||||
|
attribute (by default is "yui-button-menu")
|
||||||
|
- A type-specific class name (either "yui-split-button-menu"
|
||||||
|
or "yui-menu-button-menu")
|
||||||
|
|
||||||
|
+ "menu" configuration attribute now supports creation or use of
|
||||||
|
YAHOO.widget.Overlay in addition to previously supported
|
||||||
|
YAHOO.widget.Menu:
|
||||||
|
|
||||||
|
- To create a menu from existing markup using YAHOO.widget.Overlay, pass the
|
||||||
|
id or node reference of the HTML element to be used to create the Overlay
|
||||||
|
as the value of the "menu" configuration attribute.
|
||||||
|
|
||||||
|
- YAHOO.widget.Overlay instances passed as a value for the "menu"
|
||||||
|
configuration attribute need to be fully rendered.
|
||||||
|
|
||||||
|
- To create a menu from existing markup using YAHOO.widget.Menu, pass the
|
||||||
|
id or node reference of the HTML element to be used to create the menu
|
||||||
|
as the value of the "menu" configuration attribute and give the
|
||||||
|
HTML element the same class name as specified by
|
||||||
|
YAHOO.widget.Menu.prototype.CSS_CLASS_NAME.
|
||||||
|
|
||||||
|
- YAHOO.widget.Overlay instances used as a menu are by default not rendered
|
||||||
|
until they are are made visible for the first time. This behavior
|
||||||
|
can be changed so that they are rendered immediately by setting the value
|
||||||
|
of the "lazyloadmenu" configuration attribute to "false."
|
||||||
|
|
||||||
|
+ If you pass an element id for the value of the "menu" configuration
|
||||||
|
attribute, that node is now accessed immediately via the "get" method of the
|
||||||
|
Dom utility (YAHOO.util.Dom) as opposed to the "onContentReady" method of the
|
||||||
|
Event utility (YAHOO.util.Event).
|
||||||
|
|
||||||
|
+ Modified code to support a more generic markup format. Now any number of
|
||||||
|
HTML elements can exist between a Button's root HTML element and its button
|
||||||
|
node (be it an <A> or <BUTTON> element):
|
||||||
|
|
||||||
|
<ROOT_NODE> ... <BUTTON_NODE /> ... </ROOT_NODE>
|
||||||
|
|
||||||
|
+ A Button can now be initialized using any of the following six HTML patterns:
|
||||||
|
|
||||||
|
- <A> TEXT/HTML </A>
|
||||||
|
- <BUTTON> TEXT/HTML </BUTTON>
|
||||||
|
- <INPUT />
|
||||||
|
- <ROOT_NODE> ... <A> TEXT/HTML </A> ... </ROOT_NODE>
|
||||||
|
- <ROOT_NODE> ... <BUTTON> TEXT/HTML </BUTTON> ... </ROOT_NODE>
|
||||||
|
- <ROOT_NODE> ... <INPUT /> ... </ROOT_NODE>
|
||||||
|
|
||||||
|
+ The id of a Button instance can now match that of its source element.
|
||||||
|
|
||||||
|
+ CSS changes:
|
||||||
|
|
||||||
|
1) All Buttons have a "yui-" prefix as opposed to "yui":
|
||||||
|
|
||||||
|
2.2.2 | 2.3
|
||||||
|
-------------------------
|
||||||
|
.yuibutton | .yui-button
|
||||||
|
|
||||||
|
|
||||||
|
2) Each Button type has its own class name with a "yui-" prefix and
|
||||||
|
"-button" suffix IN ADDITION TO the default "yui-button" class name:
|
||||||
|
|
||||||
|
2.2.2 | 2.3
|
||||||
|
------------------------------------------
|
||||||
|
.yuibutton.splitbutton | .yui-split-button
|
||||||
|
.yuibutton.menubutton | .yui-menu-button
|
||||||
|
|
||||||
|
* Allows for the definition of generic styles that apply to all buttons,
|
||||||
|
while providing a means for uniquely styling buttons of a specific type.
|
||||||
|
|
||||||
|
|
||||||
|
3) For states that are common to all Buttons, two classes are applied: a
|
||||||
|
generic class name (i.e. yui-button-[state]) and a type-specific state class
|
||||||
|
name (yui-[type]-button-[state]):
|
||||||
|
|
||||||
|
2.2.2 | 2.3
|
||||||
|
-------------------------------------------
|
||||||
|
.yuibutton.focus | .yui-button-focus
|
||||||
|
.yuibutton.radio.focus | .yui-radio-button-focus
|
||||||
|
|
||||||
|
* States common to all Button types are:
|
||||||
|
+ focus
|
||||||
|
+ hover
|
||||||
|
+ active
|
||||||
|
+ disabled
|
||||||
|
|
||||||
|
** Allows for the definition of generic styles that apply to all states of
|
||||||
|
all buttons, while providing a means for uniquely styling states for
|
||||||
|
buttons of a specific type.
|
||||||
|
|
||||||
|
|
||||||
|
4) Buttons of type "radio" and "checkbox" have two classes applied to
|
||||||
|
represent their "checked" state: a generic class name
|
||||||
|
(i.e. yui-button-checked) and a type-specific class
|
||||||
|
name (yui-[type]-button-checked):
|
||||||
|
|
||||||
|
2.2.2 | 2.3
|
||||||
|
-------------------------------------------
|
||||||
|
.yuibutton.checked | .yui-button-checked
|
||||||
|
.yuibutton.radio.checked | .yui-radio-button-checked
|
||||||
|
.yuibutton.checkbox.checked | .yui-checkbox-button-checked
|
||||||
|
|
||||||
|
** This allows for the definition of a universal style for all Buttons that
|
||||||
|
have a "checked" state or the ability to define a type-specific style for
|
||||||
|
the "checked" state.
|
||||||
|
|
||||||
|
|
||||||
|
5) States that are specific to a particular type only get a type-specific
|
||||||
|
state class name. Currently this only applies to the "splitbutton" type:
|
||||||
|
|
||||||
|
2.2.2 | 2.3
|
||||||
|
-------------------------------------------
|
||||||
|
.yuibutton.activeoption | .yui-split-button-activeoption
|
||||||
|
|
||||||
|
|
||||||
|
6) The "ie6" class name is removed.
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.2.2 ***
|
||||||
|
|
||||||
|
+ No changes
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.2.1 ***
|
||||||
|
|
||||||
|
Added the following features:
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
+ Added "getHiddenField" method to YAHOO.widget.Button.
|
||||||
|
|
||||||
|
|
||||||
|
Fixed the following bugs:
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
+ Removed built-in use of the Event utility's "onAvailable" method from the
|
||||||
|
constructor of Button and ButtonGroup as it was preventing the addition of
|
||||||
|
event listeners on instances created from existing markup. Going forward
|
||||||
|
Button and ButtonGroup instances created from existing markup can only be
|
||||||
|
instantiated once their source HTML element is available in the DOM. The
|
||||||
|
Button examples illustrate how this can be accomplished.
|
||||||
|
|
||||||
|
+ Modified code so that disabled Button instances no longer fire DOM events.
|
||||||
|
|
||||||
|
+ Pressing the enter key while focused on a form field whose parent form
|
||||||
|
contains a Button instance of type "submit" will now automatically submit
|
||||||
|
the form using the first Button instance of type "submit".
|
||||||
|
|
||||||
|
+ Clicking a Button instance of type="submit" will now cause the Button's
|
||||||
|
parent form's "submit" event to fire.
|
||||||
|
|
||||||
|
+ Modified Button CSS so that the filter used to apply alpha transparency to
|
||||||
|
a Button's background PNG is only used by IE 6. The previous code was
|
||||||
|
enabling IE's Alpha image loader for IE 7 in Quirks mode.
|
||||||
|
|
||||||
|
+ Fixed documentation error for "getForm" method.
|
||||||
|
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
--------
|
||||||
|
|
||||||
|
+ Made the "submitForm" method of YAHOO.widget.Button public (was
|
||||||
|
previously protected).
|
||||||
|
|
||||||
|
+ Removed "init" event and corresponding "oninit" configuration attribute
|
||||||
|
from YAHOO.widget.Button and YAHOO.widget.ButtonGroup.
|
||||||
|
|
||||||
|
+ Added the CSS class "ie6" to button.css. This classname is append to root
|
||||||
|
DOM element of Button instances created with IE 6. By default this class
|
||||||
|
is used to apply a filter that gives alpha transparency to a Button's
|
||||||
|
background PNG.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** Version 2.2.0 ***
|
||||||
|
|
||||||
|
* Button Control introduced
|
44
lib/yui/button/assets/button-core.css
Executable file
|
@ -0,0 +1,44 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yui-button {
|
||||||
|
|
||||||
|
display: -moz-inline-box; /* Gecko */
|
||||||
|
display: inline-block; /* IE, Opera and Safari */
|
||||||
|
vertical-align: text-bottom;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-button .first-child {
|
||||||
|
|
||||||
|
display: block;
|
||||||
|
*display: inline-block; /* IE */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-button button,
|
||||||
|
.yui-button a {
|
||||||
|
|
||||||
|
display: block;
|
||||||
|
*display: inline-block; /* IE */
|
||||||
|
border: none;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-button button {
|
||||||
|
|
||||||
|
background-color: transparent;
|
||||||
|
*overflow: visible; /* Remove superfluous padding for IE */
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-button a {
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
}
|
240
lib/yui/button/assets/skins/sam/button-skin.css
Executable file
|
@ -0,0 +1,240 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yui-skin-sam .yui-button {
|
||||||
|
|
||||||
|
border-width: 1px 0;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #808080;
|
||||||
|
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
|
||||||
|
margin: auto .25em;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button .first-child {
|
||||||
|
|
||||||
|
border-width: 0 1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #808080;
|
||||||
|
margin: 0 -1px;
|
||||||
|
*position: relative; /* Necessary to get negative margins working in IE */
|
||||||
|
*left: -1px;
|
||||||
|
|
||||||
|
/*
|
||||||
|
Don't apply rounded corners for IE 6 (Quirks and Standards Mode) and IE 7 Quirks Mode
|
||||||
|
since it causes more problems than its worth.
|
||||||
|
*/
|
||||||
|
_margin: 0;
|
||||||
|
_position: static;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button button,
|
||||||
|
.yui-skin-sam .yui-button a {
|
||||||
|
|
||||||
|
padding: 0 10px;
|
||||||
|
font-size: 93%; /* 12px */
|
||||||
|
line-height: 2; /* ~24px */
|
||||||
|
*line-height: 1.7; /* For IE */
|
||||||
|
min-height: 2em; /* For Gecko */
|
||||||
|
*min-height: auto; /* For IE */
|
||||||
|
color: #000;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button a {
|
||||||
|
|
||||||
|
/*
|
||||||
|
Necessary to get Buttons of type "link" to be the correct
|
||||||
|
height in IE.
|
||||||
|
*/
|
||||||
|
*line-height: 1.875;
|
||||||
|
*padding-bottom: 1px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-split-button button,
|
||||||
|
.yui-skin-sam .yui-menu-button button {
|
||||||
|
|
||||||
|
padding-right: 20px;
|
||||||
|
background-position: right center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-menu-button button {
|
||||||
|
|
||||||
|
background-image: url(menu-button-arrow.png);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-split-button button {
|
||||||
|
|
||||||
|
background-image: url(split-button-arrow.png);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Focus state */
|
||||||
|
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-focus {
|
||||||
|
|
||||||
|
border-color: #7D98B8;
|
||||||
|
background-position: 0 -1300px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-focus .first-child {
|
||||||
|
|
||||||
|
border-color: #7D98B8;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-focus button,
|
||||||
|
.yui-skin-sam .yui-button-focus a {
|
||||||
|
|
||||||
|
color: #000;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-split-button-focus button {
|
||||||
|
|
||||||
|
background-image: url(split-button-arrow-focus.png);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Hover state */
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-hover {
|
||||||
|
|
||||||
|
border-color: #7D98B8;
|
||||||
|
background-position: 0 -1300px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-hover .first-child {
|
||||||
|
|
||||||
|
border-color: #7D98B8;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-hover button,
|
||||||
|
.yui-skin-sam .yui-button-hover a {
|
||||||
|
|
||||||
|
color: #000;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-split-button-hover button {
|
||||||
|
|
||||||
|
background-image: url(split-button-arrow-hover.png);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Active state */
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-active {
|
||||||
|
|
||||||
|
border-color: #7D98B8;
|
||||||
|
background-position: 0 -1700px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-active .first-child {
|
||||||
|
|
||||||
|
border-color: #7D98B8;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-active button,
|
||||||
|
.yui-skin-sam .yui-button-active a {
|
||||||
|
|
||||||
|
color: #000;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-split-button-activeoption {
|
||||||
|
|
||||||
|
border-color: #808080;
|
||||||
|
background-position: 0 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-split-button-activeoption .first-child {
|
||||||
|
|
||||||
|
border-color: #808080;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-split-button-activeoption button {
|
||||||
|
|
||||||
|
background-image: url(split-button-arrow-active.png);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Checked state */
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-radio-button-checked,
|
||||||
|
.yui-skin-sam .yui-checkbox-button-checked {
|
||||||
|
|
||||||
|
border-color: #304369;
|
||||||
|
background-position: 0 -1400px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-radio-button-checked .first-child,
|
||||||
|
.yui-skin-sam .yui-checkbox-button-checked .first-child {
|
||||||
|
|
||||||
|
border-color: #304369;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-radio-button-checked button,
|
||||||
|
.yui-skin-sam .yui-checkbox-button-checked button {
|
||||||
|
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Disabled state */
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-disabled {
|
||||||
|
|
||||||
|
border-color: #ccc;
|
||||||
|
background-position: 0 -1500px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-disabled .first-child {
|
||||||
|
|
||||||
|
border-color: #ccc;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-button-disabled button,
|
||||||
|
.yui-skin-sam .yui-button-disabled a {
|
||||||
|
|
||||||
|
color: #A6A6A6;
|
||||||
|
cursor: default;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-menu-button-disabled button {
|
||||||
|
|
||||||
|
background-image: url(menu-button-arrow-disabled.png);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-split-button-disabled button {
|
||||||
|
|
||||||
|
background-image: url(split-button-arrow-disabled.png);
|
||||||
|
|
||||||
|
}
|
7
lib/yui/button/assets/skins/sam/button.css
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.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(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;margin:auto .25em;}.yui-skin-sam .yui-button .first-child{border-width:0 1px;border-style:solid;border-color:#808080;margin:0 -1px;*position:relative;*left:-1px;_margin:0;_position:static;}.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:1.875;*padding-bottom:1px;}.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);}
|
BIN
lib/yui/button/assets/skins/sam/menu-button-arrow-disabled.png
Executable file
After Width: | Height: | Size: 173 B |
BIN
lib/yui/button/assets/skins/sam/menu-button-arrow.png
Executable file
After Width: | Height: | Size: 173 B |
BIN
lib/yui/button/assets/skins/sam/split-button-arrow-active.png
Executable file
After Width: | Height: | Size: 280 B |
BIN
lib/yui/button/assets/skins/sam/split-button-arrow-disabled.png
Executable file
After Width: | Height: | Size: 185 B |
BIN
lib/yui/button/assets/skins/sam/split-button-arrow-focus.png
Executable file
After Width: | Height: | Size: 185 B |
BIN
lib/yui/button/assets/skins/sam/split-button-arrow-hover.png
Executable file
After Width: | Height: | Size: 185 B |
BIN
lib/yui/button/assets/skins/sam/split-button-arrow.png
Executable file
After Width: | Height: | Size: 185 B |
4859
lib/yui/button/button-debug.js
vendored
Normal file
11
lib/yui/button/button-min.js
vendored
Normal file
4798
lib/yui/button/button.js
vendored
Normal file
421
lib/yui/calendar/README
Executable file
|
@ -0,0 +1,421 @@
|
||||||
|
Calendar Release Notes
|
||||||
|
|
||||||
|
*** version 2.6.0 ***
|
||||||
|
|
||||||
|
+ Fixed incorrect cell index parsing from cell id attribute, when
|
||||||
|
Calendar id contained "cell".
|
||||||
|
|
||||||
|
+ Added text to previous month, next month and close icons, to
|
||||||
|
enhance accessibility for screen-readers.
|
||||||
|
|
||||||
|
+ Fixed issue with bubbled previous month, next month click events
|
||||||
|
missing target information in certain browsers (due to replaced HTML),
|
||||||
|
by delaying click event handling through a setTimeout.
|
||||||
|
|
||||||
|
+ Added destroy method to Calendar/CalendarGroup
|
||||||
|
|
||||||
|
+ Fixed incorrect clear method behavior for CalendarGroup where all
|
||||||
|
pages would be set to the same month.
|
||||||
|
|
||||||
|
+ Refactored code to reduce minified Kweight.
|
||||||
|
|
||||||
|
*** version 2.5.2 ***
|
||||||
|
|
||||||
|
+ CalendarGroup toDate method no longer throws javascript exception
|
||||||
|
|
||||||
|
*** version 2.5.1 ***
|
||||||
|
|
||||||
|
+ Fixed bug with mindate, maxdate being applied incorrectly if
|
||||||
|
set to a day on which time change took place (DST, E.U Summertime)
|
||||||
|
and the day is not the first day of the week.
|
||||||
|
|
||||||
|
+ Fixed DateMath.getWeekNumber implementation to return correct
|
||||||
|
week numbers. The older implementation would return Week 0 for
|
||||||
|
certain weeks (e.g. the week starting Sun Dec 28th 2008)
|
||||||
|
|
||||||
|
To suppor the fix, DateMath.getWeekNumber has a signature
|
||||||
|
change in 2.5.1 and can now support U.S Week calculations based
|
||||||
|
on Jan 1st identifying the first week of the year, as well as
|
||||||
|
ISO8601 week calculations based on Jan 4th identifying the first
|
||||||
|
week of the year
|
||||||
|
|
||||||
|
The arguments which the method expected prior to 2.5.1 were not
|
||||||
|
being used in calculating the week number. The new signature is:
|
||||||
|
|
||||||
|
DateMath.getWeekNumber(Date dt, Number firstDayOfWeek, Number janDate)
|
||||||
|
|
||||||
|
Where:
|
||||||
|
|
||||||
|
dt is the date for which week number is required
|
||||||
|
|
||||||
|
firstDayOfWeek is the day index identifying the first
|
||||||
|
day of the week. Default is 0 (Sunday).
|
||||||
|
|
||||||
|
janDate is the date in the first week of January, which
|
||||||
|
identifies the first week of the year.
|
||||||
|
Default is YAHOO.widget.DateMath.WEEK_ONE_JAN_DATE (1)
|
||||||
|
|
||||||
|
NOTE: Calendar instances themselves do not currently expose a
|
||||||
|
configuration property to change the week numbering system
|
||||||
|
used. A "janDate" value is not passed to the getWeekNumber
|
||||||
|
method, when used by Calendar, resulting in it using the default value.
|
||||||
|
|
||||||
|
Therefore, ISO8601 week numbering can be generated for Calendars
|
||||||
|
by setting the value of YAHOO.widget.DateMath.WEEK_ONE_JAN_DATE
|
||||||
|
to 4.
|
||||||
|
|
||||||
|
*** version 2.5.0 ***
|
||||||
|
|
||||||
|
+ Prevent default event handling in CalendarNavigator enter key
|
||||||
|
listener, to prevent automatic form submission when using Calendar
|
||||||
|
inside a form.
|
||||||
|
|
||||||
|
+ Added workaround to DateMath.add and subtract for Safari 2 (webkit)
|
||||||
|
bug in Date.setDate(n) which doesn't handle value of n less than -128
|
||||||
|
or greater than 127 correctly.
|
||||||
|
|
||||||
|
See: http://brianary.blogspot.com/2006/03/safari-date-bug.html
|
||||||
|
|
||||||
|
+ Added border, padding and margin rules to Calendar Sam Skin to
|
||||||
|
protect Sam Skin's look and feel when Calendar is used with
|
||||||
|
YUI base.css
|
||||||
|
|
||||||
|
*** version 2.4.0 ***
|
||||||
|
|
||||||
|
+ Added CalendarNavigator (year selector) feature to allow the user to
|
||||||
|
jump to a year/month directly without having to scroll through months
|
||||||
|
sequentially.
|
||||||
|
|
||||||
|
The feature is enabled/configured using the "navigator" configuration
|
||||||
|
property.
|
||||||
|
|
||||||
|
+ Added Custom Events:
|
||||||
|
|
||||||
|
showNav/beforeShowNav
|
||||||
|
hideNav/beforeHideNav,
|
||||||
|
renderNav/beforeRenderNav
|
||||||
|
|
||||||
|
To Calendar/CalendarGroup, in support of the CalendarNavigator
|
||||||
|
functionality.
|
||||||
|
|
||||||
|
+ Added Custom Events:
|
||||||
|
|
||||||
|
show/beforeShow
|
||||||
|
hide/beforeHide
|
||||||
|
|
||||||
|
To Calendar and CalendarGroup. Returning false from a
|
||||||
|
beforeShow/beforeHide listener can be used to prevent the Calendar
|
||||||
|
from being shown/hidden respectively.
|
||||||
|
|
||||||
|
+ Added Public Methods:
|
||||||
|
|
||||||
|
getCellIndex(date) [ Calendar ]
|
||||||
|
getCalendarPage(date) [ CalendarGroup ]
|
||||||
|
toDate(dateArray) [ Calendar/CalendarGroup ]
|
||||||
|
removeRenderers() [ Calendar/CalendarGroup ]
|
||||||
|
|
||||||
|
+ The Calendar/CalendarGroup constructor is now more flexible:
|
||||||
|
|
||||||
|
* It no longer requires an "id" argument.
|
||||||
|
|
||||||
|
In it's simplest form, a Calendar/CalendarGroup can be
|
||||||
|
constructed by simply providing a container id or reference.
|
||||||
|
|
||||||
|
var cal = new YAHOO.widget.Calendar("container");
|
||||||
|
-or-
|
||||||
|
var containerDiv = YAHOO.util.Dom.get("container");
|
||||||
|
var cal = new YAHOO.widget.Calendar(containerDiv);
|
||||||
|
|
||||||
|
An id for the Calendar does not need to be provided, and will be
|
||||||
|
generated from the container id by appending an "_t" suffix to the
|
||||||
|
container id if only the container is provided.
|
||||||
|
|
||||||
|
* The container argument can be either a string, representing the
|
||||||
|
id of the container, or an HTMLElement referring to the container
|
||||||
|
element itself, as suggested in the example above.
|
||||||
|
|
||||||
|
* If an HTMLElement is provided for the container argument and the
|
||||||
|
element does not have an id, one will be generated for it using
|
||||||
|
YAHOO.util.Dom.generateId().
|
||||||
|
|
||||||
|
* The older form of Calendar/CalendarGroup signature, expecting
|
||||||
|
both an id and containerId is still supported and works as it did
|
||||||
|
prior to 2.4.0.
|
||||||
|
|
||||||
|
+ Fixed performance issue, where the same custom renderer was being
|
||||||
|
applied multiple times to the same cell.
|
||||||
|
|
||||||
|
+ Added getDate(year, month, date) factory method to the DateMath utility,
|
||||||
|
which can be used to create JavaScript Date instances for years less
|
||||||
|
than 100.
|
||||||
|
|
||||||
|
The default Date(year, month, date) constructor implementations across
|
||||||
|
browsers, assume that if year < 100, the caller is referring to the
|
||||||
|
nineteen hundreds, and the year is set to 19xx instead of xx (as with
|
||||||
|
the deprecated setYear method). However Date.setFullYear(xx) can
|
||||||
|
be used to set dates below 100. The above factory method provides a
|
||||||
|
construction mechanism consistent with setFullYear.
|
||||||
|
|
||||||
|
+ Changed Calendar/CalendarGroup/DateMath code to use the DateMath.getDate
|
||||||
|
method, so that 2 digit years are not assumed to be in the 1900's.
|
||||||
|
|
||||||
|
NOTE: Calendar's API already expects 4 digit date strings when referring
|
||||||
|
to years after 999.
|
||||||
|
|
||||||
|
*** version 2.3.1 ***
|
||||||
|
|
||||||
|
+ Changed Calendar/CalendarGroup to render an empty title bar element
|
||||||
|
when "close" is set to true, but "title" has not been set, to allow Sam
|
||||||
|
Skin to render a title bar correctly.
|
||||||
|
|
||||||
|
*** version 2.3.0 ***
|
||||||
|
|
||||||
|
+ Added checks to select, selectCell, deselect and deselectCell methods
|
||||||
|
to ensure the Calendar/Calendar group was not set to an invalid state
|
||||||
|
by programmatically selecting unselectable dates or cells.
|
||||||
|
|
||||||
|
+ Added new locale configuration properties for the Month/Year label
|
||||||
|
used in the Calendar header (MY_LABEL_MONTH_POSITION,
|
||||||
|
MY_LABEL_YEAR_POSITION, MY_LABEL_YEAR_SUFFIX, MY_LABEL_MONTH_SUFFIX).
|
||||||
|
Japan is an example locale, where customization of the Month/Year
|
||||||
|
label is required.
|
||||||
|
|
||||||
|
+ Changed "first", "last" class names to "first-of-type", "last-of-type",
|
||||||
|
to avoid collision with YUI Grids' use of the "first" class name.
|
||||||
|
|
||||||
|
+ Added public isDateOOB method, to check if a given date is outside of
|
||||||
|
the minimum/maximum configuration dates of the Calendar.
|
||||||
|
|
||||||
|
+ Deprecated YAHOO.widget.Calendar.browser, refactored to use
|
||||||
|
YAHOO.env.ua instead.
|
||||||
|
|
||||||
|
+ Removed overflow:hidden from default Calendar/CalendarGroup container
|
||||||
|
for non-IE6 browsers to fix clipping issue with IE7 when CalendarGroup
|
||||||
|
was inside a box with a specific width. overflow:hidden is still
|
||||||
|
required for IE6 with an iframe shim.
|
||||||
|
|
||||||
|
+ Added Opera container width calculation fix to CalendarGroup.show
|
||||||
|
method, to fix incorrect wrapping when using a CalendarGroup which is
|
||||||
|
initially rendered hidden (display:none). Previously this fix was
|
||||||
|
only applied on render.
|
||||||
|
|
||||||
|
*** version 2.2.2 ***
|
||||||
|
|
||||||
|
+ Fixed problem with selected dates being shared across instances, when
|
||||||
|
more than one Calendar/CalendarGroup was on the page
|
||||||
|
|
||||||
|
*** version 2.2.1 ***
|
||||||
|
|
||||||
|
+ Fixed problem with selectCell adding duplicate selected date entries
|
||||||
|
for dates which were already selected
|
||||||
|
|
||||||
|
+ Fixed problem with CalendarGroup iframe shim not covering the
|
||||||
|
CalendarGroup title area
|
||||||
|
|
||||||
|
+ Removed javascript:void(null) from close button and cell links which
|
||||||
|
was interrupting form submission and firing onbeforeunload in IE
|
||||||
|
|
||||||
|
+ Fixed problem with CalendarGroup getSelectedDates returning invalid
|
||||||
|
results, when used in conjunction with the "selected" Config property
|
||||||
|
(either passed in the constructor config argument or set seperately
|
||||||
|
after construction)
|
||||||
|
|
||||||
|
+ Refactored Calendar and CalendarGroup to improve performance,
|
||||||
|
especially when working with a large number of instances in
|
||||||
|
IE6
|
||||||
|
|
||||||
|
*** version 2.2.0 ***
|
||||||
|
|
||||||
|
+ Image customization can now be done through CSS. Images for Close,
|
||||||
|
Left and Right Arrows are now pulled in using CSS defined in
|
||||||
|
calendar.css and by default use relative paths to the images in
|
||||||
|
the same directory as calendar.css.
|
||||||
|
|
||||||
|
+ Deprecated Calendar.IMG_ROOT and NAV_ARROW_LEFT, NAV_ARROW_RIGHT
|
||||||
|
configuration properties. Customizations based on older releases
|
||||||
|
which set these properties will still function as expected.
|
||||||
|
|
||||||
|
+ Deprecated CalendarGroup.CSS_2UPCLOSE. Calendar's Style.CSS_CLOSE
|
||||||
|
property now represents the new default CSS class (calclose) for
|
||||||
|
the close button. CSS_2UPCLOSE is still applied along with
|
||||||
|
CSS_CLOSE to the new markup for the close button to support existing
|
||||||
|
customizations of the CSS_2UPCLOSE CSS class (close-icon)
|
||||||
|
|
||||||
|
+ Fixed problem with Safari setting Calendar pages to incorrect dates
|
||||||
|
if the pages spanned a year boundary in CalendarGroups with 3 or more
|
||||||
|
pages, due to a bug in Safari's implementation of Date setMonth
|
||||||
|
|
||||||
|
+ Fixed problem with CalendarGroup setMonth rendering Calendar pages
|
||||||
|
with incorrect dates in all browsers if current pages spanned year
|
||||||
|
boundary
|
||||||
|
|
||||||
|
+ Fixed incorrect CalendarGroup logging statement in calendar-debug.js
|
||||||
|
|
||||||
|
+ Fixed domEventMap support for Safari versions prior to 2.0.2,
|
||||||
|
caused by hasOwnProperty not being supported
|
||||||
|
|
||||||
|
+ Removed unused private property : _pageDate from Calendar class
|
||||||
|
|
||||||
|
*** version 0.12.2 ***
|
||||||
|
|
||||||
|
+ Corrected documentation for clearTime function to reflect the
|
||||||
|
change from midnight to noon
|
||||||
|
|
||||||
|
*** version 0.12.1 ***
|
||||||
|
|
||||||
|
+ Calendar and CalendarGroup now automatically parse the argument
|
||||||
|
passed to setMonth and setYear into an integer, eliminating
|
||||||
|
potential concatenation bugs.
|
||||||
|
|
||||||
|
*** version 0.12 ***
|
||||||
|
|
||||||
|
+ New documentation format implemented
|
||||||
|
|
||||||
|
+ Calendar2up and Calendar_Core are now deprecated. Now, Calendar alone
|
||||||
|
represents the single Calendar instance, and CalendarGroup represents
|
||||||
|
an n-up instance, defaulting to 2up
|
||||||
|
|
||||||
|
+ Added semantic style classes to Calendar elements to allow for
|
||||||
|
custom styling solely using CSS.
|
||||||
|
|
||||||
|
+ Remapped all configuration properties to use the Config object
|
||||||
|
(familiar to those who use the Container collection of controls).
|
||||||
|
Property names are the same as their previous counterparts, but
|
||||||
|
wrapped into Calendar.cfg, allowing for runtime reconfiguration of
|
||||||
|
most properties
|
||||||
|
|
||||||
|
+ Added "title" property for setting the Calendar title
|
||||||
|
|
||||||
|
+ Added "close" property for enabling and disabling the close icon
|
||||||
|
|
||||||
|
+ Added "iframe" property for enabling an iframe shim in Internet
|
||||||
|
Explorer 6 and below to fix the select bleed-through bug
|
||||||
|
|
||||||
|
+ pageDate moved to property: "pagedate"
|
||||||
|
|
||||||
|
+ selectedDates moved to property: "selected"
|
||||||
|
|
||||||
|
+ minDate moved to property : "mindate", which accepts a JavaScript
|
||||||
|
Date object like its predecessor, but also supports string dates
|
||||||
|
|
||||||
|
+ maxDate moved to property : "maxdate", which accepts a JavaScript
|
||||||
|
Date object like its predecessor, but also supports string dates
|
||||||
|
|
||||||
|
+ Moved style declarations to initStyles function
|
||||||
|
|
||||||
|
+ Optimized event handling in doSelectCell/doCellMouseOver/
|
||||||
|
doCellMouseOut by only attaching the listener to the outer
|
||||||
|
Calendar container, and only reacting to events on cells with
|
||||||
|
the "selectable" CSS class.
|
||||||
|
|
||||||
|
+ Added domEventMap field for applying DOM event listeners to cells
|
||||||
|
containing specific class and tag combinations.
|
||||||
|
|
||||||
|
+ Moved all cell DOM event attachment to applyListeners function
|
||||||
|
|
||||||
|
+ Added getDateByCellId / getDateFieldsByCellId helper functions
|
||||||
|
|
||||||
|
+ Corrected DateMath.getWeekNumber to comply with ISO week number
|
||||||
|
handling
|
||||||
|
|
||||||
|
+ Separated renderCellDefault style portions into styleCellDefault
|
||||||
|
function for easy extension
|
||||||
|
|
||||||
|
+ Deprecated onBeforeSelect. Created beforeSelectEvent which
|
||||||
|
automatically subscribes to its deprecated predecessor.
|
||||||
|
|
||||||
|
+ Deprecated onSelect. Created selectEvent, which automatically
|
||||||
|
subscribes to its deprecated predecessor.
|
||||||
|
|
||||||
|
+ Deprecated onBeforeDeselect. Created beforeSelectEvent which
|
||||||
|
automatically subscribes to its deprecated predecessor.
|
||||||
|
|
||||||
|
+ Deprecated onDeselect. Created beforeDeselectEvent, which
|
||||||
|
automatically subscribes to its deprecated predecessor.
|
||||||
|
|
||||||
|
+ Deprecated onChangePage. Created changePageEvent, which automatically
|
||||||
|
subscribes to its deprecated predecessor.
|
||||||
|
|
||||||
|
+ Deprecated onRender. Created renderEvent, which automatically
|
||||||
|
subscribes to its deprecated predecessor.
|
||||||
|
|
||||||
|
+ Deprecated onReset. Created resetEvent, which automatically
|
||||||
|
subscribes to its deprecated predecessor.
|
||||||
|
|
||||||
|
+ Deprecated onClear. Created clearEvent, which automatically
|
||||||
|
subscribes to its deprecated predecessor.
|
||||||
|
|
||||||
|
+ Corrected setMonth documentation to refer to 0-11 indexed months.
|
||||||
|
|
||||||
|
+ Added show and hide methods to Calendar for setting the Calendar's
|
||||||
|
display property.
|
||||||
|
|
||||||
|
+ Optimized internal render classes to use innerHTML and string buffers
|
||||||
|
|
||||||
|
+ Removed wireCustomEvents function
|
||||||
|
|
||||||
|
+ Removed wireDefaultEvents function
|
||||||
|
|
||||||
|
+ Removed doNextMonth / doPreviousMonth
|
||||||
|
|
||||||
|
+ Removed all buildShell (header, body, footer) functions, since
|
||||||
|
the Calendar shell is now built dynamically on each render
|
||||||
|
|
||||||
|
+ Wired all CalendarGroup events and configuration properties to
|
||||||
|
be properly delegated to Calendar
|
||||||
|
|
||||||
|
+ Augmented CalendarGroup with all built-in renderers, label functions,
|
||||||
|
hide, show, and initStyles, creating API transparency between Calendar
|
||||||
|
and CalendarGroup.
|
||||||
|
|
||||||
|
+ Made all tagName, createElement, and entity references XHTML compliant
|
||||||
|
|
||||||
|
+ Fixed Daylight Saving Time bug for Brazilian time zone
|
||||||
|
|
||||||
|
*** version 0.11.3 ***
|
||||||
|
|
||||||
|
+ Calendar_Core: Added arguments for selected/deselected dates to
|
||||||
|
onSelect/onDeselect
|
||||||
|
|
||||||
|
+ CalendarGroup: Fixed bug where selected dates passed to constructor
|
||||||
|
were not represented in selectedDates
|
||||||
|
|
||||||
|
+ Calendar2up: Now displays correctly in Opera 9
|
||||||
|
|
||||||
|
*** version 0.11.0 ***
|
||||||
|
|
||||||
|
+ DateMath: DateMath.add now properly adds weeks
|
||||||
|
|
||||||
|
+ DateMath: between() function added
|
||||||
|
|
||||||
|
+ DateMath: getWeekNumber() fixed to take starting day of week into
|
||||||
|
account
|
||||||
|
|
||||||
|
+ All references to Calendar's built in CSS class handlers are
|
||||||
|
removed, replaced with calls to Dom utility (addClass, removeClass)
|
||||||
|
|
||||||
|
+ Several CSS class constants now have clearer names
|
||||||
|
|
||||||
|
+ All CSS classes are now properly namespaced to avoid CSS conflicts
|
||||||
|
|
||||||
|
+ Fixed table:hover bug in CSS
|
||||||
|
|
||||||
|
+ Calendar no longer requires the container ID and variable name to
|
||||||
|
match in order for month navigation to function properly
|
||||||
|
|
||||||
|
+ Calendar month navigation arrows are now represented as
|
||||||
|
background images
|
||||||
|
|
||||||
|
*** version 0.10.0 ***
|
||||||
|
|
||||||
|
+ Major performance improvements from attaching DOM events to
|
||||||
|
associated table cells only once, when the Calendar shell is built
|
||||||
|
|
||||||
|
+ DOM events for mouseover/mouseout are now fired for all browsers
|
||||||
|
(not just Internet Explorer)
|
||||||
|
|
||||||
|
+ Reset functionality bug fixed for 2-up Calendar view
|
||||||
|
|
||||||
|
*** version 0.9.0 ***
|
||||||
|
|
||||||
|
* Initial release
|
132
lib/yui/calendar/assets/calendar-core.css
Executable file
|
@ -0,0 +1,132 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* CORE
|
||||||
|
*
|
||||||
|
* This is the set of CSS rules required by Calendar to drive core functionality and structure.
|
||||||
|
* Changes to these rules may result in the Calendar not functioning or rendering correctly.
|
||||||
|
*
|
||||||
|
* They should not be modified for skinning.
|
||||||
|
**/
|
||||||
|
|
||||||
|
/* CALENDAR BOUNDING BOX */
|
||||||
|
.yui-calcontainer {
|
||||||
|
position:relative;
|
||||||
|
float:left;
|
||||||
|
_overflow:hidden; /* IE6 only, to clip iframe shim */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* IFRAME SHIM */
|
||||||
|
.yui-calcontainer iframe {
|
||||||
|
position:absolute;
|
||||||
|
border:none;
|
||||||
|
margin:0;padding:0;
|
||||||
|
z-index:0;
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
left:0px;
|
||||||
|
top:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* IFRAME SHIM IE6 only */
|
||||||
|
.yui-calcontainer iframe.fixedsize {
|
||||||
|
width:50em;
|
||||||
|
height:50em;
|
||||||
|
top:-1px;
|
||||||
|
left:-1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* BOUNDING BOX FOR EACH CALENDAR GROUP PAGE */
|
||||||
|
.yui-calcontainer.multi .groupcal {
|
||||||
|
z-index:1;
|
||||||
|
float:left;
|
||||||
|
position:relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TITLE BAR */
|
||||||
|
.yui-calcontainer .title {
|
||||||
|
position:relative;
|
||||||
|
z-index:1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CLOSE ICON CONTAINER */
|
||||||
|
.yui-calcontainer .close-icon {
|
||||||
|
position:absolute;
|
||||||
|
z-index:1;
|
||||||
|
text-indent:-10000em;
|
||||||
|
overflow:hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CALENDAR TABLE */
|
||||||
|
.yui-calendar {
|
||||||
|
position:relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVBAR LEFT ARROW CONTAINER */
|
||||||
|
.yui-calendar .calnavleft {
|
||||||
|
position:absolute;
|
||||||
|
z-index:1;
|
||||||
|
text-indent:-10000em;
|
||||||
|
overflow:hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVBAR RIGHT ARROW CONTAINER */
|
||||||
|
.yui-calendar .calnavright {
|
||||||
|
position:absolute;
|
||||||
|
z-index:1;
|
||||||
|
text-indent:-10000em;
|
||||||
|
overflow:hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVBAR TEXT CONTAINER */
|
||||||
|
.yui-calendar .calheader {
|
||||||
|
position:relative;
|
||||||
|
width:100%;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CalendarNavigator */
|
||||||
|
.yui-calcontainer .yui-cal-nav-mask {
|
||||||
|
position:absolute;
|
||||||
|
z-index:2;
|
||||||
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
_width:0; /* IE6, IE7 quirks - width/height set programmatically to match container */
|
||||||
|
_height:0;
|
||||||
|
left:0;
|
||||||
|
top:0;
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR BOUNDING BOX */
|
||||||
|
.yui-calcontainer .yui-cal-nav {
|
||||||
|
position:absolute;
|
||||||
|
z-index:3;
|
||||||
|
top:0;
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR BUTTONS (based on button-core.css) */
|
||||||
|
.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn {
|
||||||
|
display: -moz-inline-box; /* Gecko */
|
||||||
|
display: inline-block; /* IE, Opera and Safari */
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button {
|
||||||
|
display: block;
|
||||||
|
*display: inline-block; /* IE */
|
||||||
|
*overflow: visible; /* Remove superfluous padding for IE */
|
||||||
|
border: none;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Specific changes for calendar running under fonts/reset */
|
||||||
|
.yui-calendar .calbody a:hover {background:inherit;}
|
||||||
|
p#clear {clear:left; padding-top:10px;}
|
320
lib/yui/calendar/assets/calendar.css
Executable file
|
@ -0,0 +1,320 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yui-calcontainer {
|
||||||
|
position:relative;
|
||||||
|
padding:5px;
|
||||||
|
background-color:#F7F9FB;
|
||||||
|
border:1px solid #7B9EBD;
|
||||||
|
float:left;
|
||||||
|
_overflow:hidden; /* IE6 only, to clip iframe shim */
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer iframe {
|
||||||
|
position:absolute;
|
||||||
|
border:none;
|
||||||
|
margin:0;padding:0;
|
||||||
|
z-index:0;
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
left:0px;
|
||||||
|
top:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* IE6 only */
|
||||||
|
.yui-calcontainer iframe.fixedsize {
|
||||||
|
width:50em;
|
||||||
|
height:50em;
|
||||||
|
top:-1px;
|
||||||
|
left:-1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer.multi {
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer.multi .groupcal {
|
||||||
|
padding:5px;
|
||||||
|
background-color:transparent;
|
||||||
|
z-index:1;
|
||||||
|
float:left;
|
||||||
|
position:relative;
|
||||||
|
border:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .title {
|
||||||
|
font:100% sans-serif;
|
||||||
|
color:#000;
|
||||||
|
font-weight:bold;
|
||||||
|
margin-bottom:5px;
|
||||||
|
height:25px;
|
||||||
|
position:absolute;
|
||||||
|
top:3px;left:5px;
|
||||||
|
z-index:1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .close-icon {
|
||||||
|
position:absolute;
|
||||||
|
overflow:hidden;
|
||||||
|
text-indent:-10000em;
|
||||||
|
right:3px;
|
||||||
|
top:3px;
|
||||||
|
border:none;
|
||||||
|
z-index:1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .calclose {
|
||||||
|
background: url("calx.gif") no-repeat;
|
||||||
|
width:17px;
|
||||||
|
height:13px;
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Calendar element styles */
|
||||||
|
|
||||||
|
.yui-calendar {
|
||||||
|
font:100% sans-serif;
|
||||||
|
text-align:center;
|
||||||
|
border-spacing:0;
|
||||||
|
border-collapse:separate;
|
||||||
|
position:relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer.withtitle {
|
||||||
|
padding-top:1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar .calnavleft {
|
||||||
|
position:absolute;
|
||||||
|
overflow:hidden;
|
||||||
|
text-indent:-10000em;
|
||||||
|
cursor:pointer;
|
||||||
|
top:2px;
|
||||||
|
bottom:0;
|
||||||
|
width:9px;
|
||||||
|
height:12px;
|
||||||
|
left:2px;
|
||||||
|
z-index:1;
|
||||||
|
background: url("callt.gif") no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar .calnavright {
|
||||||
|
position:absolute;
|
||||||
|
overflow:hidden;
|
||||||
|
text-indent:-10000em;
|
||||||
|
cursor:pointer;
|
||||||
|
top:2px;
|
||||||
|
bottom:0;
|
||||||
|
width:9px;
|
||||||
|
height:12px;
|
||||||
|
right:2px;
|
||||||
|
z-index:1;
|
||||||
|
background: url("calrt.gif") no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell {
|
||||||
|
padding:.1em .2em;
|
||||||
|
border:1px solid #E0E0E0;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell a {
|
||||||
|
color:#003DB8;
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell.today {
|
||||||
|
border:1px solid #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell.oom {
|
||||||
|
cursor:default;
|
||||||
|
color:#999;
|
||||||
|
background-color:#EEE;
|
||||||
|
border:1px solid #E0E0E0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell.selected {
|
||||||
|
color:#003DB8;
|
||||||
|
background-color:#FFF19F;
|
||||||
|
border:1px solid #FF9900;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell.calcellhover {
|
||||||
|
cursor:pointer;
|
||||||
|
color:#FFF;
|
||||||
|
background-color:#FF9900;
|
||||||
|
border:1px solid #FF9900;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell.calcellhover a {
|
||||||
|
color:#FFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell.restricted {
|
||||||
|
text-decoration:line-through;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell.previous {
|
||||||
|
color:#CCC;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar td.calcell.highlight1 { background-color:#CCFF99; }
|
||||||
|
.yui-calendar td.calcell.highlight2 { background-color:#99CCFF; }
|
||||||
|
.yui-calendar td.calcell.highlight3 { background-color:#FFCCCC; }
|
||||||
|
.yui-calendar td.calcell.highlight4 { background-color:#CCFF99; }
|
||||||
|
|
||||||
|
.yui-calendar .calhead {
|
||||||
|
border:1px solid #E0E0E0;
|
||||||
|
vertical-align:middle;
|
||||||
|
background-color:#FFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar .calheader {
|
||||||
|
position:relative;
|
||||||
|
width:100%;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar .calheader img {
|
||||||
|
border:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar .calweekdaycell {
|
||||||
|
color:#666;
|
||||||
|
font-weight:normal;
|
||||||
|
text-align:center;
|
||||||
|
width:1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar .calfoot {
|
||||||
|
background-color:#EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar .calrowhead, .yui-calendar .calrowfoot {
|
||||||
|
color:#666;
|
||||||
|
font-size:9px;
|
||||||
|
font-style:italic;
|
||||||
|
font-weight:normal;
|
||||||
|
width:15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar .calrowhead {
|
||||||
|
border-right-width:2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CalendarNavigator */
|
||||||
|
.yui-calendar a.calnav {
|
||||||
|
_position:relative;
|
||||||
|
padding-left:2px;
|
||||||
|
padding-right:2px;
|
||||||
|
text-decoration:none;
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calendar a.calnav:hover {
|
||||||
|
border:1px solid #003366;
|
||||||
|
background-color:#6699cc;
|
||||||
|
background: url(calgrad.png) repeat-x;
|
||||||
|
color:#fff;
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav-mask {
|
||||||
|
position:absolute;
|
||||||
|
z-index:2;
|
||||||
|
display:none;
|
||||||
|
|
||||||
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
|
||||||
|
left:0;
|
||||||
|
top:0;
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
_width:0; /* IE6, IE7 Quirks - width/height set programmatically to match container */
|
||||||
|
_height:0;
|
||||||
|
|
||||||
|
background-color:#000;
|
||||||
|
opacity:0.25;
|
||||||
|
*filter:alpha(opacity=25);
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav {
|
||||||
|
position:absolute;
|
||||||
|
z-index:3;
|
||||||
|
display:none;
|
||||||
|
|
||||||
|
padding:0;
|
||||||
|
top:1.5em;
|
||||||
|
left:50%;
|
||||||
|
width:12em;
|
||||||
|
margin-left:-6em;
|
||||||
|
|
||||||
|
border:1px solid #7B9EBD;
|
||||||
|
background-color:#F7F9FB;
|
||||||
|
font-size:93%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer.withtitle .yui-cal-nav {
|
||||||
|
top:3.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav-y,
|
||||||
|
.yui-calcontainer .yui-cal-nav-m,
|
||||||
|
.yui-calcontainer .yui-cal-nav-b {
|
||||||
|
padding:2px 5px 2px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav-b {
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav-e {
|
||||||
|
margin-top:2px;
|
||||||
|
padding:2px;
|
||||||
|
background-color:#EDF5FF;
|
||||||
|
border-top:1px solid black;
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav label {
|
||||||
|
display:block;
|
||||||
|
font-weight:bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav-mc {
|
||||||
|
width:100%;
|
||||||
|
_width:auto; /* IE6 doesn't like width 100% */
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav-y input.yui-invalid {
|
||||||
|
background-color:#FFEE69;
|
||||||
|
border: 1px solid #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav-yc {
|
||||||
|
width:3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav-b button {
|
||||||
|
font-size:93%;
|
||||||
|
text-decoration:none;
|
||||||
|
cursor: pointer;
|
||||||
|
background-color: #79b2ea;
|
||||||
|
border: 1px solid #003366;
|
||||||
|
border-top-color:#FFF;
|
||||||
|
border-left-color:#FFF;
|
||||||
|
margin:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-calcontainer .yui-cal-nav-b .yui-default button {
|
||||||
|
/* not implemented */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Specific changes for calendar running under fonts/reset */
|
||||||
|
.yui-calendar .calbody a:hover {background:inherit;}
|
||||||
|
p#clear {clear:left; padding-top:10px;}
|
BIN
lib/yui/calendar/assets/calgrad.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
lib/yui/calendar/assets/callt.gif
Executable file
After Width: | Height: | Size: 93 B |
BIN
lib/yui/calendar/assets/calrt.gif
Executable file
After Width: | Height: | Size: 94 B |
BIN
lib/yui/calendar/assets/calx.gif
Executable file
After Width: | Height: | Size: 88 B |
361
lib/yui/calendar/assets/skins/sam/calendar-skin.css
Executable file
|
@ -0,0 +1,361 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* SAM
|
||||||
|
*
|
||||||
|
* Skin colors used:
|
||||||
|
*
|
||||||
|
* - Control Border : 808080
|
||||||
|
* - Control Chrome : f2f2f2
|
||||||
|
* - Cell Borders : cccccc
|
||||||
|
* - Normal Cell BG : ffffff
|
||||||
|
* - Date Links : 0066cc
|
||||||
|
* - Selected Cells BG : b3d4ff
|
||||||
|
* - Cell Hover BG : 426fd9
|
||||||
|
* - Disabled BG : cccccc
|
||||||
|
* - Disabled Text Color : a6a6a6
|
||||||
|
**/
|
||||||
|
|
||||||
|
/* CALENDAR BOUNDING BOX */
|
||||||
|
.yui-skin-sam .yui-calcontainer {
|
||||||
|
background-color:#f2f2f2;
|
||||||
|
border:1px solid #808080;
|
||||||
|
padding:10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CALENDARGROUP BOUNDING BOX */
|
||||||
|
.yui-skin-sam .yui-calcontainer.multi {
|
||||||
|
padding:0 5px 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* BOUNDING BOX FOR EACH CALENDAR GROUP PAGE */
|
||||||
|
.yui-skin-sam .yui-calcontainer.multi .groupcal {
|
||||||
|
background-color:transparent;
|
||||||
|
border:none;
|
||||||
|
padding:10px 5px 10px 5px;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TITLE BAR */
|
||||||
|
.yui-skin-sam .yui-calcontainer .title {
|
||||||
|
background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
|
||||||
|
border-bottom:1px solid #cccccc;
|
||||||
|
font:100% sans-serif;
|
||||||
|
color:#000;
|
||||||
|
font-weight:bold;
|
||||||
|
height:auto;
|
||||||
|
padding:.4em;
|
||||||
|
margin:0 -10px 10px -10px;
|
||||||
|
top:0;
|
||||||
|
left:0;
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calcontainer.multi .title {
|
||||||
|
margin:0 -5px 0 -5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calcontainer.withtitle {
|
||||||
|
padding-top:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CLOSE BUTTON */
|
||||||
|
.yui-skin-sam .yui-calcontainer .calclose {
|
||||||
|
background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -300px;
|
||||||
|
width:25px;
|
||||||
|
height:15px;
|
||||||
|
top:.4em;
|
||||||
|
right:.4em;
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CALENDAR TABLE */
|
||||||
|
.yui-skin-sam .yui-calendar {
|
||||||
|
border-spacing:0;
|
||||||
|
border-collapse:collapse;
|
||||||
|
font:100% sans-serif;
|
||||||
|
text-align:center;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVBAR BOUNDING BOX */
|
||||||
|
.yui-skin-sam .yui-calendar .calhead {
|
||||||
|
background:transparent;
|
||||||
|
border:none;
|
||||||
|
vertical-align:middle;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVBAR TEXT CONTAINER */
|
||||||
|
.yui-skin-sam .yui-calendar .calheader {
|
||||||
|
background:transparent;
|
||||||
|
font-weight:bold;
|
||||||
|
padding:0 0 .6em 0;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calendar .calheader img {
|
||||||
|
border:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVBAR LEFT ARROW */
|
||||||
|
.yui-skin-sam .yui-calendar .calnavleft {
|
||||||
|
background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -450px;
|
||||||
|
width:25px;
|
||||||
|
height:15px;
|
||||||
|
top:0;
|
||||||
|
bottom:0;
|
||||||
|
left:-10px;
|
||||||
|
margin-left:.4em;
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVBAR RIGHT ARROW */
|
||||||
|
.yui-skin-sam .yui-calendar .calnavright {
|
||||||
|
background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -500px;
|
||||||
|
width:25px;
|
||||||
|
height:15px;
|
||||||
|
top:0;
|
||||||
|
bottom:0;
|
||||||
|
right:-10px;
|
||||||
|
margin-right:.4em;
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* WEEKDAY HEADER ROW */
|
||||||
|
.yui-skin-sam .yui-calendar .calweekdayrow {
|
||||||
|
height:2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calendar .calweekdayrow th {
|
||||||
|
padding:0;
|
||||||
|
border:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* WEEKDAY (Su, Mo, Tu...) HEADER CELLS */
|
||||||
|
.yui-skin-sam .yui-calendar .calweekdaycell {
|
||||||
|
color:#000;
|
||||||
|
font-weight:bold;
|
||||||
|
text-align:center;
|
||||||
|
width:2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CALENDAR FOOTER. NOT IMPLEMENTED BY DEFAULT */
|
||||||
|
.yui-skin-sam .yui-calendar .calfoot {
|
||||||
|
background-color:#f2f2f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* WEEK NUMBERS (ROW HEADERS/FOOTERS) */
|
||||||
|
.yui-skin-sam .yui-calendar .calrowhead, .yui-skin-sam .yui-calendar .calrowfoot {
|
||||||
|
color:#a6a6a6;
|
||||||
|
font-size:85%;
|
||||||
|
font-style:normal;
|
||||||
|
font-weight:normal;
|
||||||
|
border:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calendar .calrowhead {
|
||||||
|
text-align:right;
|
||||||
|
padding:0 2px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calendar .calrowfoot {
|
||||||
|
text-align:left;
|
||||||
|
padding:0 0 0 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NORMAL CELLS */
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell {
|
||||||
|
border:1px solid #cccccc;
|
||||||
|
background:#fff;
|
||||||
|
padding:1px;
|
||||||
|
height:1.6em;
|
||||||
|
line-height:1.6em; /* set line height equal to cell height to center vertically */
|
||||||
|
text-align:center;
|
||||||
|
white-space:nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LINK INSIDE NORMAL CELLS */
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell a {
|
||||||
|
color:#0066cc;
|
||||||
|
display:block;
|
||||||
|
height:100%;
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TODAY'S DATE */
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.today {
|
||||||
|
background-color:#000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.today a {
|
||||||
|
background-color:#fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* OOM DATES */
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.oom {
|
||||||
|
background-color:#cccccc;
|
||||||
|
color:#a6a6a6;
|
||||||
|
cursor:default;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* SELECTED DATE */
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.selected {
|
||||||
|
background-color:#fff;
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.selected a {
|
||||||
|
background-color:#b3d4ff;
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* HOVER DATE */
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.calcellhover {
|
||||||
|
background-color:#426fd9;
|
||||||
|
color:#fff;
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.calcellhover a {
|
||||||
|
background-color:#426fd9;
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* DEFAULT OOB DATES */
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.previous {
|
||||||
|
color:#e0e0e0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CUSTOM RENDERERS */
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.restricted { text-decoration:line-through; }
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.highlight1 { background-color:#ccff99; }
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.highlight2 { background-color:#99ccff; }
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.highlight3 { background-color:#ffcccc; }
|
||||||
|
.yui-skin-sam .yui-calendar td.calcell.highlight4 { background-color:#ccff99; }
|
||||||
|
|
||||||
|
/* CalendarNavigator */
|
||||||
|
|
||||||
|
/* MONTH/YEAR LABEL */
|
||||||
|
.yui-skin-sam .yui-calendar a.calnav {
|
||||||
|
border: 1px solid #f2f2f2;
|
||||||
|
padding:0 4px;
|
||||||
|
text-decoration:none;
|
||||||
|
color:#000;
|
||||||
|
zoom:1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calendar a.calnav:hover {
|
||||||
|
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
|
||||||
|
border-color:#A0A0A0;
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR MASK */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav-mask {
|
||||||
|
background-color:#000;
|
||||||
|
opacity:0.25;
|
||||||
|
*filter:alpha(opacity=25); /* IE */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR BOUNDING BOX */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav {
|
||||||
|
font-family:arial,helvetica,clean,sans-serif;
|
||||||
|
font-size:93%;
|
||||||
|
border:1px solid #808080;
|
||||||
|
left:50%;
|
||||||
|
margin-left:-7em;
|
||||||
|
width:14em;
|
||||||
|
padding:0;
|
||||||
|
top:2.5em;
|
||||||
|
background-color:#f2f2f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calcontainer.withtitle .yui-cal-nav {
|
||||||
|
top:4.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR BOUNDING BOX */
|
||||||
|
.yui-skin-sam .yui-calcontainer.multi .yui-cal-nav {
|
||||||
|
width:16em;
|
||||||
|
margin-left:-8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR YEAR/MONTH/BUTTON/ERROR BOUNDING BLOCKS */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav-y,
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav-m,
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav-b {
|
||||||
|
padding:5px 10px 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav-b {
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav-e {
|
||||||
|
margin-top:5px;
|
||||||
|
padding:5px;
|
||||||
|
background-color:#EDF5FF;
|
||||||
|
border-top:1px solid black;
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR LABELS */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav label {
|
||||||
|
display:block;
|
||||||
|
font-weight:bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR MONTH CONTROL */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav-mc {
|
||||||
|
width:100%;
|
||||||
|
_width:auto; /* IE6, IE7 Quirks don't handle 100% well */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR MONTH CONTROL, VALIDATION ERROR */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav-y input.yui-invalid {
|
||||||
|
background-color:#FFEE69;
|
||||||
|
border: 1px solid #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR YEAR CONTROL */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav-yc {
|
||||||
|
width:4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NAVIGATOR BUTTONS */
|
||||||
|
|
||||||
|
/* BUTTON WRAPPER */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn {
|
||||||
|
border:1px solid #808080;
|
||||||
|
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
|
||||||
|
background-color:#ccc;
|
||||||
|
margin: auto .15em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* BUTTON (based on button-skin.css) */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button {
|
||||||
|
padding:0 8px;
|
||||||
|
font-size:93%;
|
||||||
|
line-height: 2; /* ~24px */
|
||||||
|
*line-height: 1.7; /* For IE */
|
||||||
|
min-height: 2em; /* For Gecko */
|
||||||
|
*min-height: auto; /* For IE */
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* DEFAULT BUTTONS */
|
||||||
|
/* NOTE: IE6 will only pickup the yui-default specifier from the multiple class specifier */
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default {
|
||||||
|
border:1px solid #304369;
|
||||||
|
background-color: #426fd9;
|
||||||
|
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default button {
|
||||||
|
color:#fff;
|
||||||
|
}
|
7
lib/yui/calendar/assets/skins/sam/calendar.css
Executable file
7168
lib/yui/calendar/calendar-debug.js
vendored
Executable file
18
lib/yui/calendar/calendar-min.js
vendored
Executable file
7138
lib/yui/calendar/calendar.js
vendored
Executable file
5
lib/yui/carousel/README
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Carousel Release Notes
|
||||||
|
|
||||||
|
*** version 2.6.0 ***
|
||||||
|
|
||||||
|
* Initial release.
|
BIN
lib/yui/carousel/assets/ajax-loader.gif
Normal file
After Width: | Height: | Size: 3.1 KiB |
82
lib/yui/carousel/assets/carousel-core.css
Normal file
|
@ -0,0 +1,82 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yui-carousel {
|
||||||
|
visibility: hidden;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel.yui-carousel-visible {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel-content {
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel-element {
|
||||||
|
margin: 5px 0;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
width: 32000px;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel-vertical .yui-carousel-element {
|
||||||
|
margin: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel-element li {
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
float: left;
|
||||||
|
list-style: none;
|
||||||
|
margin: 1px;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
|
/* IE 6 & 7 fix - prevent DOM scroll for focussed elements. */
|
||||||
|
*float: none;
|
||||||
|
*display: inline-block;
|
||||||
|
*zoom: 1;
|
||||||
|
*display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel .yui-carousel-item-selected {
|
||||||
|
border: 1px dashed #000;
|
||||||
|
margin: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel-vertical {
|
||||||
|
height: 32000px;
|
||||||
|
margin: 0 5px;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel-vertical .yui-carousel-element li {
|
||||||
|
display: block;
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-log .carousel {
|
||||||
|
background: #f2e886;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel-nav {
|
||||||
|
zoom: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel-nav:after {
|
||||||
|
clear: both;
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-carousel-button-focus {
|
||||||
|
outline: 1px dotted #000;
|
||||||
|
}
|
119
lib/yui/carousel/assets/skins/sam/carousel-skin.css
Normal file
|
@ -0,0 +1,119 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yui-skin-sam .yui-carousel,
|
||||||
|
.yui-skin-sam .yui-carousel-vertical {
|
||||||
|
border: 1px solid #808080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-nav {
|
||||||
|
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
|
||||||
|
padding: 3px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-button {
|
||||||
|
background: url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -600px;
|
||||||
|
float: right;
|
||||||
|
height: 19px;
|
||||||
|
margin: 5px;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-vertical .yui-carousel-button {
|
||||||
|
background-position: 0 -800px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-button-disabled {
|
||||||
|
background-position: 0 -2000px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-vertical .yui-carousel-button-disabled {
|
||||||
|
background-position: 0 -2100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-button input {
|
||||||
|
background-color: transparent;
|
||||||
|
border: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
height: 44px;
|
||||||
|
margin: -2px 0 0 -2px;
|
||||||
|
padding: 0 0 0 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam span.yui-carousel-first-button {
|
||||||
|
background-position: 0px -550px;
|
||||||
|
margin-left: -100px;
|
||||||
|
margin-right: 50px;
|
||||||
|
*margin: 5px 5px 5px -90px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button {
|
||||||
|
background-position: 0px -750px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam span.yui-carousel-first-button-disabled {
|
||||||
|
background-position: 0 -1950px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button-disabled {
|
||||||
|
background-position: 0 -2050px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-nav ul {
|
||||||
|
float: right;
|
||||||
|
margin: 0;
|
||||||
|
margin-left: -220px;
|
||||||
|
margin-right: 100px;
|
||||||
|
*margin-left: -160px;
|
||||||
|
*margin-right: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-nav select {
|
||||||
|
position: relative;
|
||||||
|
*right: 50px;
|
||||||
|
top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav ul,
|
||||||
|
.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav select {
|
||||||
|
float: none;
|
||||||
|
margin: 0;
|
||||||
|
*zoom: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-nav ul li {
|
||||||
|
float: left;
|
||||||
|
height: 19px;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-nav ul:after {
|
||||||
|
clear: both;
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-nav ul li a {
|
||||||
|
background: url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -650px;
|
||||||
|
display: block;
|
||||||
|
height: 9px;
|
||||||
|
margin: 10px 0 0 5px;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-nav ul li a em {
|
||||||
|
left: -10000px;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-selected a {
|
||||||
|
background-position: 0 -700px;
|
||||||
|
}
|
7
lib/yui/carousel/assets/skins/sam/carousel.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||||
|
Code licensed under the BSD License:
|
||||||
|
http://developer.yahoo.net/yui/license.txt
|
||||||
|
version: 2.6.0
|
||||||
|
*/
|
||||||
|
.yui-carousel{visibility:hidden;overflow:hidden;position:relative;}.yui-carousel.yui-carousel-visible{visibility:visible;}.yui-carousel-content{overflow:hidden;position:relative;}.yui-carousel-element{margin:5px 0;overflow:hidden;padding:0;position:relative;width:32000px;z-index:1;}.yui-carousel-vertical .yui-carousel-element{margin:0 5px;}.yui-carousel-element li{border:1px solid #ccc;float:left;list-style:none;margin:1px;overflow:hidden;padding:0;text-align:center;*float:none;*display:inline-block;*zoom:1;*display:inline;}.yui-carousel .yui-carousel-item-selected{border:1px dashed #000;margin:1px;}.yui-carousel-vertical{height:32000px;margin:0 5px;width:auto;}.yui-carousel-vertical .yui-carousel-element li{display:block;float:none;}.yui-log .carousel{background:#f2e886;}.yui-carousel-nav{zoom:1;}.yui-carousel-nav:after{clear:both;content:"";display:block;}.yui-carousel-button-focus{outline:1px dotted #000;}.yui-skin-sam .yui-carousel,.yui-skin-sam .yui-carousel-vertical{border:1px solid #808080;}.yui-skin-sam .yui-carousel-nav{background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;padding:3px;text-align:right;}.yui-skin-sam .yui-carousel-button{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -600px;float:right;height:19px;margin:5px;overflow:hidden;width:40px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button{background-position:0 -800px;}.yui-skin-sam .yui-carousel-button-disabled{background-position:0 -2000px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button-disabled{background-position:0 -2100px;}.yui-skin-sam .yui-carousel-button input{background-color:transparent;border:0;cursor:pointer;display:block;height:44px;margin:-2px 0 0 -2px;padding:0 0 0 50px;}.yui-skin-sam span.yui-carousel-first-button{background-position:0px -550px;margin-left:-100px;margin-right:50px;*margin:5px 5px 5px -90px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button{background-position:0px -750px;}.yui-skin-sam span.yui-carousel-first-button-disabled{background-position:0 -1950px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button-disabled{background-position:0 -2050px;}.yui-skin-sam .yui-carousel-nav ul{float:right;margin:0;margin-left:-220px;margin-right:100px;*margin-left:-160px;*margin-right:0;padding:0;}.yui-skin-sam .yui-carousel-nav select{position:relative;*right:50px;top:4px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav ul,.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav select{float:none;margin:0;*zoom:1;}.yui-skin-sam .yui-carousel-nav ul li{float:left;height:19px;list-style:none;}.yui-skin-sam .yui-carousel-nav ul:after{clear:both;content:"";display:block;}.yui-skin-sam .yui-carousel-nav ul li a{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -650px;display:block;height:9px;margin:10px 0 0 5px;overflow:hidden;width:9px;}.yui-skin-sam .yui-carousel-nav ul li a em{left:-10000px;position:absolute;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-selected a{background-position:0 -700px;}
|