Extract the yui-grid-templates mixin for clarity.

This commit is contained in:
Chris Eppstein 2008-11-30 20:33:49 -08:00
parent 5b2c2129f1
commit 70b06a705f

View File

@ -1,14 +1,15 @@
// This is a port of YUI Grids version 2.6.0
// Note: This is not really tested yet. Use at your own risk.
@import compass/utilities/general/clearfix.sass @import compass/utilities/general/clearfix.sass
@import fonts.sass @import fonts.sass
// Note: This is not really tested yet. Use at your own risk.
=yui-grids =yui-grids
+yui-grids-init +yui-grids-init
#ft +yui-grid-templates
:clear both +yui-grid-divisions
#bd
+clearfix =yui-grid-templates
#doc #doc
+yui-document(750px) +yui-document(750px)
#doc2 #doc2
@ -29,7 +30,6 @@
+yui-two-column-right-template(240px) +yui-two-column-right-template(240px)
.yui-t6 .yui-t6
+yui-two-column-right-template(300px) +yui-two-column-right-template(300px)
+yui-grid-divisions
=yui-grids-init(!footer_id = "ft", !content_id = "bd") =yui-grids-init(!footer_id = "ft", !content_id = "bd")
body body