combobox.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * Copyright 2007 The Closure Library Authors. All Rights Reserved.
  3. *
  4. * Use of this source code is governed by the Apache License, Version 2.0.
  5. * See the COPYING file for details.
  6. */
  7. /* Author: pupius@google.com (Daniel Pupius) */
  8. /* Author: pallosp@google.com (Peter Pallos) */
  9. /* Styles for goog.ui.ComboBox and its derivatives. */
  10. .goog-combobox {
  11. background: #ddd url(//ssl.gstatic.com/closure/button-bg.gif) repeat-x scroll left top;
  12. border: 1px solid #b5b6b5;
  13. font: normal small arial, sans-serif;
  14. }
  15. .goog-combobox input {
  16. background-color: #fff;
  17. border: 0;
  18. border-right: 1px solid #b5b6b5;
  19. color: #000;
  20. font: normal small arial, sans-serif;
  21. margin: 0;
  22. padding: 0 0 0 2px;
  23. vertical-align: bottom; /* override demo.css */
  24. width: 200px;
  25. }
  26. .goog-combobox input.label-input-label {
  27. background-color: #fff;
  28. color: #aaa;
  29. }
  30. .goog-combobox .goog-menu {
  31. margin-top: -1px;
  32. width: 219px; /* input width + button width + 3 * 1px border */
  33. z-index: 1000;
  34. }
  35. .goog-combobox-button {
  36. cursor: pointer;
  37. display: inline-block;
  38. font-size: 10px;
  39. text-align: center;
  40. width: 16px;
  41. }
  42. /* IE6 only hack */
  43. * html .goog-combobox-button {
  44. padding: 0 3px;
  45. }