From 072643f0b4b808d7fdf4cb73c65045e3b034dad8 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 15 Apr 2011 17:32:28 -0400 Subject: [PATCH] Show commit parents on separate lines. "tagger" instead of "author". --- src/com/gitblit/wicket/resources/gitblit.css | 78 +++++++++++++++++++++------------------ 1 files changed, 42 insertions(+), 36 deletions(-) diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css index 4587f78..c5a416b 100644 --- a/src/com/gitblit/wicket/resources/gitblit.css +++ b/src/com/gitblit/wicket/resources/gitblit.css @@ -87,26 +87,15 @@ padding: 0px 0px 15px 5px; } -div.link { - padding: 2px 5px; +span.link, span.link a { font-family: sans-serif; font-size: 11px; } -div.link span { - font-family: inherit; - font-size: inherit; -} - -div.link a { - font-family: inherit; - font-size: inherit; -} - -div.link em, div.link span em { +span.link em, div.link span em { font-style: normal; - font-family: inherit; - font-size: inherit; + font-family: sans-serif; + font-size: 11px; } div.page_header { @@ -229,9 +218,9 @@ background-color: #EDECE6; border-color: #D9D8D1; border-style: solid; - border-width: 1px 0; + border-width: 1px; font-weight: bold; - margin-top: 4px; + margin-top: 10px; padding: 4px 0 2px; } @@ -241,17 +230,17 @@ font-family: inherit; } -div.diff.add { +span.diff.add { color: #008800; font-family: inherit; } -div.diff.remove { +span.diff.remove { color: #cc0000; font-family: inherit; } -div.diff.unchanged { +span.diff.unchanged { color: inherit; font-family: inherit; } @@ -304,11 +293,20 @@ padding: 8px; } -table.pretty, table.repositories { +table.pretty, table.repositories, table.comments { margin-bottom:5px; border-spacing: 0px; border-left: 1px solid #bbb; border-right: 1px solid #bbb; +} + +table.pretty td { + padding: 2px 4px; +} + +table.comments td { + padding: 4px; + line-height: 17px; } table.repositories { @@ -388,7 +386,7 @@ font-style: italic; } -td.sha1, td.sha1 span { +span.sha1, span.sha1 a, span.sha1 a span { font-family: monospace; font-size: 13px; } @@ -409,38 +407,46 @@ text-align: right; } -span .tag, span .head, span .ref { +span .tagRef, span .headRef, span .remoteRef, span .otherRef { padding: 0px 4px; + margin-right:2px; font-family: sans-serif; + font-size: 9px; font-weight: normal; border: 1px solid; color: black; } -span .tag a, span .head a, span .ref a { - text-decoration: none; - color: inherit; -} - -span .tag a:hover, span .head a:hover, span .ref a:hover { - color: inherit; -} - -span .tag a span, span .head a span, span .ref a span { +span .tagRef a span, span .headRef a span, span .remoteRef a span, span .otherRef a span { font-size: 9px; } -span .ref { +span .tagRef a, span .headRef a, span .remoteRef a, span .otherRef a { + text-decoration: none; + color: black; +} + +span .tagRef a:hover, span .headRef a:hover, span .remoteRef a:hover, span .otherRef a:hover { + color: black; + text-decoration: underline; +} + +span .otherRef { + background-color: #ffaaff; + border-color: #ffccff #ff00ee #ff00ee #ffccff; +} + +span .remoteRef { background-color: #aaaaff; border-color: #ccccff #0033cc #0033cc #ccccff; } -span .tag { +span .tagRef { background-color: #ffffaa; border-color: #ffffcc #ffee00 #ffee00 #ffffcc; } -span .head { +span .headRef { background-color: #aaffaa; border-color: #ccffcc #00cc33 #00cc33 #ccffcc; } \ No newline at end of file -- Gitblit v1.9.1