summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d63577d)
raw | patch | inline | side by side (parent: d63577d)
author | Kay Sievers <kay.sievers@suse.de> | |
Sun, 7 Aug 2005 18:18:30 +0000 (20:18 +0200) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Sun, 7 Aug 2005 18:18:30 +0000 (20:18 +0200) |
gitweb.cgi | patch | blob | history |
diff --git a/gitweb.cgi b/gitweb.cgi
index f96013fd8024cb5d69629a76168b3310d39f8917..fdc018533a27da0922f789f18dd88da9734734e0 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
}
span.log_age { position:relative; float:left; width:142px; }
div.log_link { font-size:10px; font-family:sans-serif; position:relative; float:left; width:142px; }
- div.list {
- display:block; margin:0px 25px; padding:2px 8px 0px; border:solid #d9d8d1; border-width:1px 1px 0px 1px;
- font-weight:bold; text-decoration:none; color:#000000;
+ a.list {
+ display:block; margin:0px 25px; padding:4px; border:solid #d9d8d1; border-width:0px 1px;
+ font-weight:bold; background-color: #edece6; text-decoration:none; color:#000000;
}
- div.list a { color:#000000; text-decoration:none; }
- div.link { font-weight:normal; font-family:sans-serif; font-size:10px; border:solid #d9d8d1; border-width:1px 1px 0px 1px; }
- a.view { display:inline; font-size:24px; }
+ a.list:hover { background-color: #d9d8d1; }
+ div.link { margin:0px 25px; padding:4px 8px; border:solid #d9d8d1; border-width:0px 1px; font-family:sans-serif; font-size:10px; }
a.xml_logo { float:right; border:1px solid;
line-height:15px;
border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e; width:35px;
if ($op eq "+") {
print "<div>\n" .
$cgi->a({-href => "$my_uri?p=$project;a=blob;h=$id", -class => "list"},
- escapeHTML($file) . " <span style=\"color: #008000;\">[new]</span>") . "\n" .
+ escapeHTML($file) . " <span style=\"color: #33cc33;\">[new]</span>") . "\n" .
"</div>";
print "<div class=\"link\">\n" .
"view " .
} elsif ($op eq "-") {
print "<div>\n" .
$cgi->a({-href => "$my_uri?p=$project;a=blob;h=$id", -class => "list"},
- escapeHTML($file) . " <span style=\"color: #c00000;\">[removed]</span>") . "\n" .
+ escapeHTML($file) . " <span style=\"color: #cc5555;\">[removed]</span>") . "\n" .
"</div>";
print "<div class=\"link\">\n" .
"view " .
}
}
if ($found) {
- print "<div class=\"list\">\n" .
- $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev"},
+ print "<div>\n" .
+ $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev", -class => "list"},
"<span class=\"log_age\">" . $co{'age_string'} . "</span>" . escapeHTML($co{'title'})) . "\n" .
- "<div class=\"link\">\n" .
+ "</div>\n";
+ print "<div class=\"link\">\n" .
"view " .
$cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev"}, "commit") . " | " .
- $cgi->a({-href => "$my_uri?p=$project;a=tree;h=$rev"}, "tree") . "<br/><br/>\n" .
- "</div>\n" .
+ $cgi->a({-href => "$my_uri?p=$project;a=tree;h=$rev"}, "tree") . "<br/><br/>\n" .
"</div>\n";
}
}