Bug 1310882 - Urlbar zoom button in dark devedition has poor hover support. r=gijs draft
authorJared Wein <jwein@mozilla.com>
Thu, 20 Oct 2016 14:57:56 -0400
changeset 427674 2e58d656537efc7493cb638ec9a61acfa2d812ad
parent 427286 8bd0d7e850dd1e62fa088d99821a2072a9273c09
child 534534 a8e22198f1e63ed8ae07c9faa308e8f7b7835d25
push id33089
push userjwein@mozilla.com
push dateThu, 20 Oct 2016 18:58:25 +0000
reviewersgijs
bugs1310882
milestone52.0a1
Bug 1310882 - Urlbar zoom button in dark devedition has poor hover support. r=gijs MozReview-Commit-ID: KSyc12sMzy7
browser/themes/shared/devedition.inc.css
--- a/browser/themes/shared/devedition.inc.css
+++ b/browser/themes/shared/devedition.inc.css
@@ -209,16 +209,24 @@ toolbar[brighttext] #downloads-indicator
 }
 
 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
   overflow: -moz-hidden-unscrollable;
   clip-path: none;
   margin-inline-start: 0;
 }
 
+:root[devtoolstheme="dark"] #urlbar-zoom-button:hover {
+  background-color: rgba(255,255,255,.2);
+}
+
+:root[devtoolstheme="dark"] #urlbar-zoom-button:hover:active {
+  background-color: rgba(255,255,255,.3);
+}
+
 /* Nav bar specific stuff */
 #nav-bar {
   margin-top: 0 !important;
   border-top: none !important;
   border-bottom: none !important;
   border-radius: 0 !important;
   box-shadow: 0 -1px var(--chrome-nav-bar-separator-color) !important;
 }