From 6b9bf6c2f6ff2fa899528c1e211c4c664d4bc2c7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 May 2006 04:52:19 +0100 Subject: disable infobox overlay --- gecko.css | 26 ++++++++++++++++++++++++++ opera.css | 14 ++------------ prefs.php | 3 +++ tt-rss-ie.css | 24 ------------------------ tt-rss.css | 20 +++++++++----------- tt-rss.php | 3 +++ 6 files changed, 43 insertions(+), 47 deletions(-) create mode 100644 gecko.css diff --git a/gecko.css b/gecko.css new file mode 100644 index 000000000..bca317dd0 --- /dev/null +++ b/gecko.css @@ -0,0 +1,26 @@ +/* #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; +} */ diff --git a/opera.css b/opera.css index eba519d1a..6174e9814 100644 --- a/opera.css +++ b/opera.css @@ -5,17 +5,7 @@ table.main td.headlines { border-color : #c0c0c0; } -#infoBoxTitle { - border-width : 1px 1px 1px 1px; - border-style : solid; - border-color : #88b0f0; - background-color : #88b0f0; - padding : 2px; - color : white; -} - - -#infoBox { +/* #infoBox { border-width : 1px 1px 1px 1px; border-style : solid; border-color : #88b0f0; @@ -40,5 +30,5 @@ table.main td.headlines { z-index : 3; position : absolute; display : none; -} +} */ diff --git a/prefs.php b/prefs.php index 05775ddfe..e5c941f42 100644 --- a/prefs.php +++ b/prefs.php @@ -57,6 +57,9 @@ if (navigator.userAgent.match("Opera")) { document.write(''); } + if (navigator.userAgent.match("Gecko") && !navigator.userAgent.match("KHTML")) { + document.write(''); + } diff --git a/tt-rss-ie.css b/tt-rss-ie.css index 6f974589d..03412444e 100644 --- a/tt-rss-ie.css +++ b/tt-rss-ie.css @@ -12,28 +12,4 @@ li.feedCatHolder { display : none; } -#infoBox { - border-width : 1px 1px 1px 1px; - border-style : solid; - border-color : #88b0f0; - font-size : small; - position : relative; - bottom : 2px; - right : 2px; - 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/shadow.png"); - left : 30%; - top : 30%; - width : 30%; - z-index : 3; - position : absolute; - display : none; -} diff --git a/tt-rss.css b/tt-rss.css index 0c2f11b2b..7c2559fe1 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -525,7 +525,7 @@ div.helpResponse { background-color : #ecf4ff; } -#infoBox > #infoBoxTitle { +#infoBoxTitle { border-width : 1px 1px 1px 1px; border-style : solid; border-color : #88b0f0; @@ -535,15 +535,14 @@ div.helpResponse { } -#infoBoxShadow > #infoBox { +#infoBox { border-width : 1px 1px 1px 1px; border-style : solid; border-color : #88b0f0; font-size : small; position : relative; - top : 30%; - left : 30%; - width : 30%; + bottom : 2px; + right : 2px; padding-bottom : 5px; background-image : url("images/prefs-content.png"); background-position : top left; @@ -551,12 +550,11 @@ div.helpResponse { background-color : white; } -td > #infoBoxShadow { - background-image : url("images/overlay.png"); - left : 0; - top : 0; - height : 100%; - width : 100%; +#infoBoxShadow { + background-image : url("images/shadow.png"); + left : 30%; + top : 30%; + width : 30%; z-index : 3; position : absolute; display : none; diff --git a/tt-rss.php b/tt-rss.php index 01f7ca5ba..d0a31f6bb 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -56,6 +56,9 @@ if (navigator.userAgent.match("Opera")) { document.write(''); } + if (navigator.userAgent.match("Gecko") && !navigator.userAgent.match("KHTML")) { + document.write(''); + } -- cgit v1.2.3