aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorfat-kun <[email protected]>2013-02-05 21:29:59 -0800
committerfat-kun <[email protected]>2013-02-05 21:29:59 -0800
commit042bb9b51510573a9a1db6bc66cb16311d0d580b (patch)
treedb4d05aded105b76e0a9306b120fbe9e91c05a1d /less
parent1629df80087c053c4c9b441e563f319a3ec8777f (diff)
parent6b9bb547bf275d8723d50b16fbb22ba9e334da39 (diff)
downloadbootstrap-042bb9b51510573a9a1db6bc66cb16311d0d580b.tar.xz
bootstrap-042bb9b51510573a9a1db6bc66cb16311d0d580b.zip
Merge pull request #6780 from agatronic/2.3.0-wip
less: Move to new selector interpolation, supported from 1.3.1
Diffstat (limited to 'less')
-rw-r--r--less/mixins.less13
1 files changed, 6 insertions, 7 deletions
diff --git a/less/mixins.less b/less/mixins.less
index cc69d750e..79d889219 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);
}
-
}