fix(app): relative path for scss

This commit is contained in:
Alex 2020-04-24 17:39:09 +03:00
parent 3403cee7e1
commit 84fbf8d20f
2 changed files with 11 additions and 11 deletions

View file

@ -4,16 +4,16 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
$helvetica-neue-font-path: 'assets/fonts/helvetica-neue' !default;
$helvetica-neue-font-path: '/ngx-admin/assets/fonts/helvetica-neue' !default;
@font-face {
font-family: 'Helvetica Neue Bold';
font-display: swap;
src: url('ngx-admin/#{$helvetica-neue-font-path}/HelveticaNeue-Bold.eot');
src: url('#{$helvetica-neue-font-path}/HelveticaNeue-Bold.eot');
src: local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'),
url('ngx-admin/#{$helvetica-neue-font-path}/HelveticaNeue-Bold.eot?#iefix') format('embedded-opentype'),
url('ngx-admin/#{$helvetica-neue-font-path}/HelveticaNeue-Bold.woff') format('woff'),
url('ngx-admin/#{$helvetica-neue-font-path}/HelveticaNeue-Bold.ttf') format('truetype');
url('#{$helvetica-neue-font-path}/HelveticaNeue-Bold.eot?#iefix') format('embedded-opentype'),
url('#{$helvetica-neue-font-path}/HelveticaNeue-Bold.woff') format('woff'),
url('#{$helvetica-neue-font-path}/HelveticaNeue-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}

View file

@ -1,12 +1,12 @@
$small-social-font-path: '/assets/fonts/small-social' !default;
$small-social-font-path: '/ngx-admin/assets/fonts/small-social' !default;
@font-face {
font-family: 'small-social';
font-display: auto;
src: url('/ngx-admin/#{$small-social-font-path}/small-social.eot?skntni');
src: url('/ngx-admin/#{$small-social-font-path}/small-social.eot?skntni#iefix') format('embedded-opentype'),
url('/ngx-admin/#{$small-social-font-path}/small-social.ttf?skntni') format('truetype'),
url('/ngx-admin/#{$small-social-font-path}/small-social.woff?skntni') format('woff'),
url('/ngx-admin/#{$small-social-font-path}/small-social.svg?skntni#small-social') format('svg');
src: url('#{$small-social-font-path}/small-social.eot?skntni');
src: url('#{$small-social-font-path}/small-social.eot?skntni#iefix') format('embedded-opentype'),
url('#{$small-social-font-path}/small-social.ttf?skntni') format('truetype'),
url('#{$small-social-font-path}/small-social.woff?skntni') format('woff'),
url('#{$small-social-font-path}/small-social.svg?skntni#small-social') format('svg');
font-weight: normal;
font-style: normal;
}