Commits

Doug Stewart  committed 53dd726

Making a branch to strip out LESS stuff. *sigh*

  • Participants
  • Parent commits ea33bcc
  • Branches 2.0-dev

Comments (0)

Files changed (4)

File layouts/less/1-column-fixed.less

-#container{.setwidth(@containerwidth, 960px);margin:0 auto;}
-#primarysb{.setwidth(@primarysbwidth, 350px);float:left;}
-#secondarysb{.setwidth(@secondarysbwidth, 350px);float:right;}
-#footer{.setwidth(@footerwidth, 100%);clear:both;}
+#container{.setwidth(960px, @containerwidth);margin:0 auto;}
+#primarysb{.setwidth(350px, @primarysbwidth);float:left;}
+#secondarysb{.setwidth(350px, @secondarysbwidth);float:right;}
+#footer{.setwidth(100%, @footerwidth);clear:both;}

File layouts/less/1-column-fluid.less

-#primarysb{float:left;.setwidth(@primarysbwidth, 50%)}
-#secondarysb{float:left;.setwidth((99.9% - @primarysbwidth), 49.9%)}
-#footer{clear:left;.setwidth(@footerwidth, 100%)}
+#primarysb{float:left;.setwidth(50%, @primarysbwidth)}
+#secondarysb{float:left;.setwidth(49.9%, (99.9% - @primarysbwidth))}
+#footer{clear:left;.setwidth(100%, @footerwidth)}

File layouts/less/2-columns-fixed-sb-left-under-full.less

-#container{.setwidth(@containerwidth, 960px);margin:0 auto}
-#lb-content{float:right;.setwidth(@lbcontentwidth, 700px)}
-#primarysb{float:left;.setwidth(@primarysbwidth, 200px)}
-#secondarysb{clear:both;.setwidth(@secondarysbwidth, 100%)}
+#container{.setwidth(960px, @containerwidth);margin:0 auto}
+#lb-content{float:right;.setwidth(700px, @lbcontentwidth)}
+#primarysb{float:left;.setwidth(200px, @primarysbwidth)}
+#secondarysb{clear:both;.setwidth(100%, @secondarysbwidth)}

File layouts/less/master.less

 /* Set width, fall back to a default if none specified */
-.setwidth(@width, @defaultw) when (isnumber(@width)){
+.setwidth(@defaultw, @width) when (isnumber(@width)){
 	width: @width;
 }
-.setwidth(@width, @defaultw) when not(isnumber(@width)){
+.setwidth(@defaultw, @width) when not(isnumber(@width)){
 	width: @defaultw;
 }