better-autocomplete.css 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /* Stylesheet for Better Autocomplete jQuery plugin by Didrik Nordström */
  2. /**
  3. * Do NOT edit this file! Instead, include another stylesheet with your custom
  4. * overrides and extensions. Copy the selectors you need to edit and place them
  5. * in your CSS file. And remember to include that file AFTER this file.
  6. */
  7. /* Reset styles for lists */
  8. .better-autocomplete,
  9. .better-autocomplete > .result {
  10. list-style: none;
  11. padding: 0;
  12. margin: 0;
  13. background: none;
  14. }
  15. .better-autocomplete {
  16. text-align: left;
  17. font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif;
  18. overflow: auto;
  19. cursor: default;
  20. background: white;
  21. border-bottom: 1px solid #bfbfbf;
  22. z-index: 10;
  23. max-height: 330px;
  24. box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Visually indicate that results are in the topmost layer */
  25. }
  26. /* Groups */
  27. .better-autocomplete > .group {
  28. position: relative;
  29. padding: 3px;
  30. text-align: center;
  31. background: #e7e7e7;
  32. border-color: #bfbfbf;
  33. border-width: 1px 1px 0 1px;
  34. border-style: solid;
  35. }
  36. .better-autocomplete > .group > h3 {
  37. font-size: 11px;
  38. color: #555;
  39. padding: 0;
  40. margin: 0;
  41. }
  42. /* Results */
  43. .better-autocomplete > .result {
  44. position: relative;
  45. padding: 5px 7px;
  46. background: white;
  47. border-color: #bfbfbf;
  48. border-width: 1px 1px 0 1px;
  49. border-style: solid;
  50. }
  51. .better-autocomplete > .result > h4 {
  52. font-size: 12px;
  53. color: #3c3c3c;
  54. padding: 0;
  55. margin: 0 0 2px 0;
  56. }
  57. .better-autocomplete > .result > p {
  58. font-size: 11px;
  59. line-height: 1.3;
  60. color: #6f6f6f;
  61. padding: 0;
  62. margin: 0;
  63. }
  64. /* Highlighting */
  65. .better-autocomplete > .result.highlight {
  66. background: #0075ba;
  67. border-top-color: #1f4a64;
  68. }
  69. .better-autocomplete > .result.highlight > h4,
  70. .better-autocomplete > .result.highlight > p {
  71. color: white;
  72. }
  73. /* ARIA */
  74. .better-autocomplete-aria {
  75. position: absolute !important;
  76. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  77. clip: rect(1px, 1px, 1px, 1px);
  78. overflow: hidden;
  79. height: 1px;
  80. }