]> git.wh0rd.org - tt-rss.git/commitdiff
make #notify more noticeable
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 19 Nov 2005 18:01:06 +0000 (19:01 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 19 Nov 2005 18:01:06 +0000 (19:01 +0100)
functions.js
tt-rss.css

index aa3169ac99c88122815c720afec3ceca2122bace..c4d79e51779deb8aea71a5b29bd13eec45cdf07c 100644 (file)
@@ -57,16 +57,13 @@ function p_notify(msg) {
 
        if (!n || !nb) return;
 
-       if (msg == "") msg = "&nbsp;";
-
-       nb.innerHTML = msg;
-
-/*     if (msg.length == 0) {
-               n.style.display = "none";
+       if (msg == "") {
+               nb.innerHTML = "&nbsp;";
+               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 = "&nbsp;";
-
-       nb.innerHTML = msg;
-
-/*     if (msg.length == 0) {
-               n.style.display = "none";
+       if (msg == "") {
+               nb.innerHTML = "&nbsp;";
+               n.style.background = "#ffffff";
        } else {
-               n.style.display = "block";
-       } */
+               nb.innerHTML = msg;
+               n.style.background = "#fffff0";
+       }
 
 }
 
index 3f56c9f8a6a1f51497746b72d79234269d78beb3..e6d8751b75cec98e2c1fb561f8bf0aecca14aa12 100644 (file)
@@ -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;