=================================================================== RCS file: /cvs/cvsweb/css/cvsweb.css,v retrieving revision 3.1 retrieving revision 4.4 diff -u -p -r3.1 -r4.4 --- cvsweb/css/cvsweb.css 2002/11/16 00:01:01 3.1 +++ cvsweb/css/cvsweb.css 2019/11/11 14:37:55 4.4 @@ -1,5 +1,6 @@ -/* CSS for FreeBSD-CVSweb */ -/* $FreeBSD$ */ +/* CSS for CVSweb */ +/* $Id: cvsweb.css,v 4.4 2019/11/11 14:37:55 schwarze Exp $ */ +/* $knu: css/cvsweb.css,v 1.16 2005/12/03 18:39:45 scop */ body { color: #000; @@ -8,51 +9,146 @@ body { th { text-align: left; } +hr { + height: 1px; + border: none; + background-color: #000; +} +h1 { + text-align: center; +} +fieldset { + background-color: #eee; + padding: 0.8em; +} +input[type="submit"] { + padding-left: 0.5em; + padding-right: 0.5em; +} + +/* Generic nowrap class */ +.nowrap { + white-space: nowrap; +} + /* Source, diff and annotate views */ .src { + color: #000; background-color: #eee; + font-style: normal; + font-weight: normal; } -/* Navigation header for diffs and annotations */ + +/* Navigation header for source views, diffs and annotations */ .navigate-header { background-color: #99e; + padding: 2px; + border: 2px outset; } + /* Directory table */ table.dir { - border-width: 0; - background-color: #ccc; + border-right: 0px solid #ccc; } -/* Directory column header */ -.dir-header { - background-color: #ffc; +/* Cells */ +table.dir * td { + border-left: 1px solid #fff; + padding-left: 5px; + padding-right: 5px; } -/* Sorted directory column header */ -.dir-header-sorted { - background-color: #fc6; +/* Column headers */ +table.dir * th { + background-color: #ccc; + border-left: 1px solid #fff; + border-bottom: 1px solid #fff; + padding-left: 5px; + padding-right: 5px; } -/* Odd rows in directory table */ -.dir-row-odd { - background-color: #fff; +/* Sorted column header */ +table.dir * th.sorted { + background-color: #8f8; + border-left: 1px solid #fff; + border-bottom: 1px solid #fff; } -/* Even rows in directory table */ -.dir-row-even { +/* Even rows */ +table.dir * tr.even { background-color: #fff; } +/* Odd rows */ +table.dir * tr.odd { + background-color: #cce; +} +/* File and dir name columns */ +table.dir * td.file, table.dir * td.dir { + white-space: nowrap; +} +/* Age column */ +table.dir * td.age { + color: #000; + font-style: italic; + white-space: nowrap; +} +table.dir * td.years { + color: #000; +} +table.dir * td.months { + color: #0a0; +} +table.dir * td.weeks { + color: #aa0; +} +table.dir * td.days, table.dir * td.hours, +table.dir * td.minutes, table.dir * td.seconds { + color: #f00; +} +/* Author column */ +table.dir * td.author { + white-space: nowrap; +} +/* Log entry column */ +table.dir * td.log { + font-size: smaller; +} +/* Attic toggles in directory view */ +.attic { + font-size: smaller; +} + +/* Option table labels and values */ +.opt-label { + text-align: right; + padding-left: 0.5em; +} +.opt-value { + padding-right: 0.5em; +} + /* Log entry in markup */ .log-markup { background-color: #fff; + width: 100%; } + /* Diff-selected revision in log */ .diff-selected { - background-color: #eee; + padding-right: 0.5em; + border-right: 10px solid #fc6; } + /* 'Line'-header of each diffed file */ .diff-heading { background-color: #9cc; + border: 2px outset; + padding: 5px; } +/* Common properties for diff "contents" */ +.diff { + font-family: sans-serif; + font-size: smaller; +} /* Lines that are the same */ .diff-same { - font-family: Helvetica, Arial, sans-serif; - font-size: smaller; + background-color: inherit; } /* Empty lines */ .diff-empty { @@ -60,23 +156,35 @@ table.dir { } /* Added lines */ .diff-added { - background-color: #ccf; - font-family: Helvetica, Arial, sans-serif; - font-size: smaller; + background-color: #9f9; } /* Removed lines */ .diff-removed { background-color: #f99; - font-family: Helvetica, Arial, sans-serif; - font-size: smaller; } /* Changed lines */ .diff-changed { - background-color: #9f9; - font-family: Helvetica, Arial, sans-serif; - font-size: smaller; + background-color: #ff6; } /* Empty changed lines */ .diff-changed-missing { - background-color: #9c9; + background-color: #ee6; +} +/* Unchanged text in ediffs */ +.diff-unchanged { + background-color: #ccc; +} + +/* Current revision lines in annotate view */ +.current-rev { + font-weight: bold; +} + +/* Download links */ +.download-link { + font-weight: bold; +} +/* Display links */ +.display-link { + font-weight: bold; }