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.
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.
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.
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.
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.
Will save us from having 800 customization variables visible all at one once!