fix(app): relative path for scss

This commit is contained in:
Alex 2020-04-24 12:44:12 +03:00
parent 2c1052c995
commit 9e66c3a1bd
3 changed files with 9 additions and 10 deletions

View file

@ -13,7 +13,6 @@
"options": {
"aot": true,
"preserveSymlinks": true,
"rebaseRootRelativeCssUrls": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",

View file

@ -9,11 +9,11 @@ $helvetica-neue-font-path: 'assets/fonts/helvetica-neue' !default;
@font-face {
font-family: 'Helvetica Neue Bold';
font-display: swap;
src: url('#{$helvetica-neue-font-path}/HelveticaNeue-Bold.eot');
src: url('/ngx-admin/#{$helvetica-neue-font-path}/HelveticaNeue-Bold.eot');
src: local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'),
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');
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');
font-weight: bold;
font-style: normal;
}

View file

@ -2,11 +2,11 @@ $small-social-font-path: '/assets/fonts/small-social' !default;
@font-face {
font-family: 'small-social';
font-display: auto;
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');
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');
font-weight: normal;
font-style: normal;
}