Changeset 380 for trunk/lib/css.cc


Ignore:
Timestamp:
Jun 21, 2007, 9:25:39 PM (14 years ago)
Author:
Jari Häkkinen
Message:

Addresses #62. First blame output with lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/css.cc

    r379 r380  
    147147    s << "table.main td {\n";
    148148    s << " padding: 0 1em .1em 0;\n";
    149     s << "}\n";
     149    s << "}\n\n";
    150150
    151151    s << "table.blame {\n";
     
    157157    s << " width: 100%;\n";
    158158    s << "}\n";
    159     s << "\n";
    160159    s << "table.blame th {\n";
    161160    s << " text-align: left;\n";
     
    163162    s << " font-size: 12px\n";
    164163    s << "}\n";
     164    s << "table.blame th.author { width: 8em; text-align:right }\n";
     165    s << "table.blame th.date { width: 8em; text-align:center }\n";
     166    s << "table.blame th.number { width: 2em }\n";
    165167    s << "table.blame thead { background: #f7f7f0 }\n";
    166168    s << "table.blame thead th {\n";
     
    172174    s << " vertical-align: bottom;\n";
    173175    s << "}\n";
    174     s << "\n";
    175     s << "table.blame tbody td a:hover, table.listing tbody th a:hover {\n";
    176     s << " background-color: transparent;\n";
    177     s << "}\n";
    178     s << "\n";
    179     s << "table.blame tbody td, table.listing tbody th {\n";
     176    s << "table.blame tbody td a:hover, table.blame tbody th a:hover {\n";
     177    s << " background-color: transparent;\n";
     178    s << "}\n";
     179    s << "table.blame tbody td, table.blame tbody th {\n";
    180180    s << " border: 1px dotted #ddd;\n";
    181181    s << " padding: .33em .5em;\n";
    182     s << " vertical-align: top;\n";
    183     s << "}\n";
    184     s << "\n";
    185     s << "table.blame tbody td a:hover, table.listing tbody th a:hover {\n";
     182    s << " vertical-align: bottom;\n";
     183    s << "}\n";
     184    s << "table.blame tbody td a:hover, table.blame tbody th a:hover {\n";
    186185    s << " background-color: transparent;\n";
    187186    s << "}\n";
     
    191190    s << "table.blame tbody tr:hover { background: #eed }\n";
    192191    s << "table.blame tbody td { text-align: left }\n";
     192    s << "table.blame tbody td.author { text-align: right }\n";
     193    s << "table.blame tbody td.code { font: normal 12px monospace }\n";
     194    s << "table.blame tbody td.date { text-align: center }\n";
     195    s << "table.blame tbody td.number { text-align: right }\n";
    193196    s << "table.blame tbody td a { display: block; }\n";
    194197    s << "table.blame tbody td.directory a { font-weight: bold }\n";
Note: See TracChangeset for help on using the changeset viewer.