Thursday, August 04, 2005

CSS Customization

I'm aiming at having the following CSS fields customizable by the user/profile:
Modules
- Placement
- Text Color
- BG Color
- Title BG Color
- Title Text Color
- Collapsed/Extended
Background
- Gradient / Solid Colors
Masthead BG
- Special FX / Solid Colors
Menu
- Menu Order
- Menu BG Color
- Button BG
- Text Color
- Font Type
Page
- Left/Center/Right Align

Each page will have its own set of values that will define the settings. These values will be stored in a cookie file. Within this cookie file will be the entire configuration of the site. Defined variables would be along the lines of:
main_module_left_1=""
main_moedule_left_2=""
main_page_align=""
main_module_textcolor=""
and so on...

When the page loads, it will read these values and build the CSS stylesheet dynamically. At least, that's what the goal is.

No comments: