Bug 1567417 - Make the buttons in the footer section of the protections panel to ignore the appearance setting of the toolbarbutton. r=nhnt11
authorTim Huang <tihuang@mozilla.com>
Fri, 16 Aug 2019 09:32:03 +0000
changeset 488471 21bd83f9fa50dd22622b5fa1447fb52b4e281eaf
parent 488470 09ce6041df3bc1451e914a84f9b8e742c2f294de
child 488472 870a350fb1360725bb7206cf8c392ef3a8d400e5
push id92768
push usertihuang@mozilla.com
push dateFri, 16 Aug 2019 09:44:18 +0000
treeherderautoland@870a350fb136 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnhnt11
bugs1567417
milestone70.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 1567417 - Make the buttons in the footer section of the protections panel to ignore the appearance setting of the toolbarbutton. r=nhnt11 We need to overwrite the '-moz-appearance' CSS rule of the buttons in the footer section of the protections panel in order to properly style the buttons. Differential Revision: https://phabricator.services.mozilla.com/D42282
browser/themes/shared/controlcenter/panel.inc.css
--- a/browser/themes/shared/controlcenter/panel.inc.css
+++ b/browser/themes/shared/controlcenter/panel.inc.css
@@ -1043,16 +1043,18 @@ description#identity-popup-content-verif
 
 #protections-popup-siteNotWorkingView-body-issue-list {
   padding-inline-start: 1em;
 }
 
 /* Protection popup footer categories */
 
 .protections-popup-footer-button {
+  /* Overwrite toolbarbutton styles */
+  -moz-appearance: none;
   min-height: 24px;
   padding-inline-start: var(--horizontal-padding);
   margin: 0;
 }
 
 .protections-popup-footer-icon {
   -moz-context-properties: fill;
   width: 16px;