Bug 1453803 - Increase the opacity of the default border color for WebExtension popups. r?ntim draft
authorJared Wein <jwein@mozilla.com>
Thu, 12 Apr 2018 18:48:39 -0400
changeset 781431 f7097b7ddd46397cefff4acd571ba642c71c9a5d
parent 779856 0a2dae2d8cf9f628c55668514c54a23da446d5de
push id106299
push userbmo:jaws@mozilla.com
push dateThu, 12 Apr 2018 22:49:27 +0000
reviewersntim
bugs1453803
milestone61.0a1
Bug 1453803 - Increase the opacity of the default border color for WebExtension popups. r?ntim MozReview-Commit-ID: AeDmPJtPdBE
browser/components/extensions/ExtensionPopups.jsm
--- a/browser/components/extensions/ExtensionPopups.jsm
+++ b/browser/components/extensions/ExtensionPopups.jsm
@@ -363,17 +363,17 @@ class BasePopup {
     // of the extension content. Passing `null` should be treated the same as no argument,
     // which is why we can't use default parameters here.
     if (!background) {
       background = "#fff";
     }
     this.panel.style.setProperty("--arrowpanel-background", background);
     if (background == "#fff") {
       // Set a usable default color that work with the default background-color.
-      this.panel.style.setProperty("--arrowpanel-border-color", "hsla(210,4%,10%,.05)");
+      this.panel.style.setProperty("--arrowpanel-border-color", "hsla(210,4%,10%,.15)");
     }
     this.background = background;
   }
 }
 
 /**
  * A map of active popups for a given browser window.
  *