Opened 16 years ago

Last modified 16 years ago

#672 new Enhancement

Cascading in CSS code missing

Reported by: jbk Owned by: davea
Priority: Minor Milestone: Undetermined
Component: Web - Project Version:
Keywords: CSS framework Cc:

Description

Currently the web CSS code is one big stylesheet (either black, white or the new one) making it hard for projects to make and maintain their own customizations.

Proposal

Change the CSS code to be 3-level.
The base level::

includes styles necessary for correct layouting and display but nothing fancy

The look-and-feel level::

includes styles that add a certain look or feel to the base layout (this is stuff like white, black, etc)

The project level::

This level includes customizations made by the project.


The base level is always included in the HTML header. The look-and-feel is configured in the project configuration file and included based on the selection there. The project customization is originally an example file provided in the framework in /html/project.example/ allowing a project to override or expand the styles. It is included if present.

Change History (2)

comment:1 Changed 16 years ago by jbk

Priority: UndeterminedMinor

comment:2 Changed 16 years ago by davea

Good idea. Please divide white.css (and/or style2.css) into these 3 parts.

Note: See TracTickets for help on using tickets.