From 155f631a4be7e042d643f064877a3473c80987cd Mon Sep 17 00:00:00 2001 From: Jeff Zaroyko Date: Wed, 20 Feb 2008 13:57:35 +1100 Subject: [PATCH] Increase readability by using slightly softer colours --- application.css | 3 +++ include/note.php | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/application.css b/application.css index 0746379..4425bf0 100644 --- a/application.css +++ b/application.css @@ -54,6 +54,9 @@ tr.gold { background-color: #fff600; } tr.silver { background-color: silver; } tr.bronze { background-color: #fcba0a; } 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 */ /* classes for the version info pane */ /* version info pane is the right hand pane at the top of the version page */ diff --git a/include/note.php b/include/note.php index 0e640b9..4dac990 100644 --- a/include/note.php +++ b/include/note.php @@ -201,12 +201,12 @@ class Note { switch($this->sTitle) { case 'WARNING': - $sColor = 'red'; + $sClass = 'warning'; $sTitle = 'Warning'; break; case 'HOWTO': - $sColor = 'green'; + $sClass = 'howto'; $sTitle = 'HOWTO'; break; @@ -216,7 +216,7 @@ class Note { else $sTitle = 'Note'; - $sColor = 'blue'; + $sClass = 'defaultnote'; } $oVersion = new version($this->iVersionId); @@ -224,7 +224,7 @@ class Note { $shOutput = html_frame_start("","98%",'',0); $shOutput .= "\n"; - $shOutput .= "\n"; + $shOutput .= "\n"; $shOutput .= "\n";
".$sTitle."
".$sTitle."
\n"; $shOutput .= $this->shDescription; $shOutput .= "