[Xerte-dev] Re: Model specific css of Nottingham template
Pat L (pgogy)
info at pgogywebstuff.com
Mon May 16 19:46:02 BST 2016
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>
Date: 16/05/2016 19:25 (GMT+00:00)
To: Xerte Dev Mailing List <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.
It make it possible to override model specific css
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:
Make sure all the id's and classes used in a model file are
unique for that model (by prefixing?)
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20160516/882d9e65/attachment.html>
More information about the Xerte-dev
mailing list