summaryrefslogtreecommitdiffstats
path: root/js/yui3/resize-plugin
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2014-09-03 05:46:38 +0200
committerDylan William Hardison <dylan@hardison.net>2014-09-03 05:48:52 +0200
commitbd23fbfeccd49a406f6a8d99a21371ad7ade07ba (patch)
tree4f7fe26cad167380d7d17ce4616173a90e684acf /js/yui3/resize-plugin
parent14be79f77292305fbd5a9508ca6142e97498abb5 (diff)
downloadbugzilla-bd23fbfeccd49a406f6a8d99a21371ad7ade07ba.tar.gz
bugzilla-bd23fbfeccd49a406f6a8d99a21371ad7ade07ba.tar.xz
Bug 913647: Deploy YUI 3.17.2 for BMO
r=glob
Diffstat (limited to 'js/yui3/resize-plugin')
-rw-r--r--js/yui3/resize-plugin/assets/resize-base-core.css247
-rw-r--r--js/yui3/resize-plugin/assets/skins/night/resize-base-skin.css52
-rw-r--r--js/yui3/resize-plugin/assets/skins/sam/resize-base-skin.css52
-rw-r--r--js/yui3/resize-plugin/resize-plugin-min.js7
4 files changed, 4 insertions, 354 deletions
diff --git a/js/yui3/resize-plugin/assets/resize-base-core.css b/js/yui3/resize-plugin/assets/resize-base-core.css
deleted file mode 100644
index 5b4676972..000000000
--- a/js/yui3/resize-plugin/assets/resize-base-core.css
+++ /dev/null
@@ -1,247 +0,0 @@
-/*
-YUI 3.7.3 (build 5687)
-Copyright 2012 Yahoo! Inc. All rights reserved.
-Licensed under the BSD License.
-http://yuilibrary.com/license/
-*/
-.yui3-resize,.yui3-resize-wrapper {
- z-index: 0;
- zoom: 1;
-}
-
-.yui3-resize-handle {
- position: absolute;
- display: block;
- z-index: 100;
- zoom: 1;
-}
-
-.yui3-resize-proxy {
- position: absolute;
- border: 1px dashed #000;
- position: absolute;
- z-index: 10000;
-}
-
-.yui3-resize-hidden-handles .yui3-resize-handle {
- opacity: 0;
- filter: alpha(opacity=0);
-}
-
-.yui3-resize-handle-t,
-.yui3-resize-handle-b {
- width: 100%;
- left: 0;
- height: 6px;
-}
-
-.yui3-resize-handle-l,
-.yui3-resize-handle-r {
- height: 100%;
- top: 0;
- width: 6px;
-}
-
-.yui3-resize-handle-t {
- cursor: n-resize;
- top: 0;
-}
-
-.yui3-resize-handle-b {
- cursor: s-resize;
- bottom: 0;
-}
-
-.yui3-resize-handle-l {
- cursor: w-resize;
- left: 0;
-}
-
-.yui3-resize-handle-r {
- cursor: e-resize;
- right: 0;
-}
-
-.yui3-resize-handle-inner {
- position: absolute;
- zoom: 1;
-}
-
-/* Smartphones (portrait and landscape) -----------
-Adding larger hit-area ':after' objects to handles
-*/
-@media only screen
-and (min-device-width : 320px)
-and (max-device-width : 480px) {
-/* Styles */
- .yui3-resize-handle-inner:after {
- content: "";
- width: 40px;
- height: 40px;
- position: absolute;
- }
-
- .yui3-resize-handle-inner-r,
- .yui3-resize-handle-inner-l,
- .yui3-resize-handle-inner-t,
- .yui3-resize-handle-inner-b,
- .yui3-resize-handle-inner-tr,
- .yui3-resize-handle-inner-br,
- .yui3-resize-handle-inner-tl,
- .yui3-resize-handle-inner-bl {
- overflow: visible !important;
- }
-
- .yui3-resize-handle-inner-r:after {
- top: -12px;
- right: 0;
- }
- .yui3-resize-handle-inner-l:after {
- top: -12px;
- left: 0;
- }
- .yui3-resize-handle-inner-t:after {
- top: 0;
- left: -12px;
- }
- .yui3-resize-handle-inner-b:after {
- bottom: 0;
- left: -12px;
- }
- .yui3-resize-handle-inner-tr:after {
- top: 0;
- right: 0;
- }
- .yui3-resize-handle-inner-br:after {
- bottom: 0;
- right: 0;
- }
- .yui3-resize-handle-inner-tl:after {
- top: 0;
- left: 0;
- }
- .yui3-resize-handle-inner-bl:after {
- bottom: 0;
- left: 0;
- }
-}
-
-/* iPads (portrait and landscape) -----------
-Adding larger hit-area ':after' objects to handles
-*/
-@media only screen
-and (min-device-width : 768px)
-and (max-device-width : 1024px) {
-/* Styles */
- .yui3-resize-handle-inner:after {
- content: "";
- width: 30px;
- height: 30px;
- position: absolute;
- }
-
- .yui3-resize-handle-inner-r,
- .yui3-resize-handle-inner-l,
- .yui3-resize-handle-inner-t,
- .yui3-resize-handle-inner-b,
- .yui3-resize-handle-inner-tr,
- .yui3-resize-handle-inner-br,
- .yui3-resize-handle-inner-tl,
- .yui3-resize-handle-inner-bl {
- overflow: visible !important;
- }
-
- .yui3-resize-handle-inner-r:after {
- top: -6px;
- right: 0;
- }
- .yui3-resize-handle-inner-l:after {
- top: -6px;
- left: 0;
- }
- .yui3-resize-handle-inner-t:after {
- top: 0;
- left: -6px;
- }
- .yui3-resize-handle-inner-b:after {
- bottom: 0;
- left: -6px;
- }
- .yui3-resize-handle-inner-tr:after {
- top: 0;
- right: 0;
- }
- .yui3-resize-handle-inner-br:after {
- bottom: 0;
- right: 0;
- }
- .yui3-resize-handle-inner-tl:after {
- top: 0;
- left: 0;
- }
- .yui3-resize-handle-inner-bl:after {
- bottom: 0;
- left: 0;
- }
-}
-
-.yui3-resize-handle-inner-t,
-.yui3-resize-handle-inner-b {
- margin-left: -8px;
- left: 50%;
-}
-
-.yui3-resize-handle-inner-l,
-.yui3-resize-handle-inner-r {
- margin-top: -8px;
- top: 50%;
-}
-
-.yui3-resize-handle-inner-t {
- top: -4px;
-}
-
-.yui3-resize-handle-inner-b {
- bottom: -4px;
-}
-
-.yui3-resize-handle-inner-l {
- left: -4px;
-}
-
-.yui3-resize-handle-inner-r {
- right: -4px;
-}
-
-.yui3-resize-handle-tr,
-.yui3-resize-handle-br,
-.yui3-resize-handle-tl,
-.yui3-resize-handle-bl {
- height: 15px;
- width: 15px;
- z-index: 200;
-}
-
-.yui3-resize-handle-tr {
- cursor: ne-resize;
- top: 0;
- right: 0;
-}
-
-.yui3-resize-handle-tl {
- cursor: nw-resize;
- top: 0;
- left: 0;
-}
-
-.yui3-resize-handle-br {
- cursor: se-resize;
- bottom: 0;
- right: 0;
-}
-
-.yui3-resize-handle-bl {
- cursor: sw-resize;
- bottom: 0;
- left: 0;
-} \ No newline at end of file
diff --git a/js/yui3/resize-plugin/assets/skins/night/resize-base-skin.css b/js/yui3/resize-plugin/assets/skins/night/resize-base-skin.css
deleted file mode 100644
index e0af10d6b..000000000
--- a/js/yui3/resize-plugin/assets/skins/night/resize-base-skin.css
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-YUI 3.7.3 (build 5687)
-Copyright 2012 Yahoo! Inc. All rights reserved.
-Licensed under the BSD License.
-http://yuilibrary.com/license/
-*/
-.yui3-resize-handle-inner-r,
-.yui3-resize-handle-inner-l,
-.yui3-resize-handle-inner-t,
-.yui3-resize-handle-inner-b,
-.yui3-resize-handle-inner-tr,
-.yui3-resize-handle-inner-br,
-.yui3-resize-handle-inner-tl,
-.yui3-resize-handle-inner-bl {
- background-repeat: no-repeat;
- background: url(arrows.png) no-repeat 0 0;
- display: block;
- height: 15px;
- overflow: hidden;
- text-indent: -99999em;
- width: 15px;
-}
-
-.yui3-resize-handle-inner-br {
- background-position: -30px 0;
- bottom: -2px;
- right: -2px;
-}
-
-.yui3-resize-handle-inner-tr {
- background-position: -58px 0;
- bottom: 0;
- right: -2px;
-
-}
-
-.yui3-resize-handle-inner-bl {
- background-position: -75px 0;
- bottom: -2px;
- right: -2px;
-}
-
-.yui3-resize-handle-inner-tl {
- background-position: -47px 0;
- bottom: 0;
- right: -2px;
-
-}
-
-.yui3-resize-handle-inner-b,.yui3-resize-handle-inner-t {
- background-position: -15px 0;
-}
diff --git a/js/yui3/resize-plugin/assets/skins/sam/resize-base-skin.css b/js/yui3/resize-plugin/assets/skins/sam/resize-base-skin.css
deleted file mode 100644
index e0af10d6b..000000000
--- a/js/yui3/resize-plugin/assets/skins/sam/resize-base-skin.css
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-YUI 3.7.3 (build 5687)
-Copyright 2012 Yahoo! Inc. All rights reserved.
-Licensed under the BSD License.
-http://yuilibrary.com/license/
-*/
-.yui3-resize-handle-inner-r,
-.yui3-resize-handle-inner-l,
-.yui3-resize-handle-inner-t,
-.yui3-resize-handle-inner-b,
-.yui3-resize-handle-inner-tr,
-.yui3-resize-handle-inner-br,
-.yui3-resize-handle-inner-tl,
-.yui3-resize-handle-inner-bl {
- background-repeat: no-repeat;
- background: url(arrows.png) no-repeat 0 0;
- display: block;
- height: 15px;
- overflow: hidden;
- text-indent: -99999em;
- width: 15px;
-}
-
-.yui3-resize-handle-inner-br {
- background-position: -30px 0;
- bottom: -2px;
- right: -2px;
-}
-
-.yui3-resize-handle-inner-tr {
- background-position: -58px 0;
- bottom: 0;
- right: -2px;
-
-}
-
-.yui3-resize-handle-inner-bl {
- background-position: -75px 0;
- bottom: -2px;
- right: -2px;
-}
-
-.yui3-resize-handle-inner-tl {
- background-position: -47px 0;
- bottom: 0;
- right: -2px;
-
-}
-
-.yui3-resize-handle-inner-b,.yui3-resize-handle-inner-t {
- background-position: -15px 0;
-}
diff --git a/js/yui3/resize-plugin/resize-plugin-min.js b/js/yui3/resize-plugin/resize-plugin-min.js
index f8cd8b076..03a7904da 100644
--- a/js/yui3/resize-plugin/resize-plugin-min.js
+++ b/js/yui3/resize-plugin/resize-plugin-min.js
@@ -1,7 +1,8 @@
/*
-YUI 3.7.3 (build 5687)
-Copyright 2012 Yahoo! Inc. All rights reserved.
+YUI 3.17.2 (build 9c3c78e)
+Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
-YUI.add("resize-plugin",function(e,t){var n=function(t){t.node=e.Widget&&t.host instanceof e.Widget?t.host.get("boundingBox"):t.host,t.host instanceof e.Widget?t.widget=t.host:t.widget=!1,n.superclass.constructor.call(this,t)};n.NAME="resize-plugin",n.NS="resize",n.ATTRS={node:{value:undefined},widget:{value:undefined}},e.extend(n,e.Resize,{initializer:function(e){this.set("node",e.node),this.set("widget",e.widget),this.on("resize:resize",function(e){this._correctDimensions(e)})},_correctDimensions:function(e){var t=this.get("node"),n={old:t.getX(),cur:e.currentTarget.info.left},r={old:t.getY(),cur:e.currentTarget.info.top};this.get("widget")&&this._setWidgetProperties(e,n,r),this._isDifferent(n.old,n.cur)&&t.set("x",n.cur),this._isDifferent(r.old,r.cur)&&t.set("y",r.cur)},_setWidgetProperties:function(t,n,r){var i=this.get("widget"),s=i.get("height"),o=i.get("width"),u=t.currentTarget.info.offsetWidth-t.currentTarget.totalHSurrounding,a=t.currentTarget.info.offsetHeight-t.currentTarget.totalVSurrounding;this._isDifferent(s,a)&&i.set("height",a),this._isDifferent(o,u)&&i.set("width",u),i.hasImpl&&i.hasImpl(e.WidgetPosition)&&(this._isDifferent(i.get("x"),n.cur)&&i.set("x",n.cur),this._isDifferent(i.get("y"),r.cur)&&i.set("y",r.cur))},_isDifferent:function(e,t){var n=!1;return e!==t&&(n=t),n}}),e.namespace("Plugin"),e.Plugin.Resize=n},"3.7.3",{requires:["resize-base","plugin"],optional:["resize-constrain"]});
+
+YUI.add("resize-plugin",function(e,t){var n=function(t){t.node=e.Widget&&t.host instanceof e.Widget?t.host.get("boundingBox"):t.host,t.host instanceof e.Widget?t.widget=t.host:t.widget=!1,n.superclass.constructor.call(this,t)};n.NAME="resize-plugin",n.NS="resize",n.ATTRS={node:{value:undefined},widget:{value:undefined}},e.extend(n,e.Resize,{initializer:function(e){this.set("node",e.node),this.set("widget",e.widget),this.on("resize:resize",function(e){this._correctDimensions(e)})},_correctDimensions:function(e){var t=this.get("node"),n={old:t.getX(),cur:e.currentTarget.info.left},r={old:t.getY(),cur:e.currentTarget.info.top};this.get("widget")&&this._setWidgetProperties(e,n,r),this._isDifferent(n.old,n.cur)&&t.set("x",n.cur),this._isDifferent(r.old,r.cur)&&t.set("y",r.cur)},_setWidgetProperties:function(t,n,r){var i=this.get("widget"),s=i.get("height"),o=i.get("width"),u=t.currentTarget.info.offsetWidth-t.currentTarget.totalHSurrounding,a=t.currentTarget.info.offsetHeight-t.currentTarget.totalVSurrounding;this._isDifferent(s,a)&&i.set("height",a),this._isDifferent(o,u)&&i.set("width",u),i.hasImpl&&i.hasImpl(e.WidgetPosition)&&(this._isDifferent(i.get("x"),n.cur)&&i.set("x",n.cur),this._isDifferent(i.get("y"),r.cur)&&i.set("y",r.cur))},_isDifferent:function(e,t){var n=!1;return e!==t&&(n=t),n}}),e.namespace("Plugin"),e.Plugin.Resize=n},"3.17.2",{requires:["resize-base","plugin"],optional:["resize-constrain"]});