From: Johan Steen Date: Sat, 18 Feb 2012 13:28:44 +0000 (+0100) Subject: Fixed compile problem with LESS 1.2.1. X-Git-Tag: v2.0.2~152^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2066%2Fhead;p=thirdparty%2Fbootstrap.git 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. --- diff --git a/less/sprites.less b/less/sprites.less index a7741661ea..cdd9f6e852 100644 --- a/less/sprites.less +++ b/less/sprites.less @@ -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; }