[gitg] Make the diff look a bit more like in github
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Make the diff look a bit more like in github
- Date: Mon, 11 Mar 2013 10:28:26 +0000 (UTC)
commit dae47934b24e24d85c1cd9d326299199844324a9
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Mar 11 11:28:11 2013 +0100
Make the diff look a bit more like in github
libgitg-gtk/resources/diff-view.css | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libgitg-gtk/resources/diff-view.css b/libgitg-gtk/resources/diff-view.css
index c15b2c3..be32a25 100644
--- a/libgitg-gtk/resources/diff-view.css
+++ b/libgitg-gtk/resources/diff-view.css
@@ -29,7 +29,7 @@ img.avatar {
div.commit {
padding: 10px;
font-family: sans-serif;
- background: -webkit-gradient(linear, left top, left bottom, from(#eeeeec), to(#d3d7cf));
+ background: #e6f1f6;
}
div.commit table {
@@ -94,12 +94,10 @@ div#diff div.file table tr.hunk_header td {
}
div.file tr.file_header td {
+ border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
text-shadow: 1px 1px #fff;
-}
-
-div.file:first-child table.contents tr.file_header td {
- background: -webkit-gradient(linear, left top, left bottom, from(#d3d7cf), to(#eeeeec));
+ background: -webkit-gradient(linear, left top, left bottom, from(#eeeeec), to(#d3d7cf));
}
div.stats {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]