/**
 * BEGIN FLOCK GPL
 *
 * Copyright Flock Inc. 2005-2009
 * http://flock.com
 *
 * This file may be used under the terms of the
 * GNU General Public License Version 2 or later (the "GPL"),
 * http://www.gnu.org/licenses/gpl.html
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * END FLOCK GPL
 */

textbox[type="clearbutton"] .textbox-input-box {
  padding-right: 15px;
}

textbox[type="clearbutton"][empty="true"] .textbox-input-box {
  padding-right: 0px;
}

textbox[type="clearbutton"][empty="true"] hbox.cancelFilterContainer {
  display: none;
}

textbox[type="clearbutton"] hbox.cancelFilterContainer {
  -moz-box-pack: end;
  -moz-box-align: center;
  margin-right: 3px;
}

textbox[type="clearbutton"] image.cancelFilter {
  list-style-image: url("chrome://global/skin/icons/clearform-button.png");
  cursor: pointer;
  border: 0;
  -moz-image-region: rect(0px, 12px, 12px, 0px);
  -moz-box-align: center;
}

textbox[type="clearbutton"] image.cancelFilter:hover {
  -moz-image-region: rect(0px, 26px, 12px, 14px);
}
