[Xerte] Re: default colour scheme

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Feb 7 14:26:56 GMT 2012


Hang on - default still takes you back to the blue scheme...

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 14:24
To: Xerte discussion list
Subject: [Xerte] Re: default colour scheme

Yep, that was the trouble: if the styles are already loaded before the interface initialises, the controls take their style values from STYLES, if it is loaded later they didn't - until now: new engine attached. Cheers.

[cid:image001.png at 01CCE5A4.8B386D30]

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 14:15
To: 'Xerte discussion list'
Subject: [Xerte] Re: default colour scheme

Might have spoken too soon :-(
Is buttonFillColour working on your tests? Wondering if the path to common/styles.css is hardcoded for that somewhere?
e.g. if I change that colour in common/styles.css it works but if I change that in media/styles.css it still uses the colour from common/styles.css
If buttonFillColour works for you from media? then it may be a difference in my files somewhere :-(
Cheers
Ron

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 13:46
To: 'Xerte discussion list'
Subject: [Xerte] Re: default colour scheme

Works great!
Such a simple but beneficial addition!
Cheers
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 13:08
To: Xerte discussion list
Subject: [Xerte] Re: default colour scheme

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> [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> [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/04cf889a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 27405 bytes
Desc: image001.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120207/04cf889a/attachment-0001.png>


More information about the Xerte mailing list