Created
February 24, 2013 16:18
-
-
Save metaskills/5024393 to your computer and use it in GitHub Desktop.
Bootstrap 2.3's mixin.less incompatibilities.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -558,13 +567,13 @@ | |
.core (@gridColumnWidth, @gridGutterWidth) { | |
.spanX (@index) when (@index > 0) { | |
- (~".span@{index}") { .span(@index); } | |
+ .span@{index} { .span(@index); } | |
.spanX(@index - 1); | |
} | |
.spanX (0) {} | |
.offsetX (@index) when (@index > 0) { | |
- (~".offset@{index}") { .offset(@index); } | |
+ .offset@{index} { .offset(@index); } | |
.offsetX(@index - 1); | |
} | |
.offsetX (0) {} | |
@@ -603,14 +612,14 @@ | |
.fluid (@fluidGridColumnWidth, @fluidGridGutterWidth) { | |
.spanX (@index) when (@index > 0) { | |
- (~".span@{index}") { .span(@index); } | |
+ .span@{index} { .span(@index); } | |
.spanX(@index - 1); | |
} | |
.spanX (0) {} | |
.offsetX (@index) when (@index > 0) { | |
- (~'.offset@{index}') { .offset(@index); } | |
- (~'.offset@{index}:first-child') { .offsetFirstChild(@index); } | |
+ .offset@{index} { .offset(@index); } | |
+ .offset@{index}:first-child { .offsetFirstChild(@index); } | |
.offsetX(@index - 1); | |
} | |
.offsetX (0) {} | |
@@ -658,7 +667,7 @@ | |
.input(@gridColumnWidth, @gridGutterWidth) { | |
.spanX (@index) when (@index > 0) { | |
- (~"input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index}") { .span(@index); } | |
+ input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index} { .span(@index); } | |
.spanX(@index - 1); | |
} | |
.spanX (0) {} |
you, sir... are my hero of the day, thank you for this fix.
Yay! Good Work!
Great fix.
Thank you. Saved me a headache.
Excellent, thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tks a lot, that fix my bootstrapwp-Twitter-Bootstrap-for-WordPress, from compile