Doug Stewart avatar Doug Stewart committed 53dd726

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

Comments (0)

Files changed (4)

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;}

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)}

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)}

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;
 }
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.