From d1b18370cdad3027ba26fd75c239f42bd87ca902 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 30 Nov 2008 20:35:04 -0800 Subject: [PATCH] Move the #ft and #bd declarations to the the yui-grids-init mixin and allow those styles to be turned off. --- frameworks/yui/stylesheets/yui/modules/_grids.sass | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/frameworks/yui/stylesheets/yui/modules/_grids.sass b/frameworks/yui/stylesheets/yui/modules/_grids.sass index 14dc62b4..d1bcfa10 100644 --- a/frameworks/yui/stylesheets/yui/modules/_grids.sass +++ b/frameworks/yui/stylesheets/yui/modules/_grids.sass @@ -31,9 +31,21 @@ .yui-t6 +yui-two-column-right-template(300px) -=yui-grids-init(!footer_id = "ft", !content_id = "bd") +=yui-grids-footer + clear: both + +=yui-grids-body + +clearfix + +=yui-grids-init(!footer = "#ft", !body = "#bd") body :text-align center + @if !footer + #{!footer} + +yui-grids-footer + @if !body + #{!body} + +yui-grids-body =em-size(!style, !px_size, !base_font_size = !yui_default_base_font_size) :#{!style}= 1em * !px_size / !base_font_size