Bug 1241621 - fix notification styling for gtk2 on later branches, r=dao, a=sylvestre
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 22 Jan 2016 09:54:18 +0000
changeset 310994 7d8c70b78782d1cbe0e8131965d2208b9202b451
parent 310993 4624d3e7ba1a8330290e554345779297a266a948
child 310995 bb50b210ccf3b33ef44b5e2ea66b27f620fae633
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, sylvestre
bugs1241621
milestone45.0a2
Bug 1241621 - fix notification styling for gtk2 on later branches, r=dao, a=sylvestre
toolkit/themes/linux/global/jar.mn
toolkit/themes/linux/global/notification.css
--- a/toolkit/themes/linux/global/jar.mn
+++ b/toolkit/themes/linux/global/jar.mn
@@ -15,17 +15,17 @@ toolkit.jar:
    skin/classic/global/Filepicker.png                          (filepicker/Filepicker.png)
    skin/classic/global/findBar.css
    skin/classic/global/global.css
    skin/classic/global/groupbox.css
    skin/classic/global/listbox.css
    skin/classic/global/menu.css
    skin/classic/global/menulist.css
    skin/classic/global/netError.css
-   skin/classic/global/notification.css
+*  skin/classic/global/notification.css
    skin/classic/global/numberbox.css
    skin/classic/global/popup.css
    skin/classic/global/preferences.css
    skin/classic/global/printPageSetup.css
    skin/classic/global/printPreview.css
    skin/classic/global/radio.css
    skin/classic/global/scrollbox.css
    skin/classic/global/splitter.css
--- a/toolkit/themes/linux/global/notification.css
+++ b/toolkit/themes/linux/global/notification.css
@@ -2,16 +2,19 @@
  * 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: -moz-gtk-info-bar-text;
   -moz-appearance: -moz-gtk-info-bar;
+%if MOZ_WIDGET_GTK == 2
+  background-color: InfoBackground;
+%endif
   text-shadow: none;
 }
 
 notification[type="info"] {
   color: -moz-DialogText;
   background-color: -moz-Dialog;
   -moz-appearance: none;
 }