Unverified Commit d12ffb8e authored by Maarten de Waard's avatar Maarten de Waard 🤘🏻
Browse files

fix totp problem by fixing fonts localtion in CSS files

parent 5a3c36e7
Pipeline #11872 failed with stages
in 1 minute and 15 seconds
......@@ -232,16 +232,6 @@ module.exports = (grunt) ->
dest: '<%= settings.build.build_folder %><%= settings.build.fonts_path %>'
}
]
sassvars_server:
files:
'./src/sass/_vars.scss' : [
'./src/sass/_vars-server.scss'
]
sassvars_build:
files:
'./src/sass/_vars.scss' : [
'./src/sass/_vars-build.scss'
]
browserify:
options:
transform: ["coffeeify"]
......@@ -267,7 +257,6 @@ module.exports = (grunt) ->
grunt.registerTask 'server', (target) ->
grunt.task.run [
'newer:copy:server'
'copy:sassvars_server'
'newer:sass:server'
'newer:browserify:server'
'newer:i18n_pug:server'
......@@ -281,7 +270,6 @@ module.exports = (grunt) ->
grunt.task.run [
'clean:build'
'copy:build'
'copy:sassvars_build'
'sass:build'
'browserify:build'
'uglify:build'
......
// Override some edX Pattern Library Variables
// ----------------------------
// Paths for build
// ----------------------------
$pattern-library-path: '';
$font-path: '#{$pattern-library-path}';
$fa-font-path: '.';
$image-path: '#{$pattern-library-path}';
$open-sans-font-path: '.';
$images-path: '' !default;
$problem-width: 100%;
// Override some edX Pattern Library Variables
// ----------------------------
// Paths for build
// ----------------------------
$pattern-library-path: '..';
$font-path: '#{$pattern-library-path}/fonts';
$fa-font-path: $font-path;
$image-path: '#{$pattern-library-path}/images';
$open-sans-font-path: '#{$font-path}/OpenSans';
$images-path: '../media/' !default;
$problem-width: 850px;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment