Jeff Zaroyko : improve the look of notes,warnings,comments

Chris Morgan cmorgan at winehq.org
Mon Feb 25 18:28:04 CST 2008


Module: appdb
Branch: master
Commit: ccbc842d5ca1f1b4cc1adb8c849f4b505aafe52a
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=ccbc842d5ca1f1b4cc1adb8c849f4b505aafe52a

Author: Jeff Zaroyko <jeffzaroyko at gmail.com>
Date:   Thu Feb 21 19:59:19 2008 +1100

improve the look of notes,warnings,comments

---

 application.css  |    2 +-
 include/note.php |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/application.css b/application.css
index 4425bf0..a97b07a 100644
--- a/application.css
+++ b/application.css
@@ -57,7 +57,7 @@ tr.garbage          { background-color: #999966; }
 tr.warning          { background-color: #ff3333; } /* novascotia salmon */
 tr.howto            { background-color: green;   }
 tr.defaultnote      { background-color: #0066CC; } /* mid-light blue */
-
+tr.notetitle	    { background-color: #cccccc; font-weight: bold; }
 /* classes for the version info pane */
 /* version info pane is the right hand pane at the top of the version page */
 div.version_info_pane p { margin:0px; }
diff --git a/include/note.php b/include/note.php
index 4dac990..9b80de6 100644
--- a/include/note.php
+++ b/include/note.php
@@ -224,7 +224,7 @@ class Note {
         $shOutput = html_frame_start("","98%",'',0);
 
         $shOutput .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\">\n";
-        $shOutput .= "<tr class=\"".$sClass."\" align=\"center\" valign=\"top\"><td><b>".$sTitle."</b></td></tr>\n";
+        $shOutput .= "<tr class=\"".$sClass."\" align=\"center\" valign=\"top\"><td>&nbsp;</td></tr><tr class=\"notetitle\" valign=\"top\" align=\"center\"><td>".$sTitle."</td></tr>\n";
         $shOutput .= "<tr><td class=\"note\">\n";
         $shOutput .= $this->shDescription;
         $shOutput .= "</td></tr>\n";




More information about the wine-cvs mailing list