From 5ecddc6ae498b1ca9a6df1c8b4be618d026e8dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Qu=C3=A8ze?= Date: Mon, 23 Sep 2013 01:03:59 +0200 Subject: [PATCH] Bug 955613 - bubbles shouldn't fade in when displayed in the log viewer, r=aleth. --- im/content/viewlog.js | 1 + im/themes/messages/bubbles/main.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/im/content/viewlog.js b/im/content/viewlog.js index a642de7bbe..e74e5b5611 100644 --- a/im/content/viewlog.js +++ b/im/content/viewlog.js @@ -136,6 +136,7 @@ var logWindow = { if (aTopic != "conversation-loaded" || aSubject != browser) return; browser._autoScrollEnabled = false; + browser.contentDocument.getElementById("Chat").classList.add("log"); let count = {}; let messages = browser._conv.getMessagesEnumerator(count); diff --git a/im/themes/messages/bubbles/main.css b/im/themes/messages/bubbles/main.css index 9308e86f05..a3d89bb9f0 100644 --- a/im/themes/messages/bubbles/main.css +++ b/im/themes/messages/bubbles/main.css @@ -23,7 +23,7 @@ p { box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 3px; } -.bubble:not(.context):not(.event) { +#Chat:not(.log) > .bubble:not(.context):not(.event) { -moz-animation-duration: 0.5s; -moz-animation-name: fadein; -moz-animation-iteration-count: 1;