OK, here goes. After much toil, here is the first release of my modded version of Quasar / Gantry - Chameleon.
Features:
A new admin widget: "Chameleon chooser"
This image is hidden for guests.
Please log in or register to see it.
This allows you to apply settings to an element using a GUI. Simply enter the CSS selector you want the ChameleonChooser to affect and style away!
Core ChameleonChooser Features:
All settings are stored as one CSS string - encoding/decoding of CSS is done purely in the Template Administration page, meaning you have ready assembled CSS stored in the params.ini and presets.
Select background and foreground color using the colorpicker.
Set up to 3 background images in any combination of the top, bottom, left, right or center anchors and any of the tiling options.
Fixed or scrolling backgrounds.
Also featuring other useful settings:
This image is hidden for guests.
Please log in or register to see it.
Up to two custom CSS files - use one for site-wide CSS overrides, and keep another for per-template or other boltons.
Light and dark settings - uses the original Quasar CSS for light / dark versions of red / green / blue hues.
Light and dark option also applies a CSS class to the body tag so you can have your other widgets switch from light to dark versions with your preset.
Oh, did I mention presets? All these settings save when you add a custom preset! Therefore you can have unlimted variations stored as presets.
OK, enough of the good - onto the bad.
I am not a coder by trade, so some stuff is a bit cludgy. I have modified some core gantry files, but I am pretty sure I did not need to make all the changes, so this requirement may hopefully go. All core gantry file changes are very minor things like adding event triggers and such. Each modified file has in the header what was modified.
The interface needs polish. It works, but it is possible to do silly things - eg there is currently no sanity checking for the CSS selector boxes so if you entered characters used in CSS termination (ie ; { } etc) then wierd things could happen.
So what I am getting at is... if you can code Joomla / Gantry and like what you see - please feel free to jump in and help improve it.
Install instructions are in a readme file in the zip - please read them!