Doug Stewart avatar Doug Stewart committed 3b3fabf

Moving some stuff around to be more semantically correct, removing some comments.

Comments (0)

Files changed (12)

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

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

layouts/less/2-columns-fluid-sb-fixed-right-sb-under.less

 #wrapper{float:left;.setwidth(@wrapperwidth, 100%)}
 #lb-content{.marginr(@primarysbwidth, 200px)}
-#primarysb{float:left;.setwidth(@primarysbwidth, 200px);.marginl(@primarysbwidth, -200px)}
+#primarysb{float:left;.setwidth(@primarysbwidth, 200px);.marginl(-@primarysbwidth, -200px)}
 #secondarysb{clear:left;.setwidth(@secondarysbwidth, 100%)}

layouts/less/2-columns-percentage-sb-fixed-left-sb-under.less

-#wrapper{float:right;.setwidth(@wrapperwidth, 70%)}
-#primarysb{float:left;.setwidth(99.9% - @wrapperwidth, 29.9%)}
-#secondarysb{clear:both;.setwidth(@secondarysbwidth, 100%)}

layouts/less/2-columns-percentage-sb-fixed-left.less

-#wrapper{float:right;.setwidth(@wrapperwidth, 100%);.marginr(-@primarysbwidth - .1%, -33%)}
-#lb-content{.marginr(@primarysbwidth+.1%, 33%)}
-#primarysb{float:left;.setwidth(@primarysbwidth, 32.9%)}
-#secondarysb{float:left;clear:left;.setwidth(@primarysbwidth, 32.9%)}
-#footer{clear:both;.setwidth(@footerwidth, 100%)}

layouts/less/2-columns-percentage-sb-fixed-right-sb-under.less

-#wrapper{float:left;.setwidth(@wrapperwidth, 70%)}
-#primarysb{float:right;.setwidth((99.9% - @wrapperwidth), 29.9%)}
-#secondarysb{clear:both;.setwidth(@secondarysbwidth, 100%)}

layouts/less/2-columns-percentage-sb-fixed-right.less

-#wrapper{float:left;.setwidth(@wrapperwidth, 100%);.marginl(-@primarysbwidth - .1%, -33%)}
-#lb-content{.marginl(@primarysbwidth + .1%, 33%)}
-#primarysb{float:right;.setwidth(@primarysbwidth, 32.9%)}
-#secondarysb{float:right;clear:right;.setwidth(@primarysbwidth, 32.9%)}
-#footer{clear:both;.setwidth(@footerwidth, 100%)}

layouts/less/2-columns-percentage-sb-percentage-left-sb-under.less

+#wrapper{float:right;.setwidth(@wrapperwidth, 70%)}
+#primarysb{float:left;.setwidth(99.9% - @wrapperwidth, 29.9%)}
+#secondarysb{clear:both;.setwidth(@secondarysbwidth, 100%)}

layouts/less/2-columns-percentage-sb-percentage-left.less

+#wrapper{float:right;.setwidth(@wrapperwidth, 100%);.marginr(-@primarysbwidth - .1%, -33%)}
+#lb-content{.marginr(@primarysbwidth+.1%, 33%)}
+#primarysb{float:left;.setwidth(@primarysbwidth, 32.9%)}
+#secondarysb{float:left;clear:left;.setwidth(@primarysbwidth, 32.9%)}
+#footer{clear:both;.setwidth(@footerwidth, 100%)}

layouts/less/2-columns-percentage-sb-percentage-right-sb-under.less

+#wrapper{float:left;.setwidth(@wrapperwidth, 70%)}
+#primarysb{float:right;.setwidth((99.9% - @wrapperwidth), 29.9%)}
+#secondarysb{clear:both;.setwidth(@secondarysbwidth, 100%)}

layouts/less/2-columns-percentage-sb-percentage-right.less

+#wrapper{float:left;.setwidth(@wrapperwidth, 100%);.marginl(-@primarysbwidth - .1%, -33%)}
+#lb-content{.marginl(@primarysbwidth + .1%, 33%)}
+#primarysb{float:right;.setwidth(@primarysbwidth, 32.9%)}
+#secondarysb{float:right;clear:right;.setwidth(@primarysbwidth, 32.9%)}
+#footer{clear:both;.setwidth(@footerwidth, 100%)}

layouts/less/3-columns-percentage-sb-both.less

-/* 
- @wrapperwidth: 100%;
- @primarysbwidth: 25%;
- @footerwidth: 100%;
-*/
 #wrapper{float:left;.setwidth(@wrapperwidth, 100%)}
 #lb-content{.lbmargin(@primarysbwidth, 25%)}
 #primarysb{float:left;.setwidth(@primarysbwidth, 25%);.marginl(-@wrapperwidth, -100%)}

layouts/less/master.less

 .marginr(@margin, @default) when (isnumber(@margin)){
 	margin-right: @margin;
 }
-.marginr(@margin, @default) when not (isnumber(margin)){
+.marginr(@margin, @default) when not (isnumber(@margin)){
 	margin-right: @default;
 }
 
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.