mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Fixed compile problem with LESS 1.2.1.
The sprite path variables introduced in v2.0.1 prevents bootstrap.less to compile wiht LESS v1.2.1. Updated the variables to use the @{name} construct when inserted in sprites.less, as outlined in the LESS documentation. This change makes the CSS compile with LESS v1.2.1.
This commit is contained in:
parent
b776cae902
commit
c900d72857
@ -21,14 +21,14 @@
|
|||||||
height: 14px;
|
height: 14px;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
background-image: url(@iconSpritePath);
|
background-image: url("@{iconSpritePath}");
|
||||||
background-position: 14px 14px;
|
background-position: 14px 14px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|
||||||
.ie7-restore-right-whitespace();
|
.ie7-restore-right-whitespace();
|
||||||
}
|
}
|
||||||
.icon-white {
|
.icon-white {
|
||||||
background-image: url(@iconWhiteSpritePath);
|
background-image: url("@{iconWhiteSpritePath}");
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-glass { background-position: 0 0; }
|
.icon-glass { background-position: 0 0; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user