Bug 1187203 - Use -moz-gtk-info-bar for notifications on Linux. r=karlt, a=sledru
authorAndrew Comminos <acomminos@mozilla.com>
Wed, 19 Aug 2015 15:42:33 -0400
changeset 277459 cd9769e27378
parent 277458 f027a14fdf66
child 277460 20c7ffc5f121
push id8371
push userryanvm@gmail.com
push date2015-09-01 18:07 +0000
treeherdermozilla-aurora@440d55ad4feb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt, sledru
bugs1187203
milestone42.0a2
Bug 1187203 - Use -moz-gtk-info-bar for notifications on Linux. r=karlt, a=sledru
toolkit/themes/linux/global/notification.css
--- a/toolkit/themes/linux/global/notification.css
+++ b/toolkit/themes/linux/global/notification.css
@@ -1,23 +1,25 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 notification {
-  color: InfoText;
+  color: -moz-gtk-info-bar-text;
   background-color: InfoBackground;
+  -moz-appearance: -moz-gtk-info-bar;
   text-shadow: none;
 }
 
 notification[type="info"] {
   color: -moz-DialogText;
   background-color: -moz-Dialog;
+  -moz-appearance: none;
 }
 
 notification[type="critical"] {
   color: white;
   background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0));
 }
 
 .notification-inner {