MDL-41208 import YUI 3.12.0 with @VERSION@ fix for simpleyui
@@ -167,13 +167,22 @@ class page_requirements_manager {
|
||||
$this->yui3loader = new stdClass();
|
||||
$this->YUI_config = new YUI_config();
|
||||
|
||||
if (strpos($CFG->httpswwwroot, 'https:') === 0) {
|
||||
// On HTTPS sites all JS must be loaded from https sites,
|
||||
// YUI CDN does not support https yet, sorry.
|
||||
$CFG->useexternalyui = 0;
|
||||
}
|
||||
|
||||
// Set up some loader options.
|
||||
if (!empty($CFG->useexternalyui) and strpos($CFG->httpswwwroot, 'https:') !== 0) {
|
||||
$this->yui3loader->base = 'http://yui.yahooapis.com/' . $CFG->yui3version . '/build/';
|
||||
$this->yui3loader->local_base = $CFG->httpswwwroot . '/lib/yuilib/'. $CFG->yui3version . '/';
|
||||
$this->yui3loader->local_comboBase = $CFG->httpswwwroot . '/theme/yui_combo.php'.$sep;
|
||||
|
||||
if (!empty($CFG->useexternalyui)) {
|
||||
$this->yui3loader->base = 'http://yui.yahooapis.com/' . $CFG->yui3version . '/';
|
||||
$this->yui3loader->comboBase = 'http://yui.yahooapis.com/combo?';
|
||||
} else {
|
||||
$this->yui3loader->base = $CFG->httpswwwroot . '/lib/yuilib/'. $CFG->yui3version . '/build/';
|
||||
$this->yui3loader->comboBase = $CFG->httpswwwroot . '/theme/yui_combo.php'.$sep;
|
||||
$this->yui3loader->base = $this->yui3loader->local_base;
|
||||
$this->yui3loader->comboBase = $this->yui3loader->local_comboBase;
|
||||
}
|
||||
|
||||
// Enable combo loader? This significantly helps with caching and performance!
|
||||
@@ -1219,25 +1228,28 @@ class page_requirements_manager {
|
||||
|
||||
$code = '';
|
||||
|
||||
// Note: SimpleYUI is broken in 3.12 and will not be available in future YUI versions,
|
||||
// that is why we can not load it from CDN.
|
||||
|
||||
if ($this->yui3loader->combine) {
|
||||
if (!empty($page->theme->yuicssmodules)) {
|
||||
$modules = array();
|
||||
foreach ($page->theme->yuicssmodules as $module) {
|
||||
$modules[] = "$CFG->yui3version/build/$module/$module-min.css";
|
||||
$modules[] = "$CFG->yui3version/$module/$module-min.css";
|
||||
}
|
||||
$code .= '<link rel="stylesheet" type="text/css" href="'.$this->yui3loader->comboBase.implode('&', $modules).'" />';
|
||||
}
|
||||
$code .= '<script type="text/javascript" src="'.$this->yui3loader->comboBase
|
||||
.$CFG->yui3version.'/build/simpleyui/simpleyui-min.js&'
|
||||
.$CFG->yui3version.'/build/loader/loader-min.js"></script>';
|
||||
$code .= '<script type="text/javascript" src="'.$this->yui3loader->local_comboBase
|
||||
.$CFG->yui3version.'/simpleyui/simpleyui-min.js&'
|
||||
.$CFG->yui3version.'/loader/loader-min.js"></script>';
|
||||
} else {
|
||||
if (!empty($page->theme->yuicssmodules)) {
|
||||
foreach ($page->theme->yuicssmodules as $module) {
|
||||
$code .= '<link rel="stylesheet" type="text/css" href="'.$this->yui3loader->base.$module.'/'.$module.'-min.css" />';
|
||||
}
|
||||
}
|
||||
$code .= '<script type="text/javascript" src="'.$this->yui3loader->base.'simpleyui/simpleyui-min.js"></script>';
|
||||
$code .= '<script type="text/javascript" src="'.$this->yui3loader->base.'loader/loader-min.js"></script>';
|
||||
$code .= '<script type="text/javascript" src="'.$this->yui3loader->local_base.'simpleyui/simpleyui-min.js"></script>';
|
||||
$code .= '<script type="text/javascript" src="'.$this->yui3loader->local_base.'loader/loader-min.js"></script>';
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -322,7 +322,7 @@ umask($CFG->umaskpermissions);
|
||||
|
||||
// exact version of currently used yui2 and 3 library
|
||||
$CFG->yui2version = '2.9.0';
|
||||
$CFG->yui3version = '3.9.1';
|
||||
$CFG->yui3version = '3.12.0';
|
||||
|
||||
// Store settings from config.php in array in $CFG - we can use it later to detect problems and overrides.
|
||||
if (!isset($CFG->config_php_settings)) {
|
||||
|
||||
@@ -200,7 +200,7 @@
|
||||
<location>yui</location>
|
||||
<name>YUI</name>
|
||||
<license>BSD</license>
|
||||
<version>3.9.1</version>
|
||||
<version>3.12.0</version>
|
||||
<licenseversion></licenseversion>
|
||||
</library>
|
||||
<library>
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('align-plugin', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -191,4 +197,4 @@ YUI.add('align-plugin', function (Y, NAME) {
|
||||
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["node-screen", "node-pluginhost"]});
|
||||
}, '3.12.0', {"requires": ["node-screen", "node-pluginhost"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("align-plugin",function(e,t){function s(e){e.host&&(this._host=e.host)}var n="offsetWidth",r="offsetHeight",i=i;s.prototype={to:function(t,o,u,a){this._syncArgs=e.Array(arguments),t.top===i&&(t=e.one(t).get("region"));if(t){var f=[t.left,t.top],l=[t.width,t.height],c=s.points,h=this._host,p=null,d=h.getAttrs([r,n]),v=[0-d[n],0-d[r]],m=o?c[o.charAt(0)]:p,g=o&&o!=="cc"?c[o.charAt(1)]:p,y=u?c[u.charAt(0)]:p,b=u&&u!=="cc"?c[u.charAt(1)]:p;m&&(f=m(f,l,o)),g&&(f=g(f,l,o)),y&&(f=y(f,v,u)),b&&(f=b(f,v,u)),f&&h&&h.setXY(f),this._resize(a)}return this},sync:function(){return this.to.apply(this,this._syncArgs),this},_resize:function(t){var n=this._handle;t&&!n?this._handle=e.on("resize",this._onresize,window,this):!t&&n&&n.detach()},_onresize:function(){var e=this;setTimeout(function(){e.sync()})},center:function(e,t){return this.to(e,"cc","cc",t),this},destroy:function(){var e=this._handle;e&&e.detach()}},s.points={t:function(e,t){return e},r:function(e,t){return[e[0]+t[0],e[1]]},b:function(e,t){return[e[0],e[1]+t[1]]},l:function(e,t){return e},c:function(e,t,n){var r=n[0]==="t"||n[0]==="b"?0:1,i,s;return n==="cc"?i=[e[0]+t[0]/2,e[1]+t[1]/2]:(s=e[r]+t[r]/2,i=r?[e[0],s]:[s,e[1]]),i}},s.NAME="Align",s.NS="align",s.prototype.constructor=s,e.namespace("Plugin"),e.Plugin.Align=s},"3.9.1",{requires:["node-screen","node-pluginhost"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("align-plugin",function(e,t){function s(e){e.host&&(this._host=e.host)}var n="offsetWidth",r="offsetHeight",i=i;s.prototype={to:function(t,o,u,a){this._syncArgs=e.Array(arguments),t.top===i&&(t=e.one(t).get("region"));if(t){var f=[t.left,t.top],l=[t.width,t.height],c=s.points,h=this._host,p=null,d=h.getAttrs([r,n]),v=[0-d[n],0-d[r]],m=o?c[o.charAt(0)]:p,g=o&&o!=="cc"?c[o.charAt(1)]:p,y=u?c[u.charAt(0)]:p,b=u&&u!=="cc"?c[u.charAt(1)]:p;m&&(f=m(f,l,o)),g&&(f=g(f,l,o)),y&&(f=y(f,v,u)),b&&(f=b(f,v,u)),f&&h&&h.setXY(f),this._resize(a)}return this},sync:function(){return this.to.apply(this,this._syncArgs),this},_resize:function(t){var n=this._handle;t&&!n?this._handle=e.on("resize",this._onresize,window,this):!t&&n&&n.detach()},_onresize:function(){var e=this;setTimeout(function(){e.sync()})},center:function(e,t){return this.to(e,"cc","cc",t),this},destroy:function(){var e=this._handle;e&&e.detach()}},s.points={t:function(e,t){return e},r:function(e,t){return[e[0]+t[0],e[1]]},b:function(e,t){return[e[0],e[1]+t[1]]},l:function(e,t){return e},c:function(e,t,n){var r=n[0]==="t"||n[0]==="b"?0:1,i,s;return n==="cc"?i=[e[0]+t[0]/2,e[1]+t[1]/2]:(s=e[r]+t[r]/2,i=r?[e[0],s]:[s,e[1]]),i}},s.NAME="Align",s.NS="align",s.prototype.constructor=s,e.namespace("Plugin"),e.Plugin.Align=s},"3.12.0",{requires:["node-screen","node-pluginhost"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('align-plugin', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -191,4 +197,4 @@ YUI.add('align-plugin', function (Y, NAME) {
|
||||
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["node-screen", "node-pluginhost"]});
|
||||
}, '3.12.0', {"requires": ["node-screen", "node-pluginhost"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-base', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -683,4 +689,4 @@ YUI.add('anim-base', function (Y, NAME) {
|
||||
Y.extend(Y.Anim, Y.Base, proto);
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["base-base", "node-style"]});
|
||||
}, '3.12.0', {"requires": ["base-base", "node-style"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("anim-base",function(e,t){var n="running",r="startTime",i="elapsedTime",s="start",o="tween",u="end",a="node",f="paused",l="reverse",c="iterationCount",h=Number,p={},d;e.Anim=function(){e.Anim.superclass.constructor.apply(this,arguments),e.Anim._instances[e.stamp(this)]=this},e.Anim.NAME="anim",e.Anim._instances={},e.Anim.RE_DEFAULT_UNIT=/^width|height|top|right|bottom|left|margin.*|padding.*|border.*$/i,e.Anim.DEFAULT_UNIT="px",e.Anim.DEFAULT_EASING=function(e,t,n,r){return n*e/r+t},e.Anim._intervalTime=20,e.Anim.behaviors={left:{get:function(e,t){return e._getOffset(t)}}},e.Anim.behaviors.top=e.Anim.behaviors.left,e.Anim.DEFAULT_SETTER=function(t,n,r,i,s,o,u,a){var f=t._node,l=f._node,c=u(s,h(r),h(i)-h(r),o);l?"style"in l&&(n in l.style||n in e.DOM.CUSTOM_STYLES)?(a=a||"",f.setStyle(n,c+a)):"attributes"in l&&n in l.attributes?f.setAttribute(n,c):n in l&&(l[n]=c):f.set?f.set(n,c):n in f&&(f[n]=c)},e.Anim.DEFAULT_GETTER=function(t,n){var r=t._node,i=r._node,s="";return i?"style"in i&&(n in i.style||n in e.DOM.CUSTOM_STYLES)?s=r.getComputedStyle(n):"attributes"in i&&n in i.attributes?s=r.getAttribute(n):n in i&&(s=i[n]):r.get?s=r.get(n):n in r&&(s=r[n]),s},e.Anim.ATTRS={node:{setter:function(t){return t&&(typeof t=="string"||t.nodeType)&&(t=e.one(t)),this._node=t,!t,t}},duration:{value:1},easing:{value:e.Anim.DEFAULT_EASING,setter:function(t){if(typeof t=="string"&&e.Easing)return e.Easing[t]}},from:{},to:{},startTime:{value:0,readOnly:!0},elapsedTime:{value:0,readOnly:!0},running:{getter:function(){return!!p[e.stamp(this)]},value:!1,readOnly:!0},iterations:{value:1},iterationCount:{value:0,readOnly:!0},direction:{value:"normal"},paused:{readOnly:!0,value:!1},reverse:{value:!1}},e.Anim.run=function(){var t=e.Anim._instances,n;for(n in t)t[n].run&&t[n].run()},e.Anim.pause=function(){for(var t in p)p[t].pause&&p[t].pause();e.Anim._stopTimer()},e.Anim.stop=function(){for(var t in p)p[t].stop&&p[t].stop();e.Anim._stopTimer()},e.Anim._startTimer=function(){d||(d=setInterval(e.Anim._runFrame,e.Anim._intervalTime))},e.Anim._stopTimer=function(){clearInterval(d),d=0},e.Anim._runFrame=function(){var t=!0,n;for(n in p)p[n]._runFrame&&(t=!1,p[n]._runFrame());t&&e.Anim._stopTimer()},e.Anim.RE_UNITS=/^(-?\d*\.?\d*){1}(em|ex|px|in|cm|mm|pt|pc|%)*$/;var v={run:function(){return this.get(f)?this._resume():this.get(n)||this._start(),this},pause:function(){return this.get(n)&&this._pause(),this},stop:function(e){return(this.get(n)||this.get(f))&&this._end(e),this},_added:!1,_start:function(){this._set(r,new Date-this.get(i)),this._actualFrames=0,this.get(f)||this._initAnimAttr(),p[e.stamp(this)]=this,e.Anim._startTimer(),this.fire(s)},_pause:function(){this._set(r,null),this._set(f,!0),delete p[e.stamp(this)],this.fire("pause")},_resume:function(){this._set(f,!1),p[e.stamp(this)]=this,this._set(r,new Date-this.get(i)),e.Anim._startTimer(),this.fire("resume")},_end:function(t){var n=this.get("duration")*1e3;t&&this._runAttrs(n,n,this.get(l)),this._set(r,null),this._set(i,0),this._set(f,!1),delete p[e.stamp(this)],this.fire(u,{elapsed:this.get(i)})},_runFrame:function(){var e=this._runtimeAttr.duration,t=new Date-this.get(r),n=this.get(l),s=t>=e;this._runAttrs(t,e,n),this._actualFrames+=1,this._set(i,t),this.fire(o),s&&this._lastFrame()},_runAttrs:function(t,n,r){var i=this._runtimeAttr,s=e.Anim.behaviors,o=i.easing,u=n,a=!1,f,l,c;t>=n&&(a=!0),r&&(t=n-t,u=0);for(c in i)i[c].to&&(f=i[c],l=c in s&&"set"in s[c]?s[c].set:e.Anim.DEFAULT_SETTER,a?l(this,c,f.from,f.to,u,n,o,f.unit):l(this,c,f.from,f.to,t,n,o,f.unit))},_lastFrame:function(){var e=this.get("iterations"),t=this.get(c);t+=1,e==="infinite"||t<e?(this.get("direction")==="alternate"&&this.set(l,!this.get(l)),this.fire("iteration")):(t=0,this._end()),this._set(r,new Date),this._set(c,t)},_initAnimAttr:function(){var t=this.get("from")||{},n=this.get("to")||{},r={duration:this.get("duration")*1e3,easing:this.get("easing")},i=e.Anim.behaviors,s=this.get(a),o,u,f;e.each(n,function(n,a){typeof n=="function"&&(n=n.call(this,s)),u=t[a],u===undefined?u=a in i&&"get"in i[a]?i[a].get(this,a):e.Anim.DEFAULT_GETTER(this,a):typeof u=="function"&&(u=u.call(this,s));var l=e.Anim.RE_UNITS.exec(u),c=e.Anim.RE_UNITS.exec(n);u=l?l[1]:u,f=c?c[1]:n,o=c?c[2]:l?l[2]:"",!o&&e.Anim.RE_DEFAULT_UNIT.test(a)&&(o=e.Anim.DEFAULT_UNIT);if(!u||!f){e.error('invalid "from" or "to" for "'+a+'"',"Anim");return}r[a]={from:e.Lang.isObject(u)?e.clone(u):u,to:f,unit:o}},this),this._runtimeAttr=r},_getOffset:function(e){var t=this._node,n=t.getComputedStyle(e),r=e==="left"?"getX":"getY",i=e==="left"?"setX":"setY",s;return n==="auto"&&(s=t.getStyle("position"),s==="absolute"||s==="fixed"?(n=t[r](),t[i](n)):n=0),n},destructor:function(){delete e.Anim._instances[e.stamp(this)]}};e.extend(e.Anim,e.Base,v)},"3.9.1",{requires:["base-base","node-style"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("anim-base",function(e,t){var n="running",r="startTime",i="elapsedTime",s="start",o="tween",u="end",a="node",f="paused",l="reverse",c="iterationCount",h=Number,p={},d;e.Anim=function(){e.Anim.superclass.constructor.apply(this,arguments),e.Anim._instances[e.stamp(this)]=this},e.Anim.NAME="anim",e.Anim._instances={},e.Anim.RE_DEFAULT_UNIT=/^width|height|top|right|bottom|left|margin.*|padding.*|border.*$/i,e.Anim.DEFAULT_UNIT="px",e.Anim.DEFAULT_EASING=function(e,t,n,r){return n*e/r+t},e.Anim._intervalTime=20,e.Anim.behaviors={left:{get:function(e,t){return e._getOffset(t)}}},e.Anim.behaviors.top=e.Anim.behaviors.left,e.Anim.DEFAULT_SETTER=function(t,n,r,i,s,o,u,a){var f=t._node,l=f._node,c=u(s,h(r),h(i)-h(r),o);l?"style"in l&&(n in l.style||n in e.DOM.CUSTOM_STYLES)?(a=a||"",f.setStyle(n,c+a)):"attributes"in l&&n in l.attributes?f.setAttribute(n,c):n in l&&(l[n]=c):f.set?f.set(n,c):n in f&&(f[n]=c)},e.Anim.DEFAULT_GETTER=function(t,n){var r=t._node,i=r._node,s="";return i?"style"in i&&(n in i.style||n in e.DOM.CUSTOM_STYLES)?s=r.getComputedStyle(n):"attributes"in i&&n in i.attributes?s=r.getAttribute(n):n in i&&(s=i[n]):r.get?s=r.get(n):n in r&&(s=r[n]),s},e.Anim.ATTRS={node:{setter:function(t){return t&&(typeof t=="string"||t.nodeType)&&(t=e.one(t)),this._node=t,!t,t}},duration:{value:1},easing:{value:e.Anim.DEFAULT_EASING,setter:function(t){if(typeof t=="string"&&e.Easing)return e.Easing[t]}},from:{},to:{},startTime:{value:0,readOnly:!0},elapsedTime:{value:0,readOnly:!0},running:{getter:function(){return!!p[e.stamp(this)]},value:!1,readOnly:!0},iterations:{value:1},iterationCount:{value:0,readOnly:!0},direction:{value:"normal"},paused:{readOnly:!0,value:!1},reverse:{value:!1}},e.Anim.run=function(){var t=e.Anim._instances,n;for(n in t)t[n].run&&t[n].run()},e.Anim.pause=function(){for(var t in p)p[t].pause&&p[t].pause();e.Anim._stopTimer()},e.Anim.stop=function(){for(var t in p)p[t].stop&&p[t].stop();e.Anim._stopTimer()},e.Anim._startTimer=function(){d||(d=setInterval(e.Anim._runFrame,e.Anim._intervalTime))},e.Anim._stopTimer=function(){clearInterval(d),d=0},e.Anim._runFrame=function(){var t=!0,n;for(n in p)p[n]._runFrame&&(t=!1,p[n]._runFrame());t&&e.Anim._stopTimer()},e.Anim.RE_UNITS=/^(-?\d*\.?\d*){1}(em|ex|px|in|cm|mm|pt|pc|%)*$/;var v={run:function(){return this.get(f)?this._resume():this.get(n)||this._start(),this},pause:function(){return this.get(n)&&this._pause(),this},stop:function(e){return(this.get(n)||this.get(f))&&this._end(e),this},_added:!1,_start:function(){this._set(r,new Date-this.get(i)),this._actualFrames=0,this.get(f)||this._initAnimAttr(),p[e.stamp(this)]=this,e.Anim._startTimer(),this.fire(s)},_pause:function(){this._set(r,null),this._set(f,!0),delete p[e.stamp(this)],this.fire("pause")},_resume:function(){this._set(f,!1),p[e.stamp(this)]=this,this._set(r,new Date-this.get(i)),e.Anim._startTimer(),this.fire("resume")},_end:function(t){var n=this.get("duration")*1e3;t&&this._runAttrs(n,n,this.get(l)),this._set(r,null),this._set(i,0),this._set(f,!1),delete p[e.stamp(this)],this.fire(u,{elapsed:this.get(i)})},_runFrame:function(){var e=this._runtimeAttr.duration,t=new Date-this.get(r),n=this.get(l),s=t>=e;this._runAttrs(t,e,n),this._actualFrames+=1,this._set(i,t),this.fire(o),s&&this._lastFrame()},_runAttrs:function(t,n,r){var i=this._runtimeAttr,s=e.Anim.behaviors,o=i.easing,u=n,a=!1,f,l,c;t>=n&&(a=!0),r&&(t=n-t,u=0);for(c in i)i[c].to&&(f=i[c],l=c in s&&"set"in s[c]?s[c].set:e.Anim.DEFAULT_SETTER,a?l(this,c,f.from,f.to,u,n,o,f.unit):l(this,c,f.from,f.to,t,n,o,f.unit))},_lastFrame:function(){var e=this.get("iterations"),t=this.get(c);t+=1,e==="infinite"||t<e?(this.get("direction")==="alternate"&&this.set(l,!this.get(l)),this.fire("iteration")):(t=0,this._end()),this._set(r,new Date),this._set(c,t)},_initAnimAttr:function(){var t=this.get("from")||{},n=this.get("to")||{},r={duration:this.get("duration")*1e3,easing:this.get("easing")},i=e.Anim.behaviors,s=this.get(a),o,u,f;e.each(n,function(n,a){typeof n=="function"&&(n=n.call(this,s)),u=t[a],u===undefined?u=a in i&&"get"in i[a]?i[a].get(this,a):e.Anim.DEFAULT_GETTER(this,a):typeof u=="function"&&(u=u.call(this,s));var l=e.Anim.RE_UNITS.exec(u),c=e.Anim.RE_UNITS.exec(n);u=l?l[1]:u,f=c?c[1]:n,o=c?c[2]:l?l[2]:"",!o&&e.Anim.RE_DEFAULT_UNIT.test(a)&&(o=e.Anim.DEFAULT_UNIT);if(!u||!f){e.error('invalid "from" or "to" for "'+a+'"',"Anim");return}r[a]={from:e.Lang.isObject(u)?e.clone(u):u,to:f,unit:o}},this),this._runtimeAttr=r},_getOffset:function(e){var t=this._node,n=t.getComputedStyle(e),r=e==="left"?"getX":"getY",i=e==="left"?"setX":"setY",s;return n==="auto"&&(s=t.getStyle("position"),s==="absolute"||s==="fixed"?(n=t[r](),t[i](n)):n=0),n},destructor:function(){delete e.Anim._instances[e.stamp(this)]}};e.extend(e.Anim,e.Base,v)},"3.12.0",{requires:["base-base","node-style"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-base', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -682,4 +688,4 @@ YUI.add('anim-base', function (Y, NAME) {
|
||||
Y.extend(Y.Anim, Y.Base, proto);
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["base-base", "node-style"]});
|
||||
}, '3.12.0', {"requires": ["base-base", "node-style"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-color', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -51,4 +57,4 @@ Y.each(['backgroundColor',
|
||||
);
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base"]});
|
||||
}, '3.12.0', {"requires": ["anim-base"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("anim-color",function(e,t){var n=Number;e.Anim.getUpdatedColorValue=function(t,r,i,s,o){return t=e.Color.re_RGB.exec(e.Color.toRGB(t)),r=e.Color.re_RGB.exec(e.Color.toRGB(r)),(!t||t.length<3||!r||r.length<3)&&e.error("invalid from or to passed to color behavior"),"rgb("+[Math.floor(o(i,n(t[1]),n(r[1])-n(t[1]),s)),Math.floor(o(i,n(t[2]),n(r[2])-n(t[2]),s)),Math.floor(o(i,n(t[3]),n(r[3])-n(t[3]),s))].join(", ")+")"},e.Anim.behaviors.color={set:function(t,n,r,i,s,o,u){t._node.setStyle(n,e.Anim.getUpdatedColorValue(r,i,s,o,u))},get:function(e,t){var n=e._node.getComputedStyle(t);return n=n==="transparent"?"rgb(255, 255, 255)":n,n}},e.each(["backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],function(t){e.Anim.behaviors[t]=e.Anim.behaviors.color})},"3.9.1",{requires:["anim-base"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("anim-color",function(e,t){var n=Number;e.Anim.getUpdatedColorValue=function(t,r,i,s,o){return t=e.Color.re_RGB.exec(e.Color.toRGB(t)),r=e.Color.re_RGB.exec(e.Color.toRGB(r)),(!t||t.length<3||!r||r.length<3)&&e.error("invalid from or to passed to color behavior"),"rgb("+[Math.floor(o(i,n(t[1]),n(r[1])-n(t[1]),s)),Math.floor(o(i,n(t[2]),n(r[2])-n(t[2]),s)),Math.floor(o(i,n(t[3]),n(r[3])-n(t[3]),s))].join(", ")+")"},e.Anim.behaviors.color={set:function(t,n,r,i,s,o,u){t._node.setStyle(n,e.Anim.getUpdatedColorValue(r,i,s,o,u))},get:function(e,t){var n=e._node.getComputedStyle(t);return n=n==="transparent"?"rgb(255, 255, 255)":n,n}},e.each(["backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],function(t){e.Anim.behaviors[t]=e.Anim.behaviors.color})},"3.12.0",{requires:["anim-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-color', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -51,4 +57,4 @@ Y.each(['backgroundColor',
|
||||
);
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base"]});
|
||||
}, '3.12.0', {"requires": ["anim-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-curve', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -57,4 +63,4 @@ Y.Anim.getBezier = function(points, t) {
|
||||
};
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-xy"]});
|
||||
}, '3.12.0', {"requires": ["anim-xy"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("anim-curve",function(e,t){e.Anim.behaviors.curve={set:function(t,n,r,i,s,o,u){r=r.slice.call(r),i=i.slice.call(i);var a=u(s,0,100,o)/100;i.unshift(r),t._node.setXY(e.Anim.getBezier(i,a))},get:function(e){return e._node.getXY()}},e.Anim.getBezier=function(e,t){var n=e.length,r=[],i,s;for(i=0;i<n;++i)r[i]=[e[i][0],e[i][1]];for(s=1;s<n;++s)for(i=0;i<n-s;++i)r[i][0]=(1-t)*r[i][0]+t*r[parseInt(i+1,10)][0],r[i][1]=(1-t)*r[i][1]+t*r[parseInt(i+1,10)][1];return[r[0][0],r[0][1]]}},"3.9.1",{requires:["anim-xy"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("anim-curve",function(e,t){e.Anim.behaviors.curve={set:function(t,n,r,i,s,o,u){r=r.slice.call(r),i=i.slice.call(i);var a=u(s,0,100,o)/100;i.unshift(r),t._node.setXY(e.Anim.getBezier(i,a))},get:function(e){return e._node.getXY()}},e.Anim.getBezier=function(e,t){var n=e.length,r=[],i,s;for(i=0;i<n;++i)r[i]=[e[i][0],e[i][1]];for(s=1;s<n;++s)for(i=0;i<n-s;++i)r[i][0]=(1-t)*r[i][0]+t*r[parseInt(i+1,10)][0],r[i][1]=(1-t)*r[i][1]+t*r[parseInt(i+1,10)][1];return[r[0][0],r[0][1]]}},"3.12.0",{requires:["anim-xy"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-curve', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -57,4 +63,4 @@ Y.Anim.getBezier = function(points, t) {
|
||||
};
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-xy"]});
|
||||
}, '3.12.0', {"requires": ["anim-xy"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-easing', function (Y, NAME) {
|
||||
|
||||
/*
|
||||
@@ -363,4 +369,4 @@ var Easing = {
|
||||
Y.Easing = Easing;
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base"]});
|
||||
}, '3.12.0', {"requires": ["anim-base"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("anim-easing",function(e,t){var n={easeNone:function(e,t,n,r){return n*e/r+t},easeIn:function(e,t,n,r){return n*(e/=r)*e+t},easeOut:function(e,t,n,r){return-n*(e/=r)*(e-2)+t},easeBoth:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t},easeInStrong:function(e,t,n,r){return n*(e/=r)*e*e*e+t},easeOutStrong:function(e,t,n,r){return-n*((e=e/r-1)*e*e*e-1)+t},easeBothStrong:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e*e*e+t:-n/2*((e-=2)*e*e*e-2)+t},elasticIn:function(e,t,n,r,i,s){var o;return e===0?t:(e/=r)===1?t+n:(s||(s=r*.3),!i||i<Math.abs(n)?(i=n,o=s/4):o=s/(2*Math.PI)*Math.asin(n/i),-(i*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*2*Math.PI/s))+t)},elasticOut:function(e,t,n,r,i,s){var o;return e===0?t:(e/=r)===1?t+n:(s||(s=r*.3),!i||i<Math.abs(n)?(i=n,o=s/4):o=s/(2*Math.PI)*Math.asin(n/i),i*Math.pow(2,-10*e)*Math.sin((e*r-o)*2*Math.PI/s)+n+t)},elasticBoth:function(e,t,n,r,i,s){var o;return e===0?t:(e/=r/2)===2?t+n:(s||(s=r*.3*1.5),!i||i<Math.abs(n)?(i=n,o=s/4):o=s/(2*Math.PI)*Math.asin(n/i),e<1?-0.5*i*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*2*Math.PI/s)+t:i*Math.pow(2,-10*(e-=1))*Math.sin((e*r-o)*2*Math.PI/s)*.5+n+t)},backIn:function(e,t,n,r,i){return i===undefined&&(i=1.70158),e===r&&(e-=.001),n*(e/=r)*e*((i+1)*e-i)+t},backOut:function(e,t,n,r,i){return typeof i=="undefined"&&(i=1.70158),n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},backBoth:function(e,t,n,r,i){return typeof i=="undefined"&&(i=1.70158),(e/=r/2)<1?n/2*e*e*(((i*=1.525)+1)*e-i)+t:n/2*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)+t},bounceIn:function(t,n,r,i){return r-e.Easing.bounceOut(i-t,0,r,i)+n},bounceOut:function(e,t,n,r){return(e/=r)<1/2.75?n*7.5625*e*e+t:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t},bounceBoth:function(t,n,r,i){return t<i/2?e.Easing.bounceIn(t*2,0,r,i)*.5+n:e.Easing.bounceOut(t*2-i,0,r,i)*.5+r*.5+n}};e.Easing=n},"3.9.1",{requires:["anim-base"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("anim-easing",function(e,t){var n={easeNone:function(e,t,n,r){return n*e/r+t},easeIn:function(e,t,n,r){return n*(e/=r)*e+t},easeOut:function(e,t,n,r){return-n*(e/=r)*(e-2)+t},easeBoth:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t},easeInStrong:function(e,t,n,r){return n*(e/=r)*e*e*e+t},easeOutStrong:function(e,t,n,r){return-n*((e=e/r-1)*e*e*e-1)+t},easeBothStrong:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e*e*e+t:-n/2*((e-=2)*e*e*e-2)+t},elasticIn:function(e,t,n,r,i,s){var o;return e===0?t:(e/=r)===1?t+n:(s||(s=r*.3),!i||i<Math.abs(n)?(i=n,o=s/4):o=s/(2*Math.PI)*Math.asin(n/i),-(i*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*2*Math.PI/s))+t)},elasticOut:function(e,t,n,r,i,s){var o;return e===0?t:(e/=r)===1?t+n:(s||(s=r*.3),!i||i<Math.abs(n)?(i=n,o=s/4):o=s/(2*Math.PI)*Math.asin(n/i),i*Math.pow(2,-10*e)*Math.sin((e*r-o)*2*Math.PI/s)+n+t)},elasticBoth:function(e,t,n,r,i,s){var o;return e===0?t:(e/=r/2)===2?t+n:(s||(s=r*.3*1.5),!i||i<Math.abs(n)?(i=n,o=s/4):o=s/(2*Math.PI)*Math.asin(n/i),e<1?-0.5*i*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*2*Math.PI/s)+t:i*Math.pow(2,-10*(e-=1))*Math.sin((e*r-o)*2*Math.PI/s)*.5+n+t)},backIn:function(e,t,n,r,i){return i===undefined&&(i=1.70158),e===r&&(e-=.001),n*(e/=r)*e*((i+1)*e-i)+t},backOut:function(e,t,n,r,i){return typeof i=="undefined"&&(i=1.70158),n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},backBoth:function(e,t,n,r,i){return typeof i=="undefined"&&(i=1.70158),(e/=r/2)<1?n/2*e*e*(((i*=1.525)+1)*e-i)+t:n/2*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)+t},bounceIn:function(t,n,r,i){return r-e.Easing.bounceOut(i-t,0,r,i)+n},bounceOut:function(e,t,n,r){return(e/=r)<1/2.75?n*7.5625*e*e+t:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t},bounceBoth:function(t,n,r,i){return t<i/2?e.Easing.bounceIn(t*2,0,r,i)*.5+n:e.Easing.bounceOut(t*2-i,0,r,i)*.5+r*.5+n}};e.Easing=n},"3.12.0",{requires:["anim-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-easing', function (Y, NAME) {
|
||||
|
||||
/*
|
||||
@@ -363,4 +369,4 @@ var Easing = {
|
||||
Y.Easing = Easing;
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base"]});
|
||||
}, '3.12.0', {"requires": ["anim-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-node-plugin', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -24,4 +30,4 @@ Y.namespace('Plugin');
|
||||
Y.Plugin.NodeFX = NodeFX;
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["node-pluginhost", "anim-base"]});
|
||||
}, '3.12.0', {"requires": ["node-pluginhost", "anim-base"]});
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("anim-node-plugin",function(e,t){var n=function(t){t=t?e.merge(t):{},t.node=t.host,n.superclass.constructor.apply(this,arguments)};n.NAME="nodefx",n.NS="fx",e.extend(n,e.Anim),e.namespace("Plugin"),e.Plugin.NodeFX=n},"3.12.0",{requires:["node-pluginhost","anim-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-node-plugin', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -24,4 +30,4 @@ Y.namespace('Plugin');
|
||||
Y.Plugin.NodeFX = NodeFX;
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["node-pluginhost", "anim-base"]});
|
||||
}, '3.12.0', {"requires": ["node-pluginhost", "anim-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-scroll', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -36,4 +42,4 @@ Y.Anim.behaviors.scroll = {
|
||||
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base"]});
|
||||
}, '3.12.0', {"requires": ["anim-base"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("anim-scroll",function(e,t){var n=Number;e.Anim.behaviors.scroll={set:function(e,t,r,i,s,o,u){var a=e._node,f=[u(s,n(r[0]),n(i[0])-n(r[0]),o),u(s,n(r[1]),n(i[1])-n(r[1]),o)];f[0]&&a.set("scrollLeft",f[0]),f[1]&&a.set("scrollTop",f[1])},get:function(e){var t=e._node;return[t.get("scrollLeft"),t.get("scrollTop")]}}},"3.9.1",{requires:["anim-base"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("anim-scroll",function(e,t){var n=Number;e.Anim.behaviors.scroll={set:function(e,t,r,i,s,o,u){var a=e._node,f=[u(s,n(r[0]),n(i[0])-n(r[0]),o),u(s,n(r[1]),n(i[1])-n(r[1]),o)];f[0]&&a.set("scrollLeft",f[0]),f[1]&&a.set("scrollTop",f[1])},get:function(e){var t=e._node;return[t.get("scrollLeft"),t.get("scrollTop")]}}},"3.12.0",{requires:["anim-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-scroll', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -36,4 +42,4 @@ Y.Anim.behaviors.scroll = {
|
||||
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base"]});
|
||||
}, '3.12.0', {"requires": ["anim-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-shape', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -9,9 +15,9 @@ YUI.add('anim-shape', function (Y, NAME) {
|
||||
* @deprecated Use anim-shape instead.
|
||||
*/
|
||||
/**
|
||||
* Adds support for the <code>transform</code>, <code>fill</code>, and <code> attributes of <code>Graphic</code>
|
||||
* <code>Shape</code> instances. The <code>anim-shape</code> submodule can be used for all animations involving
|
||||
* <code>Graphic</code> <code>Shape</code> attributes.
|
||||
* Adds support for the <code>transform</code> and <code>fill</code> attributes of <code>Graphic</code>
|
||||
* and <code>Shape</code> instances. The <code>anim-shape</code> submodule can be used for all animations
|
||||
* involving <code>Graphic</code> <code>Shape</code> attributes.
|
||||
*
|
||||
* @module anim
|
||||
* @submodule anim-shape
|
||||
@@ -183,4 +189,4 @@ YUI.add('anim-shape', function (Y, NAME) {
|
||||
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base", "anim-easing", "anim-color", "matrix"]});
|
||||
}, '3.12.0', {"requires": ["anim-base", "anim-easing", "anim-color", "matrix"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("anim-shape",function(e,t){var n=Number,r,i,s="color",o="stops",u="type",a=function(t,r,i,o,u,a){var f=0,l=e.Anim.getUpdatedColorValue,c,h,p,d=i.length,v=[],m;for(;f<d;f+=1){c=i[f],h=r[f],m={};for(p in c)c.hasOwnProperty(p)&&(p===s?m[p]=e.Color.toHex(l(e.Color.toHex(h[p]),e.Color.toHex(c[p]),o,u,a)):m[p]=a(o,n(h[p]),n(c[p])-n(h[p]),u));v.push(m)}return v},f={set:function(t,r,i,f,l,c,h){var p,d={},v=e.Anim.getUpdatedColorValue,m=a;for(p in f)if(f.hasOwnProperty(p)&&p!==u)switch(p){case s:d[p]=v(i[p],f[p],l,c,h);break;case o:d[p]=m(t,i[p],f[p],l,c,h);break;default:d[p]=h(l,n(i[p]),n(f[p])-n(i[p]),c)}t._node.set(r,d)}};e.Anim.behaviors.fill=f,e.Anim.behaviors.stroke=f,e.Anim.behaviors.transform={set:function(e,t,s,o,u,a,f){var l=e._node,c="",h,p,d,v,m=0,g,y,b;o=r,b=r.length;for(;m<b;++m){d=o[m].concat(),v=s[m].concat(),h=d.shift(),p=v.shift(),y=d.length,c+=h+"(";for(g=0;g<y;++g)c+=f(u,n(v[g]),n(d[g])-n(v[g]),a),g<y-1&&(c+=", ");c+=");"}c&&l.set("transform",c),l._transform=i},get:function(t){var n=t._node,s=n.matrix,o=t.get("to").transform,u=n.get("transform"),a=e.MatrixUtil.getTransformArray(o),f=u?e.MatrixUtil.getTransformArray(u):null,l,c,h,p,d;if(a)if(!f||f.length<1){f=[],h=a.length;for(c=0;c<h;++c)p=a[c][0],f[c]=e.MatrixUtil.getTransformFunctionArray(p);r=a,d=f}else if(e.MatrixUtil.compareTransformSequence(a,f))r=a,d=f;else{l=new e.Matrix,h=a.length;for(c=0;c<h;++c)p=a[c].shift(),p=p==="matrix"?"multiply":p,l[p].apply(l,a[c]);r=l.decompose(),d=s.decompose()}return i=o,d}}},"3.9.1",{requires:["anim-base","anim-easing","anim-color","matrix"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("anim-shape",function(e,t){var n=Number,r,i,s="color",o="stops",u="type",a=function(t,r,i,o,u,a){var f=0,l=e.Anim.getUpdatedColorValue,c,h,p,d=i.length,v=[],m;for(;f<d;f+=1){c=i[f],h=r[f],m={};for(p in c)c.hasOwnProperty(p)&&(p===s?m[p]=e.Color.toHex(l(e.Color.toHex(h[p]),e.Color.toHex(c[p]),o,u,a)):m[p]=a(o,n(h[p]),n(c[p])-n(h[p]),u));v.push(m)}return v},f={set:function(t,r,i,f,l,c,h){var p,d={},v=e.Anim.getUpdatedColorValue,m=a;for(p in f)if(f.hasOwnProperty(p)&&p!==u)switch(p){case s:d[p]=v(i[p],f[p],l,c,h);break;case o:d[p]=m(t,i[p],f[p],l,c,h);break;default:d[p]=h(l,n(i[p]),n(f[p])-n(i[p]),c)}t._node.set(r,d)}};e.Anim.behaviors.fill=f,e.Anim.behaviors.stroke=f,e.Anim.behaviors.transform={set:function(e,t,s,o,u,a,f){var l=e._node,c="",h,p,d,v,m=0,g,y,b;o=r,b=r.length;for(;m<b;++m){d=o[m].concat(),v=s[m].concat(),h=d.shift(),p=v.shift(),y=d.length,c+=h+"(";for(g=0;g<y;++g)c+=f(u,n(v[g]),n(d[g])-n(v[g]),a),g<y-1&&(c+=", ");c+=");"}c&&l.set("transform",c),l._transform=i},get:function(t){var n=t._node,s=n.matrix,o=t.get("to").transform,u=n.get("transform"),a=e.MatrixUtil.getTransformArray(o),f=u?e.MatrixUtil.getTransformArray(u):null,l,c,h,p,d;if(a)if(!f||f.length<1){f=[],h=a.length;for(c=0;c<h;++c)p=a[c][0],f[c]=e.MatrixUtil.getTransformFunctionArray(p);r=a,d=f}else if(e.MatrixUtil.compareTransformSequence(a,f))r=a,d=f;else{l=new e.Matrix,h=a.length;for(c=0;c<h;++c)p=a[c].shift(),p=p==="matrix"?"multiply":p,l[p].apply(l,a[c]);r=l.decompose(),d=s.decompose()}return i=o,d}}},"3.12.0",{requires:["anim-base","anim-easing","anim-color","matrix"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-shape', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -9,9 +15,9 @@ YUI.add('anim-shape', function (Y, NAME) {
|
||||
* @deprecated Use anim-shape instead.
|
||||
*/
|
||||
/**
|
||||
* Adds support for the <code>transform</code>, <code>fill</code>, and <code> attributes of <code>Graphic</code>
|
||||
* <code>Shape</code> instances. The <code>anim-shape</code> submodule can be used for all animations involving
|
||||
* <code>Graphic</code> <code>Shape</code> attributes.
|
||||
* Adds support for the <code>transform</code> and <code>fill</code> attributes of <code>Graphic</code>
|
||||
* and <code>Shape</code> instances. The <code>anim-shape</code> submodule can be used for all animations
|
||||
* involving <code>Graphic</code> <code>Shape</code> attributes.
|
||||
*
|
||||
* @module anim
|
||||
* @submodule anim-shape
|
||||
@@ -183,4 +189,4 @@ YUI.add('anim-shape', function (Y, NAME) {
|
||||
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base", "anim-easing", "anim-color", "matrix"]});
|
||||
}, '3.12.0', {"requires": ["anim-base", "anim-easing", "anim-color", "matrix"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-xy', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -24,4 +30,4 @@ Y.Anim.behaviors.xy = {
|
||||
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base", "node-screen"]});
|
||||
}, '3.12.0', {"requires": ["anim-base", "node-screen"]});
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("anim-xy",function(e,t){var n=Number;e.Anim.behaviors.xy={set:function(e,t,r,i,s,o,u){e._node.setXY([u(s,n(r[0]),n(i[0])-n(r[0]),o),u(s,n(r[1]),n(i[1])-n(r[1]),o)])},get:function(e){return e._node.getXY()}}},"3.12.0",{requires:["anim-base","node-screen"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('anim-xy', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -24,4 +30,4 @@ Y.Anim.behaviors.xy = {
|
||||
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["anim-base", "node-screen"]});
|
||||
}, '3.12.0', {"requires": ["anim-base", "node-screen"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('app-base', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -1096,4 +1102,4 @@ Default `serverRouting` attribute value for all apps.
|
||||
**/
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["classnamemanager", "pjax-base", "router", "view"]});
|
||||
}, '3.12.0', {"requires": ["classnamemanager", "pjax-base", "router", "view"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("app-base",function(e,t){var n=e.Lang,r=e.Object,i=e.PjaxBase,s=e.Router,o=e.View,u=e.ClassNameManager.getClassName,a=e.config.win,f;f=e.Base.create("app",e.Base,[o,s,i],{views:{},initializer:function(t){function i(t,r){n[r]=e.merge(n[r],t)}t||(t={});var n={};r.each(this.views,i),r.each(t.views,i),this.views=n,this._viewInfoMap={},this.after("activeViewChange",e.bind("_afterActiveViewChange",this)),this.get("serverRouting")||this._pjaxBindUI()},createView:function(t,i){var s=this.getViewInfo(t),u=s&&s.type||o,a,f;return a=n.isString(u)?r.getValue(e,u.split(".")):u,f=new a(i),this._viewInfoMap[e.stamp(f,!0)]=s,f},getViewInfo:function(t){return n.isString(t)?this.views[t]:t&&this._viewInfoMap[e.stamp(t,!0)]},render:function(){var t=e.App.CLASS_NAMES,n=this.get("container"),r=this.get("viewContainer"),i=this.get("activeView"),s=i&&i.get("container"),o=n.compareTo(r);return n.addClass(t.app),r.addClass(t.views),i&&!r.contains(s)&&r.appendChild(s),!n.contains(r)&&!o&&n.appendChild(r),this},showView:function(t,r,i,s){var o,u;return i||(i={}),s?i=e.merge(i,{callback:s}):n.isFunction(i)&&(i={callback:i}),n.isString(t)&&(o=this.getViewInfo(t),o&&o.preserve&&o.instance?(t=o.instance,this._viewInfoMap[e.stamp(t,!0)]=o):(t=this.createView(t,r),u=!0)),i.update&&!u&&t.setAttrs(r),"render"in i?i.render&&t.render():u&&t.render(),this._set("activeView",t,{options:i})},_attachView:function(e,t){if(!e)return;var n=this.getViewInfo(e),r=this.get("viewContainer");e.addTarget(this),n&&(n.instance=e),r[t?"prepend":"append"](e.get("container"))},_destroyContainer:function(){var t=e.App.CLASS_NAMES,n=this.get("container"),r=this.get("viewContainer"),i=n.compareTo(r);if(e.one("body").compareTo(n)){this.detachEvents(),n.removeClass(t.app),i?n.removeClass(t.views):r.remove(!0);return}r.remove(!0),i||n.remove(!0)},_detachView:function(t){if(!t)return;var n=this.getViewInfo(t)||{};n.preserve?t.remove():(t.destroy({remove:!0}),delete this._viewInfoMap[e.stamp(t,!0)],t===n.instance&&delete n.instance),t.removeTarget(this)},_getViewContainer:function(e){return!e&&!this._viewContainer&&(e=this._viewContainer=this.create(),this._set("viewContainer",e)),e},_initHtml5:function(){return this.get("serverRouting")===!1?!1:s.html5},_isChildView:function(e,t){var n=this.getViewInfo(e),r=this.getViewInfo(t);return n&&r?this.getViewInfo(n.parent)===r:!1},_isParentView:function(e,t){var n=this.getViewInfo(e),r=this.getViewInfo(t);return n&&r?this.getViewInfo(r.parent)===n:!1},_navigate:function(t,n){return this.get("serverRouting")||(n=e.merge({force:!0},n)),i.prototype._navigate.call(this,t,n)},_save:function(t,n){var r;return this.get("serverRouting")&&!this.get("html5")?this._hasSameOrigin(t)?(a&&(r=this._joinURL(t||""),n?a.location.replace(r):a.location=r),this):(e.error("Security error: The new URL must be of the same origin as the current URL."),this):s.prototype._save.apply(this,arguments)},_uiSetActiveView:function(e,t,n){n||(n={});var r=n.callback,i=this._isChildView(e,t),s=!i&&this._isParentView(e,t),o=!!n.prepend||s;if(e===t)return r&&r.call(this,e);this._attachView(e,o),this._detachView(t),r&&r.call(this,e)},_afterActiveViewChange:function(e){this._uiSetActiveView(e.newVal,e.prevVal,e.options)}},{ATTRS:{activeView:{value:null,readOnly:!0},container:{valueFn:function(){return e.one("body")}},html5:{valueFn:"_initHtml5"},linkSelector:{value:"a"},serverRouting:{valueFn:function(){return e.App.serverRouting},writeOnce:"initOnly"},viewContainer:{getter:"_getViewContainer",setter:e.one,writeOnce:!0}},_NON_ATTRS_CFG:["views"]}),e.namespace("App").Base=f,e.App=e.mix(e.Base.create("app",f,[]),e.App,!0),e.App.CLASS_NAMES={app:u("app"),views:u("app","views")}},"3.9.1",{requires:["classnamemanager","pjax-base","router","view"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("app-base",function(e,t){var n=e.Lang,r=e.Object,i=e.PjaxBase,s=e.Router,o=e.View,u=e.ClassNameManager.getClassName,a=e.config.win,f;f=e.Base.create("app",e.Base,[o,s,i],{views:{},initializer:function(t){function i(t,r){n[r]=e.merge(n[r],t)}t||(t={});var n={};r.each(this.views,i),r.each(t.views,i),this.views=n,this._viewInfoMap={},this.after("activeViewChange",e.bind("_afterActiveViewChange",this)),this.get("serverRouting")||this._pjaxBindUI()},createView:function(t,i){var s=this.getViewInfo(t),u=s&&s.type||o,a,f;return a=n.isString(u)?r.getValue(e,u.split(".")):u,f=new a(i),this._viewInfoMap[e.stamp(f,!0)]=s,f},getViewInfo:function(t){return n.isString(t)?this.views[t]:t&&this._viewInfoMap[e.stamp(t,!0)]},render:function(){var t=e.App.CLASS_NAMES,n=this.get("container"),r=this.get("viewContainer"),i=this.get("activeView"),s=i&&i.get("container"),o=n.compareTo(r);return n.addClass(t.app),r.addClass(t.views),i&&!r.contains(s)&&r.appendChild(s),!n.contains(r)&&!o&&n.appendChild(r),this},showView:function(t,r,i,s){var o,u;return i||(i={}),s?i=e.merge(i,{callback:s}):n.isFunction(i)&&(i={callback:i}),n.isString(t)&&(o=this.getViewInfo(t),o&&o.preserve&&o.instance?(t=o.instance,this._viewInfoMap[e.stamp(t,!0)]=o):(t=this.createView(t,r),u=!0)),i.update&&!u&&t.setAttrs(r),"render"in i?i.render&&t.render():u&&t.render(),this._set("activeView",t,{options:i})},_attachView:function(e,t){if(!e)return;var n=this.getViewInfo(e),r=this.get("viewContainer");e.addTarget(this),n&&(n.instance=e),r[t?"prepend":"append"](e.get("container"))},_destroyContainer:function(){var t=e.App.CLASS_NAMES,n=this.get("container"),r=this.get("viewContainer"),i=n.compareTo(r);if(e.one("body").compareTo(n)){this.detachEvents(),n.removeClass(t.app),i?n.removeClass(t.views):r.remove(!0);return}r.remove(!0),i||n.remove(!0)},_detachView:function(t){if(!t)return;var n=this.getViewInfo(t)||{};n.preserve?t.remove():(t.destroy({remove:!0}),delete this._viewInfoMap[e.stamp(t,!0)],t===n.instance&&delete n.instance),t.removeTarget(this)},_getViewContainer:function(e){return!e&&!this._viewContainer&&(e=this._viewContainer=this.create(),this._set("viewContainer",e)),e},_initHtml5:function(){return this.get("serverRouting")===!1?!1:s.html5},_isChildView:function(e,t){var n=this.getViewInfo(e),r=this.getViewInfo(t);return n&&r?this.getViewInfo(n.parent)===r:!1},_isParentView:function(e,t){var n=this.getViewInfo(e),r=this.getViewInfo(t);return n&&r?this.getViewInfo(r.parent)===n:!1},_navigate:function(t,n){return this.get("serverRouting")||(n=e.merge({force:!0},n)),i.prototype._navigate.call(this,t,n)},_save:function(t,n){var r;return this.get("serverRouting")&&!this.get("html5")?this._hasSameOrigin(t)?(a&&(r=this._joinURL(t||""),n?a.location.replace(r):a.location=r),this):(e.error("Security error: The new URL must be of the same origin as the current URL."),this):s.prototype._save.apply(this,arguments)},_uiSetActiveView:function(e,t,n){n||(n={});var r=n.callback,i=this._isChildView(e,t),s=!i&&this._isParentView(e,t),o=!!n.prepend||s;if(e===t)return r&&r.call(this,e);this._attachView(e,o),this._detachView(t),r&&r.call(this,e)},_afterActiveViewChange:function(e){this._uiSetActiveView(e.newVal,e.prevVal,e.options)}},{ATTRS:{activeView:{value:null,readOnly:!0},container:{valueFn:function(){return e.one("body")}},html5:{valueFn:"_initHtml5"},linkSelector:{value:"a"},serverRouting:{valueFn:function(){return e.App.serverRouting},writeOnce:"initOnly"},viewContainer:{getter:"_getViewContainer",setter:e.one,writeOnce:!0}},_NON_ATTRS_CFG:["views"]}),e.namespace("App").Base=f,e.App=e.mix(e.Base.create("app",f,[]),e.App,!0),e.App.CLASS_NAMES={app:u("app"),views:u("app","views")}},"3.12.0",{requires:["classnamemanager","pjax-base","router","view"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('app-base', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -1096,4 +1102,4 @@ Default `serverRouting` attribute value for all apps.
|
||||
**/
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["classnamemanager", "pjax-base", "router", "view"]});
|
||||
}, '3.12.0', {"requires": ["classnamemanager", "pjax-base", "router", "view"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('app-content', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -232,4 +238,4 @@ Y.App.Content = AppContent;
|
||||
Y.Base.mix(Y.App, [AppContent]);
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["app-base", "pjax-content"]});
|
||||
}, '3.12.0', {"requires": ["app-base", "pjax-content"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("app-content",function(e,t){function r(){n.apply(this,arguments)}var n=e.PjaxContent;r.route=["loadContent","_contentRoute"],r.prototype={showContent:function(t,n,r){t=e.one(t),typeof n=="function"&&(n={callback:n},r=null),n=e.merge({render:!1},n);var i=n.view||"",s=typeof i=="string"?i:i.name,o=typeof i!="string"?i.config:{},u=this.getViewInfo(s),a,f,l,c;return delete n.view,t&&t.isFragment()&&t.get("childNodes").size()===1&&(t=t.get("firstChild")),t&&t.get("nodeType")===1?a=t:(l=u&&u.type||e.View,c=typeof l=="string"?e.Object.getValue(e,l.split(".")):l,f=c.prototype.containerTemplate,a=e.Node.create(f),a.append(t)),o=e.merge(o,{container:a}),this.showView(s,o,n,r)},_contentRoute:function(t,n,r){var i=n.content,s=e.config.doc,o;if(!i||!i.node)return r();i.title&&s&&(o=this.onceAfter("activeViewChange",function(){s.title=i.title})),this.showContent(i.node),o&&o.detach(),r()}},r.ATTRS=e.Attribute.protectAttrs(n.ATTRS),e.mix(r,n,!1,null,1),e.App.Content=r,e.Base.mix(e.App,[r])},"3.9.1",{requires:["app-base","pjax-content"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("app-content",function(e,t){function r(){n.apply(this,arguments)}var n=e.PjaxContent;r.route=["loadContent","_contentRoute"],r.prototype={showContent:function(t,n,r){t=e.one(t),typeof n=="function"&&(n={callback:n},r=null),n=e.merge({render:!1},n);var i=n.view||"",s=typeof i=="string"?i:i.name,o=typeof i!="string"?i.config:{},u=this.getViewInfo(s),a,f,l,c;return delete n.view,t&&t.isFragment()&&t.get("childNodes").size()===1&&(t=t.get("firstChild")),t&&t.get("nodeType")===1?a=t:(l=u&&u.type||e.View,c=typeof l=="string"?e.Object.getValue(e,l.split(".")):l,f=c.prototype.containerTemplate,a=e.Node.create(f),a.append(t)),o=e.merge(o,{container:a}),this.showView(s,o,n,r)},_contentRoute:function(t,n,r){var i=n.content,s=e.config.doc,o;if(!i||!i.node)return r();i.title&&s&&(o=this.onceAfter("activeViewChange",function(){s.title=i.title})),this.showContent(i.node),o&&o.detach(),r()}},r.ATTRS=e.Attribute.protectAttrs(n.ATTRS),e.mix(r,n,!1,null,1),e.App.Content=r,e.Base.mix(e.App,[r])},"3.12.0",{requires:["app-base","pjax-content"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('app-content', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -232,4 +238,4 @@ Y.App.Content = AppContent;
|
||||
Y.Base.mix(Y.App, [AppContent]);
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["app-base", "pjax-content"]});
|
||||
}, '3.12.0', {"requires": ["app-base", "pjax-content"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
.yui3-app-transitioning .yui3-app-views,.yui3-app-views.yui3-app-transitioning{overflow-x:hidden;position:relative;white-space:nowrap;letter-spacing:-0.31em;text-rendering:optimizespeed}.opera-only :-o-prefocus,.yui3-app-transitioning .yui3-app-views,.yui3-app-views.yui3-app-transitioning{word-spacing:-0.43em}.yui3-app-transitioning .yui3-app-views>*,.yui3-app-views.yui3-app-transitioning>*{display:inline-block;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto;width:100%;white-space:normal;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#yui3-css-stamp.app-transitions-css{display:none}
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
.yui3-app-transitioning .yui3-app-views,
|
||||
.yui3-app-views.yui3-app-transitioning {
|
||||
overflow-x: hidden;
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('app-transitions-native', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -351,4 +357,4 @@ Y.App.TransitionsNative = AppTransitionsNative;
|
||||
Y.Base.mix(Y.App, [AppTransitionsNative]);
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["app-transitions", "app-transitions-css", "parallel", "transition"]});
|
||||
}, '3.12.0', {"requires": ["app-transitions", "app-transitions-css", "parallel", "transition"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("app-transitions-native",function(e,t){function r(){}var n=e.App.Transitions;r.prototype={initializer:function(){this._transitioning=!1,this._viewTransitionQueue=[],e.Do.before(this._queueActiveView,this,"_uiSetActiveView")},_dequeueActiveView:function(){var t=this._viewTransitionQueue,n=t.shift(),r;n&&(t.length&&(r=e.merge(n[2],{transition:!1}),n.splice(2,1,r)),this._uiTransitionActiveView.apply(this,n))},_getFx:function(e,t,r){var i=n.FX,s=this.get("transitions");return r===!1||!s?null:r?i[r]:this._isChildView(e,t)?i[s.toChild]:this._isParentView(e,t)?i[s.toParent]:i[s.navigate]},_queueActiveView:function(){var t=e.Array(arguments,0,!0);return this._viewTransitionQueue.push(t),this._transitioning||this._dequeueActiveView(),new e.Do.Prevent},_uiTransitionActiveView:function(t,n,r){function p(){return this._detachView(n),s.removeClass(o),i&&i.call(this,t),this._transitioning=!1,this._dequeueActiveView()}r||(r={});var i=r.callback,s,o,u,a,f,l,c,h;if(t===n)return i&&i.call(this,t),this._transitioning=!1,this._dequeueActiveView();l=this._getFx(t,n,r.transition),u=this._isChildView(t,n),a=!u&&this._isParentView(t,n),f=!!r.prepend||a;if(!l)return this._attachView(t,f),this._detachView(n),i&&i.call(this,t),this._transitioning=!1,this._dequeueActiveView();this._transitioning=!0,s=this.get("container"),o=e.App.CLASS_NAMES.transitioning,s.addClass(o),this._attachView(t,f),h=new e.Parallel({context:this}),c={crossView:!!n&&!!t,prepended:f},t&&l.viewIn&&t.get("container").transition(l.viewIn,c,h.add()),n&&l.viewOut&&n.get("container").transition(l.viewOut,c,h.add()),h.done(p)}},e.mix(e.Transition.fx,{"app:fadeIn":{opacity:1,duration:.3,on:{start:function(e){var t={opacity:0},n=e.config;n.crossView&&!n.prepended&&(t.transform="translateX(-100%)"),this.setStyles(t)},end:function(){this.setStyle("transform","translateX(0)")}}},"app:fadeOut":{opacity:0,duration:.3,on:{start:function(e){var t={opacity:1},n=e.config;n.crossView&&n.prepended&&(t.transform="translateX(-100%)"),this.setStyles(t)},end:function(){this.setStyle("transform","translateX(0)")}}},"app:slideLeft":{duration:.3,transform:"translateX(-100%)",on:{start:function(){this.setStyles({opacity:1,transform:"translateX(0%)"})},end:function(){this.setStyle("transform","translateX(0)")}}},"app:slideRight":{duration:.3,transform:"translateX(0)",on:{start:function(){this.setStyles({opacity:1,transform:"translateX(-100%)"})},end:function(){this.setStyle("transform","translateX(0)")}}}}),e.App.TransitionsNative=r,e.Base.mix(e.App,[r])},"3.9.1",{requires:["app-transitions","app-transitions-css","parallel","transition"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("app-transitions-native",function(e,t){function r(){}var n=e.App.Transitions;r.prototype={initializer:function(){this._transitioning=!1,this._viewTransitionQueue=[],e.Do.before(this._queueActiveView,this,"_uiSetActiveView")},_dequeueActiveView:function(){var t=this._viewTransitionQueue,n=t.shift(),r;n&&(t.length&&(r=e.merge(n[2],{transition:!1}),n.splice(2,1,r)),this._uiTransitionActiveView.apply(this,n))},_getFx:function(e,t,r){var i=n.FX,s=this.get("transitions");return r===!1||!s?null:r?i[r]:this._isChildView(e,t)?i[s.toChild]:this._isParentView(e,t)?i[s.toParent]:i[s.navigate]},_queueActiveView:function(){var t=e.Array(arguments,0,!0);return this._viewTransitionQueue.push(t),this._transitioning||this._dequeueActiveView(),new e.Do.Prevent},_uiTransitionActiveView:function(t,n,r){function p(){return this._detachView(n),s.removeClass(o),i&&i.call(this,t),this._transitioning=!1,this._dequeueActiveView()}r||(r={});var i=r.callback,s,o,u,a,f,l,c,h;if(t===n)return i&&i.call(this,t),this._transitioning=!1,this._dequeueActiveView();l=this._getFx(t,n,r.transition),u=this._isChildView(t,n),a=!u&&this._isParentView(t,n),f=!!r.prepend||a;if(!l)return this._attachView(t,f),this._detachView(n),i&&i.call(this,t),this._transitioning=!1,this._dequeueActiveView();this._transitioning=!0,s=this.get("container"),o=e.App.CLASS_NAMES.transitioning,s.addClass(o),this._attachView(t,f),h=new e.Parallel({context:this}),c={crossView:!!n&&!!t,prepended:f},t&&l.viewIn&&t.get("container").transition(l.viewIn,c,h.add()),n&&l.viewOut&&n.get("container").transition(l.viewOut,c,h.add()),h.done(p)}},e.mix(e.Transition.fx,{"app:fadeIn":{opacity:1,duration:.3,on:{start:function(e){var t={opacity:0},n=e.config;n.crossView&&!n.prepended&&(t.transform="translateX(-100%)"),this.setStyles(t)},end:function(){this.setStyle("transform","translateX(0)")}}},"app:fadeOut":{opacity:0,duration:.3,on:{start:function(e){var t={opacity:1},n=e.config;n.crossView&&n.prepended&&(t.transform="translateX(-100%)"),this.setStyles(t)},end:function(){this.setStyle("transform","translateX(0)")}}},"app:slideLeft":{duration:.3,transform:"translateX(-100%)",on:{start:function(){this.setStyles({opacity:1,transform:"translateX(0%)"})},end:function(){this.setStyle("transform","translateX(0)")}}},"app:slideRight":{duration:.3,transform:"translateX(0)",on:{start:function(){this.setStyles({opacity:1,transform:"translateX(-100%)"})},end:function(){this.setStyle("transform","translateX(0)")}}}}),e.App.TransitionsNative=r,e.Base.mix(e.App,[r])},"3.12.0",{requires:["app-transitions","app-transitions-css","parallel","transition"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('app-transitions-native', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -351,4 +357,4 @@ Y.App.TransitionsNative = AppTransitionsNative;
|
||||
Y.Base.mix(Y.App, [AppTransitionsNative]);
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["app-transitions", "app-transitions-css", "parallel", "transition"]});
|
||||
}, '3.12.0', {"requires": ["app-transitions", "app-transitions-css", "parallel", "transition"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('app-transitions', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -240,4 +246,4 @@ Y.mix(Y.App.CLASS_NAMES, {
|
||||
});
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["app-base"]});
|
||||
}, '3.12.0', {"requires": ["app-base"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("app-transitions",function(e,t){function n(){}n.ATTRS={transitions:{setter:"_setTransitions",value:!1}},n.FX={fade:{viewIn:"app:fadeIn",viewOut:"app:fadeOut"},slideLeft:{viewIn:"app:slideLeft",viewOut:"app:slideLeft"},slideRight:{viewIn:"app:slideRight",viewOut:"app:slideRight"}},n.prototype={transitions:{navigate:"fade",toChild:"slideLeft",toParent:"slideRight"},_setTransitions:function(t){var n=this.transitions;return t&&t===!0?e.merge(n):t}},e.App.Transitions=n,e.Base.mix(e.App,[n]),e.mix(e.App.CLASS_NAMES,{transitioning:e.ClassNameManager.getClassName("app","transitioning")})},"3.9.1",{requires:["app-base"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("app-transitions",function(e,t){function n(){}n.ATTRS={transitions:{setter:"_setTransitions",value:!1}},n.FX={fade:{viewIn:"app:fadeIn",viewOut:"app:fadeOut"},slideLeft:{viewIn:"app:slideLeft",viewOut:"app:slideLeft"},slideRight:{viewIn:"app:slideRight",viewOut:"app:slideRight"}},n.prototype={transitions:{navigate:"fade",toChild:"slideLeft",toParent:"slideRight"},_setTransitions:function(t){var n=this.transitions;return t&&t===!0?e.merge(n):t}},e.App.Transitions=n,e.Base.mix(e.App,[n]),e.mix(e.App.CLASS_NAMES,{transitioning:e.ClassNameManager.getClassName("app","transitioning")})},"3.12.0",{requires:["app-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('app-transitions', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -240,4 +246,4 @@ Y.mix(Y.App.CLASS_NAMES, {
|
||||
});
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["app-base"]});
|
||||
}, '3.12.0', {"requires": ["app-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('array-extras', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -398,4 +404,4 @@ A.flatten = function(a) {
|
||||
};
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["yui-base"]});
|
||||
}, '3.12.0', {"requires": ["yui-base"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("array-extras",function(e,t){var n=e.Array,r=e.Lang,i=Array.prototype;n.lastIndexOf=r._isNative(i.lastIndexOf)?function(e,t,n){return n||n===0?e.lastIndexOf(t,n):e.lastIndexOf(t)}:function(e,t,n){var r=e.length,i=r-1;if(n||n===0)i=Math.min(n<0?r+n:n,r);if(i>-1&&r>0)for(;i>-1;--i)if(i in e&&e[i]===t)return i;return-1},n.unique=function(e,t){var n=0,r=e.length,i=[],s,o,u,a;e:for(;n<r;n++){a=e[n];for(s=0,u=i.length;s<u;s++){o=i[s];if(t){if(t.call(e,a,o,n,e))continue e}else if(a===o)continue e}i.push(a)}return i},n.filter=r._isNative(i.filter)?function(e,t,n){return i.filter.call(e,t,n)}:function(e,t,n){var r=0,i=e.length,s=[],o;for(;r<i;++r)r in e&&(o=e[r],t.call(n,o,r,e)&&s.push(o));return s},n.reject=function(e,t,r){return n.filter(e,function(e,n,i){return!t.call(r,e,n,i)})},n.every=r._isNative(i.every)?function(e,t,n){return i.every.call(e,t,n)}:function(e,t,n){for(var r=0,i=e.length;r<i;++r)if(r in e&&!t.call(n,e[r],r,e))return!1;return!0},n.map=r._isNative(i.map)?function(e,t,n){return i.map.call(e,t,n)}:function(e,t,n){var r=0,s=e.length,o=i.concat.call(e);for(;r<s;++r)r in e&&(o[r]=t.call(n,e[r],r,e));return o},n.reduce=r._isNative(i.reduce)?function(e,t,n,r){return i.reduce.call(e,function(e,t,i,s){return n.call(r,e,t,i,s)},t)}:function(e,t,n,r){var i=0,s=e.length,o=t;for(;i<s;++i)i in e&&(o=n.call(r,o,e[i],i,e));return o},n.find=function(e,t,n){for(var r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e))return e[r];return null},n.grep=function(e,t){return n.filter(e,function(e,n){return t.test(e)})},n.partition=function(e,t,r){var i={matches:[],rejects:[]};return n.each(e,function(n,s){var u=t.call(r,n,s,e)?i.matches:i.rejects;u.push(n)}),i},n.zip=function(e,t){var r=[];return n.each(e,function(e,n){r.push([e,t[n]])}),r},n.flatten=function(e){var t=[],i,s,o;if(!e)return t;for(i=0,s=e.length;i<s;++i)o=e[i],r.isArray(o)?t.push.apply(t,n.flatten(o)):t.push(o);return t}},"3.9.1",{requires:["yui-base"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("array-extras",function(e,t){var n=e.Array,r=e.Lang,i=Array.prototype;n.lastIndexOf=r._isNative(i.lastIndexOf)?function(e,t,n){return n||n===0?e.lastIndexOf(t,n):e.lastIndexOf(t)}:function(e,t,n){var r=e.length,i=r-1;if(n||n===0)i=Math.min(n<0?r+n:n,r);if(i>-1&&r>0)for(;i>-1;--i)if(i in e&&e[i]===t)return i;return-1},n.unique=function(e,t){var n=0,r=e.length,i=[],s,o,u,a;e:for(;n<r;n++){a=e[n];for(s=0,u=i.length;s<u;s++){o=i[s];if(t){if(t.call(e,a,o,n,e))continue e}else if(a===o)continue e}i.push(a)}return i},n.filter=r._isNative(i.filter)?function(e,t,n){return i.filter.call(e,t,n)}:function(e,t,n){var r=0,i=e.length,s=[],o;for(;r<i;++r)r in e&&(o=e[r],t.call(n,o,r,e)&&s.push(o));return s},n.reject=function(e,t,r){return n.filter(e,function(e,n,i){return!t.call(r,e,n,i)})},n.every=r._isNative(i.every)?function(e,t,n){return i.every.call(e,t,n)}:function(e,t,n){for(var r=0,i=e.length;r<i;++r)if(r in e&&!t.call(n,e[r],r,e))return!1;return!0},n.map=r._isNative(i.map)?function(e,t,n){return i.map.call(e,t,n)}:function(e,t,n){var r=0,s=e.length,o=i.concat.call(e);for(;r<s;++r)r in e&&(o[r]=t.call(n,e[r],r,e));return o},n.reduce=r._isNative(i.reduce)?function(e,t,n,r){return i.reduce.call(e,function(e,t,i,s){return n.call(r,e,t,i,s)},t)}:function(e,t,n,r){var i=0,s=e.length,o=t;for(;i<s;++i)i in e&&(o=n.call(r,o,e[i],i,e));return o},n.find=function(e,t,n){for(var r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e))return e[r];return null},n.grep=function(e,t){return n.filter(e,function(e,n){return t.test(e)})},n.partition=function(e,t,r){var i={matches:[],rejects:[]};return n.each(e,function(n,s){var u=t.call(r,n,s,e)?i.matches:i.rejects;u.push(n)}),i},n.zip=function(e,t){var r=[];return n.each(e,function(e,n){r.push([e,t[n]])}),r},n.flatten=function(e){var t=[],i,s,o;if(!e)return t;for(i=0,s=e.length;i<s;++i)o=e[i],r.isArray(o)?t.push.apply(t,n.flatten(o)):t.push(o);return t}},"3.12.0",{requires:["yui-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('array-extras', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -398,4 +404,4 @@ A.flatten = function(a) {
|
||||
};
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["yui-base"]});
|
||||
}, '3.12.0', {"requires": ["yui-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('array-invoke', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -38,4 +44,4 @@ Y.Array.invoke = function(items, name) {
|
||||
};
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["yui-base"]});
|
||||
}, '3.12.0', {"requires": ["yui-base"]});
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("array-invoke",function(e,t){e.Array.invoke=function(t,n){var r=e.Array(arguments,2,!0),i=e.Lang.isFunction,s=[];return e.Array.each(e.Array(t),function(e,t){e&&i(e[n])&&(s[t]=e[n].apply(e,r))}),s}},"3.12.0",{requires:["yui-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('array-invoke', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -38,4 +44,4 @@ Y.Array.invoke = function(items, name) {
|
||||
};
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["yui-base"]});
|
||||
}, '3.12.0', {"requires": ["yui-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('arraylist-add', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -85,4 +91,4 @@ Y.mix(Y.ArrayList.prototype, {
|
||||
});
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["arraylist"]});
|
||||
}, '3.12.0', {"requires": ["arraylist"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("arraylist-add",function(e,t){e.mix(e.ArrayList.prototype,{add:function(t,n){var r=this._items;return e.Lang.isNumber(n)?r.splice(n,0,t):r.push(t),this},remove:function(e,t,n){n=n||this.itemsAreEqual;for(var r=this._items.length-1;r>=0;--r)if(n.call(this,e,this.item(r))){this._items.splice(r,1);if(!t)break}return this},itemsAreEqual:function(e,t){return e===t}})},"3.9.1",{requires:["arraylist"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("arraylist-add",function(e,t){e.mix(e.ArrayList.prototype,{add:function(t,n){var r=this._items;return e.Lang.isNumber(n)?r.splice(n,0,t):r.push(t),this},remove:function(e,t,n){n=n||this.itemsAreEqual;for(var r=this._items.length-1;r>=0;--r)if(n.call(this,e,this.item(r))){this._items.splice(r,1);if(!t)break}return this},itemsAreEqual:function(e,t){return e===t}})},"3.12.0",{requires:["arraylist"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('arraylist-add', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -85,4 +91,4 @@ Y.mix(Y.ArrayList.prototype, {
|
||||
});
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["arraylist"]});
|
||||
}, '3.12.0', {"requires": ["arraylist"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('arraylist-filter', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -43,4 +49,4 @@ Y.mix(Y.ArrayList.prototype, {
|
||||
});
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["arraylist"]});
|
||||
}, '3.12.0', {"requires": ["arraylist"]});
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("arraylist-filter",function(e,t){e.mix(e.ArrayList.prototype,{filter:function(t){var n=[];return e.Array.each(this._items,function(e,r){e=this.item(r),t(e)&&n.push(e)},this),new this.constructor(n)}})},"3.12.0",{requires:["arraylist"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('arraylist-filter', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -43,4 +49,4 @@ Y.mix(Y.ArrayList.prototype, {
|
||||
});
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["arraylist"]});
|
||||
}, '3.12.0', {"requires": ["arraylist"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('arraylist', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -80,7 +86,7 @@ ArrayListProto = {
|
||||
* <p>The callback signature is <code>callback( item, index )</code>.</p>
|
||||
*
|
||||
* <p>Unlike <code>each</code>, if the callback returns true, the
|
||||
* iteratation will stop.</p>
|
||||
* iteration will stop.</p>
|
||||
*
|
||||
* @method some
|
||||
* @param fn { Function } the function to execute
|
||||
@@ -212,4 +218,4 @@ Y.mix( ArrayList, {
|
||||
Y.ArrayList = ArrayList;
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["yui-base"]});
|
||||
}, '3.12.0', {"requires": ["yui-base"]});
|
||||
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
YUI.add("arraylist",function(e,t){function s(t){t!==undefined?this._items=e.Lang.isArray(t)?t:n(t):this._items=this._items||[]}var n=e.Array,r=n.each,i;i={item:function(e){return this._items[e]},each:function(e,t){return r(this._items,function(n,r){n=this.item(r),e.call(t||n,n,r,this)},this),this},some:function(e,t){return n.some(this._items,function(n,r){return n=this.item(r),e.call(t||n,n,r,this)},this)},indexOf:function(e){return n.indexOf(this._items,e)},size:function(){return this._items.length},isEmpty:function(){return!this.size()},toJSON:function(){return this._items}},i._item=i.item,e.mix(s.prototype,i),e.mix(s,{addMethod:function(e,t){t=n(t),r(t,function(t){e[t]=function(){var e=n(arguments,0,!0),i=[];return r(this._items,function(n,r){n=this._item(r);var s=n[t].apply(n,e);s!==undefined&&s!==n&&(i[r]=s)},this),i.length?i:this}})}}),e.ArrayList=s},"3.9.1",{requires:["yui-base"]});
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("arraylist",function(e,t){function s(t){t!==undefined?this._items=e.Lang.isArray(t)?t:n(t):this._items=this._items||[]}var n=e.Array,r=n.each,i;i={item:function(e){return this._items[e]},each:function(e,t){return r(this._items,function(n,r){n=this.item(r),e.call(t||n,n,r,this)},this),this},some:function(e,t){return n.some(this._items,function(n,r){return n=this.item(r),e.call(t||n,n,r,this)},this)},indexOf:function(e){return n.indexOf(this._items,e)},size:function(){return this._items.length},isEmpty:function(){return!this.size()},toJSON:function(){return this._items}},i._item=i.item,e.mix(s.prototype,i),e.mix(s,{addMethod:function(e,t){t=n(t),r(t,function(t){e[t]=function(){var e=n(arguments,0,!0),i=[];return r(this._items,function(n,r){n=this._item(r);var s=n[t].apply(n,e);s!==undefined&&s!==n&&(i[r]=s)},this),i.length?i:this}})}}),e.ArrayList=s},"3.12.0",{requires:["yui-base"]});
|
||||
@@ -1,4 +1,10 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('arraylist', function (Y, NAME) {
|
||||
|
||||
/**
|
||||
@@ -80,7 +86,7 @@ ArrayListProto = {
|
||||
* <p>The callback signature is <code>callback( item, index )</code>.</p>
|
||||
*
|
||||
* <p>Unlike <code>each</code>, if the callback returns true, the
|
||||
* iteratation will stop.</p>
|
||||
* iteration will stop.</p>
|
||||
*
|
||||
* @method some
|
||||
* @param fn { Function } the function to execute
|
||||
@@ -212,4 +218,4 @@ Y.mix( ArrayList, {
|
||||
Y.ArrayList = ArrayList;
|
||||
|
||||
|
||||
}, '3.9.1', {"requires": ["yui-base"]});
|
||||
}, '3.12.0', {"requires": ["yui-base"]});
|
||||
@@ -0,0 +1,188 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('arraysort', function (Y, NAME) {
|
||||
|
||||
/*jshint expr:true, onevar:false */
|
||||
|
||||
/**
|
||||
Provides comparator functions useful for sorting arrays.
|
||||
|
||||
@module arraysort
|
||||
**/
|
||||
|
||||
var LANG = Y.Lang,
|
||||
ISVALUE = LANG.isValue,
|
||||
ISSTRING = LANG.isString;
|
||||
|
||||
/**
|
||||
Provides comparator functions useful for sorting arrays.
|
||||
|
||||
@class ArraySort
|
||||
@static
|
||||
**/
|
||||
|
||||
var ArraySort = Y.ArraySort = {
|
||||
// -- Public Methods -------------------------------------------------------
|
||||
|
||||
/**
|
||||
Comparator function for simple case-insensitive sorting of an array of
|
||||
strings.
|
||||
|
||||
@method compare
|
||||
@param a {Object} First sort argument.
|
||||
@param b {Object} Second sort argument.
|
||||
@param desc {Boolean} `true` if sort direction is descending, `false` if
|
||||
sort direction is ascending.
|
||||
@return {Boolean} -1 when a < b. 0 when a == b. 1 when a > b.
|
||||
@static
|
||||
*/
|
||||
compare: function(a, b, desc) {
|
||||
if(!ISVALUE(a)) {
|
||||
if(!ISVALUE(b)) {
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
else if(!ISVALUE(b)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(ISSTRING(a)) {
|
||||
a = a.toLowerCase();
|
||||
}
|
||||
if(ISSTRING(b)) {
|
||||
b = b.toLowerCase();
|
||||
}
|
||||
if(a < b) {
|
||||
return (desc) ? 1 : -1;
|
||||
}
|
||||
else if (a > b) {
|
||||
return (desc) ? -1 : 1;
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
Performs a natural-order comparison of two strings or numbers (or a string
|
||||
and a number). This ensures that a value like 'foo2' will be sorted before
|
||||
'foo10', whereas a standard ASCII sort would sort 'foo10' first.
|
||||
|
||||
@example
|
||||
|
||||
var items = ['item10', 'item2', 'item1', 10, '1', 2];
|
||||
|
||||
items.sort(Y.ArraySort.naturalCompare);
|
||||
console.log(items); // => ['1', 2, 10, 'item1', 'item2', 'item10']
|
||||
|
||||
@method naturalCompare
|
||||
@param {Number|String} a First value to compare.
|
||||
@param {Number|String} b Second value to compare.
|
||||
@param {Object} [options] Options.
|
||||
@param {Boolean} [options.caseSensitive=false] If `true`, a
|
||||
case-sensitive comparison will be performed. By default the
|
||||
comparison is case-insensitive.
|
||||
@param {Boolean} [options.descending=false] If `true`, the sort order
|
||||
will be reversed so that larger values are sorted before smaller
|
||||
values.
|
||||
@return {Number} `0` if the two items are equal, a negative number if _a_
|
||||
should be sorted before _b_, or a positive number if _b_ should be
|
||||
sorted before _a_.
|
||||
@static
|
||||
@since 3.11.0
|
||||
**/
|
||||
naturalCompare: function (a, b, options) {
|
||||
// Coerce `a` and `b` to strings.
|
||||
a += '';
|
||||
b += '';
|
||||
|
||||
// Convert `a` and `b` to lowercase unless `options.caseSensitive` is
|
||||
// truthy.
|
||||
if (!options || !options.caseSensitive) {
|
||||
a = a.toLowerCase();
|
||||
b = b.toLowerCase();
|
||||
}
|
||||
|
||||
// Split `a` and `b` into alpha parts and numeric parts.
|
||||
var aParts = ArraySort._splitAlphaNum(a),
|
||||
bParts = ArraySort._splitAlphaNum(b),
|
||||
length = Math.min(aParts.length, bParts.length),
|
||||
result = 0,
|
||||
|
||||
aPart,
|
||||
bPart,
|
||||
i;
|
||||
|
||||
// Compare each part of `a` with each part of `b`.
|
||||
for (i = 0; i < length; i++) {
|
||||
aPart = aParts[i];
|
||||
bPart = bParts[i];
|
||||
|
||||
// If the two parts aren't equal, compare them and stop iterating.
|
||||
if (aPart !== bPart) {
|
||||
// First, try comparing them as numbers.
|
||||
result = aPart - bPart;
|
||||
|
||||
// If that didn't work, compare them as strings. This falsiness
|
||||
// check works because `result` can't be 0 (we checked for
|
||||
// equality above) and NaN is falsy.
|
||||
if (!result) {
|
||||
result = aPart > bPart ? 1 : -1;
|
||||
}
|
||||
|
||||
// At this point we know enough to be able to sort the two
|
||||
// strings, so we don't need to compare any more parts.
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// If we get here and `result` is still 0, then sort the shorter string
|
||||
// before the longer string.
|
||||
result || (result = a.length - b.length);
|
||||
|
||||
// Return the result, flipping the order if `options.descending` is
|
||||
// truthy.
|
||||
return options && options.descending ? -result : result;
|
||||
},
|
||||
|
||||
// -- Protected Methods ----------------------------------------------------
|
||||
|
||||
/**
|
||||
Splits a string into an array of alpha character and digit character parts.
|
||||
|
||||
@example
|
||||
|
||||
Y.ArraySort._splitAlphaNum('abc123def456');
|
||||
// => ['abc', '123', 'def', '456']
|
||||
|
||||
@method _splitAlphaNum
|
||||
@param {String} string String to split.
|
||||
@return {String[]} Array of alpha parts and digit parts.
|
||||
@protected
|
||||
@static
|
||||
@since 3.11.0
|
||||
**/
|
||||
_splitAlphaNum: function (string) {
|
||||
/*jshint boss:true */
|
||||
var parts = [],
|
||||
regex = /(\d+|\D+)/g,
|
||||
match;
|
||||
|
||||
while (match = regex.exec(string)) { // assignment
|
||||
parts.push(match[1]);
|
||||
}
|
||||
|
||||
return parts;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
}, '3.12.0', {"requires": ["yui-base"]});
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add("arraysort",function(e,t){var n=e.Lang,r=n.isValue,i=n.isString,s=e.ArraySort={compare:function(e,t,n){return r(e)?r(t)?(i(e)&&(e=e.toLowerCase()),i(t)&&(t=t.toLowerCase()),e<t?n?1:-1:e>t?n?-1:1:0):-1:r(t)?1:0},naturalCompare:function(e,t,n){e+="",t+="";if(!n||!n.caseSensitive)e=e.toLowerCase(),t=t.toLowerCase();var r=s._splitAlphaNum(e),i=s._splitAlphaNum(t),o=Math.min(r.length,i.length),u=0,a,f,l;for(l=0;l<o;l++){a=r[l],f=i[l];if(a!==f){u=a-f,u||(u=a>f?1:-1);break}}return u||(u=e.length-t.length),n&&n.descending?-u:u},_splitAlphaNum:function(e){var t=[],n=/(\d+|\D+)/g,r;while(r=n.exec(e))t.push(r[1]);return t}}},"3.12.0",{requires:["yui-base"]});
|
||||
@@ -0,0 +1,188 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
YUI.add('arraysort', function (Y, NAME) {
|
||||
|
||||
/*jshint expr:true, onevar:false */
|
||||
|
||||
/**
|
||||
Provides comparator functions useful for sorting arrays.
|
||||
|
||||
@module arraysort
|
||||
**/
|
||||
|
||||
var LANG = Y.Lang,
|
||||
ISVALUE = LANG.isValue,
|
||||
ISSTRING = LANG.isString;
|
||||
|
||||
/**
|
||||
Provides comparator functions useful for sorting arrays.
|
||||
|
||||
@class ArraySort
|
||||
@static
|
||||
**/
|
||||
|
||||
var ArraySort = Y.ArraySort = {
|
||||
// -- Public Methods -------------------------------------------------------
|
||||
|
||||
/**
|
||||
Comparator function for simple case-insensitive sorting of an array of
|
||||
strings.
|
||||
|
||||
@method compare
|
||||
@param a {Object} First sort argument.
|
||||
@param b {Object} Second sort argument.
|
||||
@param desc {Boolean} `true` if sort direction is descending, `false` if
|
||||
sort direction is ascending.
|
||||
@return {Boolean} -1 when a < b. 0 when a == b. 1 when a > b.
|
||||
@static
|
||||
*/
|
||||
compare: function(a, b, desc) {
|
||||
if(!ISVALUE(a)) {
|
||||
if(!ISVALUE(b)) {
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
else if(!ISVALUE(b)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(ISSTRING(a)) {
|
||||
a = a.toLowerCase();
|
||||
}
|
||||
if(ISSTRING(b)) {
|
||||
b = b.toLowerCase();
|
||||
}
|
||||
if(a < b) {
|
||||
return (desc) ? 1 : -1;
|
||||
}
|
||||
else if (a > b) {
|
||||
return (desc) ? -1 : 1;
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
Performs a natural-order comparison of two strings or numbers (or a string
|
||||
and a number). This ensures that a value like 'foo2' will be sorted before
|
||||
'foo10', whereas a standard ASCII sort would sort 'foo10' first.
|
||||
|
||||
@example
|
||||
|
||||
var items = ['item10', 'item2', 'item1', 10, '1', 2];
|
||||
|
||||
items.sort(Y.ArraySort.naturalCompare);
|
||||
console.log(items); // => ['1', 2, 10, 'item1', 'item2', 'item10']
|
||||
|
||||
@method naturalCompare
|
||||
@param {Number|String} a First value to compare.
|
||||
@param {Number|String} b Second value to compare.
|
||||
@param {Object} [options] Options.
|
||||
@param {Boolean} [options.caseSensitive=false] If `true`, a
|
||||
case-sensitive comparison will be performed. By default the
|
||||
comparison is case-insensitive.
|
||||
@param {Boolean} [options.descending=false] If `true`, the sort order
|
||||
will be reversed so that larger values are sorted before smaller
|
||||
values.
|
||||
@return {Number} `0` if the two items are equal, a negative number if _a_
|
||||
should be sorted before _b_, or a positive number if _b_ should be
|
||||
sorted before _a_.
|
||||
@static
|
||||
@since 3.11.0
|
||||
**/
|
||||
naturalCompare: function (a, b, options) {
|
||||
// Coerce `a` and `b` to strings.
|
||||
a += '';
|
||||
b += '';
|
||||
|
||||
// Convert `a` and `b` to lowercase unless `options.caseSensitive` is
|
||||
// truthy.
|
||||
if (!options || !options.caseSensitive) {
|
||||
a = a.toLowerCase();
|
||||
b = b.toLowerCase();
|
||||
}
|
||||
|
||||
// Split `a` and `b` into alpha parts and numeric parts.
|
||||
var aParts = ArraySort._splitAlphaNum(a),
|
||||
bParts = ArraySort._splitAlphaNum(b),
|
||||
length = Math.min(aParts.length, bParts.length),
|
||||
result = 0,
|
||||
|
||||
aPart,
|
||||
bPart,
|
||||
i;
|
||||
|
||||
// Compare each part of `a` with each part of `b`.
|
||||
for (i = 0; i < length; i++) {
|
||||
aPart = aParts[i];
|
||||
bPart = bParts[i];
|
||||
|
||||
// If the two parts aren't equal, compare them and stop iterating.
|
||||
if (aPart !== bPart) {
|
||||
// First, try comparing them as numbers.
|
||||
result = aPart - bPart;
|
||||
|
||||
// If that didn't work, compare them as strings. This falsiness
|
||||
// check works because `result` can't be 0 (we checked for
|
||||
// equality above) and NaN is falsy.
|
||||
if (!result) {
|
||||
result = aPart > bPart ? 1 : -1;
|
||||
}
|
||||
|
||||
// At this point we know enough to be able to sort the two
|
||||
// strings, so we don't need to compare any more parts.
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// If we get here and `result` is still 0, then sort the shorter string
|
||||
// before the longer string.
|
||||
result || (result = a.length - b.length);
|
||||
|
||||
// Return the result, flipping the order if `options.descending` is
|
||||
// truthy.
|
||||
return options && options.descending ? -result : result;
|
||||
},
|
||||
|
||||
// -- Protected Methods ----------------------------------------------------
|
||||
|
||||
/**
|
||||
Splits a string into an array of alpha character and digit character parts.
|
||||
|
||||
@example
|
||||
|
||||
Y.ArraySort._splitAlphaNum('abc123def456');
|
||||
// => ['abc', '123', 'def', '456']
|
||||
|
||||
@method _splitAlphaNum
|
||||
@param {String} string String to split.
|
||||
@return {String[]} Array of alpha parts and digit parts.
|
||||
@protected
|
||||
@static
|
||||
@since 3.11.0
|
||||
**/
|
||||
_splitAlphaNum: function (string) {
|
||||
/*jshint boss:true */
|
||||
var parts = [],
|
||||
regex = /(\d+|\D+)/g,
|
||||
match;
|
||||
|
||||
while (match = regex.exec(string)) { // assignment
|
||||
parts.push(match[1]);
|
||||
}
|
||||
|
||||
return parts;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
}, '3.12.0', {"requires": ["yui-base"]});
|
||||
@@ -0,0 +1,197 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/audio/thumb-x.png */
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail {
|
||||
height: 35px;
|
||||
background-position: 0 7px;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 35px;
|
||||
width: 19px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 13px;
|
||||
left: -5px;
|
||||
width: 5px;
|
||||
top: 7px;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 13px;
|
||||
right: -5px;
|
||||
width: 5px;
|
||||
top: 7px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -3px;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -43px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/audio/thumb-y.png */
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail {
|
||||
width: 35px;
|
||||
background-position: 7px 0;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 35px;
|
||||
height: 19px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 13px;
|
||||
top: -5px;
|
||||
height: 5px;
|
||||
left: 7px;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 13px;
|
||||
bottom: -5px;
|
||||
height: 5px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -3px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -43px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/audio/thumb-x.png */
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail {
|
||||
height: 35px;
|
||||
background-position: 0 7px;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 35px;
|
||||
width: 19px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 13px;
|
||||
left: -5px;
|
||||
width: 5px;
|
||||
top: 7px;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 13px;
|
||||
right: -5px;
|
||||
width: 5px;
|
||||
top: 7px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -3px;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -43px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/audio/thumb-y.png */
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail {
|
||||
width: 35px;
|
||||
background-position: 7px 0;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 35px;
|
||||
height: 19px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 13px;
|
||||
top: -5px;
|
||||
height: 5px;
|
||||
left: 7px;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 13px;
|
||||
bottom: -5px;
|
||||
height: 5px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -3px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-audio-light .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -43px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/audio/thumb-x.png */
|
||||
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail {
|
||||
height: 35px;
|
||||
background-position: 0 7px;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 35px;
|
||||
width: 19px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 13px;
|
||||
left: -5px;
|
||||
width: 5px;
|
||||
top: 7px;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 13px;
|
||||
right: -5px;
|
||||
width: 5px;
|
||||
top: 7px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -3px;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -43px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/audio/thumb-y.png */
|
||||
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail {
|
||||
width: 35px;
|
||||
background-position: 7px 0;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 35px;
|
||||
height: 19px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 13px;
|
||||
top: -5px;
|
||||
height: 5px;
|
||||
left: 7px;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 13px;
|
||||
bottom: -5px;
|
||||
height: 5px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -3px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -43px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/audio/thumb-x.png */
|
||||
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail {
|
||||
height: 35px;
|
||||
background-position: 0 7px;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 35px;
|
||||
width: 19px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 13px;
|
||||
left: -5px;
|
||||
width: 5px;
|
||||
top: 7px;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 13px;
|
||||
right: -5px;
|
||||
width: 5px;
|
||||
top: 7px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -3px;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -43px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/audio/thumb-y.png */
|
||||
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail {
|
||||
width: 35px;
|
||||
background-position: 7px 0;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 35px;
|
||||
height: 19px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 13px;
|
||||
top: -5px;
|
||||
height: 5px;
|
||||
left: 7px;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 13px;
|
||||
bottom: -5px;
|
||||
height: 5px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -3px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-audio .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -43px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/capsule-dark/thumb-x.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/capsule-dark/thumb-x-line.png */
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
/* alternate: rail-x-dots.png */
|
||||
/* alternate: rail-x-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail {
|
||||
height: 25px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 30px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -10px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -50px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/capsule-dark/thumb-y.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/capsule-dark/thumb-y-line.png */
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
/* alternate: rail-y-dots.png */
|
||||
/* alternate: rail-y-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail {
|
||||
width: 25px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 30px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -10px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -50px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/capsule-dark/thumb-x.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/capsule-dark/thumb-x-line.png */
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
/* alternate: rail-x-dots.png */
|
||||
/* alternate: rail-x-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail {
|
||||
height: 25px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 30px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -10px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -50px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/capsule-dark/thumb-y.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/capsule-dark/thumb-y-line.png */
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
/* alternate: rail-y-dots.png */
|
||||
/* alternate: rail-y-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail {
|
||||
width: 25px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 30px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -10px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -50px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
@@ -0,0 +1,201 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/capsule/thumb-x.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/capsule/thumb-x-line.png */
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
background-repeat: repeat-x;
|
||||
/* alternate: rail-x-dots.png */
|
||||
/* alternate: rail-x-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail {
|
||||
height: 25px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 30px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -10px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -50px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/capsule/thumb-y.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/capsule/thumb-y-line.png */
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
background-repeat: repeat-y;
|
||||
/* alternate: rail-y-dots.png */
|
||||
/* alternate: rail-y-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail {
|
||||
width: 25px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 30px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -10px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -50px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/capsule/thumb-x.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/capsule/thumb-x-line.png */
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
background-repeat: repeat-x;
|
||||
/* alternate: rail-x-dots.png */
|
||||
/* alternate: rail-x-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail {
|
||||
height: 25px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 30px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -10px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -50px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/capsule/thumb-y.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/capsule/thumb-y-line.png */
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
background-repeat: repeat-y;
|
||||
/* alternate: rail-y-dots.png */
|
||||
/* alternate: rail-y-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail {
|
||||
width: 25px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 30px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -10px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-capsule .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -50px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/round-dark/thumb-x.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/round-dark/thumb-x-grip.png */
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail {
|
||||
height: 25px;
|
||||
background-position: 0 3px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 26px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -17px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -37px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -7px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -47px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/round-dark/thumb-y.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/round-dark/thumb-y-grip.png */
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail {
|
||||
width: 25px;
|
||||
background-position: 3px 0;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 26px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -17px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -37px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-thumb-image {
|
||||
top: 0;
|
||||
left: -7px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
top: 0;
|
||||
left: -47px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
}
|
||||
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/round-dark/thumb-x.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/round-dark/thumb-x-grip.png */
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail {
|
||||
height: 25px;
|
||||
background-position: 0 3px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 26px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -17px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -37px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -7px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -47px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/round-dark/thumb-y.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/round-dark/thumb-y-grip.png */
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail {
|
||||
width: 25px;
|
||||
background-position: 3px 0;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 26px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -17px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -37px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-thumb-image {
|
||||
top: 0;
|
||||
left: -7px;
|
||||
}
|
||||
.yui3-skin-round-dark .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
top: 0;
|
||||
left: -47px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/round/thumb-x.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/round/thumb-x-grip.png */
|
||||
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail {
|
||||
height: 25px;
|
||||
background-position: 0 3px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 26px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -17px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -37px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -7px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -47px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/round/thumb-y.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/round/thumb-y-grip.png */
|
||||
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail {
|
||||
width: 25px;
|
||||
background-position: 3px 0;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 26px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -17px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -37px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-thumb-image {
|
||||
top: 0;
|
||||
left: -8px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
top: 0;
|
||||
left: -48px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
}
|
||||
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/round/thumb-x.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/round/thumb-x-grip.png */
|
||||
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail {
|
||||
height: 25px;
|
||||
background-position: 0 3px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 26px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -17px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -37px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -7px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -47px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/round/thumb-y.png */
|
||||
/* Alternate thumbUrl /build/slider-base/assets/skins/round/thumb-y-grip.png */
|
||||
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail {
|
||||
width: 25px;
|
||||
background-position: 3px 0;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 26px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -17px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -37px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-thumb-image {
|
||||
top: 0;
|
||||
left: -8px;
|
||||
}
|
||||
.yui3-skin-round .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
top: 0;
|
||||
left: -48px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/sam-dark/thumb-x.png */
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
/* alternate: rail-x-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail {
|
||||
height: 26px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 26px;
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -10px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -50px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/sam-dark/thumb-y.png */
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
/* alternate: rail-y-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail {
|
||||
width: 26px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 26px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -10px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -50px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
/* Horizontal Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/sam-dark/thumb-x.png */
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail,
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail-cap-left,
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-image: url(rail-x.png);
|
||||
background-repeat: repeat-x;
|
||||
/* alternate: rail-x-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail {
|
||||
height: 26px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-thumb {
|
||||
height: 26px;
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail-cap-left {
|
||||
background-position: 0 -20px;
|
||||
height: 20px;
|
||||
left: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-rail-cap-right {
|
||||
background-position: 0 -40px;
|
||||
height: 20px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-thumb-image {
|
||||
left: 0;
|
||||
top: -10px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-x .yui3-slider-thumb-shadow {
|
||||
left: 0;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: -50px;
|
||||
}
|
||||
|
||||
/* Vertical Slider */
|
||||
|
||||
/* Use thumbUrl /build/slider-base/assets/skins/sam-dark/thumb-y.png */
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail,
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail-cap-top,
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-image: url(rail-y.png);
|
||||
background-repeat: repeat-y;
|
||||
/* alternate: rail-y-lines.png */
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail {
|
||||
width: 26px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-thumb {
|
||||
width: 26px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail-cap-top {
|
||||
background-position: -20px 0;
|
||||
width: 20px;
|
||||
top: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-rail-cap-bottom {
|
||||
background-position: -40px 0;
|
||||
width: 20px;
|
||||
bottom: -2px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-thumb-image {
|
||||
left: -10px;
|
||||
top: 0;
|
||||
}
|
||||
.yui3-skin-sam-dark .yui3-slider-y .yui3-slider-thumb-shadow {
|
||||
left: -50px;
|
||||
opacity: 0.15;
|
||||
filter: alpha(opacity=15);
|
||||
top: 0;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
.yui3-slider,.yui3-slider-rail{display:-moz-inline-stack;display:inline-block;*display:inline;zoom:1;vertical-align:middle}.yui3-slider-content{position:relative;display:block}.yui3-slider-rail{position:relative}.yui3-slider-rail-cap-top,.yui3-slider-rail-cap-left,.yui3-slider-rail-cap-bottom,.yui3-slider-rail-cap-right,.yui3-slider-thumb,.yui3-slider-thumb-image,.yui3-slider-thumb-shadow{position:absolute}.yui3-slider-thumb{overflow:hidden}.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail,.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-left,.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-right{background-image:url(rail-x.png);background-repeat:repeat-x}.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail{height:35px;background-position:0 7px}.yui3-skin-audio-light .yui3-slider-x .yui3-slider-thumb{height:35px;width:19px}.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-left{background-position:0 -20px;height:13px;left:-5px;width:5px;top:7px}.yui3-skin-audio-light .yui3-slider-x .yui3-slider-rail-cap-right{background-position:0 -40px;height:13px;right:-5px;width:5px;top:7px}.yui3-skin-audio-light .yui3-slider-x .yui3-slider-thumb-image{left:0;top:-3px}.yui3-skin-audio-light .yui3-slider-x .yui3-slider-thumb-shadow{left:0;opacity:.15;filter:alpha(opacity=15);top:-43px}.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail,.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-top,.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-bottom{background-image:url(rail-y.png);background-repeat:repeat-y}.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail{width:35px;background-position:7px 0}.yui3-skin-audio-light .yui3-slider-y .yui3-slider-thumb{width:35px;height:19px}.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-top{background-position:-20px 0;width:13px;top:-5px;height:5px;left:7px}.yui3-skin-audio-light .yui3-slider-y .yui3-slider-rail-cap-bottom{background-position:-40px 0;width:13px;bottom:-5px;height:5px;left:7px}.yui3-skin-audio-light .yui3-slider-y .yui3-slider-thumb-image{left:-3px;top:0}.yui3-skin-audio-light .yui3-slider-y .yui3-slider-thumb-shadow{left:-43px;opacity:.15;filter:alpha(opacity=15);top:0}#yui3-css-stamp.skin-audio-light-slider-base{display:none}
|
||||
|
Before Width: | Height: | Size: 400 B After Width: | Height: | Size: 400 B |
|
Before Width: | Height: | Size: 503 B After Width: | Height: | Size: 503 B |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
.yui3-slider,.yui3-slider-rail{display:-moz-inline-stack;display:inline-block;*display:inline;zoom:1;vertical-align:middle}.yui3-slider-content{position:relative;display:block}.yui3-slider-rail{position:relative}.yui3-slider-rail-cap-top,.yui3-slider-rail-cap-left,.yui3-slider-rail-cap-bottom,.yui3-slider-rail-cap-right,.yui3-slider-thumb,.yui3-slider-thumb-image,.yui3-slider-thumb-shadow{position:absolute}.yui3-slider-thumb{overflow:hidden}.yui3-skin-audio .yui3-slider-x .yui3-slider-rail,.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-left,.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-right{background-image:url(rail-x.png);background-repeat:repeat-x}.yui3-skin-audio .yui3-slider-x .yui3-slider-rail{height:35px;background-position:0 7px}.yui3-skin-audio .yui3-slider-x .yui3-slider-thumb{height:35px;width:19px}.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-left{background-position:0 -20px;height:13px;left:-5px;width:5px;top:7px}.yui3-skin-audio .yui3-slider-x .yui3-slider-rail-cap-right{background-position:0 -40px;height:13px;right:-5px;width:5px;top:7px}.yui3-skin-audio .yui3-slider-x .yui3-slider-thumb-image{left:0;top:-3px}.yui3-skin-audio .yui3-slider-x .yui3-slider-thumb-shadow{left:0;opacity:.15;filter:alpha(opacity=15);top:-43px}.yui3-skin-audio .yui3-slider-y .yui3-slider-rail,.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-top,.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-bottom{background-image:url(rail-y.png);background-repeat:repeat-y}.yui3-skin-audio .yui3-slider-y .yui3-slider-rail{width:35px;background-position:7px 0}.yui3-skin-audio .yui3-slider-y .yui3-slider-thumb{width:35px;height:19px}.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-top{background-position:-20px 0;width:13px;top:-5px;height:5px;left:7px}.yui3-skin-audio .yui3-slider-y .yui3-slider-rail-cap-bottom{background-position:-40px 0;width:13px;bottom:-5px;height:5px;left:7px}.yui3-skin-audio .yui3-slider-y .yui3-slider-thumb-image{left:-3px;top:0}.yui3-skin-audio .yui3-slider-y .yui3-slider-thumb-shadow{left:-43px;opacity:.15;filter:alpha(opacity=15);top:0}#yui3-css-stamp.skin-audio-slider-base{display:none}
|
||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
.yui3-slider,.yui3-slider-rail{display:-moz-inline-stack;display:inline-block;*display:inline;zoom:1;vertical-align:middle}.yui3-slider-content{position:relative;display:block}.yui3-slider-rail{position:relative}.yui3-slider-rail-cap-top,.yui3-slider-rail-cap-left,.yui3-slider-rail-cap-bottom,.yui3-slider-rail-cap-right,.yui3-slider-thumb,.yui3-slider-thumb-image,.yui3-slider-thumb-shadow{position:absolute}.yui3-slider-thumb{overflow:hidden}.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail,.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-left,.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-right{background-image:url(rail-x.png);background-repeat:repeat-x}.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail{height:25px}.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-thumb{height:30px;width:14px}.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-left{background-position:0 -20px;height:20px;left:-2px;width:5px}.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-rail-cap-right{background-position:0 -40px;height:20px;right:-2px;width:5px}.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-thumb-image{left:0;top:-10px}.yui3-skin-capsule-dark .yui3-slider-x .yui3-slider-thumb-shadow{left:0;opacity:.15;filter:alpha(opacity=15);top:-50px}.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail,.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-top,.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-bottom{background-image:url(rail-y.png);background-repeat:repeat-y}.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail{width:25px}.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-thumb{width:30px;height:14px}.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-top{background-position:-20px 0;width:20px;top:-2px;height:5px}.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-rail-cap-bottom{background-position:-40px 0;width:20px;bottom:-2px;height:5px}.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-thumb-image{left:-10px;top:0}.yui3-skin-capsule-dark .yui3-slider-y .yui3-slider-thumb-shadow{left:-50px;opacity:.15;filter:alpha(opacity=15);top:0}#yui3-css-stamp.skin-capsule-dark-slider-base{display:none}
|
||||
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 518 B After Width: | Height: | Size: 518 B |
|
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 685 B |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -1,2 +1,8 @@
|
||||
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
|
||||
/*
|
||||
YUI 3.12.0 (build 8655935)
|
||||
Copyright 2013 Yahoo! Inc. All rights reserved.
|
||||
Licensed under the BSD License.
|
||||
http://yuilibrary.com/license/
|
||||
*/
|
||||
|
||||
.yui3-slider,.yui3-slider-rail{display:-moz-inline-stack;display:inline-block;*display:inline;zoom:1;vertical-align:middle}.yui3-slider-content{position:relative;display:block}.yui3-slider-rail{position:relative}.yui3-slider-rail-cap-top,.yui3-slider-rail-cap-left,.yui3-slider-rail-cap-bottom,.yui3-slider-rail-cap-right,.yui3-slider-thumb,.yui3-slider-thumb-image,.yui3-slider-thumb-shadow{position:absolute}.yui3-slider-thumb{overflow:hidden}.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail,.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-left,.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-right{background-image:url(rail-x.png);background-repeat:repeat-x;background-repeat:repeat-x}.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail{height:25px}.yui3-skin-capsule .yui3-slider-x .yui3-slider-thumb{height:30px;width:14px}.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-left{background-position:0 -20px;height:20px;left:-2px;width:5px}.yui3-skin-capsule .yui3-slider-x .yui3-slider-rail-cap-right{background-position:0 -40px;height:20px;right:-2px;width:5px}.yui3-skin-capsule .yui3-slider-x .yui3-slider-thumb-image{left:0;top:-10px}.yui3-skin-capsule .yui3-slider-x .yui3-slider-thumb-shadow{left:0;opacity:.15;filter:alpha(opacity=15);top:-50px}.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail,.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-top,.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-bottom{background-image:url(rail-y.png);background-repeat:repeat-y;background-repeat:repeat-y}.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail{width:25px}.yui3-skin-capsule .yui3-slider-y .yui3-slider-thumb{width:30px;height:14px}.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-top{background-position:-20px 0;width:20px;top:-2px;height:5px}.yui3-skin-capsule .yui3-slider-y .yui3-slider-rail-cap-bottom{background-position:-40px 0;width:20px;bottom:-2px;height:5px}.yui3-skin-capsule .yui3-slider-y .yui3-slider-thumb-image{left:-10px;top:0}.yui3-skin-capsule .yui3-slider-y .yui3-slider-thumb-shadow{left:-50px;opacity:.15;filter:alpha(opacity=15);top:0}#yui3-css-stamp.skin-capsule-slider-base{display:none}
|
||||
|
Before Width: | Height: | Size: 828 B After Width: | Height: | Size: 828 B |