[gitg/wip/techlivezh/diff-view-clean-up: 13/21] Follow css selector convention



commit 13b7a3c65150b5f3407ed6205caf602f696e65ba
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Wed Dec 18 07:10:17 2013 +0800

    Follow css selector convention
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720886

 libgitg/resources/diff-view.css |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgitg/resources/diff-view.css b/libgitg/resources/diff-view.css
index f213b81..96352b6 100644
--- a/libgitg/resources/diff-view.css
+++ b/libgitg/resources/diff-view.css
@@ -35,12 +35,12 @@ div.commit {
   background: #f3f3f3;
 }
 
-div.commit div.message {
+div.commit .message {
   margin-top: 15px;
   margin-bottom: 15px;
 }
 
-div#diff div.file table .gutter {
+div#diff div.file table td.gutter {
   padding-left: 6px;
   padding-right: 6px;
   background-color: #ececec;
@@ -79,7 +79,7 @@ div#diff div.file table tr.hunk_header td {
   padding-bottom: 6px;
 }
 
-div.file tr.file_header td {
+div#diff div.file table tr.file_header td {
   border-top: 1px solid #ccc;
   border-bottom: 1px solid #ccc;
   background: #d3d7cf;
@@ -145,7 +145,7 @@ div#diff div.file table tr.file_header + tr.hunk_header td.hunk_header {
   border-top: 0px;
 }
 
-div#diff div.file table td.hunk_header {
+div#diff div.file table tr.hunk_header td.hunk_header {
   color: #aaa;
   background-color: #ececec;
   border-top: 1px solid #d3d7cf;


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