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 289058 cd9769e27378b28679f0a49b53767738146c89a9
parent 289057 f027a14fdf66456b7a2fb3db5ff83af236f86be5
child 289059 20c7ffc5f1218418244fb9362bb5000895375145
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [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 {