Bug 1595029 - Hide searchbar placeholder text in customize mode. r=Gijs, a=pascalc
authorTim Nguyen <ntim.bugs@gmail.com>
Mon, 11 Nov 2019 15:42:01 +0000
changeset 559975 b4948445b6f5bfe0011444b5cfab31ca86efe33e
parent 559974 f2ebe036ab6eeff09bfbdbb4c63acd47f0bf19e3
child 559976 aa349436283b551564c4e3542633f1932158c533
push id12287
push userntim.bugs@gmail.com
push dateMon, 11 Nov 2019 15:45:19 +0000
treeherdermozilla-beta@b4948445b6f5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, pascalc
bugs1595029
milestone71.0
Bug 1595029 - Hide searchbar placeholder text in customize mode. r=Gijs, a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D52386
browser/themes/shared/customizableui/customizeMode.inc.css
--- a/browser/themes/shared/customizableui/customizeMode.inc.css
+++ b/browser/themes/shared/customizableui/customizeMode.inc.css
@@ -275,16 +275,20 @@ toolbarpaletteitem[place=palette] > tool
 toolbarpaletteitem[place=toolbar] > toolbarspring {
   outline: 1px solid;
   outline-offset: -2px;
   opacity: .6;
   margin-top: 5px;
   margin-bottom: 5px;
 }
 
+toolbarpaletteitem > #search-container > #searchbar > .searchbar-textbox {
+  visibility: hidden; /* Hide searchbar placeholder text in customize mode */
+}
+
 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
   opacity: 1; /* To ensure these buttons always look enabled in customize mode */
 }
 
 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
   display: none;
 }