Bug 1507109 - Fix popup notification footer button colors. r=ntim
authorDão Gottwald <dao@mozilla.com>
Wed, 21 Nov 2018 11:11:22 +0000
changeset 503888 cfde782a9b546f9282469c932011644db7a396a1
parent 503887 95902e82a59eef77a3f5cde7014419e1f13ed763
child 503889 fbebc15cd4f40f0978bf22def0fcf355ce69f27b
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim
bugs1507109
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1507109 - Fix popup notification footer button colors. r=ntim Differential Revision: https://phabricator.services.mozilla.com/D11867
toolkit/themes/shared/popupnotification.inc.css
--- a/toolkit/themes/shared/popupnotification.inc.css
+++ b/toolkit/themes/shared/popupnotification.inc.css
@@ -55,32 +55,31 @@
 
 .popup-notification-button-container:hover > toolbarseparator {
   margin: 0;
 }
 
 .popup-notification-button {
   flex: 1;
   -moz-appearance: none;
-  background-color: transparent;
   color: inherit;
   margin: 0;
-  padding: 0;
   min-width: 0;
   min-height: 41px;
-  border: none;
   border-top: 1px solid var(--panel-separator-color);
 }
 
 .popup-notification-button:hover:not([disabled]) {
   background-color: var(--arrowpanel-dimmed);
+  color: inherit; /* override button.css on Linux */
 }
 
 .popup-notification-button:hover:active:not([disabled]) {
   background-color: var(--arrowpanel-dimmed-further);
+  color: inherit; /* override button.css on Mac */
   box-shadow: 0 1px 0 hsla(210,4%,10%,.05) inset;
 }
 
 .popup-notification-button[disabled] {
   background-color: var(--arrowpanel-dimmed-further);
   color: var(--panel-disabled-color);
 }