Source

elbee-elgee / layouts / less / 3-columns-fixed-sb-right.less

Diff from to

layouts/less/3-columns-fixed-sb-right.less

-/*
- @containerwidth: 960px;
- @wrapperwidth: 100%;
- @primarysbwidth: 150px;
- @footerwidth: 100%;
-*/
-#container{width:@containerwidth;margin:0 auto}
-#wrapper{float:left;width:@wrapperwidth}
-#lb-content{margin-right: @primarysbwidth * 2}
-#primarysb{float:left;width:@primarysbwidth;margin-left:-@primarysbwidth * 2}
-#secondarysb{float:left;width:@primarysbwidth;margin-left:-@primarysbwidth}
-#footer{clear:left;width:@footerwidth}
+#container{.setwidth(@containerwidth, 960px);margin:0 auto}
+#wrapper{float:left;.setwidth(@wrapperwidth, 100%)}
+#lb-content{.marginr(@primarysbwidth * 2, 300px)}
+#primarysb{float:left;.setwidth(@primarysbwidth, 150px);.marginl(-@primarysbwidth * 2, -300px)}
+#secondarysb{float:left;.setwidth(@primarysbwidth, 150px);.marginl(-@primarysbwidth, -150px)}
+#footer{clear:left;.setwidth(@footerwidth, 100%)}