Edgewall Software
Modify

Ticket #5128 (closed defect: duplicate)

Opened 5 years ago

Last modified 4 years 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:
Release Notes:
API Changes:

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

comment:1 Changed 4 years 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

comment:2 Changed 4 years ago by ThurnerRupert

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

comment:3 Changed 4 years ago by osimons

  • Resolution set to duplicate
  • Status changed from new to closed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from mgood. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.