import v1.0.0-RC4 | 2009-05-20
This commit is contained in:
28
webdir/javascript/yui/layout/README
Normal file
28
webdir/javascript/yui/layout/README
Normal file
@ -0,0 +1,28 @@
|
||||
**** version 2.6.0 ****
|
||||
|
||||
Enhancements:
|
||||
* Added support for the new useShim config on Resize objects
|
||||
* Added support (via Caridy) for ajax content retrieval
|
||||
* Promoted to GA Status - beta flag removed from files.
|
||||
|
||||
Bug Fixes:
|
||||
* 1972411 - [SF 1961290 ] Conflict w/prototype.js 1.6.2.0
|
||||
* 2156112 - [SF 2059693 ] collapse property doesn't work properly without header
|
||||
* 2166981 - [SF 1997164 ] Wrong unit size after expand if animation is false
|
||||
* 1828802 - Remove over use of overflow hidden
|
||||
* 1837810 - [SF 1925551] Blank space after expanding LayoutUnit
|
||||
* 1837812 - [SF 1927265 ] Layout needs destroy clean-up method
|
||||
* 1939616 - [SF 1964055 ] mouseup during resize of layout unit on top of an iframe
|
||||
|
||||
**** version 2.5.1 ***
|
||||
Bug Fixes:
|
||||
* 1756637 - handling of scrollbar on panel resize is inconsistent
|
||||
* 1767234 - [SF 1900012] LayoutUnit loses scrolled state on resize
|
||||
* 1770567 - [SF 1901621] Left Unit Disappears on Expand
|
||||
* 1778721 - [SF 1904062] Layout Manager documentation error
|
||||
* 1781653 - Don't assume element with id "doc" is the body
|
||||
* Removed the requirement for the collapse config option in order to programatically collapse a unit.
|
||||
|
||||
**** version 2.5.0 ***
|
||||
|
||||
Initial Release
|
158
webdir/javascript/yui/layout/assets/layout-core.css
Normal file
158
webdir/javascript/yui/layout/assets/layout-core.css
Normal file
@ -0,0 +1,158 @@
|
||||
/*
|
||||
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-layout-loading {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
body.yui-layout {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.yui-layout-doc {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.yui-layout-unit {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
float: none;
|
||||
z-index: 0;
|
||||
/*overflow: hidden;*/
|
||||
}
|
||||
|
||||
.yui-layout-unit-top {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.yui-layout-unit-left {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.yui-layout-unit-right {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.yui-layout-unit-bottom {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.yui-layout-unit-center {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.yui-layout div.yui-layout-hd {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
zoom: 1;
|
||||
width: 100%;
|
||||
/*overflow: hidden;*/
|
||||
}
|
||||
.yui-layout div.yui-layout-bd {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
zoom: 1;
|
||||
width: 100%;
|
||||
/*overflow: hidden;*/
|
||||
}
|
||||
.yui-layout .yui-layout-noscroll div.yui-layout-bd {
|
||||
overflow: hidden;
|
||||
}
|
||||
.yui-layout .yui-layout-scroll div.yui-layout-bd {
|
||||
overflow: auto;
|
||||
}
|
||||
.yui-layout div.yui-layout-ft {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
zoom: 1;
|
||||
/*overflow: hidden;*/
|
||||
}
|
||||
|
||||
.yui-layout .yui-layout-unit div.yui-layout-hd h2 {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.yui-layout .yui-layout-unit div.yui-layout-hd .collapse {
|
||||
cursor: pointer;
|
||||
height: 13px;
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
top: 2px;
|
||||
width: 17px;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.yui-layout .yui-layout-unit div.yui-layout-hd .close {
|
||||
cursor: pointer;
|
||||
height: 13px;
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
top: 2px;
|
||||
width: 17px;
|
||||
font-size: 0;
|
||||
}
|
||||
.yui-layout .yui-layout-unit div.yui-layout-hd .collapse-close {
|
||||
right: 25px;
|
||||
}
|
||||
|
||||
|
||||
.yui-layout .yui-layout-clip {
|
||||
position: absolute;
|
||||
height: 20px;
|
||||
background-color: #c0c0c0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.yui-layout .yui-layout-clip .collapse {
|
||||
cursor: pointer;
|
||||
height: 13px;
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
top: 2px;
|
||||
width: 17px;
|
||||
font-size: 0px;
|
||||
}
|
||||
|
||||
.yui-layout .yui-layout-wrap {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
.yui-layout .yui-layout-unit .yui-content {
|
||||
overflow: hidden;
|
||||
}
|
||||
.yui-layout .yui-layout-unit .yui-layout-scroll {
|
||||
overflow: auto;
|
||||
}
|
||||
*/
|
198
webdir/javascript/yui/layout/assets/skins/sam/layout-skin.css
Normal file
198
webdir/javascript/yui/layout/assets/skins/sam/layout-skin.css
Normal file
@ -0,0 +1,198 @@
|
||||
/*
|
||||
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
|
||||
*/
|
||||
/* Remove the dotted border on the resize proxy */
|
||||
.yui-skin-sam .yui-layout .yui-resize-proxy {
|
||||
border: none;
|
||||
font-size: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
/* During resize, hide the handles */
|
||||
.yui-skin-sam .yui-layout .yui-resize-resizing .yui-resize-handle {
|
||||
visibility: hidden;
|
||||
}
|
||||
/* Style the div inside the resize proxy */
|
||||
.yui-skin-sam .yui-layout .yui-resize-proxy div {
|
||||
position: absolute;
|
||||
border: 1px solid #808080;
|
||||
background-color: #EDF5FF;
|
||||
}
|
||||
/* Set the color of the Active resize handle */
|
||||
.yui-skin-sam .yui-layout .yui-resize .yui-resize-handle-active {
|
||||
/*background-color: #EDF5FF;*/
|
||||
}
|
||||
/* Styles for the left handle */
|
||||
.yui-skin-sam .yui-layout .yui-resize-proxy .yui-layout-handle-l {
|
||||
width: 5px;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
/* Styles for the right handle */
|
||||
.yui-skin-sam .yui-layout .yui-resize-proxy .yui-layout-handle-r {
|
||||
width: 5px;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
zoom: 1;
|
||||
}
|
||||
/* Styles for the bottom handle */
|
||||
.yui-skin-sam .yui-layout .yui-resize-proxy .yui-layout-handle-b {
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 5px;
|
||||
}
|
||||
/* Styles for the top handle */
|
||||
.yui-skin-sam .yui-layout .yui-resize-proxy .yui-layout-handle-t {
|
||||
width: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
/* Left Collapse button */
|
||||
.yui-skin-sam .yui-layout .yui-layout-unit-left div.yui-layout-hd .collapse {
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px -160px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Left Collapsed Expand Button */
|
||||
.yui-skin-sam .yui-layout .yui-layout-clip-left .collapse {
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px -140px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Right Collapse Button */
|
||||
.yui-skin-sam .yui-layout .yui-layout-unit-right div.yui-layout-hd .collapse {
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px -200px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Right Collapsed Expand Button */
|
||||
.yui-skin-sam .yui-layout .yui-layout-clip-right .collapse {
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px -120px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Top Collapse Button */
|
||||
.yui-skin-sam .yui-layout .yui-layout-unit-top div.yui-layout-hd .collapse {
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px -220px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Top Collapsed Expand Button */
|
||||
.yui-skin-sam .yui-layout .yui-layout-clip-top .collapse {
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px -240px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Bottom Collapse Button */
|
||||
.yui-skin-sam .yui-layout .yui-layout-unit-bottom div.yui-layout-hd .collapse {
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px -260px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Bottom Collapsed Expand Button */
|
||||
.yui-skin-sam .yui-layout .yui-layout-clip-bottom .collapse {
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px -180px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Close Button */
|
||||
.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-hd .close {
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px -100px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
|
||||
/* Give the header a blue backgorund */
|
||||
.yui-skin-sam .yui-layout .yui-layout-hd {
|
||||
background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1400px;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Set the background color */
|
||||
.yui-skin-sam .yui-layout {
|
||||
background-color: #EDF5FF;
|
||||
}
|
||||
/* Style the text in the header */
|
||||
.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-hd h2 {
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
padding: 3px;
|
||||
}
|
||||
/* Style the body */
|
||||
.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {
|
||||
border: 1px solid #808080;
|
||||
border-bottom: none;
|
||||
border-top: none;
|
||||
*border-bottom-width: 0;
|
||||
*border-top-width: 0;
|
||||
background-color: #f2f2f2;
|
||||
text-align: left;
|
||||
}
|
||||
/* Add a border to the bottom of the body because there is no footer */
|
||||
.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd-noft {
|
||||
border-bottom: 1px solid #808080;
|
||||
}
|
||||
/* Add a border to the top of the body because there is no header */
|
||||
.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd-nohd {
|
||||
border-top: 1px solid #808080;
|
||||
}
|
||||
|
||||
/* Style the Clip */
|
||||
.yui-skin-sam .yui-layout .yui-layout-clip {
|
||||
position: absolute;
|
||||
height: 20px;
|
||||
background-color: #EDF5FF;
|
||||
display: none;
|
||||
border: 1px solid #808080;
|
||||
}
|
||||
/* Style the footer */
|
||||
.yui-skin-sam .yui-layout div.yui-layout-ft {
|
||||
border: 1px solid #808080;
|
||||
border-top: none;
|
||||
*border-top-width: 0;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
/* Remove the color from the resize handle */
|
||||
.yui-skin-sam .yui-layout-unit .yui-resize-handle {
|
||||
background-color: transparent;
|
||||
}
|
||||
/* Reposition the handles */
|
||||
.yui-skin-sam .yui-layout-unit .yui-resize-handle-r {
|
||||
right: 0;
|
||||
top: 0;
|
||||
background-image: none;
|
||||
}
|
||||
.yui-skin-sam .yui-layout-unit .yui-resize-handle-l {
|
||||
left: 0;
|
||||
top: 0;
|
||||
background-image: none;
|
||||
}
|
||||
.yui-skin-sam .yui-layout-unit .yui-resize-handle-b {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-image: none;
|
||||
}
|
||||
.yui-skin-sam .yui-layout-unit .yui-resize-handle-t {
|
||||
right: 0;
|
||||
top: 0;
|
||||
background-image: none;
|
||||
}
|
||||
/* Add the gripper */
|
||||
.yui-skin-sam .yui-layout-unit .yui-resize-handle-r .yui-layout-resize-knob,
|
||||
.yui-skin-sam .yui-layout-unit .yui-resize-handle-l .yui-layout-resize-knob {
|
||||
position: absolute;
|
||||
height: 16px;
|
||||
width: 6px;
|
||||
top: 45%;
|
||||
left: 0px;
|
||||
background: transparent url(layout_sprite.png) no-repeat 0 -5px;
|
||||
}
|
||||
/* Add the gripper */
|
||||
.yui-skin-sam .yui-layout-unit .yui-resize-handle-t .yui-layout-resize-knob,
|
||||
.yui-skin-sam .yui-layout-unit .yui-resize-handle-b .yui-layout-resize-knob {
|
||||
position: absolute;
|
||||
height: 6px;
|
||||
width: 16px;
|
||||
left: 45%;
|
||||
background: transparent url(layout_sprite.png) no-repeat -20px 0;
|
||||
}
|
7
webdir/javascript/yui/layout/assets/skins/sam/layout.css
Normal file
7
webdir/javascript/yui/layout/assets/skins/sam/layout.css
Normal file
File diff suppressed because one or more lines are too long
BIN
webdir/javascript/yui/layout/assets/skins/sam/layout_sprite.png
Normal file
BIN
webdir/javascript/yui/layout/assets/skins/sam/layout_sprite.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
2245
webdir/javascript/yui/layout/layout-debug.js
vendored
Normal file
2245
webdir/javascript/yui/layout/layout-debug.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
11
webdir/javascript/yui/layout/layout-min.js
vendored
Normal file
11
webdir/javascript/yui/layout/layout-min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2230
webdir/javascript/yui/layout/layout.js
vendored
Normal file
2230
webdir/javascript/yui/layout/layout.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user