From 334538f11d30024de28b4490ed6b006d82fadb80 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 7 Aug 2005 20:18:30 +0200 Subject: [PATCH] v078 --- gitweb.cgi | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/gitweb.cgi b/gitweb.cgi index f96013fd8..fdc018533 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -113,13 +113,12 @@ sub git_header_html { } 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; @@ -580,7 +579,7 @@ if ($action eq "blob") { if ($op eq "+") { print "
\n" . $cgi->a({-href => "$my_uri?p=$project;a=blob;h=$id", -class => "list"}, - escapeHTML($file) . " [new]") . "\n" . + escapeHTML($file) . " [new]") . "\n" . "
"; print "
\n" . "view " . @@ -589,7 +588,7 @@ if ($action eq "blob") { } elsif ($op eq "-") { print "
\n" . $cgi->a({-href => "$my_uri?p=$project;a=blob;h=$id", -class => "list"}, - escapeHTML($file) . " [removed]") . "\n" . + escapeHTML($file) . " [removed]") . "\n" . "
"; print "
\n" . "view " . @@ -714,14 +713,14 @@ if ($action eq "blob") { } } if ($found) { - print "
\n" . - $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev"}, + print "
\n" . + $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev", -class => "list"}, "" . $co{'age_string'} . "" . escapeHTML($co{'title'})) . "\n" . - "
\n" . + "
\n"; + print "
\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") . "

\n" . - "
\n" . + $cgi->a({-href => "$my_uri?p=$project;a=tree;h=$rev"}, "tree") . "

\n" . "
\n"; } } -- 2.26.2