aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.css
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2006-12-17 23:07:28 +0100
committerLars Hjemli <hjemli@gmail.com>2006-12-17 23:07:28 +0100
commit6cb326c83b3c0b35d472305294afee3105b3088d (patch)
treefcceeec36ae6f1b3b8e9f861064e2d6ba962a6e0 /cgit.css
parent9c5229ea394808f90433ee84439503bee124e1de (diff)
Show list of modified files in ui-commit.c
Compare current commit with 1.parent, and for each affected file display current filemode, old filemode if changed, current filename and source filename if it was a copy/rename. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css51
1 files changed, 43 insertions, 8 deletions
diff --git a/cgit.css b/cgit.css
index 94372d6..ae304fa 100644
--- a/cgit.css
+++ b/cgit.css
@@ -3,7 +3,7 @@ body {
font-size: normal;
background: white;
padding: 0em;
- margin: 0.5em;
+ margin: 0.5em 1em;
}
@@ -50,16 +50,19 @@ img {
div#header {
- background-color: #ddd;
+ background-color: #eee;
padding: 0.25em 0.25em 0.25em 0.5em;
font-size: 150%;
font-weight: bold;
- border: solid 1px #aaa;
+ border: solid 1px #ccc;
vertical-align: middle;
}
div#header img#logo {
float: right;
}
+div#header a {
+ color: black;
+}
div#content {
margin: 0.5em 0.5em;
@@ -97,8 +100,7 @@ table.log td {
table.commit-info {
border-collapse: collapse;
- margin-top: 1em;
-
+ margin-top: 1.5em;
}
table.commit-info th {
text-align: left;
@@ -111,14 +113,47 @@ table.commit-info td {
}
div.commit-subject {
font-weight: bold;
- font-size: 110%;
- margin: 1em 0em 1em;
+ font-size: 125%;
+ margin: 1.5em 0em 0.5em 0em;
+ padding: 0em;
}
div.commit-msg {
white-space: pre;
- font-family: courier;
+ font-family: monospace;
+}
+table.diffstat {
+ border-collapse: collapse;
+ margin-top: 1.5em;
+}
+table.diffstat th {
+ font-weight: normal;
+ text-align: left;
+ text-decoration: underline;
+ padding: 0.1em 1em 0.1em 0.1em;
font-size: 100%;
}
+table.diffstat td {
+ padding: 0.1em 1em 0.1em 0.1em;
+ font-size: 100%;
+}
+table.diffstat td span.modechange {
+ padding-left: 1em;
+ color: red;
+}
+table.diffstat td.add a {
+ color: green;
+}
+table.diffstat td.del a {
+ color: red;
+}
+table.diffstat td.upd a {
+ color: blue;
+}
+table.diffstat td.summary {
+ /* border-top: solid 1px black; */
+ color: #888;
+ padding-top: 0.5em;
+}
.sha1 {
font-family: courier;
font-size: 90%;