[Xerte] Re: default colour scheme

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Feb 7 13:08:02 GMT 2012


I had a load of typos in there: this works, after the background image code:

//stylesheet
if (templateData.learningObject[0].stylesheet != undefined){
  rootIcon.loadStyleSheet(expression(templateData.learningObject[0].stylesheet, this));
}

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 07 February 2012 12:57
To: 'Xerte discussion list'
Subject: [Xerte] Re: default colour scheme

sorry been in a skype call until now - and now time for lunch but will test and feedback shortly. Although a stylesheet was obviously attached to one of my previous replies :-)

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 February 2012 11:33
To: Xerte discussion list
Subject: [Xerte] Re: default colour scheme

Can you test this - or send me a stylesheet to test with please?

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 07 February 2012 11:26
To: 'Xerte discussion list'
Subject: [Xerte] Re: default colour scheme

Jeesh - why didn't I think of that! ;-)

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 February 2012 11:17
To: Xerte discussion list
Subject: [Xerte] Re: default colour scheme

Yes, we could have stylesheet an optional LO property and if set, use that...

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 07 February 2012 11:15
To: 'Xerte discussion list'
Subject: [Xerte] Re: default colour scheme

Example attached.

Julian while we're on this subject it's been on my to do list to check/test if there's a way we could make the path to styles.css conditional e.g. to look for it in media first and then if not found use the one in common?

That would make it easy to have different styles for different LO's rather than a site wide only solution. I've verified that this works with a test install by changing the path to media\styles.css and uploading via the LO or media & quota just not sure how and where to make it conditional and therefore backward compatible.

Ron

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 February 2012 10:46
To: Xerte discussion list
Subject: [Xerte] Re: default colour scheme

By editing the stylesheet - Ron has an example handy I think...?

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Oliver Haslam
Sent: 07 February 2012 10:33
To: Xerte discussion list
Subject: [Xerte] default colour scheme

Hello

How do I edit the colours on the default colour scheme for LOs made with XOT? I'd like to change the various blues used in the default colour scheme but keep everything else exactly the same.

Thanks for your help

Oli
_______________________________

Oliver Haslam
Course Developer (Technologist)
Applied Sciences & Allied Health Professions

Technology Enhanced Learning
University of the West of England
_______________________________
T: 0117 32 88215



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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120207/78d05fec/attachment.html>


More information about the Xerte mailing list