Changeset 403 for trunk/lib/css.cc


Ignore:
Timestamp:
Jun 29, 2007, 1:23:12 AM (14 years ago)
Author:
Peter Johansson
Message:

fixes #160 - color coding different linetypes in blame output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/css.cc

    r402 r403  
    177177    s << "table.blame th.author { width: 5em; text-align:right }\n";
    178178    s << "table.blame th.date { width: 8em; text-align:center }\n";
    179     s << "table.blame th.number { width: 3em }\n";
     179    s << "table.blame th.rev { width: 3em }\n";
     180    s << "table.blame th.line { width: 3em }\n";
    180181    s << "table.blame thead th {\n";
    181182    s << " background: #eee;\n";
     
    195196    s << "table.blame tbody td.author { text-align: right; }\n";
    196197    s << "table.blame tbody td.date { text-align: center; }\n";
    197     s << "table.blame tbody td.number { text-align: right; }\n";
     198    s << "table.blame tbody td.rev { text-align: right; }\n";
     199    s << "table.blame tbody td.line-code { text-align: right; "
     200      << "background: #cfcfff; }\n";
     201    s << "table.blame tbody td.line-comment { text-align: right; "
     202      << "background: #e8e8ff; }\n";
     203    s << "table.blame tbody td.line-other { text-align: right; "
     204      << "background: #fffff}\n";
    198205    s << "table.blame tbody tr:hover { background: #eed; }\n";
    199206    s << "\n";
Note: See TracChangeset for help on using the changeset viewer.