[Xerte-dev] Splitting up model files to get more control over css in themes

Tom Reijnders reijnders at tor.nl
Sun Jan 29 15:44:57 GMT 2017


Hi all,

I created a new branch to experiment with splitting out the css 
contained in the model files, so you can overrule them in the themes.

Please see branch split_css
1. All model files are split in a css and html file (probably js would 
be better....)
2. xenith.js is changed, specifically changePage
     - It deletes any previously added page specific css files
     - It adds the model css file to the header
     - It adds the theme css file for a specific page to the header (if 
present)

Please also find enclosed a sample css file for dragAndDrop. You can 
place it in a css folder in one of the themes and it will change the 
shape of the draggable labels and the shape of the hotspot areas (if 
displaying them is enabled).

Let me know what you think.

Regards,

Tom

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dragDropLabel.css
Type: text/css
Size: 401 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20170129/0a2da5df/attachment.css>


More information about the Xerte-dev mailing list