import v1.0.0-RC4 | 2009-05-20

This commit is contained in:
2019-07-17 22:08:50 +02:00
commit b484e522e8
2459 changed files with 1038434 additions and 0 deletions

View File

@ -0,0 +1,24 @@
**** version 2.6.0 ***
* Widget promoted to GA - beta flag removed
* Added support for the new useShim config on Resize objects
Bug Fixes:
* 2000116 - [SF 1993048] YAHOO.util.Easing is undefined (without optional Animation)
* 2086450 - [SF 2020779] [doc] endResize event not documented
* 2119091 - [SF 2034517] Bottom drifts on top drag in IE7/FF3
* 2166985 - [SF 2074283] Splitter fails when dragged over RTE I-frame
**** version 2.5.2 ***
* Added an endResize event
**** version 2.5.1 ***
Bug Fixes
* 1766923 - [SF 1899888] Resize.destroy() not removing status
* 1784371 - Status div tracks on resize cancel
**** version 2.5.0 ***
Initial Release

View File

@ -0,0 +1,173 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
*/
.yui-resize {
position: relative;
zoom: 1;
z-index: 0;
}
.yui-resize-wrap {
zoom: 1;
}
.yui-draggable {
cursor: move;
}
.yui-resize .yui-resize-handle {
position: absolute;
z-index: 1;
font-size: 0;
margin: 0;
padding: 0;
zoom: 1;
height: 1px;
width: 1px;
}
.yui-resize .yui-resize-handle-br {
height: 5px;
width: 5px;
bottom: 0;
right: 0;
cursor: se-resize;
z-index: 2;
zoom: 1;
}
.yui-resize .yui-resize-handle-bl {
height: 5px;
width: 5px;
bottom: 0;
left: 0;
cursor: sw-resize;
z-index: 2;
zoom: 1;
}
.yui-resize .yui-resize-handle-tl {
height: 5px;
width: 5px;
top: 0;
left: 0;
cursor: nw-resize;
z-index: 2;
zoom: 1;
}
.yui-resize .yui-resize-handle-tr {
height: 5px;
width: 5px;
top: 0;
right: 0;
cursor: ne-resize;
z-index: 2;
zoom: 1;
}
.yui-resize .yui-resize-handle-r {
width: 5px;
height: 100%;
top: 0;
right: 0;
cursor: e-resize;
zoom: 1;
}
.yui-resize .yui-resize-handle-l {
height: 100%;
width: 5px;
top: 0;
left: 0;
cursor: w-resize;
zoom: 1;
}
.yui-resize .yui-resize-handle-b {
width: 100%;
height: 5px;
bottom: 0;
right: 0;
cursor: s-resize;
zoom: 1;
}
.yui-resize .yui-resize-handle-t {
width: 100%;
height: 5px;
top: 0;
right: 0;
cursor: n-resize;
zoom: 1;
}
.yui-resize-proxy {
position: absolute;
border: 1px dashed #000;
visibility: hidden;
z-index: 1000;
}
.yui-resize-hover .yui-resize-handle,
.yui-resize-hidden .yui-resize-handle {
opacity: 0;
filter: alpha(opacity=0);
}
.yui-resize-ghost {
opacity: .5;
filter: alpha(opacity=50);
}
.yui-resize-knob .yui-resize-handle {
height: 6px;
width: 6px;
}
.yui-resize-knob .yui-resize-handle-tr {
right: -3px;
top: -3px;
}
.yui-resize-knob .yui-resize-handle-tl {
left: -3px;
top: -3px;
}
.yui-resize-knob .yui-resize-handle-bl {
left: -3px;
bottom: -3px;
}
.yui-resize-knob .yui-resize-handle-br {
right: -3px;
bottom: -3px;
}
.yui-resize-knob .yui-resize-handle-t {
left: 45%;
top: -3px;
}
.yui-resize-knob .yui-resize-handle-r {
right: -3px;
top: 45%;
}
.yui-resize-knob .yui-resize-handle-l {
left: -3px;
top: 45%;
}
.yui-resize-knob .yui-resize-handle-b {
left: 45%;
bottom: -3px;
}
.yui-resize-status {
position: absolute;
top: -999px;
left: -999px;
padding: 2px;
font-size: 80%;
display: none;
zoom: 1; /* IE hasLayout */
z-index: 9999;
}
.yui-resize-status strong, .yui-resize-status em {
font-weight: normal;
font-style: normal;
padding: 1px;
zoom: 1;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,129 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
*/
/* Give the handle a background color */
.yui-skin-sam .yui-resize .yui-resize-handle {
background-color: #F2F2F2;
}
/* Give the active handle a different color */
.yui-skin-sam .yui-resize .yui-resize-handle-active {
background-color: #7D98B8;
zoom: 1;
}
.yui-skin-sam .yui-resize .yui-resize-handle-l,
.yui-skin-sam .yui-resize .yui-resize-handle-r,
.yui-skin-sam .yui-resize .yui-resize-handle-l-active,
.yui-skin-sam .yui-resize .yui-resize-handle-r-active {
height: 100%;
}
/* Give a border to the 8-way knob style handles */
.yui-skin-sam .yui-resize-knob .yui-resize-handle {
border: 1px solid #808080;
}
/* Show the active handle when hovered */
.yui-skin-sam .yui-resize-hover .yui-resize-handle-active {
opacity: 1;
filter: alpha(opacity=100);
}
/* Style the resize proxy */
.yui-skin-sam .yui-resize-proxy {
border: 1px dashed #426FD9;
}
/* Style the status box similar to a tooltip */
.yui-skin-sam .yui-resize-status {
border: 1px solid #A6982B;
border-top: 1px solid #D4C237;
background-color: #FFEE69;
color: #000;
}
/* Style the content of the status box */
.yui-skin-sam .yui-resize-status strong, .yui-skin-sam .yui-resize-status em {
float: left;
display: block;
clear: both;
padding: 1px;
text-align: center;
}
/* Setup the gripper */
.yui-skin-sam .yui-resize .yui-resize-handle-inner-r,
.yui-skin-sam .yui-resize .yui-resize-handle-inner-l {
background: transparent url( layout_sprite.png) no-repeat 0 -5px;
height: 16px;
width: 5px;
position: absolute;
top: 45%;
}
/* Setup the gripper */
.yui-skin-sam .yui-resize .yui-resize-handle-inner-t,
.yui-skin-sam .yui-resize .yui-resize-handle-inner-b {
background: transparent url(layout_sprite.png) no-repeat -20px 0;
height: 5px;
width: 16px;
position: absolute;
left: 50%;
}
/* Bottom Right Gripper */
.yui-skin-sam .yui-resize .yui-resize-handle-br {
background-image: url( layout_sprite.png );
background-repeat: no-repeat;
background-position: -22px -62px;
}
/* Top Right Gripper */
.yui-skin-sam .yui-resize .yui-resize-handle-tr {
background-image: url( layout_sprite.png );
background-repeat: no-repeat;
background-position: -22px -42px;
}
/* Top Left Gripper */
.yui-skin-sam .yui-resize .yui-resize-handle-tl {
background-image: url( layout_sprite.png );
background-repeat: no-repeat;
background-position: -22px -82px;
}
/* Bottom Left Gripper */
.yui-skin-sam .yui-resize .yui-resize-handle-bl {
background-image: url( layout_sprite.png );
background-repeat: no-repeat;
background-position: -22px -23px;
}
/* Remove the background image from the 8-way knobs */
.yui-skin-sam .yui-resize-knob .yui-resize-handle-t,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-r,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-b,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-l,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-tl,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-tr,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-bl,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-br,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-t,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-r,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-b,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-l,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-tl,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-tr,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-bl,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-br {
background-image: none;
}
.yui-skin-sam .yui-resize-knob .yui-resize-handle-l,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-r,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-l-active,
.yui-skin-sam .yui-resize-knob .yui-resize-handle-r-active {
height: 6px;
width: 6px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

1680
webdir/javascript/yui/resize/resize.js vendored Normal file

File diff suppressed because it is too large Load Diff