Opened 8 years ago
Closed 8 years ago
#12794 closed enhancement (worksforme)
Background color table rows
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | WikiTableMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description (last modified by )
It is possible to set the background color for the rows of the table? Or can I use the default background color for the table?
Colors in Trac:
Colors in WikiTableMacro:
Attachments (3)
Change History (5)
Changed 8 years ago by
Attachment: | TRAC_org.jpg added |
---|
comment:2 Changed 8 years ago by
Description: | modified (diff) |
---|
Changed 8 years ago by
Attachment: | Screen Shot 2016-06-27 at 08.39.23.png added |
---|
comment:3 Changed 8 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
The default background coloring for tables is already used, as shown in the screen capture below. What you are showing in your screen captures is the colorization, such as by priority, for output from a ticket query.
The table has classes listing
and wikitable
and the rows have classes even
and odd
: wikitablemacro/trunk/wikitable/table.py@14734:68-72#L48. You could add some CSS to your site customization to color the rows. See TracInterfaceCustomization#SiteAppearance for more info.
Trac colors