[gitg/wip/techlivezh/diff-view-clean-up: 12/21] Remove obsolete css styles



commit 42fd86aae7eaebf36097f089aa1cfb4ed0e6c6c7
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Wed Dec 18 07:08:57 2013 +0800

    Remove obsolete css styles

 libgitg/resources/diff-view.css  |   15 +--------------
 libgitg/resources/diff-view.html |    2 +-
 2 files changed, 2 insertions(+), 15 deletions(-)
---
diff --git a/libgitg/resources/diff-view.css b/libgitg/resources/diff-view.css
index 91d6f0d..f213b81 100644
--- a/libgitg/resources/diff-view.css
+++ b/libgitg/resources/diff-view.css
@@ -35,15 +35,6 @@ div.commit {
   background: #f3f3f3;
 }
 
-div.commit table {
-  border-collapse: collapse;
-}
-
-div.commit table td:first-child {
-  font-weight: bold;
-  padding-right: 15px;
-}
-
 div.commit div.message {
   margin-top: 15px;
   margin-bottom: 15px;
@@ -70,10 +61,6 @@ div#diff div.file table.wrapped td.code {
   white-space: pre-wrap;
 }
 
-div#diff div.file:first-child table.contents {
-  margin-top: 0px;
-}
-
 div#diff div.file table tr.context td:last-child {
   background-color: #fafafa;
 }
@@ -174,7 +161,7 @@ div#diff div.file table td.gutter.new {
 }
 
 div#diff div.file table tr.hunk_header td.gutter.new {
-  border: 0;
+  border-right: 0px;
 }
 
 div#diff div.file table td.gutter.old {
diff --git a/libgitg/resources/diff-view.html b/libgitg/resources/diff-view.html
index bdba70a..58d793f 100644
--- a/libgitg/resources/diff-view.html
+++ b/libgitg/resources/diff-view.html
@@ -21,7 +21,7 @@
 
       <!-- Diff template -->
       <div class="file">
-        <table class="contents">
+        <table>
           <colgroup>
             <col width="0">
             <col width="0">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]