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

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Jan 30 09:18:38 GMT 2017


Some lessons you learn more than once!

Thanks for this Tom,

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 30 January 2017 09:15
To: For Xerte technical developers <xerte-dev at lists.nottingham.ac.uk>
Subject: [Xerte-dev] Re: Splitting up model files to get more control over css in themes

Fixed and committed.... Lesson learned. Do not make last minute changes without a thorough test before committing....

Op 30-1-2017 om 10:07 schreef Ron Mitchell:
> Tom
> I tested this but getting errors with new or existing projects whenever changing theme to anything but default.
> Will detail on github and maybe discuss online later.
> Cheers
> Ron
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom 
> Reijnders
> Sent: 29 January 2017 15:45
> To: For Xerte technical developers <xerte-dev at lists.nottingham.ac.uk>
> Subject: [Xerte-dev] Splitting up model files to get more control over 
> css in themes
>
> 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
>
>
>
>
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.
>
> Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
> This message and any attachment are intended solely for the addressee 
> and may contain confidential information. If you have received this 
> message in error, please send it back to me, and immediately delete it.
>
> Please do not use, copy or disclose the information contained in this 
> message or in any attachment.  Any views or opinions expressed by the 
> author of this email do not necessarily reflect the views of the 
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your 
> computer system, you are advised to perform your own checks. Email 
> communications with the University of Nottingham may be monitored as 
> permitted by UK legislation.
>


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



More information about the Xerte-dev mailing list