Changeset 831 for trunk/lib/css.cc


Ignore:
Timestamp:
Oct 29, 2009, 4:24:49 AM (13 years ago)
Author:
Peter Johansson
Message:

fixes #240 - explain linetype coloring in blame output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/css.cc

    r760 r831  
    245245
    246246    s << ".sep { color: #666}\n";
     247    s << "div.blame_legend .code { background: #cfcfff; }\n"
     248      << "div.blame_legend .comment { background: #e8e8ff; }\n"
     249      << "div.blame_legend .other { background: #ffffff; }\n"
     250      << "div.blame_legend {\n"
     251      << "float: left;\n"
     252      << "font-size: 9px;\n"
     253      << "margin: 1em 0;\n"
     254      << "padding: .5em;\n"
     255      << "} \n"
     256      << "div.blame_legend dt {\n"
     257      << "background: #fff;\n"
     258      << "border: 1px solid #999;\n"
     259      << "float: left;\n"
     260      << "margin: .1em .5em .1em 2em;\n"
     261      << "overflow: hidden;\n"
     262      << "width: .8em; height: .8em;\n"
     263      << "}\n"
     264      << "div.blame_legend dl, div.blame_legend dd {\n"
     265      << "display: inline;\n"
     266      << "float: left;\n"
     267      << "padding: 0;\n"
     268      << "margin: 0;\n"
     269      << "margin-right: 1.5em;\n"
     270      << "}\n";
    247271    s.close();
    248272  }
Note: See TracChangeset for help on using the changeset viewer.