Source

elbee-elgee / layouts / less / master.less

Full commit
Doug Stewart 950fd9a 















Doug Stewart 4987ae1 





Doug Stewart 950fd9a 
















































































Doug Stewart 4987ae1 
Doug Stewart 950fd9a 
.setwidth(@width, @defaultw) when (isnumber(@width)){
	width: @width;
}
.setwidth(@width, @defaultw) when not(isnumber(@width)){
	width: @defaultw;
}

.layout(@layout) when (isstring(@layout)){
	@import @layout;
}

.layout(@layout) when not (isstring(@layout)){
	@import "2-columns-fixed-sb-right.less";
}
.layout(@layout);
/*
.layout(@layout) when ( @layout = 1-column-fixed ) {
	@import "1-column-fixed.less";
}
.layout(@layout) when (@layout = 1-column-fluid ) {
	@import "1-column-fluid.less";
}
.layout(@layout) when (@layout = 2-columns-fixed-sb-left-under-full ) {
	@import "2-columns-fixed-sb-left-under-full.less";
}
.layout(@layout) when (@layout = 2-columns-fixed-sb-left-under) {
	@import "2-columns-fixed-sb-left-under.less";
}
.layout(@layout) when (@layout = 2-columns-fixed-sb-left) {
	@import "2-columns-fixed-sb-left.less";
}
.layout(@layout) when (@layout = 2-columns-fixed-sb-right-under-full) {
	@import "2-columns-fixed-sb-right-under-full.less";
}
.layout(@layout) when (@layout = 2-columns-fixed-sb-right-under) {
	@import "2-columns-fixed-sb-right-under.less";
}
.layout(@layout) when (@layout = 2-columns-fixed-sb-right) {
	@import "2-columns-fixed-sb-right.less";
}
.layout(@layout) when (@layout = 2-columns-fluid-sb-fixed-left-sb-under) {
	@import "2-columns-fluid-sb-fixed-left-sb-under.less";
}
.layout(@layout) when (@layout = 2-columns-fluid-sb-fixed-left) {
	@import "2-columns-fluid-sb-fixed-left.less";
}
.layout(@layout) when (@layout = 2-columns-fluid-sb-fixed-right-sb-under) {
	@import "2-columns-fluid-sb-fixed-right-sb-under.less";
}
.layout(@layout) when (@layout = 2-columns-fluid-sb-fixed-right) {
	@import "2-columns-fluid-sb-fixed-right.less";
}
.layout(@layout) when (@layout = 2-columns-percentage-sb-fixed-left-sb-under) {
	@import "2-columns-percentage-sb-fixed-left-sb-under.less";
}
.layout(@layout) when (@layout = 2-columns-percentage-sb-fixed-left) {
	@import "2-columns-percentage-sb-fixed-left";
}
.layout(@layout) when (@layout = 2-columns-percentage-sb-fixed-right-sb-under) {
	@import "2-columns-percentage-sb-fixed-right-sb-under.less";
}
.layout(@layout) when (@layout = 2-columns-percentage-sb-fixed-right) {
	@import "2-columns-percentage-sb-fixed-right.less";
}
.layout(@layout) when (@layout = 3-columns-fixed-sb-both) {
	@import "3-columns-fixed-sb-both.less";
}
.layout(@layout) when (@layout = 3-columns-fixed-sb-left) {
	@import "3-columns-fixed-sb-left.less";
}
.layout(@layout) when (@layout = 3-columns-fixed-sb-right) {
	@import "3-columns-fixed-sb-right.less";
}
.layout(@layout) when (@layout = 3-columns-fluid-sb-fixed-both) {
	@import "3-columns-fluid-sb-fixed-both.less";
}
.layout(@layout) when (@layout = 3-columns-fluid-sb-fixed-left) {
	@import "3-columns-fluid-sb-fixed-left.less";
}
.layout(@layout) when (@layout = 3-columns-fluid-sb-fixed-right) {
	@import "3-columns-fluid-sb-fixed-right.less";
}
.layout(@layout) when (@layout = 3-columns-percentage-sb-both) {
	@import "3-columns-percentage-sb-both.less";
}
.layout(@layout) when (@layout = 3-columns-percentage-sb-left) {
	@import "3-columns-percentage-sb-left.less";
}
.layout(@layout) when (@layout = 3-columns-percentage-sb-right) {
	@import "3-columns-percentage-sb-right.less";
}
.layout(@layout) when (@layout = 3-columns-sb-both-hybrid-left) {
	@import "3-columns-sb-both-hybrid-left.less";
}
.layout(@layout) when (@layout = 3-columns-sb-both-hybrid-right) {
	@import "3-columns-sb-both-hybrid-right.less";
}
.layout(@layout) when (@layout = 3-columns-sb-left-hybrid) {
	@import "3-columns-sb-left-hybrid.less";
}
.layout(@layout) when (@layout = 3-columns-sb-right-hybrid) {
	@import "3-columns-sb-right-hybrid.less";
}

.layout(@layout);*/