Skip to content

Commit

Permalink
gallery-2012.03.23-18-00 jafl gallery-layout
Browse files Browse the repository at this point in the history
  • Loading branch information
YUI Builder committed Mar 23, 2012
1 parent 1d9a44e commit 8cfe22f
Show file tree
Hide file tree
Showing 5 changed files with 1,181 additions and 0 deletions.
46 changes: 46 additions & 0 deletions src/gallery-layout/assets/gallery-layout-core.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/* BASIC STRUCTURE */
body {text-align:left;}
.layout-bd {overflow:auto;*position:relative;}
.layout-bd .layout-module-col {float:left;}
.layout-bd .layout-module-col .layout-m-hd,
.layout-bd .layout-module-row .layout-m-hd {*width:100%;}
.layout-bd .layout-module {word-wrap:break-word;position:relative;*position:static;z-index:0;float:left;word-wrap:normal;border:1px solid #666;text-align:left;}
.layout-bd .layout-module .layout-m-bd {overflow:auto;position:relative;*position:static;}
.layout-module-row:after,
.layout-module-col:after,
.layout-m-hd:after,
.layout-m-bd:after,
.layout-m-ft:after {content:".";display:block;height:0;line-height:0;clear:both;visibility:hidden;}
.layout-module-row,
.layout-module-col,
.layout-m-hd,
.layout-m-bd,
.layout-m-ft,
.layout-module {zoom:1;}
.layout-bd .layout-ft {clear:both;}

/* we need the content container to be the offsetParent */
.FIT_TO_CONTENT {position:relative;}

/* MODULE OPEN/CLOSE */
.layout-bd .layout-collapsed-horiz .layout-m-hd,
.layout-bd .layout-collapsed-horiz .layout-m-bd,
.layout-bd .layout-collapsed-horiz .layout-m-ft,
.layout-bd .layout-collapsed-vert .layout-m-bd,
.layout-bd .layout-collapsed-vert .layout-m-ft,
.layout-bd .layout-collapsed-vert .layout-vert-collapse-nub,
.layout-bd .layout-collapsed-horiz .layout-left-collapse-nub,
.layout-bd .layout-collapsed-horiz .layout-right-collapse-nub,
.layout-bd .layout-vert-expand-nub,
.layout-bd .layout-left-expand-nub,
.layout-bd .layout-right-expand-nub {display:none;}
.layout-bd .layout-collapsed-vert .layout-vert-expand-nub,
.layout-bd .layout-collapsed-horiz .layout-left-expand-nub,
.layout-bd .layout-collapsed-horiz .layout-right-expand-nub {display:block;}
.layout-bd .layout-collapsed-horiz .layout-left-expand-nub,
.layout-bd .layout-collapsed-horiz .layout-right-expand-nub {height:100%;}

/* BUG FIX: IE8, FF and Safari put a scrollbar on module bodies that don't need it in FIT_TO_CONTENT.
* There's no need for a vertical scrollbar in FIT_TO_CONTENT for any browser, so we kill it here.
*/
.FIT_TO_CONTENT .layout-module .layout-m-bd {overflow-y:hidden;}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* nothing to see here */
7 changes: 7 additions & 0 deletions src/gallery-layout/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
builddir=../../../builder/componentbuild
component=gallery-layout
component.jsfiles=PageLayout.js
component.requires=base,gallery-funcprog,gallery-node-optimizations,gallery-dimensions,gallery-nodelist-extras2
#component.supersedes=
component.optional=gallery-layout-rows,gallery-layout-cols
component.skinnable=true
6 changes: 6 additions & 0 deletions src/gallery-layout/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="Layout Manager" default="local">
<description>Layout Manager build file</description>
<property file="build.properties" />
<import file="${builddir}/3.x/bootstrap.xml" />
</project>
Loading

0 comments on commit 8cfe22f

Please sign in to comment.