]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixed compile problem with LESS 1.2.1. 2066/head
authorJohan Steen <artstorm@gmail.com>
Sat, 18 Feb 2012 13:28:44 +0000 (14:28 +0100)
committerJohan Steen <artstorm@gmail.com>
Sat, 18 Feb 2012 13:28:44 +0000 (14:28 +0100)
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.

less/sprites.less

index a7741661eaf7437492ea8a1802dcfb155de8055f..cdd9f6e85288c31a397e218fef9faa85957e1e6d 100644 (file)
   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; }