mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 04:45:56 +00:00
opera fixes
This commit is contained in:
@@ -1823,7 +1823,6 @@
|
|||||||
cellspacing='0' cellpadding='0'><tr>
|
cellspacing='0' cellpadding='0'><tr>
|
||||||
<td>
|
<td>
|
||||||
<input id=\"fadd_link\"
|
<input id=\"fadd_link\"
|
||||||
onchange=\"javascript:addFeed()\"
|
|
||||||
onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
|
onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
|
||||||
size=\"40\">
|
size=\"40\">
|
||||||
<input type=\"submit\" class=\"button\"
|
<input type=\"submit\" class=\"button\"
|
||||||
@@ -2052,7 +2051,6 @@
|
|||||||
|
|
||||||
print "<div class=\"prefGenericAddBox\">
|
print "<div class=\"prefGenericAddBox\">
|
||||||
<input id=\"fadd_cat\"
|
<input id=\"fadd_cat\"
|
||||||
onchange=\"javascript:addFeedCat()\"
|
|
||||||
onkeyup=\"toggleSubmitNotEmpty(this, 'catadd_submit_btn')\"
|
onkeyup=\"toggleSubmitNotEmpty(this, 'catadd_submit_btn')\"
|
||||||
size=\"40\">
|
size=\"40\">
|
||||||
<input
|
<input
|
||||||
@@ -3448,7 +3446,7 @@
|
|||||||
print "<div class=\"prefGenericAddBox\">
|
print "<div class=\"prefGenericAddBox\">
|
||||||
<input id=\"uadd_box\"
|
<input id=\"uadd_box\"
|
||||||
onkeyup=\"toggleSubmitNotEmpty(this, 'user_add_btn')\"
|
onkeyup=\"toggleSubmitNotEmpty(this, 'user_add_btn')\"
|
||||||
onchange=\"javascript:addUser()\" size=\"40\"> ";
|
size=\"40\"> ";
|
||||||
|
|
||||||
print"<input type=\"submit\" class=\"button\"
|
print"<input type=\"submit\" class=\"button\"
|
||||||
id=\"user_add_btn\" disabled=\"true\"
|
id=\"user_add_btn\" disabled=\"true\"
|
||||||
|
|||||||
12
functions.js
12
functions.js
@@ -1,5 +1,9 @@
|
|||||||
var hotkeys_enabled = true;
|
var hotkeys_enabled = true;
|
||||||
|
|
||||||
|
function browser_has_opacity() {
|
||||||
|
return navigator.userAgent.match("Gecko") || navigator.userAgent.match("Opera");
|
||||||
|
}
|
||||||
|
|
||||||
function exception_error(location, e) {
|
function exception_error(location, e) {
|
||||||
var msg;
|
var msg;
|
||||||
|
|
||||||
@@ -78,14 +82,14 @@ 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 (browser.isNS) {
|
if (browser_has_opacity()) {
|
||||||
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;
|
||||||
notify_hide_timerid = window.setTimeout(hide_notify, 20);
|
notify_hide_timerid = window.setTimeout("hide_notify()", 20);
|
||||||
} else {
|
} else {
|
||||||
n.style.display = "none";
|
n.style.display = "none";
|
||||||
n.style.opacity = 1;
|
n.style.opacity = 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
n.style.display = "none";
|
n.style.display = "none";
|
||||||
@@ -126,7 +130,7 @@ function notify_real(msg, doc, no_hide, is_err) {
|
|||||||
notify_opacity = 1;
|
notify_opacity = 1;
|
||||||
|
|
||||||
if (!no_hide) {
|
if (!no_hide) {
|
||||||
notify_hide_timerid = window.setTimeout(hide_notify, 3000);
|
notify_hide_timerid = window.setTimeout("hide_notify()", 3000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
37
opera.css
37
opera.css
@@ -5,3 +5,40 @@ table.main td.headlines {
|
|||||||
border-color : #c0c0c0;
|
border-color : #c0c0c0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#infoBoxTitle {
|
||||||
|
border-width : 1px 1px 1px 1px;
|
||||||
|
border-style : solid;
|
||||||
|
border-color : #88b0f0;
|
||||||
|
background-color : #88b0f0;
|
||||||
|
padding : 2px;
|
||||||
|
color : white;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#infoBox {
|
||||||
|
border-width : 1px 1px 1px 1px;
|
||||||
|
border-style : solid;
|
||||||
|
border-color : #88b0f0;
|
||||||
|
font-size : small;
|
||||||
|
position : relative;
|
||||||
|
top : 30%;
|
||||||
|
left : 30%;
|
||||||
|
width : 30%;
|
||||||
|
padding-bottom : 5px;
|
||||||
|
background-image : url("images/prefs-content.png");
|
||||||
|
background-position : top left;
|
||||||
|
background-repeat : repeat-x;
|
||||||
|
background-color : white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#infoBoxShadow {
|
||||||
|
background-image : url("images/overlay.png");
|
||||||
|
left : 0;
|
||||||
|
top : 0;
|
||||||
|
height : 100%;
|
||||||
|
width : 100%;
|
||||||
|
z-index : 3;
|
||||||
|
position : absolute;
|
||||||
|
display : none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
2
prefs.js
2
prefs.js
@@ -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 (browser.isNS && Math.random(1) > 0.5) {
|
if (navigator.userAgent.match("Gecko") && Math.random(1) > 0.5) {
|
||||||
piggie2_callback();
|
piggie2_callback();
|
||||||
} else {
|
} else {
|
||||||
piggie_callback();
|
piggie_callback();
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ ul.feedList {
|
|||||||
list-style-type : none;
|
list-style-type : none;
|
||||||
margin : 5px;
|
margin : 5px;
|
||||||
padding : 0px 0px 0px 10px;
|
padding : 0px 0px 0px 10px;
|
||||||
|
font-size : x-small;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.feedList li.feedCat {
|
ul.feedList li.feedCat {
|
||||||
|
|||||||
Reference in New Issue
Block a user