diff options
| author | Luke Page <[email protected]> | 2013-02-02 07:49:55 +0000 |
|---|---|---|
| committer | Luke Page <[email protected]> | 2013-02-02 07:58:27 +0000 |
| commit | 6b9bb547bf275d8723d50b16fbb22ba9e334da39 (patch) | |
| tree | 002173b0f2f6aa3f631c46817e99888a20d5e059 | |
| parent | 0bfbf1446d853e5edb066acb68bcf3eb995b47b3 (diff) | |
| download | bootstrap-6b9bb547bf275d8723d50b16fbb22ba9e334da39.tar.xz bootstrap-6b9bb547bf275d8723d50b16fbb22ba9e334da39.zip | |
Move to new selector interpolation, supported from 1.3.1
| -rw-r--r-- | less/mixins.less | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/less/mixins.less b/less/mixins.less index e1db44ed7..442c394b0 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -575,13 +575,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) {} @@ -620,14 +620,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) {} @@ -675,7 +675,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) {} @@ -699,5 +699,4 @@ .spanX (@gridColumns); } - } |
