Bug 1619354 - Fix popup notification in modern theme. r=frg DONTBUILD
authorIan Neal <iann_cvs@blueyonder.co.uk>
Mon, 02 Mar 2020 09:24:06 +0000
changeset 37522 b2cecde80ad8695cceff07444170b67ca9780cdf
parent 37521 f87a75425b97da24ec0314009e7d18e08dbfffc1
child 37523 162a48c7ff4c1df9ca77d212fc37a64d29212cd9
push id2566
push userclokep@gmail.com
push dateMon, 09 Mar 2020 19:20:31 +0000
treeherdercomm-beta@a352facfa0a4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfrg
bugs1619354
Bug 1619354 - Fix popup notification in modern theme. r=frg DONTBUILD
suite/themes/modern/global/notification.css
--- a/suite/themes/modern/global/notification.css
+++ b/suite/themes/modern/global/notification.css
@@ -83,8 +83,47 @@ popupnotification {
 
 .popup-notification-learnmore-link:not([href]) {
   display: none;
 }
 
 .popup-notification-closeitem {
   list-style-image: url("chrome://global/skin/icons/closebox.gif");
 }
+
+.popup-notification-button-container {
+  background-color: transparent;
+  display: flex;
+}
+
+.popup-notification-button-container > toolbarseparator {
+  display: none;
+}
+
+.popup-notification-button {
+  flex: 1;
+  min-width: 0;
+}
+
+.popup-notification-button[anonid="secondarybutton"][hidden="true"] ~ .popup-notification-button[default] {
+  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;
+}
+
+.popup-notification-dropmarker > .button-box > .button-menu-dropmarker {
+  /* This is to override the linux !important */
+  -moz-appearance: none !important;
+  display: -moz-box;
+  padding: 0;
+  margin: 0;
+}