-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
diff --git a/vendor/assets/stylesheets/_variables.scss b/vendor/assets/stylesheets/_variables.scss | ||
index e29dc59..85f4d56 100644 | ||
--- a/vendor/assets/stylesheets/_variables.scss | ||
+++ b/vendor/assets/stylesheets/_variables.scss | ||
@@ -151,8 +151,8 @@ $zindexModal: 1050 !default; | ||
|
||
// Sprite icons path | ||
// ------------------------- | ||
-$iconSpritePath: "../img/glyphicons-halflings.png" !default; | ||
-$iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" !default; | ||
+$iconSpritePath: image-path("glyphicons-halflings.png") !default; | ||
+$iconWhiteSpritePath: image-path("glyphicons-halflings-white.png") !default; | ||
|
||
|
||
// Input placeholder text color | ||
diff --git a/vendor/assets/stylesheets/bootstrap/_glyphicons.scss b/vendor/assets/stylesheets/bootstrap/_glyphicons.scss | ||
index b7dbdb6..ebcf0f4 100644 | ||
--- a/vendor/assets/stylesheets/bootstrap/_glyphicons.scss | ||
+++ b/vendor/assets/stylesheets/bootstrap/_glyphicons.scss | ||
@@ -21,11 +21,11 @@ | ||
// Import the fonts | ||
@font-face { | ||
font-family: 'Glyphicons Halflings'; | ||
- 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'); | ||
+ src: url(font-path("#{$glyphicons-font-path}/glyphiconshalflings-regular.eot")); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
thomas-mcdonald
Member
|
||
+ src: url(font-path("#{$glyphicons-font-path}/glyphiconshalflings-regular.eot?#iefix")) format('embedded-opentype'), | ||
+ url(font-path("#{$glyphicons-font-path}/glyphiconshalflings-regular.woff")) format('woff'), | ||
+ url(font-path("#{$glyphicons-font-path}/glyphiconshalflings-regular.ttf")) format('truetype'), | ||
+ url(font-path("#{$glyphicons-font-path}/glyphiconshalflings-regular.svg#glyphicons_halflingsregular")) format('svg'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If I'm not mistaken, font-path() is specific to the Rails assets pipeline and is not part of CSS. It shouldn't be here.