summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-18 14:18:30 +0100
committerAndrew Dolgov <[email protected]>2006-05-18 14:18:30 +0100
commit1d7bf5a0f3208941c0b02db1049f02d974eb7495 (patch)
tree86a9321d14cad86f60dee2c743eced288458785b
parent0530ddd88b5314fe0f75a6c81ac317509feea6c6 (diff)
infobox uses semi-transparent overlay
-rw-r--r--functions.js3
-rw-r--r--images/overlay.pngbin0 -> 158 bytes
-rw-r--r--prefs.js6
-rw-r--r--tt-rss.css18
-rw-r--r--tt-rss.js2
-rw-r--r--tt-rss.php2
6 files changed, 17 insertions, 14 deletions
diff --git a/functions.js b/functions.js
index ad6a95f95..8245c71a1 100644
--- a/functions.js
+++ b/functions.js
@@ -78,7 +78,7 @@ var notify_last_doc = false;
function hide_notify() {
if (notify_last_doc) {
var n = notify_last_doc.getElementById("notify");
- if (navigator.userAgent.match("Firefox")) {
+ if (browser.isNS) {
if (notify_opacity >= 0) {
notify_opacity = notify_opacity - 0.2;
n.style.opacity = notify_opacity;
@@ -1049,3 +1049,4 @@ function toggleSubmitNotEmpty(e, submit_id) {
exception_error("toggleSubmitNotEmpty", e);
}
}
+
diff --git a/images/overlay.png b/images/overlay.png
new file mode 100644
index 000000000..e3a0a7702
--- /dev/null
+++ b/images/overlay.png
Binary files differ
diff --git a/prefs.js b/prefs.js
index aa0d0a2e1..2c15ae924 100644
--- a/prefs.js
+++ b/prefs.js
@@ -608,11 +608,11 @@ function removeSelectedFeeds() {
if (sel_rows.length > 0) {
- var ok = confirm("Unsubscribe selected feeds?");
+ var ok = confirm("Unsubscribe from selected feeds?");
if (ok) {
- notify("Removing selected feeds...");
+ notify("Unsubscribing from selected feeds...");
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=remove&ids="+
param_escape(sel_rows.toString()), true);
@@ -1214,7 +1214,7 @@ function localPiggieFunction(enable) {
var piggie = document.getElementById("piggie");
piggie.style.display = "block";
- if (navigator.userAgent.match("Firefox") && Math.random(1) > 0.5) {
+ if (browser.isNS && Math.random(1) > 0.5) {
piggie2_callback();
} else {
piggie_callback();
diff --git a/tt-rss.css b/tt-rss.css
index 09678ec42..dfb3ae41a 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -538,9 +538,10 @@ div.helpResponse {
border-color : #88b0f0;
font-size : small;
position : relative;
- bottom : 2px;
- right : 2px;
- padding-bottom : 5px;
+ top : 30%;
+ left : 30%;
+ width : 30%;
+ padding-bottom : 5px;
background-image : url("images/prefs-content.png");
background-position : top left;
background-repeat : repeat-x;
@@ -548,12 +549,13 @@ div.helpResponse {
}
#infoBoxShadow {
- background-image : url("images/shadow.png");
- position : absolute;
- left : 35%;
- top : 30%;
- width : 30%;
+ background-image : url("images/overlay.png");
+ left : 0;
+ top : 0;
+ height : 100%;
+ width : 100%;
z-index : 3;
+ position : absolute;
display : none;
}
diff --git a/tt-rss.js b/tt-rss.js
index f82bb773c..3faf59d4f 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -494,7 +494,7 @@ function quickMenuGo(opid) {
return;
}
- if (confirm("Unsubscribe current feed?")) {
+ if (confirm("Unsubscribe from current feed?")) {
qfdDelete(actid);
}
diff --git a/tt-rss.php b/tt-rss.php
index 0cd2bb85a..c4879ff7a 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -229,7 +229,7 @@ window.onload = init;
<option disabled>--------</option>
<option style="color : #5050aa" disabled>Feed actions:</option>
<option id="qmcAddFeed">&nbsp;&nbsp;Subscribe to feed</option>
- <option id="qmcRemoveFeed">&nbsp;&nbsp;Unsubscribe this feed</option>
+ <option id="qmcRemoveFeed">&nbsp;&nbsp;Unsubscribe</option>
<!-- <option>Edit this feed</option> -->
<option disabled>--------</option>
<option style="color : #5050aa" disabled>All feeds:</option>