From: <vb...@us...> - 2002-09-26 04:41:56
|
Update of /cvsroot/webnotes/webnotes/themes/phpnet In directory usw-pr-cvs1:/tmp/cvs-serv23157/themes/phpnet Modified Files: theme.css theme_api.php Log Message: - Removed some hard-coded formatting from the theme, and moved it to the theme.css - Removed some styles which were not needed. Index: theme.css =================================================================== RCS file: /cvsroot/webnotes/webnotes/themes/phpnet/theme.css,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- theme.css 21 Sep 2002 02:44:33 -0000 1.2 +++ theme.css 26 Sep 2002 04:41:53 -0000 1.3 @@ -9,7 +9,9 @@ # -------------------------------------------------------- */ -div.phpnet { font-family:Verdana, Arial; font-size: 10pt; background: transparent; } +div.phpnet { } div.phpnet td { font-family:Verdana, Arial; font-size: 10pt; padding: 4px; } -div.phpnet th { font-family:Verdana, Arial; font-size: 10pt; padding: 4px; } -div.phpnet p { font-family:Verdana, Arial; font-size: 10pt; } +div.phpnet .dark { background-color: #d0d0d0; } +div.phpnet .light { background-color: #e0e0e0; } +div.phpnet .lighter { background-color: #f0f0f0; } +div.phpnet tr { vertical-align: top; } Index: theme_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/themes/phpnet/theme_api.php,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- theme_api.php 26 Sep 2002 03:41:46 -0000 1.25 +++ theme_api.php 26 Sep 2002 04:41:53 -0000 1.26 @@ -63,7 +63,7 @@ echo <<<EOT <div class="phpnet"> <table summary="" border="0" cellpadding="4" cellspacing="0" width="100%"> - <tr bgcolor="#d0d0d0" valign="top"> + <tr class="dark"> <td><small>User Contributed Notes</small><br /><strong>$t_page</strong></td> <td align="right"> $t_link_start<img src="$add_picture" border="0" width="13" height="13" alt="Add Notes" />$t_link_end @@ -78,8 +78,8 @@ if ( 0 === count( $t_notes ) ) { echo <<<EOT - <tr valign="top"> - <td bgcolor="#e0e0e0" colspan="2">There are no user contributed notes for this page.</td> + <tr class="light"> + <td colspan="2">There are no user contributed notes for this page.</td> </tr> </table> EOT; @@ -156,16 +156,16 @@ } echo <<<EOT - <tr valign="top"> - <td bgcolor="#e0e0e0" colspan="2"> + <tr class="light"> + <td colspan="2"> $t_id_bookmark <table summary="" border="0" cellpadding="2" cellspacing="0" width="100%"> - <tr valign="top" bgcolor="#e0e0e0"> + <tr class="light"> <td><strong>$t_email</strong><br />$t_date</td> <td align="right">$t_id_view</td> </tr> - <tr bgcolor="#f0f0f0"> + <tr class="lighter"> <td colspan="2">$t_note</td> </tr> </table> @@ -208,7 +208,7 @@ if ( 0 !== count( $t_notes ) ) { echo <<<EOT - <tr bgcolor="#d0d0d0" valign="top"> + <tr class="dark"> <td colspan="2" align="right"> $t_link_start<img src="$add_picture" border="0" width="13" height="13" alt="Add Notes" />$t_link_end <img src="$help_picture" border="0" width="13" height="13" alt="About Notes" /> @@ -221,8 +221,8 @@ # Tue, 17 Sep 2002 $t_last_updated = date('D, d M Y - G:i:s', $p_page_data['last_updated']); echo <<<EOT - <tr bgcolor="#d0d0d0" valign="top"><td colspan="2"> - <table border="0" width="100%" bgcolor="#e0e0e0" cellpadding="0" cellspacing="4"> + <tr class="dark"><td colspan="2"> + <table class="light" border="0" width="100%" cellpadding="0" cellspacing="4"> $t_navigation_row <tr><td align="right" colspan="2"><small>Last updated: $t_last_updated</small></td></tr> </table> |