Bug 1518431 - Implement panel footer top border in global.inc.css. r=ntim
authorDão Gottwald <dao@mozilla.com>
Tue, 08 Jan 2019 12:10:17 +0000
changeset 452879 ef42fcd70042334d12a4208d7e07c6a4542ede2e
parent 452878 54f18c480711e3cee577e4174f6def86ec2b2a05
child 452880 dfdec6abcc4d52fbb7ab10617209c13fd29f78bd
push id35332
push userdvarga@mozilla.com
push dateTue, 08 Jan 2019 16:21:43 +0000
treeherdermozilla-central@cc4350821ea2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim
bugs1518431
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 1518431 - Implement panel footer top border in global.inc.css. r=ntim Differential Revision: https://phabricator.services.mozilla.com/D15916
browser/themes/shared/controlcenter/panel.inc.css
browser/themes/shared/downloads/downloads.inc.css
browser/themes/shared/places/editBookmarkPanel.inc.css
toolkit/themes/shared/global.inc.css
toolkit/themes/shared/popupnotification.inc.css
--- a/browser/themes/shared/controlcenter/panel.inc.css
+++ b/browser/themes/shared/controlcenter/panel.inc.css
@@ -310,17 +310,16 @@
 }
 
 #identity-popup-more-info-footer {
   margin-top: 1em;
 }
 
 .identity-popup-footer > button {
   margin: 0;
-  border-top: 1px solid var(--panel-separator-color);
   padding: 8px 20px;
 }
 
 #identity-popup-content-verifier ~ description {
   margin-top: 1em;
   color: var(--panel-disabled-color);
 }
 
--- a/browser/themes/shared/downloads/downloads.inc.css
+++ b/browser/themes/shared/downloads/downloads.inc.css
@@ -25,20 +25,16 @@
   margin: 0;
 }
 
 #emptyDownloads {
   padding: 16px 16px;
   margin: 0;
 }
 
-.downloadsPanelFooter {
-  border-top: 1px solid var(--panel-separator-color);
-}
-
 .downloadsPanelFooter toolbarseparator,
 @item@ > toolbarseparator {
   margin: 0;
   border: 0;
   min-width: 0;
   border-left: 1px solid var(--panel-separator-color);
   -moz-appearance: none;
 }
--- a/browser/themes/shared/places/editBookmarkPanel.inc.css
+++ b/browser/themes/shared/places/editBookmarkPanel.inc.css
@@ -54,14 +54,13 @@ html|img#editBookmarkPanelFavicon[src] {
 #editBookmarkPanelBottomButtons {
   display: flex;
 }
 
 .editBookmarkPanelBottomButton {
   flex: 1;
   margin: 0;
   padding: .8em 0;
-  border-top: 1px solid var(--panel-separator-color);
 }
 
 .editBookmarkPanelBottomButton:not(:last-child) {
   border-inline-end: 1px solid var(--panel-separator-color);
 }
--- a/toolkit/themes/shared/global.inc.css
+++ b/toolkit/themes/shared/global.inc.css
@@ -52,16 +52,17 @@
 /* Panel footers */
 
 .panel-footer {
   background-color: var(--arrowpanel-dimmed);
 }
 
 .panel-footer > button {
   -moz-appearance: none;
+  border-top: 1px solid var(--panel-separator-color);
   /* !important overrides :hover and :active colors from button.css: */
   color: inherit !important;
 }
 
 .panel-footer > button[disabled] {
   color: var(--panel-disabled-color) !important;
 }
 
--- a/toolkit/themes/shared/popupnotification.inc.css
+++ b/toolkit/themes/shared/popupnotification.inc.css
@@ -56,17 +56,16 @@
   margin: 0;
 }
 
 .popup-notification-button {
   flex: 1;
   margin: 0;
   min-width: 0;
   min-height: 41px;
-  border-top: 1px solid var(--panel-separator-color);
 }
 
 .popup-notification-primary-button:not([alone]) {
   flex: 0 50%;
 }
 
 .popup-notification-secondary-button[hidden="true"] ~ .popup-notification-primary-button {
   flex: 1;