Edgewall Software

Ticket #5128 (closed defect: duplicate)

Opened 20 months ago

Last modified 10 months ago

font-weight has no effect in __style__ for report lines

Reported by: anonymous Owned by: mgood
Priority: low Milestone:
Component: report system Version:
Severity: minor Keywords:
Cc:

Description

The documentation for style indicates that a CSS style statement can be used to format lines in a report. I've found that some CSS style statements work (such as background-color) but some do not (font-weight for example does not). The example given in the instructions show font-weight being used, so I assume it's supposed to be supported.

Attachments

Change History

Changed 15 months ago by jtuchscherer

In the trac.css there is a style defined for the td element. The style is defined like this:

body, th, td { font: normal 13px verdana,arial,'Bitstream Vera Sans',helvetica,sans- serif;

}

The font setting 'normal' in the css for font-style overwrites the css setting (font-style: bold;) in the <tr> element for the row that matches my criteria. So I changed the trac.css to the following:

body, th, td { font-size: 13px; font-family: verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif;

}

That solved my problem and I have now bolded lines in my report.

I am running version .10.4

Changed 15 months ago by ThurnerRupert

could you try with 0.11 pls? with easy_install trac, see wiki:0.11/TracInstall?

Changed 10 months ago by osimons

  • status changed from new to closed
  • resolution set to duplicate

Closing this as a duplicate of #2645 that seems to report exactly the same 'inconvenience'.

Add/Change #5128 (font-weight has no effect in __style__ for report lines)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from mgood. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.