summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-11-15 11:51:58 +0100
committerYorhel <git@yorhel.nl>2008-11-15 11:51:58 +0100
commitdb820616d0f5c7f49e725987b6cd900944e4ffd0 (patch)
tree1c1763eaf527a70b84b5a67a0ba6ccc32ef6ff93 /static
parentdbaba80b10273270a16e91118fa12e081d4707f7 (diff)
Wrote revision and diff viewer
Character-level diffs instead of the old word-level diffs. Still only works on plaintext, though. Not really sure about the style, either.
Diffstat (limited to 'static')
-rw-r--r--static/f/style.css53
1 files changed, 53 insertions, 0 deletions
diff --git a/static/f/style.css b/static/f/style.css
index 65dd432e..fefdac87 100644
--- a/static/f/style.css
+++ b/static/f/style.css
@@ -444,6 +444,59 @@ div.warning li, div.notice li {
+/****** Revision information ******/
+
+div.revision {
+ padding-bottom: 10px!important;
+}
+div.revision div, div.revision table {
+ border: 1px solid #258;
+ margin: 0 auto;
+ width: 90%;
+ /*background: url(/f/boxbg.png) repeat;*/
+ background-color: #13273a;
+ clear: both;
+}
+div.revision table thead tr td {
+ background-color: transparent!important;
+ text-align: center;
+ font-weight: normal;
+}
+div.revision table td {
+ border-right: 1px solid #258;
+ padding: 5px;
+}
+div.revision div {
+ padding: 5px;
+ text-align: center;
+}
+.diff_add {
+ font-weight: normal;
+ background-color: #354;
+}
+.diff_del {
+ font-weight: normal;
+ background-color: #534;
+}
+div.revision .next {
+ float: right;
+ margin-right: 5%;
+}
+div.revision .prev {
+ float: left;
+ margin-left: 5%;
+}
+div.revision .item {
+ text-align: center;
+}
+div.revision .tcname {
+ width: 100px;
+}
+
+
+
+
+
/****** Icons *******/
.icons {