Showing 2 changed files with 32 additions and 10 deletions
+29 -7
templates/css/common.html.ep
... ...
@@ -69,12 +69,23 @@
69 69
     border:2px solid gray;
70 70
   }
71 71
   .tree_header {
72
-    background-color: #F8F8FF;
72
+    background-color: #E0FFFF;
73 73
     border-bottom: 1px solid gray;
74
-    padding: 10px;
74
+    padding: 8px;
75
+    padding-left:6px;
76
+  }
77
+  .tree_header a {
78
+    text-decoration:none;
79
+    color:black;
80
+  }
81
+  .tree_header a:hover {
82
+    text-decoration:underline;
83
+    color:black;
75 84
   }
76 85
   .tree_header2 {
77
-    padding: 5px;
86
+    padding:5px;
87
+    padding-left:3px;
88
+    border-bottom:1px solid gray;
78 89
   }
79 90
   .tree_header2_left {
80 91
     width:700px;
... ...
@@ -102,14 +113,25 @@
102 113
     width: 100%;
103 114
     background-color: #F8F8FF;
104 115
     padding:0;
105
-    border-top: 1px solid blue;
106
-    border-left: 1px solid blue;
107
-    border-top: 1px solid blue;
108 116
   }
109 117
   .tree_body td {
110
-    border-bottom: 1px solid blue;
118
+    border-bottom: 1px solid #DCDCDC;
111 119
     padding:5px;
112 120
   }
121
+  .tree_td_file a {
122
+    text-decoration:none;
123
+  }
124
+  .tree_td_file a:hover{
125
+    text-decoration:underline;
126
+  }
127
+  .tree_td_commit a {
128
+    text-decoration:none;
129
+    color:black;
130
+  }
131
+  .tree_td_commit a:hover {
132
+    text-decoration:underline;
133
+    color:black;
134
+  }
113 135
   
114 136
   /* Footer */
115 137
   .footer {
+3 -3
templates/main/repository.html.ep
... ...
@@ -333,7 +333,7 @@
333 333
           </a>
334 334
         </div>
335 335
       </div>
336
-      <table>
336
+      <table class="tree_body" cellpadding="0" cellspacing="0">
337 337
         % for (my $i = 0; $i <@$trees; $i++) {
338 338
           
339 339
           % my $tree = $trees->[$i];
... ...
@@ -345,7 +345,7 @@
345 345
             % my $file = defined $dir ? "$dir/$name" : $name;
346 346
             % $file =~ s/^\///;
347 347
             
348
-            <td>
348
+            <td class="tree_td_file">
349 349
               % if ($type eq 'blob') {
350 350
                 <a href="<%= url_for("/$user/$repository/blob/$ref/$name") %>">
351 351
                   <%= $name %>
... ...
@@ -359,7 +359,7 @@
359 359
             <td>
360 360
               <%= $tree->{author_date} %>
361 361
             </td>
362
-            <td>
362
+            <td class="tree_td_commit">
363 363
               <a href="<%= url_for("/$user/$repository/commit/$tree->{commit}") %>">
364 364
                 <%= $tree->{comment} %>
365 365
               </a>