Changeset 379 for trunk/lib/css.cc


Ignore:
Timestamp:
Jun 20, 2007, 11:35:02 PM (14 years ago)
Author:
Jari Häkkinen
Message:

Addresses #62.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/css.cc

    r367 r379  
    22
    33/*
    4   Copyright (C) 2006, 2007 Peter Johansson
     4  Copyright (C) 2006 Peter Johansson
     5  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    56
    67  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
     
    3637    s << "<-- svndigest.css generated by " << PACKAGE_STRING << "\n"
    3738
    38       << "Copyright (C) 2006, 2007 Peter Johansson\n\n"
     39      << "Copyright (C) 2006 Peter Johansson\n"
     40      << "Copyright (C) 2007 Jari Häkkinen, Peter Johansson\n\n"
    3941      << "This file is part of svndigest, "
    4042      << "http://lev.thep.lu.se/trac/svndigest\n\n"
     
    6769      << "1. Redistributions of source code must retain the above copyright\n"
    6870      << "   notice, this list of conditions and the following disclaimer.\n"
    69       << "2. Redistributions in binary form must reproduce the above "
    70       << "copyright\n"
     71      << "2. Redistributions in binary form must reproduce the above copyright\n"
    7172      << "   notice, this list of conditions and the following disclaimer in\n"
    7273      << "   the documentation and/or other materials provided with the\n"
     
    8889      << "SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->\n";
    8990
    90 
    9191    s << "body {\n";
    9292    s << " background: #fff; \n";
     
    9696    s << "} \n";
    9797    s << "\n";
     98
    9899    s << "#menu {\n";
    99100    s << " background: #eee;\n";
     
    117118    s << "}\n";
    118119    s << "\n";
     120
    119121    s << "body, th, td {\n";
    120122    s << " font: normal 13px verdana,arial,'Bitstream Vera Sans',"
     
    126128    s << "}\n";
    127129    s << "\n";
     130
    128131    s << "div.main {\n";
    129132    s << "margin-top: 50px;\n";         
     
    131134    s << " \n";
    132135    s << "}\n";
     136
    133137    s << "table.main {\n";
    134138    s << " text-align: left;\n";
     
    144148    s << " padding: 0 1em .1em 0;\n";
    145149    s << "}\n";
     150
     151    s << "table.blame {\n";
     152    s << " clear: both;\n";
     153    s << " border-bottom: 1px solid #d7d7d7;\n";
     154    s << " border-collapse: collapse;\n";
     155    s << " border-spacing: 0;\n";
     156    s << " margin-top: 1em;\n";
     157    s << " width: 100%;\n";
     158    s << "}\n";
     159    s << "\n";
     160    s << "table.blame th {\n";
     161    s << " text-align: left;\n";
     162    s << " padding: 0 1em .1em 0;\n";
     163    s << " font-size: 12px\n";
     164    s << "}\n";
     165    s << "table.blame thead { background: #f7f7f0 }\n";
     166    s << "table.blame thead th {\n";
     167    s << " border: 1px solid #d7d7d7;\n";
     168    s << " border-bottom-color: #999;\n";
     169    s << " font-size: 11px;\n";
     170    s << " font-wheight: bold;\n";
     171    s << " padding: 2px .5em;\n";
     172    s << " vertical-align: bottom;\n";
     173    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";
     180    s << " border: 1px dotted #ddd;\n";
     181    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";
     186    s << " background-color: transparent;\n";
     187    s << "}\n";
     188    s << "table.blame tbody tr { border-top: 1px solid #ddd }\n";
     189    s << "table.blame tbody tr.light { background-color: #fcfcfc }\n";
     190    s << "table.blame tbody tr.dark { background-color: #f7f7f7 }\n";
     191    s << "table.blame tbody tr:hover { background: #eed }\n";
     192    s << "table.blame tbody td { text-align: left }\n";
     193    s << "table.blame tbody td a { display: block; }\n";
     194    s << "table.blame tbody td.directory a { font-weight: bold }\n";
     195    s << "\n";
     196
    146197    s << "table.listings {\n";
    147198    s << " clear: both;\n";
     
    189240    s << "table.listings tbody td.directory a { font-weight: bold }\n";
    190241    s << "\n";
     242
    191243    s << ".sep { color: #666}\n";
    192244    s << "\n";
Note: See TracChangeset for help on using the changeset viewer.