Add borders around the notes added by addmsg()

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-04-05 20:19:50 +02:00
parent bddeeaa613
commit 9218a808dd
2 changed files with 4 additions and 1 deletions

View File

@@ -72,6 +72,9 @@ div.note_body { padding: 10px; background-color: #ffe732; }
div.note_title { font-weight: bold; border-bottom: 1px solid; padding: 4px;
font-size: 140%; background-color: #ffc004; }
/* Boxes for session notes, as used by addmsg() */
div.session_note { border: 1px solid; margin-bottom: 5px;}
/* classes for the main page */
div.rating_header { padding: 8px; }
div.rating_title { padding-bottom: 4px; font-weight: bold; font-size: 160%; }

View File

@@ -274,7 +274,7 @@ function dumpmsgbuffer()
{
if ($msg['color'] == "red")
$msg['color'] = "{$msg['color']};text-decoration:blink";
echo "<div align=\"center\" style=\"font-color:{$msg['color']};\"> {$msg['msg']} </div>";
echo "<div align=\"center\" class=\"session_note\" style=\"font-color:{$msg['color']};\"> {$msg['msg']} </div>";
}
echo html_frame_end("&nbsp;");
echo "<br>\n";