Bug 1111868 - Make sure the search suggestions panel content doesn't overlap the panel border. r=florian, a=lmandel
authorDão Gottwald <dao@mozilla.com>
Thu, 29 Jan 2015 14:06:39 +0100
changeset 249536 019f2fb5db296ccfdc4a5a835029b906d4e1e633
parent 249535 29cf0d3ae034b722faa8c9455b8e22e1cf0ae90c
child 249537 3c63448c218445525da8fe9dee4d3bc32e7115a6
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian, lmandel
bugs1111868
milestone37.0a2
Bug 1111868 - Make sure the search suggestions panel content doesn't overlap the panel border. r=florian, a=lmandel
browser/themes/linux/searchbar.css
--- a/browser/themes/linux/searchbar.css
+++ b/browser/themes/linux/searchbar.css
@@ -1,14 +1,15 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #PopupSearchAutoComplete {
   -moz-margin-start: -24px;
+  padding: 1px;
 }
 
 .searchbar-textbox {
   min-height: 22px;
   background-color: -moz-field;
 }
 
 .autocomplete-textbox-container {
@@ -118,31 +119,30 @@ searchbar[oneoffui] .search-go-button:-m
   border-bottom: 1px solid #ccc;
   -moz-box-align: center;
 }
 
 .search-panel-header {
   font-weight: normal;
   background-color: rgb(245, 245, 245);
   border-top: 1px solid #ccc;
-  margin: 0 1px;
   padding: 3px 5px;
   color: #666;
 }
 
 .search-panel-current-input > label {
   margin: 0 0 !important;
 }
 
 .search-panel-input-value {
   color: black;
 }
 
 .search-panel-one-offs {
-  margin: 0 0 !important;
+  margin: 0 -1px !important;
   border-top: 1px solid #ccc;
 }
 
 .searchbar-engine-one-off-item {
   -moz-appearance: none;
   display: inline-block;
   border: none;
   min-width: 48px;
@@ -167,17 +167,17 @@ searchbar[oneoffui] .search-go-button:-m
 .searchbar-engine-one-off-item:hover:not(.dummy),
 .searchbar-engine-one-off-item[selected] {
   background-color: Highlight;
   background-image: none;
 }
 
 .searchbar-engine-one-off-item > .button-box {
   border: none;
-  padding: 0 0;
+  padding: 0;
 }
 
 .searchbar-engine-one-off-item > .button-box > .button-text {
   display: none;
 }
 
 .searchbar-engine-one-off-item > .button-box > .button-icon {
   display: -moz-box;
@@ -185,17 +185,17 @@ searchbar[oneoffui] .search-go-button:-m
   width: 16px;
   height: 16px;
 }
 
 .addengine-item {
   -moz-appearance: none;
   border: none;
   height: 32px;
-  margin: 0 0;
+  margin: 0;
   padding: 0 10px;
 }
 
 .addengine-item > .button-box {
   -moz-box-pack: start;
 }
 
 .addengine-item:first-of-type {
@@ -255,19 +255,18 @@ searchbar[oneoffui] .searchbar-engine-bu
 }
 
 searchbar[oneoffui] .searchbar-engine-image {
   -moz-margin-start: -1px;
 }
 
 .search-setting-button {
   -moz-appearance: none;
-  border-bottom: none;
-  border-left: none;
-  border-right: none;
-  -moz-border-top-colors: none;
+  border: none;
+  border-top: 1px solid #ccc;
+  margin: 0;
   min-height: 32px;
 }
 
 .search-setting-button:hover {
   background-color: #d3d3d3;
   border-top-color: #bdbebe;
 }