summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gecko.css26
-rw-r--r--opera.css14
-rw-r--r--prefs.php3
-rw-r--r--tt-rss-ie.css24
-rw-r--r--tt-rss.css20
-rw-r--r--tt-rss.php3
6 files changed, 43 insertions, 47 deletions
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('<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>
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('<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>