Central "button" link style in cgi-style.css
authoroes <oes@users.sourceforge.net>
Fri, 26 Apr 2002 12:58:11 +0000 (12:58 +0000)
committeroes <oes@users.sourceforge.net>
Fri, 26 Apr 2002 12:58:11 +0000 (12:58 +0000)
templates/cgi-style.css
templates/edit-actions-list-section
templates/edit-actions-list-url
templates/show-status

index 9e8c7c1..206fd42 100644 (file)
@@ -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:
  */
index 6e2ddde..04d88bd 100644 (file)
@@ -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@&amp;v=@v@&amp;s=@s@">Edit</a></td>
+ <td class="buttons" align="center"><a name="l@s@" href="eafu?f=@f@&amp;v=@v@&amp;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@&amp;v=@v@&amp;s=@s@">Add</a></td>
+ <td class="buttons" align="center"><a href="eaa?f=@f@&amp;v=@v@&amp;s=@s@">Add</a></td>
  <td align="left">&nbsp;</td>
 </tr>
 @urls@
 </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"> &nbsp; @if-s-prev-exists-start@<a href="eass?f=@f@&amp;v=@v@&amp;s1=@s-prev@&amp;s2=@s@#l@s-prev@">Move section up</a> &nbsp; @if-s-prev-exists-end@</td>
     <td class="nbr"> &nbsp; <a href="easa?f=@f@&amp;v=@v@&amp;s=@s@#l@s-next@">Insert new section below</a> &nbsp; </td>
    </tr>
index fcaa7c4..89c8433 100644 (file)
@@ -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">&nbsp;</td>
-<td align="center" class="nbr"><a name="l@p@"
+<td align="center" class="buttons"><a name="l@p@"
 href="ear?f=@f@&amp;v=@v@&amp;p=@p@" onclick="return rm_p(@p@,'@url@');">Remove</a>&nbsp;&nbsp;&nbsp;<a
 href="eau?f=@f@&amp;v=@v@&amp;p=@p@">Edit</a>&nbsp;</td>
 <td class="url" align="left">@url-html@</td>
index ccc4252..180f69d 100644 (file)
   <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>
              <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@ -->
             <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@ -->