[Xerte-dev] Re: Model specific css of Nottingham template

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue May 17 07:22:04 BST 2016


Seems a good idea to me: if we were doing it from scratch, how would we have implemented it? With specific model ids?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 16 May 2016 20:06
To: For Xerte technical developers <xerte-dev at lists.nottingham.ac.uk>
Subject: [Xerte-dev] Re: Model specific css of Nottingham template


Option 2 is an interesting one! I can do that quickly....

Thank you!

Op 16-5-2016 om 20:46 schreef Pat L (pgogy):
Place one model specific id at a higher level?
Or change body class on page turn?


-------- Original message --------
From: Tom Reijnders <reijnders at tor.nl><mailto:reijnders at tor.nl>
Date: 16/05/2016 19:25 (GMT+00:00)
To: Xerte Dev Mailing List <xerte-dev at lists.nottingham.ac.uk><mailto:xerte-dev at lists.nottingham.ac.uk>
Subject: [Xerte-dev] Model specific css of Nottingham template

Hi All,

When we discussed H5P on the development day in April, we discussed that it might be a good idea to look at the aesthetics of all the models again and see if we can improve them.

One of the experiments I did, was to extract all the model specific css in a separate file, and include that file in the rloObject.htm and delete the inline styles from the model.

  1.  It make it possible to override model specific css
  2.  It make it possible to override model specific css in the themes

Regrettable, that doesn't work, because the models do not use independent html id's and classes.

What I would like to propose is to:

  1.  Make sure all the id's and classes used in a model file are unique for that model (by prefixing?)
  2.  Extract the inline css from the model files in a central file

Just to be able to override css in a LO specific custom stylesheet and in a theme.

Any objections and/or other suggestions?

Tom

--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196





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.





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<mailto:Xerte-dev at lists.nottingham.ac.uk>

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20160517/311c439f/attachment-0001.html>


More information about the Xerte-dev mailing list