]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add glyphicons font path variable 6550/head
authorFabien <fabien.creative@gmail.com>
Fri, 11 Jan 2013 17:32:00 +0000 (18:32 +0100)
committerFabien <fabien.creative@gmail.com>
Fri, 11 Jan 2013 17:32:00 +0000 (18:32 +0100)
less/glyphicons.less
less/variables.less

index ad22b457931d3a288e0d0d4248524b715ce019eb..bfe481734c9945107c6cfbc2dfb43b15b38f8c96 100644 (file)
 // Import the fonts
 @font-face {
   font-family: 'Glyphicons Halflings';
-  src: url('../fonts/glyphiconshalflings-regular.eot');
-  src: url('../fonts/glyphiconshalflings-regular.eot?#iefix') format('embedded-opentype'),
-       url('../fonts/glyphiconshalflings-regular.woff') format('woff'),
-       url('../fonts/glyphiconshalflings-regular.ttf') format('truetype'),
-       url('../fonts/glyphiconshalflings-regular.svg#glyphicons_halflingsregular') format('svg');
+  src: url('@{glyphicons-font-path}/glyphiconshalflings-regular.eot');
+  src: url('@{glyphicons-font-path}/glyphiconshalflings-regular.eot?#iefix') format('embedded-opentype'),
+       url('@{glyphicons-font-path}/glyphiconshalflings-regular.woff') format('woff'),
+       url('@{glyphicons-font-path}/glyphiconshalflings-regular.ttf') format('truetype'),
+       url('@{glyphicons-font-path}/glyphiconshalflings-regular.svg#glyphicons_halflingsregular') format('svg');
   font-style: normal;
   font-weight: normal;
 }
index 71de02c06efcff16b184cec0d4834b84c69b193e..1bcc1808d04903e41ac41bbbec7b476c43e368ee 100644 (file)
 @zindex-modal:             1050;
 
 
+// Glyphicons font path
+// -------------------------
+@glyphicons-font-path:          "../fonts";
+
+
 // Navbar
 // -------------------------