From 4cc36ebe76aa8d9ecdb367493be5038f1b438ec6 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Mon, 19 Sep 2011 01:27:07 -0400 Subject: [PATCH] metaform: avoid css name conflicts --- metaform/style.less | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/metaform/style.less b/metaform/style.less index 93eef12..27a827e 100644 --- a/metaform/style.less +++ b/metaform/style.less @@ -1,23 +1,23 @@ // dimensions @site-width: 940px; @nav-width: 200px; -@gutter-width: 18px; -@main-body-width: @site-width - 2*@gutter-width - @nav-width; +@site-gutter-width: 18px; +@site-main-body-width: @site-width - 2*@site-gutter-width - @nav-width; // colors -@header-color: #ddf; +@site-header-color: #ddf; @nav-color: #dff; -@body-color: #fff; -@window-color: #eee; -@footer-color: #ddf; -@gutter-color: #fff; +@site-body-color: #fff; +@site-window-color: #eee; +@site-footer-color: #ddf; +@site-gutter-color: #fff; body { margin: 0; padding: 0; color: #000; - background: @window-color; + background: @site-window-color; font: 14px "Verdana", sans-serif; } @@ -34,7 +34,7 @@ body { header { width: @site-width; height: 100px; - background: @header-color; + background: @site-header-color; } @nav-padding: 10px; @@ -50,16 +50,16 @@ nav { #main-body { float: left; - width: @main-body-width; - padding: @gutter-width @gutter-width @gutter-width @gutter-width; - background: @body-color; + width: @site-main-body-width; + padding: @site-gutter-width @site-gutter-width @site-gutter-width @site-gutter-width; + background: @site-body-color; } footer { clear: both; width: @site-width; height: 50px; - background: @footer-color; + background: @site-footer-color; } #wfpl_messages { -- 1.7.10.4