diff options
author | Alex Lewis <alex.lewis001@gmail.com> | 2013-11-20 17:32:27 +0000 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-12-02 14:59:40 -0500 |
commit | e3733c7a39cb0249922c7042d6b21a10c2e21e53 (patch) | |
tree | dd267b3f3db5312f3569247fc4707089ead27178 /src/main/resources | |
parent | 088b6f33671697dc8c15197b0a63eecf6d74f75f (diff) | |
download | gitblit-e3733c7a39cb0249922c7042d6b21a10c2e21e53.tar.gz gitblit-e3733c7a39cb0249922c7042d6b21a10c2e21e53.zip |
Add coloring modes to the blame page (issue-2, pull request #125)
Blame output is now colored according to Commit (default), Author or
Age. Both Commit and Author output uses random colors whereas Age uses a
single color with varying tints applied to indicate the age. White
indicates the eldest commit with the tint darkening as the commits get
younger.
Change-Id: I045458329af4765e91d5829ce3e8d28e21eeb66e
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/gitblit.css | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index b7853279..c07f8bf8 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -1318,6 +1318,7 @@ table.gitnotes td.message { }
table.annotated {
+ width: 100%;
border:1px solid #ddd;
}
@@ -1334,6 +1335,24 @@ table.annotated td { border: 0;
}
+table.annotated td.lineCommit {
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+table.annotated td.lineNumber {
+ border-right: 1px solid #ddd;
+ border-left: 1px solid #ddd;
+ padding-left: 5px;
+ padding-right: 5px;
+ text-align: right;
+}
+
+table.annotated td.lineContent {
+ padding-left: 5px;
+ font: monospace;
+}
+
table.activity {
width: 100%;
margin-top: 10px;
@@ -1379,7 +1398,7 @@ td.date { white-space: nowrap;
}
-span.sha1, span.sha1 a, span.sha1 a span, .commit_message, span.shortsha1 {
+span.sha1, span.sha1 a, span.sha1 a span, .commit_message, span.shortsha1, td.sha1 {
font-family: consolas, monospace;
font-size: 13px;
}
|