Extending Style Customization

Permalink
Similar to Gondwana's post:
http://www.concrete5.org/community/forums/usage/theme-customisation...

The type style contains several sub types, such as font-family and font-weight.

What we need is more types, to minimize the size of the controls in a themes design panel.

For example, if you want to allow the user to change padding on one element, you need 4 entries, one for padding-top, padding-bottom, etc.

Well it would be great to have things like this in a type, so we could do:
header-type-padding-top,
header-type-padding-left,
etc.
and have them all show up in one panel in the design menu instead of 4.

ob7dev
 
ob7dev replied on at Permalink Reply
ob7dev
I guess "type" refers to font. So maybe we need a fourth item that can be used to toggle other css settings based on whatever string follows the name, and then all those settings will be in one dialog box when clicked on.

Will save us from having 800 customization variables visible all at one once!
ob7dev replied on at Permalink Reply
ob7dev
Another nice feature would be to save whether a style set is open (expanding or not). If you close them all to save room, upon saving and reopening they are all expanding again.
ob7dev replied on at Permalink Reply
ob7dev
To help iterate how fast the styles panel can fill up, imagine I want to give user full style control over a drop down menu, 3 levels deep....

Each element needs settings for:
padding-top
padding-left
padding-right
padding-bottom
margin-top
margin-left
margin-right
margin-bottom
border-top
border-left
border-right
border-bottom
background-color
color
border-radius-top
border-radius-left
border-radius-right
border-radius-bottom

theres probably a few I missed,

then multiply that by how many elements there are...
ul > li > a
ul > li > ul
ul > li > ul > li
ul > li > ul > li > a
ul > li > ul > li > ul
ul > li > ul > li > ul > li
ul > li > ul > li > ul > li > a

so about twenty times 7.

Thats 140 settings for just the navigation, at a minimum because thats not including the hover styles for the a elements, so 140+ no problem.

Am I suppose to stick 140 style settings just for my header navigation and expect people to retain their sanity?


The only problem with sticking a lot of this stuff in a dashboard settings page is the user won't see the visual update in real time, hindering the customization process.
ob7dev replied on at Permalink Reply
ob7dev
Try the demo at
https://www.elegantthemesdemo.com/...

To get some ideas.