Bug 1315269 - Reverse notification buttons on Windows to follow platform conventions. r=past
authorJohann Hofmann <jhofmann@mozilla.com>
Wed, 16 Nov 2016 14:05:29 +0100
changeset 323837 248955c8a9cb68c2a97c103366af6d073e3bc2e0
parent 323836 3cb3e4ebc7880788aba31e0cfb35881533bc685f
child 323838 35292375aab329745599e0814ab11baafa61ecf0
push id21
push usermaklebus@msu.edu
push dateThu, 01 Dec 2016 06:22:08 +0000
reviewerspast
bugs1315269
milestone53.0a1
Bug 1315269 - Reverse notification buttons on Windows to follow platform conventions. r=past MozReview-Commit-ID: IeVPXnvp3B9
toolkit/themes/windows/global/notification.css
--- a/toolkit/themes/windows/global/notification.css
+++ b/toolkit/themes/windows/global/notification.css
@@ -79,8 +79,14 @@ notification[type="critical"] {
   height: 16px;
 }
 
 @media (-moz-windows-default-theme) {
   .popup-notification-warning {
     color: #aa1b08;
   }
 }
+
+/* Swap the default and secondary action, because Windows
+ * platform conventions put the default action on the left. */
+.popup-notification-button[default] {
+  order: -1;
+}