mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 13:35:59 +00:00
infobox uses semi-transparent overlay
This commit is contained in:
@@ -78,7 +78,7 @@ var notify_last_doc = false;
|
|||||||
function hide_notify() {
|
function hide_notify() {
|
||||||
if (notify_last_doc) {
|
if (notify_last_doc) {
|
||||||
var n = notify_last_doc.getElementById("notify");
|
var n = notify_last_doc.getElementById("notify");
|
||||||
if (navigator.userAgent.match("Firefox")) {
|
if (browser.isNS) {
|
||||||
if (notify_opacity >= 0) {
|
if (notify_opacity >= 0) {
|
||||||
notify_opacity = notify_opacity - 0.2;
|
notify_opacity = notify_opacity - 0.2;
|
||||||
n.style.opacity = notify_opacity;
|
n.style.opacity = notify_opacity;
|
||||||
@@ -1049,3 +1049,4 @@ function toggleSubmitNotEmpty(e, submit_id) {
|
|||||||
exception_error("toggleSubmitNotEmpty", e);
|
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) {
|
if (sel_rows.length > 0) {
|
||||||
|
|
||||||
var ok = confirm("Unsubscribe selected feeds?");
|
var ok = confirm("Unsubscribe from selected feeds?");
|
||||||
|
|
||||||
if (ok) {
|
if (ok) {
|
||||||
|
|
||||||
notify("Removing selected feeds...");
|
notify("Unsubscribing from selected feeds...");
|
||||||
|
|
||||||
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=remove&ids="+
|
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=remove&ids="+
|
||||||
param_escape(sel_rows.toString()), true);
|
param_escape(sel_rows.toString()), true);
|
||||||
@@ -1214,7 +1214,7 @@ function localPiggieFunction(enable) {
|
|||||||
var piggie = document.getElementById("piggie");
|
var piggie = document.getElementById("piggie");
|
||||||
piggie.style.display = "block";
|
piggie.style.display = "block";
|
||||||
|
|
||||||
if (navigator.userAgent.match("Firefox") && Math.random(1) > 0.5) {
|
if (browser.isNS && Math.random(1) > 0.5) {
|
||||||
piggie2_callback();
|
piggie2_callback();
|
||||||
} else {
|
} else {
|
||||||
piggie_callback();
|
piggie_callback();
|
||||||
|
|||||||
18
tt-rss.css
18
tt-rss.css
@@ -538,9 +538,10 @@ div.helpResponse {
|
|||||||
border-color : #88b0f0;
|
border-color : #88b0f0;
|
||||||
font-size : small;
|
font-size : small;
|
||||||
position : relative;
|
position : relative;
|
||||||
bottom : 2px;
|
top : 30%;
|
||||||
right : 2px;
|
left : 30%;
|
||||||
padding-bottom : 5px;
|
width : 30%;
|
||||||
|
padding-bottom : 5px;
|
||||||
background-image : url("images/prefs-content.png");
|
background-image : url("images/prefs-content.png");
|
||||||
background-position : top left;
|
background-position : top left;
|
||||||
background-repeat : repeat-x;
|
background-repeat : repeat-x;
|
||||||
@@ -548,12 +549,13 @@ div.helpResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#infoBoxShadow {
|
#infoBoxShadow {
|
||||||
background-image : url("images/shadow.png");
|
background-image : url("images/overlay.png");
|
||||||
position : absolute;
|
left : 0;
|
||||||
left : 35%;
|
top : 0;
|
||||||
top : 30%;
|
height : 100%;
|
||||||
width : 30%;
|
width : 100%;
|
||||||
z-index : 3;
|
z-index : 3;
|
||||||
|
position : absolute;
|
||||||
display : none;
|
display : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -494,7 +494,7 @@ function quickMenuGo(opid) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (confirm("Unsubscribe current feed?")) {
|
if (confirm("Unsubscribe from current feed?")) {
|
||||||
qfdDelete(actid);
|
qfdDelete(actid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ window.onload = init;
|
|||||||
<option disabled>--------</option>
|
<option disabled>--------</option>
|
||||||
<option style="color : #5050aa" disabled>Feed actions:</option>
|
<option style="color : #5050aa" disabled>Feed actions:</option>
|
||||||
<option id="qmcAddFeed"> Subscribe to feed</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>Edit this feed</option> -->
|
||||||
<option disabled>--------</option>
|
<option disabled>--------</option>
|
||||||
<option style="color : #5050aa" disabled>All feeds:</option>
|
<option style="color : #5050aa" disabled>All feeds:</option>
|
||||||
|
|||||||
Reference in New Issue
Block a user