thexerteproject / xerteonlinetoolkits

Xerte Online Toolkits
www.xerte.org.uk
Apache License 2.0
62 stars 61 forks source link

New XOT1 and XOT 2 themes #1271

Open ronm123 opened 5 months ago

ronm123 commented 5 months ago

I've just committed the first draft of these two themes and described them as possible replacements for the old default theme. e.g.

XOT1: Full width theme with black header, white background and white footer and with grey panels and buttons. Possible use as an alternative to the older default theme.

XOT2: Black header, white background and white footer, with rounded corners similar to RGBO but with a reduced colour palette. Possible use as an alternative to the older default theme.

I've tested with local copies of our page types demos and from what I've tested so far I can't see any issues but some of this is very subjective. Possible questions/changes:

As this is partly meant as replacement for the old default should the footer be black rather than white? XOT2 in particular is an amended copy of RGBO which means some of the drag and drop interactions use animation functionality which isn't in the old default theme - should these be removed from this and/or XOT1? If we're keeping the animation on drag interactions should we add to the categories page too - I'm not sure how best to get that to work? Please check with your own projects and happy to change things like panel or infoHolder background colours etc. As an example who mainly worked on the Highlight text page and does this look ok to you?

@torinfo I think you were going to add the functionality where the default theme can be changed via management? Once we have that we would need to test these again to make sure they still inherit unchanged styles from the modules css folder.

FayCross commented 5 months ago

Great @ronm123 I'll have a look as soon as I can

FayCross commented 1 month ago

@ronm123 @torinfo This week I have made some changes to the two new themes that Ron created earlier in the year. The most obvious changes are with the navigator pages which I have cleaned up. I've also made buttons etc. throughout the different page types more consistent. Let me know if you have any comments on what I've done.

We need to make sure we are really happy with these before the next release if we are going to make one of them the new default in new installs (I think we should do this). And also decide which one it should be. We need to be able to set the default theme that an installation uses in the management pages too.