You are here

better-autocomplete.css in Linkit 7.3

Same filename and directory in other branches
  1. 7.2 better-autocomplete/better-autocomplete.css
/* Stylesheet for Better Autocomplete jQuery plugin by Didrik Nordström */

/**
 * Do NOT edit this file! Instead, include another stylesheet with your custom
 * overrides and extensions. Copy the selectors you need to edit and place them
 * in your CSS file. And remember to include that file AFTER this file.
 */

/* Reset styles for lists */

.better-autocomplete,
.better-autocomplete > .result {
  list-style: none;
  padding: 0;
  margin: 0;
  background: none;
}

.better-autocomplete {
  text-align: left;
  font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif;
  overflow: auto;
  cursor: default;
  background: white;
  border-bottom: 1px solid #bfbfbf;
  z-index: 10;
  max-height: 330px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Visually indicate that results are in the topmost layer */
}

/* Groups */

.better-autocomplete > .group {
  position: relative;
  padding: 3px;
  text-align: center;
  background: #e7e7e7;
  border-color: #bfbfbf;
  border-width: 1px 1px 0 1px;
  border-style: solid;
}

.better-autocomplete > .group > h3 {
  font-size: 11px;
  color: #555;
  padding: 0;
  margin: 0;
}

/* Results */

.better-autocomplete > .result {
  position: relative;
  padding: 5px 7px;
  background: white;
  border-color: #bfbfbf;
  border-width: 1px 1px 0 1px;
  border-style: solid;
}

.better-autocomplete > .result > h4 {
  font-size: 12px;
  color: #3c3c3c;
  padding: 0;
  margin: 0 0 2px 0;
}

.better-autocomplete > .result > p {
  font-size: 11px;
  line-height: 1.3;
  color: #6f6f6f;
  padding: 0;
  margin: 0;
}

/* Highlighting */

.better-autocomplete > .result.highlight {
  background: #0075ba;
  border-top-color: #1f4a64;
}

.better-autocomplete > .result.highlight > h4,
.better-autocomplete > .result.highlight > p {
  color: white;
}

/* ARIA */

.better-autocomplete-aria {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
}

File

better-autocomplete/better-autocomplete.css
View source
  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. }