Bug 1428336 - Remove fallback border and background from the synced tabs sidebar's search field. r=dao
authorarchit <architjugran@gmail.com>
Tue, 16 Jan 2018 01:39:50 +0530
changeset 399305 732a0fe9f2fb
parent 399304 76990027c9f8
child 399306 c5132727a5cf
push id98935
push userdgottwald@mozilla.com
push dateMon, 15 Jan 2018 20:20:15 +0000
treeherdermozilla-inbound@732a0fe9f2fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1428336
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1428336 - Remove fallback border and background from the synced tabs sidebar's search field. r=dao MozReview-Commit-ID: FWqpaXyMvqM
browser/themes/osx/syncedtabs/sidebar.css
--- a/browser/themes/osx/syncedtabs/sidebar.css
+++ b/browser/themes/osx/syncedtabs/sidebar.css
@@ -101,47 +101,29 @@
 }
 
 .search-box {
   -moz-appearance: searchfield;
   padding: 1px;
   font-size: 12px;
   cursor: text;
   margin: 4px;
-  border-width: 3px;
-  border-style: solid;
-  border-color: currentcolor;
-  border-image: none;
-  -moz-border-top-colors: transparent #888 #000;
-  -moz-border-right-colors: transparent #FFF #000;
-  -moz-border-bottom-colors: transparent #FFF #000;
-  -moz-border-left-colors: transparent #888 #000;
-  border-top-right-radius: 2px;
-  border-bottom-left-radius: 2px;
-  background-color: #FFF;
-  color: #000;
+  color: -moz-fieldText;
   -moz-user-select: text;
   text-shadow: none;
 }
 
 .search-box.compact > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
   background-image: url(chrome://global/skin/icons/searchfield-cancel.svg);
   background-repeat: no-repeat;
   background-size: 11px 11px;
   width: 11px;
   height: 11px;
 }
 
-.search-box[focused="true"] {
-  -moz-border-top-colors: -moz-mac-focusring -moz-mac-focusring #000000;
-  -moz-border-right-colors: -moz-mac-focusring -moz-mac-focusring #000000;
-  -moz-border-bottom-colors: -moz-mac-focusring -moz-mac-focusring #000000;
-  -moz-border-left-colors: -moz-mac-focusring -moz-mac-focusring #000000;
-}
-
 .search-box.compact {
     padding: 0px;
     /* font size is in px because the XUL it was copied from uses px */
     font-size: 11px;
 }
 
 .textbox-search-clear {
   margin-top: 1px;