From 8dcfffd01ecffacab30f6686a419fd165f14261f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 19 Nov 2005 19:01:06 +0100 Subject: [PATCH] make #notify more noticeable --- functions.js | 29 ++++++++++++----------------- tt-rss.css | 3 ++- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/functions.js b/functions.js index aa3169ac..c4d79e51 100644 --- a/functions.js +++ b/functions.js @@ -57,16 +57,13 @@ function p_notify(msg) { if (!n || !nb) return; - if (msg == "") msg = " "; - - nb.innerHTML = msg; - -/* if (msg.length == 0) { - n.style.display = "none"; + if (msg == "") { + nb.innerHTML = " "; + n.style.background = "#ffffff"; } else { - n.style.display = "block"; - } */ - + nb.innerHTML = msg; + n.style.background = "#fffff0"; + } } function notify(msg) { @@ -76,15 +73,13 @@ function notify(msg) { if (!n || !nb) return; - if (msg == "") msg = " "; - - nb.innerHTML = msg; - -/* if (msg.length == 0) { - n.style.display = "none"; + if (msg == "") { + nb.innerHTML = " "; + n.style.background = "#ffffff"; } else { - n.style.display = "block"; - } */ + nb.innerHTML = msg; + n.style.background = "#fffff0"; + } } diff --git a/tt-rss.css b/tt-rss.css index 3f56c9f8..e6d8751b 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -258,7 +258,8 @@ input.editbox { #notify { font-size : 10pt; text-align : right; - color : gray; + color : black; + font-weight : bold; border-style : solid; border-width : 0px 0px 1px 1px; border-color : #e0e0e0; -- 2.39.2