Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

#1605 closed defect (worksforme)

Conflicting styles in stylesheets

Reported by: Rede Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: minor Keywords: stylesheet
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Some stylesheets (like wiki.css and report.css) has conflicting styles defined. It messes up output if you want to use styles from different stylesheets. If you want i.e. simple macro to output bugs in wikipage with same colors as used in ticket report list. you can't use styles from report.css since report.css contains diffrenet secondlevel (<h2>) heading style as wiki.css does.

Attachments (0)

Change History (2)

comment:1 by sid, 18 years ago

The <h2> heading tag no longer exists in wiki.css in 0.10. That should solve your specific problem. The template pages are using <div class=...> and the .css files generally have corresponding entries. For example from report.css:

table.tickets tbody tr.prio1 { background: #fdc; border-color: #e88 }
table.tickets tbody tr.even.prio1 { background: #fed; border-color: #e99 }
table.tickets tbody tr.prio2 { background: #ffb; border-color: #eea }
table.tickets tbody tr.even.prio2 { background: #ffd; border-color: #dd8 }
table.tickets tbody tr.prio3  { background: #fbfbfb; border-color: #ddd }
table.tickets tbody tr.even.prio3 { background: #f6f6f6; border-color: #ccc }
table.tickets tbody tr.prio4 { background: #e7ffff; border-color: #cee }
table.tickets tbody tr.even.prio4 { background: #dff; border-color: #bee }
table.tickets tbody tr.prio5 { background: #e7eeff; border-color: #cde }
table.tickets tbody tr.even.prio5 { background: #dde7ff }
table.tickets tbody tr.prio6 { background: #f0f0f0; border-color: #ddd }
table.tickets tbody tr.even.prio6 { background: #f7f7f7 }

So there should be few (if any) conflicts anymore.

comment:2 by Christian Boos, 18 years ago

Resolution: worksforme
Status: newclosed

Feel free to reopen if there's still a conflict that can be pointed out.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.