0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-28 20:52:21 +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:
Johan Steen 2012-02-18 14:28:44 +01:00
parent b776cae902
commit c900d72857

View File

@ -21,14 +21,14 @@
height: 14px;
line-height: 14px;
vertical-align: text-top;
background-image: url(@iconSpritePath);
background-image: url("@{iconSpritePath}");
background-position: 14px 14px;
background-repeat: no-repeat;
.ie7-restore-right-whitespace();
}
.icon-white {
background-image: url(@iconWhiteSpritePath);
background-image: url("@{iconWhiteSpritePath}");
}
.icon-glass { background-position: 0 0; }