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 10666 45159577008de5dde2436e9597e7731711a2b619
parent 10665 64a9433733cad55c71193d1e667b4b407fd67ef2
child 10667 5c92b414af33d37f5cc0a3862c5da7d6da513969
push idunknown
push userunknown
push dateunknown
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;