cmlenz@39: /* Diff preferences */ cmlenz@39: #prefs fieldset { margin: 1em .5em .5em; padding: .5em 1em 0 } cmlenz@39: cmlenz@39: /* Diff/change overview */ cmlenz@39: #overview { cmlenz@39: line-height: 130%; cmlenz@39: margin-top: 1em; cmlenz@39: padding: .5em; cmlenz@39: } cmlenz@39: #overview dt.property { cmlenz@39: font-weight: bold; cmlenz@39: padding-right: .25em; cmlenz@39: position: absolute; cmlenz@39: left: 0; cmlenz@39: text-align: right; cmlenz@39: width: 7.75em; cmlenz@39: } cmlenz@39: #overview dd { margin-left: 8em } cmlenz@39: cmlenz@39: #overview .message { padding: 1em 0 1px } cmlenz@39: #overview dd.message p, #overview dd.message ul, #overview dd.message ol, cmlenz@39: #overview dd.message pre { cmlenz@39: margin-bottom: 1em; cmlenz@39: margin-top: 0; cmlenz@39: } cmlenz@39: cmlenz@39: /* Colors for change types */ cmlenz@39: #chglist .edit, #overview .mod, .diff #legend .mod { background: #fd8 } cmlenz@39: #chglist .delete, #overview .rem, .diff #legend .rem { background: #f88 } cmlenz@39: #chglist .add, #overview .add, .diff #legend .add { background: #bfb } cmlenz@39: #chglist .copy, #overview .cp, .diff #legend .cp { background: #88f } cmlenz@39: #chglist .move, #overview .mv, .diff #legend .mv { background: #ccc } cmlenz@39: #chglist .unknown { background: #fff } cmlenz@39: cmlenz@39: /* Legend for diff colors */ cmlenz@39: .diff #legend { cmlenz@39: float: left; cmlenz@39: font-size: 9px; cmlenz@39: line-height: 1em; cmlenz@39: margin: 1em 0; cmlenz@39: padding: .5em; cmlenz@39: } cmlenz@39: .diff #legend h3 { display: none; } cmlenz@39: .diff #legend dt { cmlenz@39: background: #fff; cmlenz@39: border: 1px solid #999; cmlenz@39: float: left; cmlenz@39: margin: .1em .5em .1em 2em; cmlenz@39: overflow: hidden; cmlenz@39: width: .8em; height: .8em; cmlenz@39: } cmlenz@39: .diff #legend dl, .diff #legend dd { cmlenz@39: display: inline; cmlenz@39: float: left; cmlenz@39: padding: 0; cmlenz@39: margin: 0; cmlenz@39: margin-right: .5em; cmlenz@39: } cmlenz@39: cmlenz@39: /* Styles for the list of diffs */ cmlenz@39: .diff ul.entries { clear: both; margin: 0; padding: 0 } cmlenz@39: .diff li.entry { cmlenz@39: background: #f7f7f7; cmlenz@39: border: 1px solid #d7d7d7; cmlenz@39: list-style-type: none; cmlenz@39: margin: 0 0 2em; cmlenz@39: padding: 2px; cmlenz@39: position: relative; cmlenz@39: width: 100%; cmlenz@39: } cmlenz@39: .diff h2 { cmlenz@39: color: #333; cmlenz@39: font-size: 14px; cmlenz@39: letter-spacing: normal; cmlenz@39: margin: 0 auto; cmlenz@39: padding: .1em 0 .25em .5em; cmlenz@39: } cmlenz@39: cmlenz@39: /* Styles for the actual diff tables (side-by-side and inline) */ cmlenz@39: .diff table { cmlenz@39: border: 1px solid #ddd; cmlenz@39: border-spacing: 0; cmlenz@39: border-top: 0; cmlenz@39: empty-cells: show; cmlenz@39: font-size: 12px; cmlenz@39: line-height: 130%; cmlenz@39: padding: 0; cmlenz@39: margin: 0 auto; cmlenz@39: table-layout: fixed; cmlenz@39: width: 100%; cmlenz@39: } cmlenz@39: .diff table col.lineno { width: 4em } cmlenz@39: .diff table th { cmlenz@39: border-right: 1px solid #d7d7d7; cmlenz@39: border-bottom: 1px solid #998; cmlenz@39: font-size: 11px; cmlenz@39: } cmlenz@39: .diff table thead th { cmlenz@39: background: #eee; cmlenz@39: border-top: 1px solid #d7d7d7; cmlenz@39: color: #999; cmlenz@39: padding: 0 .25em; cmlenz@39: text-align: center; cmlenz@39: white-space: nowrap; cmlenz@39: } cmlenz@39: .diff table tbody th { cmlenz@39: background: #eed; cmlenz@39: color: #886; cmlenz@39: font-weight: normal; cmlenz@39: padding: 0 .5em; cmlenz@39: text-align: right; cmlenz@39: vertical-align: top; cmlenz@39: } cmlenz@39: .diff table tbody td { cmlenz@39: background: #fff; cmlenz@39: font: normal 11px monospace; cmlenz@39: overflow: hidden; cmlenz@39: padding: 1px 2px; cmlenz@39: vertical-align: top; cmlenz@39: } cmlenz@39: .diff table tbody.skipped td { cmlenz@39: background: #f7f7f7; cmlenz@39: border: 1px solid #d7d7d7; cmlenz@39: } cmlenz@39: .diff table td del, .diff table td ins { text-decoration: none } cmlenz@39: .diff table td del { color: #600 } cmlenz@39: .diff table td ins { color: #060 } cmlenz@39: cmlenz@39: /* Styles for the inline diff */ cmlenz@39: .diff table.inline tbody.mod td.l, .diff table.inline tbody.rem td.l { cmlenz@39: background: #fdd; cmlenz@39: border-color: #c00; cmlenz@39: border-style: solid; cmlenz@39: border-width: 0 1px 0 1px; cmlenz@39: } cmlenz@39: .diff table.inline tbody.mod td.r, .diff table.inline tbody.add td.r { cmlenz@39: background: #dfd; cmlenz@39: border-color: #0a0; cmlenz@39: border-style: solid; cmlenz@39: border-width: 0 1px 0 1px; cmlenz@39: } cmlenz@39: .diff table.inline tbody.mod tr.first td.l, cmlenz@39: .diff table.inline tbody.rem tr.first td.l { border-top-width: 1px } cmlenz@39: .diff table.inline tbody.mod tr.last td.l, cmlenz@39: .diff table.inline tbody.rem tr.last td.l { border-bottom-width: 1px } cmlenz@39: .diff table.inline tbody.mod tr.first td.r, cmlenz@39: .diff table.inline tbody.add tr.first td.r { border-top-width: 1px } cmlenz@39: .diff table.inline tbody.mod tr.last td.r, cmlenz@39: .diff table.inline tbody.add tr.last td.r { border-bottom-width: 1px } cmlenz@39: .diff table.inline tbody.mod td del { background: #e99; color: #000 } cmlenz@39: .diff table.inline tbody.mod td ins { background: #9e9; color: #000 } cmlenz@39: cmlenz@39: /* Styles for the side-by-side diff */ cmlenz@39: .diff table.sidebyside colgroup.content { width: 50% } cmlenz@39: .diff table.sidebyside tbody.mod td.l { background: #fe9 } cmlenz@39: .diff table.sidebyside tbody.mod td.r { background: #fd8 } cmlenz@39: .diff table.sidebyside tbody.add td.l { background: #dfd } cmlenz@39: .diff table.sidebyside tbody.add td.r { background: #cfc } cmlenz@39: .diff table.sidebyside tbody.rem td.l { background: #f88 } cmlenz@39: .diff table.sidebyside tbody.rem td.r { background: #faa } cmlenz@39: .diff table.sidebyside tbody.mod del, .diff table.sidebyside tbody.mod ins { cmlenz@39: background: #fc0; cmlenz@39: }