infobox uses semi-transparent overlay
This commit is contained in:
parent
0530ddd88b
commit
1d7bf5a0f3
6 changed files with 17 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
BIN
images/overlay.png
Normal file
BIN
images/overlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 158 B |
6
prefs.js
6
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();
|
||||
|
|
16
tt-rss.css
16
tt-rss.css
|
@ -538,8 +538,9 @@ div.helpResponse {
|
|||
border-color : #88b0f0;
|
||||
font-size : small;
|
||||
position : relative;
|
||||
bottom : 2px;
|
||||
right : 2px;
|
||||
top : 30%;
|
||||
left : 30%;
|
||||
width : 30%;
|
||||
padding-bottom : 5px;
|
||||
background-image : url("images/prefs-content.png");
|
||||
background-position : top left;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -494,7 +494,7 @@ function quickMenuGo(opid) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (confirm("Unsubscribe current feed?")) {
|
||||
if (confirm("Unsubscribe from current feed?")) {
|
||||
qfdDelete(actid);
|
||||
}
|
||||
|
||||
|
|
|
@ -229,7 +229,7 @@ window.onload = init;
|
|||
<option disabled>--------</option>
|
||||
<option style="color : #5050aa" disabled>Feed actions:</option>
|
||||
<option id="qmcAddFeed"> Subscribe to feed</option>
|
||||
<option id="qmcRemoveFeed"> Unsubscribe this feed</option>
|
||||
<option id="qmcRemoveFeed"> Unsubscribe</option>
|
||||
<!-- <option>Edit this feed</option> -->
|
||||
<option disabled>--------</option>
|
||||
<option style="color : #5050aa" disabled>All feeds:</option>
|
||||
|
|
Loading…
Reference in a new issue