]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add new varaible @icon-font-svg-id and set it to be the correct SVG font ID, used... 12164/head
authorthomaswelton <thomaswelton@me.com>
Thu, 9 Jan 2014 10:16:27 +0000 (10:16 +0000)
committerthomaswelton <thomaswelton@me.com>
Thu, 9 Jan 2014 10:16:27 +0000 (10:16 +0000)
less/glyphicons.less
less/variables.less

index 29ce1c071376932e8ba3376157aeb4c4964f3579..789c5e7f4a3087b17147360fd7926589f4919ab0 100644 (file)
@@ -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
index 2bb443a6ca53ba88d6c4a2ea4a0d512e300c1136..106a734577a0cace1a7733247debca31ccde3e34 100644 (file)
@@ -74,7 +74,7 @@
 
 @icon-font-path:          "../fonts/";
 @icon-font-name:          "glyphicons-halflings-regular";
-
+@icon-font-svg-id:                             "glyphicons_halflingsregular";
 
 //== Components
 //