aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorthomaswelton <[email protected]>2014-01-09 10:16:27 +0000
committerthomaswelton <[email protected]>2014-01-09 10:16:27 +0000
commit04ba67d6f181dd99b7ee82f9244c8ccfd8b565e7 (patch)
treee48d38441bf9ab7ca6f9f680588297585a71bc19 /less
parent7ba6daabfe9686bbfbf12d1b83cda387378acc2b (diff)
downloadbootstrap-04ba67d6f181dd99b7ee82f9244c8ccfd8b565e7.tar.xz
bootstrap-04ba67d6f181dd99b7ee82f9244c8ccfd8b565e7.zip
Add new varaible @icon-font-svg-id and set it to be the correct SVG font ID, used new variable in glyphicons.less
Diffstat (limited to 'less')
-rw-r--r--less/glyphicons.less2
-rw-r--r--less/variables.less2
2 files changed, 2 insertions, 2 deletions
diff --git a/less/glyphicons.less b/less/glyphicons.less
index 29ce1c071..789c5e7f4 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 2bb443a6c..106a73457 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
//