searchbox.css 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .searchbox {
  2. display: inline-block;
  3. white-space: nowrap;
  4. margin: 0;
  5. padding: 0;
  6. border-width: 1px;
  7. border-style: solid;
  8. overflow: hidden;
  9. vertical-align: middle;
  10. }
  11. .searchbox .searchbox-text {
  12. font-size: 12px;
  13. border: 0;
  14. margin: 0;
  15. padding: 0 2px;
  16. vertical-align: top;
  17. }
  18. .searchbox .searchbox-prompt {
  19. font-size: 12px;
  20. color: #ccc;
  21. }
  22. .searchbox-button {
  23. width: 18px;
  24. height: 20px;
  25. overflow: hidden;
  26. display: inline-block;
  27. vertical-align: top;
  28. cursor: pointer;
  29. opacity: 0.6;
  30. filter: alpha(opacity=60);
  31. }
  32. .searchbox-button-hover {
  33. opacity: 1.0;
  34. filter: alpha(opacity=100);
  35. }
  36. .searchbox .l-btn-plain {
  37. border: 0;
  38. padding: 0;
  39. vertical-align: top;
  40. opacity: 0.6;
  41. filter: alpha(opacity=60);
  42. -moz-border-radius: 0 0 0 0;
  43. -webkit-border-radius: 0 0 0 0;
  44. border-radius: 0 0 0 0;
  45. }
  46. .searchbox .l-btn-plain:hover {
  47. border: 0;
  48. padding: 0;
  49. opacity: 1.0;
  50. filter: alpha(opacity=100);
  51. -moz-border-radius: 0 0 0 0;
  52. -webkit-border-radius: 0 0 0 0;
  53. border-radius: 0 0 0 0;
  54. }
  55. .searchbox a.m-btn-plain-active {
  56. -moz-border-radius: 0 0 0 0;
  57. -webkit-border-radius: 0 0 0 0;
  58. border-radius: 0 0 0 0;
  59. }
  60. .searchbox .m-btn-active {
  61. border-width: 0 1px 0 0;
  62. -moz-border-radius: 0 0 0 0;
  63. -webkit-border-radius: 0 0 0 0;
  64. border-radius: 0 0 0 0;
  65. }
  66. .searchbox .textbox-button-right {
  67. border-width: 0 0 0 1px;
  68. }
  69. .searchbox .textbox-button-left {
  70. border-width: 0 1px 0 0;
  71. }
  72. .searchbox-button {
  73. background: url('images/searchbox_button.png') no-repeat center center;
  74. }
  75. .searchbox {
  76. border-color: #ddd;
  77. background-color: #fff;
  78. }
  79. .searchbox .l-btn-plain {
  80. background: #ffffff;
  81. }
  82. .searchbox .l-btn-plain-disabled,
  83. .searchbox .l-btn-plain-disabled:hover {
  84. opacity: 0.5;
  85. filter: alpha(opacity=50);
  86. }
  87. .textbox-invalid {
  88. border-color: #ffa8a8;
  89. background-color: #fff3f3;
  90. }