Bug 1518745 - Remove inner padding from all panel footer buttons. r=ntim
authorDão Gottwald <dao@mozilla.com>
Wed, 09 Jan 2019 10:50:46 +0000
changeset 510123 f06b57684ee92fcfcd0e7e491e1d13ecc9d32975
parent 510122 7c0760b4c3a47282e421925d182b4f49d6e9bd6d
child 510124 00d33e7058c1261b31ddd3b8df31e39c98212c3e
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim
bugs1518745
milestone66.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 1518745 - Remove inner padding from all panel footer buttons. r=ntim Differential Revision: https://phabricator.services.mozilla.com/D16018
browser/themes/shared/downloads/downloads.inc.css
toolkit/themes/shared/global.inc.css
toolkit/themes/shared/popupnotification.inc.css
--- a/browser/themes/shared/downloads/downloads.inc.css
+++ b/browser/themes/shared/downloads/downloads.inc.css
@@ -42,20 +42,16 @@
   outline: 1px solid var(--arrowpanel-dimmed);
 }
 
 .downloadsPanelFooterButton:hover:active,
 .downloadsPanelFooterButton[open="true"] {
   outline: 1px solid var(--arrowpanel-dimmed-further);
 }
 
-.downloadsPanelFooterButton > .button-box {
-  padding: 0;
-}
-
 @notKeyfocus@ .downloadsPanelFooterButton:-moz-focusring {
   outline: none;
 }
 
 #downloadsSummary {
   /* Reserve the same space as the button and separator in download items. */
   padding-inline-end: 59px;
 }
--- a/toolkit/themes/shared/global.inc.css
+++ b/toolkit/themes/shared/global.inc.css
@@ -91,8 +91,12 @@
 
 .panel-footer > button:not([disabled])[default]:hover {
   background-color: #003eaa;
 }
 
 .panel-footer > button:not([disabled])[default]:hover:active {
   background-color: #002275;
 }
+
+.panel-footer > button > .button-box {
+  padding: 0;
+}
--- a/toolkit/themes/shared/popupnotification.inc.css
+++ b/toolkit/themes/shared/popupnotification.inc.css
@@ -63,20 +63,16 @@
 .popup-notification-primary-button:not([alone]) {
   flex: 0 50%;
 }
 
 .popup-notification-secondary-button[hidden="true"] ~ .popup-notification-primary-button {
   flex: 1;
 }
 
-.popup-notification-button > .button-box {
-  padding: 0;
-}
-
 .popup-notification-dropmarker {
   flex: none;
   padding: 0 15px;
 }
 
 .popup-notification-dropmarker > .button-box > hbox {
   display: none;
 }