From 9bf7ab66d5b82ef966f9deb222bf38696c20bb0e Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 22 Nov 2009 04:41:07 +0200 Subject: [PATCH] fixed safari 4 bugs properly, and message hover issue --- Modern Bubbling (Compact)/Contents/Resources/Template.html | 1 + Modern Bubbling (Compact)/Contents/Resources/main.css | 6 ++---- .../Contents/Resources/styles/_bubbles/message-bubble.css | 1 - Modern Bubbling/Contents/Resources/Template.html | 1 + Modern Bubbling/Contents/Resources/main.css | 6 ++---- .../Contents/Resources/styles/_bubbles/message-bubble.css | 1 - 6 files changed, 6 insertions(+), 10 deletions(-) diff --git a/Modern Bubbling (Compact)/Contents/Resources/Template.html b/Modern Bubbling (Compact)/Contents/Resources/Template.html index bced38f..a44f65d 100644 --- a/Modern Bubbling (Compact)/Contents/Resources/Template.html +++ b/Modern Bubbling (Compact)/Contents/Resources/Template.html @@ -299,6 +299,7 @@ document.body.style.height = windowHeight + "px"; /* Safari 4 background fix */ } else { contentElement.style.position = 'static'; + document.body.style.height = ""; /* Safari 4 background fix */ } } diff --git a/Modern Bubbling (Compact)/Contents/Resources/main.css b/Modern Bubbling (Compact)/Contents/Resources/main.css index 96eaae0..e6ce086 100644 --- a/Modern Bubbling (Compact)/Contents/Resources/main.css +++ b/Modern Bubbling (Compact)/Contents/Resources/main.css @@ -26,16 +26,14 @@ body { /* font property used for development only */ /* 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; margin: 0; - z-index: -3; } #Chat { padding: 5px 10px 12px 10px; overflow: hidden; - z-index: -2; } .emoticon { @@ -47,7 +45,7 @@ body { .history { opacity: 0.4; - -webkit-transition: opacity 1s linear; + -webkit-transition: opacity 0.5s linear; } .history:hover { diff --git a/Modern Bubbling (Compact)/Contents/Resources/styles/_bubbles/message-bubble.css b/Modern Bubbling (Compact)/Contents/Resources/styles/_bubbles/message-bubble.css index acc17fb..8f33121 100644 --- a/Modern Bubbling (Compact)/Contents/Resources/styles/_bubbles/message-bubble.css +++ b/Modern Bubbling (Compact)/Contents/Resources/styles/_bubbles/message-bubble.css @@ -3,7 +3,6 @@ .message { position: relative; min-height: 42px; - z-index: 0; } .message .body { padding: 9px 20px 22px 20px; diff --git a/Modern Bubbling/Contents/Resources/Template.html b/Modern Bubbling/Contents/Resources/Template.html index bced38f..a44f65d 100644 --- a/Modern Bubbling/Contents/Resources/Template.html +++ b/Modern Bubbling/Contents/Resources/Template.html @@ -299,6 +299,7 @@ document.body.style.height = windowHeight + "px"; /* Safari 4 background fix */ } else { contentElement.style.position = 'static'; + document.body.style.height = ""; /* Safari 4 background fix */ } } diff --git a/Modern Bubbling/Contents/Resources/main.css b/Modern Bubbling/Contents/Resources/main.css index 96eaae0..e6ce086 100644 --- a/Modern Bubbling/Contents/Resources/main.css +++ b/Modern Bubbling/Contents/Resources/main.css @@ -26,16 +26,14 @@ body { /* font property used for development only */ /* 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; margin: 0; - z-index: -3; } #Chat { padding: 5px 10px 12px 10px; overflow: hidden; - z-index: -2; } .emoticon { @@ -47,7 +45,7 @@ body { .history { opacity: 0.4; - -webkit-transition: opacity 1s linear; + -webkit-transition: opacity 0.5s linear; } .history:hover { diff --git a/Modern Bubbling/Contents/Resources/styles/_bubbles/message-bubble.css b/Modern Bubbling/Contents/Resources/styles/_bubbles/message-bubble.css index acc17fb..8f33121 100644 --- a/Modern Bubbling/Contents/Resources/styles/_bubbles/message-bubble.css +++ b/Modern Bubbling/Contents/Resources/styles/_bubbles/message-bubble.css @@ -3,7 +3,6 @@ .message { position: relative; min-height: 42px; - z-index: 0; } .message .body { padding: 9px 20px 22px 20px;