searchbar.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. .searchbar-textbox {
  5. min-height: 22px;
  6. width: 6em;
  7. min-width: 6em;
  8. background-color: -moz-field;
  9. }
  10. .autocomplete-textbox-container {
  11. -moz-box-align: stretch;
  12. }
  13. .textbox-input-box {
  14. margin: 0;
  15. }
  16. .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
  17. font-weight: bold;
  18. }
  19. /* Engine button */
  20. .searchbar-engine-image {
  21. height: 16px;
  22. width: 16px;
  23. list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
  24. margin-inline-start: 2px;
  25. }
  26. .searchbar-engine-button {
  27. -moz-appearance: none;
  28. min-width: 0;
  29. margin: 0;
  30. border: 0;
  31. -moz-box-align: center;
  32. background-color: transparent;
  33. }
  34. .searchbar-engine-button > .button-box {
  35. -moz-appearance: none;
  36. padding: 2px 0;
  37. padding-inline-end: 2px;
  38. border: 0;
  39. }
  40. .searchbar-dropmarker-image {
  41. -moz-appearance: toolbarbutton-dropdown !important;
  42. width: 12px;
  43. height: 12px;
  44. }
  45. /* Search go button */
  46. .search-go-container {
  47. -moz-box-align: center;
  48. }
  49. .search-go-button {
  50. padding: 1px;
  51. list-style-image: url(moz-icon://stock/gtk-find?size=menu);
  52. cursor: pointer;
  53. }
  54. menuitem[cmd="cmd_clearhistory"] {
  55. list-style-image: url("moz-icon://stock/gtk-clear?size=menu");
  56. }
  57. menuitem[cmd="cmd_clearhistory"][disabled] {
  58. list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled");
  59. }