Bug 1389640 - Restore focus states for url bar in light/dark themes. r=dao draft
authorDale Harvey <dale@arandomurl.com>
Thu, 17 Aug 2017 11:04:58 +0100
changeset 648190 1df39d394206489cff9fbe3f0df1a4998157f1af
parent 648160 39d42c06e5ae1816f9daa0ea426ce52d469be1da
child 726746 dd43d6192b5d3f3141780e2b515a9b194f497b79
push id74666
push userbmo:dharvey@mozilla.com
push dateThu, 17 Aug 2017 11:31:49 +0000
reviewersdao
bugs1389640
milestone57.0a1
Bug 1389640 - Restore focus states for url bar in light/dark themes. r=dao MozReview-Commit-ID: K3Jy8CXOkDS
browser/themes/shared/compacttheme.inc.css
--- a/browser/themes/shared/compacttheme.inc.css
+++ b/browser/themes/shared/compacttheme.inc.css
@@ -106,18 +106,21 @@ toolbar[brighttext] .toolbarbutton-1 {
 }
 
 /* URL bar and search bar*/
 #urlbar,
 #navigator-toolbox .searchbar-textbox {
   background-color: var(--url-and-searchbar-background-color) !important;
   background-image: none !important;
   color: inherit !important;
-  border: 1px solid var(--chrome-nav-bar-controls-border-color) !important;
-  box-shadow: none !important;
+}
+
+#urlbar:not([focused="true"]),
+.searchbar-textbox:not([focused="true"]) {
+  border-color: var(--chrome-nav-bar-controls-border-color);
 }
 
 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #identity-icon-labels:-moz-lwtheme-brighttext {
   color: #30e60b;
 }
 
 #identity-icon:-moz-lwtheme-brighttext,
 #tracking-protection-icon:-moz-lwtheme-brighttext,