]> git.wh0rd.org - tt-rss.git/commitdiff
disable infobox overlay
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 19 May 2006 03:52:19 +0000 (04:52 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 19 May 2006 03:52:19 +0000 (04:52 +0100)
gecko.css [new file with mode: 0644]
opera.css
prefs.php
tt-rss-ie.css
tt-rss.css
tt-rss.php

diff --git a/gecko.css b/gecko.css
new file mode 100644 (file)
index 0000000..bca317d
--- /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;
+} */
index eba519d1a225f360decacca9b8c6c72695eaec3c..6174e9814fd61a5ead9107e942e8f1a1dcc7e7a1 100644 (file)
--- 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;
-}
+} */
 
index 05775ddfef315c7cfad6d0af28582eb07493da06..e5c941f423303eddf626b8f240f2861820d54e5a 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -57,6 +57,9 @@
                if (navigator.userAgent.match("Opera")) {
                        document.write('<link rel="stylesheet" type="text/css" href="opera.css">');
                }
+               if (navigator.userAgent.match("Gecko") && !navigator.userAgent.match("KHTML")) {
+                       document.write('<link rel="stylesheet" type="text/css" href="gecko.css">');
+               }
        </script>
 </head>
 
index 6f974589d7d8475292f4a197147a25953fd596a1..03412444eeaa0bf621f5ec93620e899d3c90d1cd 100644 (file)
@@ -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;
-}
 
index 0c2f11b2ba34f333ff791d3a105060a952719c75..7c2559fe1cf6dacb9ac723f478ab717c296770f8 100644 (file)
@@ -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;
index 01f7ca5baf358482c90e00ef88c45a6ab065fc54..d0a31f6bba65bdacfeda5e9383e45ca2b226a596 100644 (file)
@@ -56,6 +56,9 @@
                if (navigator.userAgent.match("Opera")) {
                        document.write('<link rel="stylesheet" type="text/css" href="opera.css">');
                }
+               if (navigator.userAgent.match("Gecko") && !navigator.userAgent.match("KHTML")) {
+                       document.write('<link rel="stylesheet" type="text/css" href="gecko.css">');
+               }
        </script>
 </head>