Picture of Lars Halkjær
Export source code and Custom CSS/LESS code
by Lars Halkjær - Friday, 28 April 2017, 1:56 AM
 

I have exported a course from the Authoring Tool as source code, to make translated versions using the CLI.

But I cannot find the styles entered in "Custom CSS/LESS code" anywhere, neither in the build, nor in any of the exported files.

Is this an error in the export function, or have a missed something?

Picture of Tom Taylor
Re: Export source code and Custom CSS/LESS code
by Tom Taylor - Friday, 28 April 2017, 12:02 PM
 

Hi Lars,

Unfortunately, this is an oversight of the export, and a known issue (see here: https://github.com/adaptlearning/adapt_authoring/issues/1439). Do feel free to give it a +1. 

Picture of Lars Halkjær
Re: Export source code and Custom CSS/LESS code
by Lars Halkjær - Friday, 28 April 2017, 3:47 PM
 

Hi Tom

Thank you for the reply.

I will just work around it for now (it seems that any less files you put into the "src/core/less/" folder will end up in the adapt.css file, so I will just copy the styles into a less file and place it there).