summaryrefslogtreecommitdiffstats
path: root/resources/gitblit.css
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-04-06 09:27:14 -0400
committerJames Moger <james.moger@gitblit.com>2011-04-06 09:27:14 -0400
commit87c3d714693b216cee9c31cdc5170715c56f541d (patch)
treeaa9744ccaf2861e8aaed38edb349eed545bf34bc /resources/gitblit.css
parent232890f03476b8bb231d17883eb0faff93ec5049 (diff)
downloadgitblit-87c3d714693b216cee9c31cdc5170715c56f541d.tar.gz
gitblit-87c3d714693b216cee9c31cdc5170715c56f541d.zip
Mostly working Diff presentation.
Diffstat (limited to 'resources/gitblit.css')
-rw-r--r--resources/gitblit.css67
1 files changed, 66 insertions, 1 deletions
diff --git a/resources/gitblit.css b/resources/gitblit.css
index d126a8ae..96815bd5 100644
--- a/resources/gitblit.css
+++ b/resources/gitblit.css
@@ -18,8 +18,9 @@ body {
padding: 0px;
}
-pre.prettyprint, pre.plainprint {
+pre, pre.prettyprint, pre.plainprint {
color: black;
+ font-family: monospace;
font-size:12px;
border:0px;
}
@@ -201,6 +202,70 @@ div.bug_hold {
text-align: center;
}
+div.diff {
+ font-family: monospace;
+}
+
+div.diff.header {
+ -moz-border-bottom-colors: none;
+ -moz-border-image: none;
+ -moz-border-left-colors: none;
+ -moz-border-right-colors: none;
+ -moz-border-top-colors: none;
+ background-color: #EDECE6;
+ border-color: #D9D8D1;
+ border-style: solid;
+ border-width: 1px 0;
+ font-weight: bold;
+ margin-top: 4px;
+ padding: 4px 0 2px;
+}
+
+div.diff.extended_header {
+ background-color: #F6F5EE;
+ padding: 2px 0;
+ font-family: inherit;
+}
+
+div.diff.add {
+ color: #008800;
+ font-family: inherit;
+}
+
+div.diff.remove {
+ color: #cc0000;
+ font-family: inherit;
+}
+
+div.diff.unchanged {
+ color: inherit;
+ font-family: inherit;
+}
+
+div.diff.hunk_header {
+ -moz-border-bottom-colors: none;
+ -moz-border-image: none;
+ -moz-border-left-colors: none;
+ -moz-border-right-colors: none;
+ -moz-border-top-colors: none;
+ border-color: #FFE0FF;
+ border-style: dotted;
+ border-width: 1px 0 0;
+ margin-top: 2px;
+ font-family: inherit;
+}
+
+span.diff.hunk_info {
+ background-color: #FFEEFF;
+ color: #990099;
+ font-family: inherit;
+}
+
+span.diff.hunk_section {
+ color: #AA22AA;
+ font-family: inherit;
+}
+
a.list {
text-decoration: none;
color: #000000;