Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
042bb9b5
Commit
042bb9b5
authored
Feb 05, 2013
by
fat-kun
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6780 from agatronic/2.3.0-wip
less: Move to new selector interpolation, supported from 1.3.1
parents
1629df80
6b9bb547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
less/mixins.less
less/mixins.less
+6
-7
No files found.
less/mixins.less
View file @
042bb9b5
...
@@ -575,13 +575,13 @@
...
@@ -575,13 +575,13 @@
.core (@gridColumnWidth, @gridGutterWidth) {
.core (@gridColumnWidth, @gridGutterWidth) {
.spanX (@index) when (@index > 0) {
.spanX (@index) when (@index > 0) {
(~".span@{index}")
{ .span(@index); }
.span@{index}
{ .span(@index); }
.spanX(@index - 1);
.spanX(@index - 1);
}
}
.spanX (0) {}
.spanX (0) {}
.offsetX (@index) when (@index > 0) {
.offsetX (@index) when (@index > 0) {
(~".offset@{index}")
{ .offset(@index); }
.offset@{index}
{ .offset(@index); }
.offsetX(@index - 1);
.offsetX(@index - 1);
}
}
.offsetX (0) {}
.offsetX (0) {}
...
@@ -620,14 +620,14 @@
...
@@ -620,14 +620,14 @@
.fluid (@fluidGridColumnWidth, @fluidGridGutterWidth) {
.fluid (@fluidGridColumnWidth, @fluidGridGutterWidth) {
.spanX (@index) when (@index > 0) {
.spanX (@index) when (@index > 0) {
(~".span@{index}")
{ .span(@index); }
.span@{index}
{ .span(@index); }
.spanX(@index - 1);
.spanX(@index - 1);
}
}
.spanX (0) {}
.spanX (0) {}
.offsetX (@index) when (@index > 0) {
.offsetX (@index) when (@index > 0) {
(~'.offset@{index}')
{ .offset(@index); }
.offset@{index}
{ .offset(@index); }
(~'.offset@{index}:first-child')
{ .offsetFirstChild(@index); }
.offset@{index}:first-child
{ .offsetFirstChild(@index); }
.offsetX(@index - 1);
.offsetX(@index - 1);
}
}
.offsetX (0) {}
.offsetX (0) {}
...
@@ -675,7 +675,7 @@
...
@@ -675,7 +675,7 @@
.input(@gridColumnWidth, @gridGutterWidth) {
.input(@gridColumnWidth, @gridGutterWidth) {
.spanX (@index) when (@index > 0) {
.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(@index - 1);
}
}
.spanX (0) {}
.spanX (0) {}
...
@@ -699,5 +699,4 @@
...
@@ -699,5 +699,4 @@
.spanX (@gridColumns);
.spanX (@gridColumns);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment