Edgewall Software

Opened 11 years ago

Last modified 10 years ago

#11126 closed enhancement

Some templates could override layout (and theme) stylesheets with own stylesheets — at Initial Version

Reported by: dawuid@… Owned by:
Priority: normal Milestone: 1.1.2
Component: rendering Version: 1.0.1
Severity: trivial Keywords: layout template stylesheet css
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Some templates put css stylesheets after layout stylesheets. That means that templates stylesheets can override styles defined in themes. Other templates add their own stylesheets through add_stylesheet. In this way layout stylesheets are written in head tag after them (so they override styles). I think that the last behavior is the valid one (and the first one is due to changes not yet committed).

Templates that I can see with ¿old behavior?:

I have attached a patch that change some (error.html and prefs_pygments.html are too complex for me) of these templates to add_stylesheet behavior.

Change History (1)

by dawuid@…, 11 years ago

Attachment: layout.patch added

Modify some templates to converge to add_stylesheet behavior

Note: See TracTickets for help on using tickets.