diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index 7fb0713b3..bdd3c9436 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -14,6 +14,7 @@ Changelog * CSS fix: position and width of the div #conversejs [thierrytiti] * CSS fix: room-info bug on hover after room description loaded [thierrytiti] * I18N: Autodetection of User Locale if no i18n setting is set. [thierrytiti] +* CSS: Fonts Path: editabable $font-path via sass/variables.scss [thierrytiti] 0.9.3 (2015-05-01) ------------------ diff --git a/sass/converse.scss b/sass/converse.scss index 9b48cdad3..60205de50 100644 --- a/sass/converse.scss +++ b/sass/converse.scss @@ -8,10 +8,12 @@ @import "../ruby/1.9.1/gems/bourbon-4.2.1/app/assets/stylesheets/_bourbon"; +@import "variables"; + @font-face { font-family: 'Converse-js'; - src: url('../fonticons/fonts/icomoon.eot?-mnoxh0'); - src: url('../fonticons/fonts/icomoon.eot?#iefix-mnoxh0') format("embedded-opentype"), url('../fonticons/fonts/icomoon.woff?-mnoxh0') format("woff"), url('../fonticons/fonts/icomoon.ttf?-mnoxh0') format("truetype"), url('../fonticons/fonts/icomoon.svg?-mnoxh0#icomoon') format("svg"); + src: url($font-path + 'icomoon.eot?-mnoxh0'); + src: url($font-path + 'icomoon.eot?#iefix-mnoxh0') format("embedded-opentype"), url($font-path + 'icomoon.woff?-mnoxh0') format("woff"), url($font-path + 'icomoon.ttf?-mnoxh0') format("truetype"), url($font-path + 'icomoon.svg?-mnoxh0#icomoon') format("svg"); font-weight: normal; font-style: normal; } diff --git a/sass/variables.scss b/sass/variables.scss index 4f78eea54..99ed487a1 100644 --- a/sass/variables.scss +++ b/sass/variables.scss @@ -37,3 +37,4 @@ $mobile-chat-width: 100%; $mobile-chat-height: 400px; + $font-path: "../fonticons/fonts/";