Modify ↓
      
Opened 13 years ago
Last modified 2 years ago
#10812 new defect
CSS conflict for .cp class in changeset view
| Reported by: | Christian Boos | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | next-stable-1.6.x | 
| Component: | version control/changeset view | Version: | 1.0b1 | 
| Severity: | minor | Keywords: | css | 
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
If one has a #!cpp block in a changeset comment, then the Pygments highlighting can get disrupted by the CSS from diff.css, due to the reuse of the .cp class:
.chglist .copy, #overview .cp, .diff .legend .cp { background: #88f }
(in diff.css, line 24)
div.code pre .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
(in pygments/trac.css)
The result, a gray #include ... on a light blue background is barely readable…
The #overview .cp should at least be renamed .copy or even .trac-copy.
Attachments (0)
Change History (4)
comment:1 by , 13 years ago
| Version: | → 1.0b1 | 
|---|
comment:2 by , 9 years ago
| Milestone: | next-stable-1.0.x → next-stable-1.2.x | 
|---|
comment:3 by , 5 years ago
| Milestone: | next-stable-1.2.x → next-stable-1.4.x | 
|---|
  Note:
 See   TracTickets
 for help on using tickets.
    


  
Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.