From: oes <oes@users.sourceforge.net> Date: Fri, 26 Apr 2002 12:58:11 +0000 (+0000) Subject: Central "button" link style in cgi-style.css X-Git-Tag: v_3_0_branchpoint~208 X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/faq/static/gitweb.js?a=commitdiff_plain;h=7f053ce26463d16866431d842bc5ed9cfbfa37e3;p=privoxy.git Central "button" link style in cgi-style.css --- diff --git a/templates/cgi-style.css b/templates/cgi-style.css index 9e8c7c10..206fd420 100644 --- a/templates/cgi-style.css +++ b/templates/cgi-style.css @@ -1,7 +1,7 @@ /* * CSS for Privoxy CGI and script output * - * $Id: cgi-style.css,v 1.4 2002/04/09 11:55:20 oes Exp $ + * $Id: cgi-style.css,v 1.5 2002/04/24 02:14:36 oes Exp $ */ /* @@ -64,6 +64,37 @@ p.small { font-size: 10px; margin: 0px; } p.important { border: solid black 1px; background-color: #ffdddd; font-weight: bold; padding: 2px; } p.whiteframed { margin: 5px; padding: 5px; border: solid black 1px; text-align: center; background-color: #eeeeee; } +/* + * Links as buttons: + */ + +td.buttons { + padding: 2px; +} + +a.cmd, td.buttons a { + white-space: nowrap; + width: auto; + padding: 2px; + background-color: #dddddd; + color: #000000; + text-decoration: none; + border-top: 1px solid #ffffff; + border-left: 1px solid #ffffff; + border-bottom: 1px solid #000000; + border-right: 1px solid #000000; +} +a.cmd:hover, td.buttons a:hover { + background-color: #eeeeee; +} +a.cmd:active, td.buttons a:active { + border-top: 1px solid #000000; + border-left: 1px solid #000000; + border-bottom: 1px solid #ffffff; + border-right: 1px solid #ffffff; +} + + /* * Special red emphasis: */ diff --git a/templates/edit-actions-list-section b/templates/edit-actions-list-section index 6e2ddded..04d88bd7 100644 --- a/templates/edit-actions-list-section +++ b/templates/edit-actions-list-section @@ -31,6 +31,9 @@ # # Revisions : # $Log: edit-actions-list-section,v $ +# Revision 1.11 2002/04/24 02:14:03 oes +# Changed shortcuts, Cosmetics +# # Revision 1.10 2002/04/17 21:27:26 jongfoster # Adding #linenumber to the URLs which affect blocks, to make # editing in long files easier. @@ -81,7 +84,7 @@ <table border="0" width="100%" cellspacing="0" cellpadding="3" class="framed"> <tr class="actions" valign="top"> <td class="header" align="right">Actions:</td> - <td align="center"><a name="l@s@" href="eafu?f=@f@&v=@v@&s=@s@">Edit</a></td> + <td class="buttons" align="center"><a name="l@s@" href="eafu?f=@f@&v=@v@&s=@s@">Edit</a></td> <td class="action" align="left">@actions@</td> </tr> <tr class="rule"> @@ -89,7 +92,7 @@ </tr> <tr class="url1" valign="top"> <td class="header" align="right">URL patterns:</td> - <td align="center"><a href="eaa?f=@f@&v=@v@&s=@s@">Add</a></td> + <td class="buttons" align="center"><a href="eaa?f=@f@&v=@v@&s=@s@">Add</a></td> <td align="left"> </td> </tr> @urls@ @@ -98,9 +101,9 @@ </tr> <tr class="adv" valign="top"> <td class="header" align="right"><b>Advanced:</b></td> - <td colspan="2"> + <td class="buttons" colspan="2"> <table border="0" cellspacing="0" cellpadding="4"> - <tr valign="middle" align="center"> + <tr class="buttons" valign="middle" align="center"> <td class="nbr"> @if-s-prev-exists-start@<a href="eass?f=@f@&v=@v@&s1=@s-prev@&s2=@s@#l@s-prev@">Move section up</a> @if-s-prev-exists-end@</td> <td class="nbr"> <a href="easa?f=@f@&v=@v@&s=@s@#l@s-next@">Insert new section below</a> </td> </tr> diff --git a/templates/edit-actions-list-url b/templates/edit-actions-list-url index fcaa7c4d..89c8433e 100644 --- a/templates/edit-actions-list-url +++ b/templates/edit-actions-list-url @@ -31,6 +31,9 @@ # # Revisions : # $Log: edit-actions-list-url,v $ +# Revision 1.7 2002/03/26 22:29:56 swa +# we have a new homepage! +# # Revision 1.6 2002/03/24 11:01:06 swa # name change # @@ -66,7 +69,7 @@ # ############################################################################# <tr class="url@url-1-2@" valign="top"><td align="left"> </td> -<td align="center" class="nbr"><a name="l@p@" +<td align="center" class="buttons"><a name="l@p@" href="ear?f=@f@&v=@v@&p=@p@" onclick="return rm_p(@p@,'@url@');">Remove</a> <a href="eau?f=@f@&v=@v@&p=@p@">Edit</a> </td> <td class="url" align="left">@url-html@</td> diff --git a/templates/show-status b/templates/show-status index ccc42520..180f69d6 100644 --- a/templates/show-status +++ b/templates/show-status @@ -115,34 +115,6 @@ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="robots" content="noindex,nofollow"> <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet"> - <style type="text/css"> - td.cmd { - padding: 2px; - } - td.cmd a { - white-space: nowrap; - width: auto; - padding: 1px; - background-color: #dddddd; - color: #000000; - text-decoration: none; - border-top: 1px solid #ffffff; - border-left: 1px solid #ffffff; - border-bottom: 1px solid #000000; - border-right: 1px solid #000000; - } - td.cmd a:hover { - background-color: #eeeeee; - } - td.cmd a:active { - border-top: 1px solid #000000; - border-left: 1px solid #000000; - border-bottom: 1px solid #ffffff; - border-right: 1px solid #ffffff; - } - - - </style> </head> <body> @@ -183,7 +155,7 @@ <td> @re-filter-filename@ </td> - <td class="cmd"> + <td class="buttons"> <!-- @if-have-filterfile-start --> <a href="show-status?file=filter">View</a> <!-- if-have-filterfile-end@ --> @@ -196,7 +168,7 @@ <td> @trust-filename@ </td> - <td class="cmd"> + <td class="buttons"> <!-- @if-have-trustfile-start --> <a href="show-status?file=trust">View</a> <!-- if-have-trustfile-end@ -->