autocomplete.css 971 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Copyright 2009 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. /*
  8. * Styles for goog.ui.ac.AutoComplete and its derivatives.
  9. * Note: these styles need some work to get them working properly at various
  10. * font sizes other than the default.
  11. *
  12. * @author pupius@google.com (Daniel Pupius)
  13. * @author annams@google.com (Srinivas Annam)
  14. */
  15. /*
  16. * TODO(annams): Rename (here and in renderer.js) to specify class name as
  17. * goog-autocomplete-renderer
  18. */
  19. .ac-renderer {
  20. font: normal 13px Arial, sans-serif;
  21. position: absolute;
  22. background: #fff;
  23. border: 1px solid #666;
  24. -moz-box-shadow: 2px 2px 2px rgba(102, 102, 102, .4);
  25. -webkit-box-shadow: 2px 2px 2px rgba(102, 102, 102, .4);
  26. width: 300px;
  27. }
  28. .ac-row {
  29. cursor: pointer;
  30. padding: .4em;
  31. }
  32. .ac-highlighted {
  33. font-weight: bold;
  34. }
  35. .ac-active {
  36. background-color: #b2b4bf;
  37. }