Source

elbee-elgee / layouts / less / master.less

Diff from to

layouts/less/master.less

+.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);
+.layout(@layout);*/
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.