From: thomaswelton Date: Thu, 9 Jan 2014 10:16:27 +0000 (+0000) Subject: Add new varaible @icon-font-svg-id and set it to be the correct SVG font ID, used... X-Git-Tag: v3.1.0~115^2~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04ba67d6f181dd99b7ee82f9244c8ccfd8b565e7;p=thirdparty%2Fbootstrap.git Add new varaible @icon-font-svg-id and set it to be the correct SVG font ID, used new variable in glyphicons.less --- diff --git a/less/glyphicons.less b/less/glyphicons.less index 29ce1c0713..789c5e7f4a 100644 --- a/less/glyphicons.less +++ b/less/glyphicons.less @@ -14,7 +14,7 @@ src: ~"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')", ~"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')", ~"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')", - ~"url('@{icon-font-path}@{icon-font-name}.svg#glyphicons-halflingsregular') format('svg')"; + ~"url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg')"; } // Catchall baseclass diff --git a/less/variables.less b/less/variables.less index 2bb443a6ca..106a734577 100644 --- a/less/variables.less +++ b/less/variables.less @@ -74,7 +74,7 @@ @icon-font-path: "../fonts/"; @icon-font-name: "glyphicons-halflings-regular"; - +@icon-font-svg-id: "glyphicons_halflingsregular"; //== Components //