Bug 717262 - Test pilot notifications have broken / transparent UI in Thunderbird. Adapt styles for the core changes in bug 497995 r=mconley,a=Standard8
authorMark Banner <bugzilla@standard8.plus.com>
Tue, 20 Mar 2012 13:55:23 +0000
changeset 11120 394d81db3262be4f961d95d12e46417d4d28185a
parent 11119 2b4efa4fca28faa8ba7868ae83e8a8db341cb11b
child 11121 a42983902c5d76402b949a2399f94fa5f2a51d6e
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, Standard8
bugs717262, 497995
Bug 717262 - Test pilot notifications have broken / transparent UI in Thunderbird. Adapt styles for the core changes in bug 497995 r=mconley,a=Standard8
mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/browser.css
--- a/mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/browser.css
+++ b/mail/app/profile/extensions/tbtestpilot@labs.mozilla.com/content/browser.css
@@ -67,26 +67,36 @@
   -moz-window-shadow: none;
   background-color: transparent;
   margin-top: -6px;
   margin-right: -3px;
   width: 480px;
 }
 
 .tail-up {
+ // Needed whilst we support Gecko < 13
  -moz-border-image: url(chrome://testpilot-os/skin/notification-tail-up.png) 26 56 22 18 / 26px 56px 22px 18px round stretch;
+ // Supported in Gecko >= 13
+ -moz-border-image: url(chrome://testpilot-os/skin/notification-tail-up.png) 26 50 22 18 fill repeat;
+ border-width: 26px 56px 22px 18px;
+ border-style: solid;
 }
 
 /* tail-down uses the old styling; it doesn't look as good as the new styling,
    but the new styling doesn't work on 3.6.
    TODO: If someone is using 3.7.* or 4.* but is NOT on the beta channel and
    installed Test Pilot from AMO, they should get the new styling, similar
    to .tail-up! */
 .tail-down {
+ // Needed whilst we support Gecko < 13
  -moz-border-image: url(chrome://testpilot/skin/notification-tail-down.png) 26 50 22 18 / 26px 50px 22px 18px repeat;
+ // Supported in Gecko >= 13
+ -moz-border-image: url(chrome://testpilot/skin/notification-tail-down.png) 26 50 22 18 fill repeat;
+ border-width: 26px 56px 22px 18px;
+ border-style: solid;
  color: white;
 }
 
 .pilot-notification-popup-container {
   -moz-appearance: none;
   margin-right: -42px;
   padding: 0px 5px 5px 5px;
   font-size: 14px;