fixed safari 4 bugs properly, and message hover issue

This commit is contained in:
2009-11-22 04:41:07 +02:00
parent e837a583b8
commit 9bf7ab66d5
6 changed files with 6 additions and 10 deletions

View File

@@ -299,6 +299,7 @@
document.body.style.height = windowHeight + "px"; /* Safari 4 background fix */ document.body.style.height = windowHeight + "px"; /* Safari 4 background fix */
} else { } else {
contentElement.style.position = 'static'; contentElement.style.position = 'static';
document.body.style.height = ""; /* Safari 4 background fix */
} }
} }

View File

@@ -26,16 +26,14 @@
body { body {
/* font property used for development only */ /* font property used for development only */
/* font: 11px helvetica;*/ /* font: 11px helvetica;*/
background: #fff url(images/bg.jpg) repeat-x left bottom; background: #fff url("images/bg.jpg") repeat-x left bottom;
color: #303030; color: #303030;
margin: 0; margin: 0;
z-index: -3;
} }
#Chat { #Chat {
padding: 5px 10px 12px 10px; padding: 5px 10px 12px 10px;
overflow: hidden; overflow: hidden;
z-index: -2;
} }
.emoticon { .emoticon {
@@ -47,7 +45,7 @@ body {
.history { .history {
opacity: 0.4; opacity: 0.4;
-webkit-transition: opacity 1s linear; -webkit-transition: opacity 0.5s linear;
} }
.history:hover { .history:hover {

View File

@@ -3,7 +3,6 @@
.message { .message {
position: relative; position: relative;
min-height: 42px; min-height: 42px;
z-index: 0;
} }
.message .body { .message .body {
padding: 9px 20px 22px 20px; padding: 9px 20px 22px 20px;

View File

@@ -299,6 +299,7 @@
document.body.style.height = windowHeight + "px"; /* Safari 4 background fix */ document.body.style.height = windowHeight + "px"; /* Safari 4 background fix */
} else { } else {
contentElement.style.position = 'static'; contentElement.style.position = 'static';
document.body.style.height = ""; /* Safari 4 background fix */
} }
} }

View File

@@ -26,16 +26,14 @@
body { body {
/* font property used for development only */ /* font property used for development only */
/* font: 11px helvetica;*/ /* font: 11px helvetica;*/
background: #fff url(images/bg.jpg) repeat-x left bottom; background: #fff url("images/bg.jpg") repeat-x left bottom;
color: #303030; color: #303030;
margin: 0; margin: 0;
z-index: -3;
} }
#Chat { #Chat {
padding: 5px 10px 12px 10px; padding: 5px 10px 12px 10px;
overflow: hidden; overflow: hidden;
z-index: -2;
} }
.emoticon { .emoticon {
@@ -47,7 +45,7 @@ body {
.history { .history {
opacity: 0.4; opacity: 0.4;
-webkit-transition: opacity 1s linear; -webkit-transition: opacity 0.5s linear;
} }
.history:hover { .history:hover {

View File

@@ -3,7 +3,6 @@
.message { .message {
position: relative; position: relative;
min-height: 42px; min-height: 42px;
z-index: 0;
} }
.message .body { .message .body {
padding: 9px 20px 22px 20px; padding: 9px 20px 22px 20px;