You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
1.9 KiB

2 years ago
  1. .autocompleter {
  2. width: 100%;
  3. display: none;
  4. }
  5. .autocompleter-show {
  6. display: block;
  7. }
  8. .autocompleter,
  9. .autocompleter-hint {
  10. position: absolute;
  11. }
  12. .autocompleter-list {
  13. list-style: none;
  14. margin: 0;
  15. padding: 0;
  16. -webkit-box-sizing: border-box;
  17. box-sizing: border-box;
  18. }
  19. .autocompleter-item {
  20. cursor: pointer;
  21. }
  22. .autocompleter-item:hover {
  23. /* Hover State */
  24. }
  25. .autocompleter-item-selected {
  26. /* Selected State */
  27. }
  28. .autocompleter-item strong {
  29. /* Highlight Matches */
  30. }
  31. .autocompleter-hint {
  32. width: 100%;
  33. display: none;
  34. /** Need absolute position over input text */
  35. }
  36. .autocompleter-hint-show {
  37. display: block;
  38. }
  39. .autocompleter-hint span {
  40. color: transparent;
  41. }
  42. /**
  43. * Simplecomplete
  44. */
  45. .autocompleter {
  46. width: 200%;
  47. border: solid 1px #bbbbbb;
  48. background: #ffffff;
  49. position: absolute;
  50. top: 34px;
  51. left: 10px;
  52. z-index: 100;
  53. }
  54. .autocompleter,
  55. .autocompleter-hint {
  56. position: absolute;
  57. }
  58. .autocompleter-list {
  59. box-shadow: inset 0px 0px 6px rgba(0,0,0,0.1);
  60. list-style: none;
  61. margin: 0;
  62. padding: 0;
  63. text-align: left;
  64. -webkit-box-sizing: border-box;
  65. box-sizing: border-box;
  66. }
  67. .autocompleter-item-selected {
  68. background: #ffffff;
  69. }
  70. .autocompleter-item {
  71. padding: 5px 12px;
  72. color: #444444;
  73. font-size: 14px;
  74. cursor: pointer;
  75. }
  76. .autocompleter-item:hover {
  77. background: #dbed8a;
  78. }
  79. .autocompleter-item strong {
  80. background: #f9de8f;
  81. text-shadow: 0 1px 0 #ffffff;
  82. }
  83. .autocompleter-item span {
  84. color: #bbbbbb;
  85. }
  86. .autocompleter-hint {
  87. color: #ccc;
  88. text-align: left;
  89. top: -38px;
  90. font-weight: 400;
  91. left: 0;
  92. width: 100%;
  93. padding: 12px 12px 12px 13px;
  94. font-size: 15px;
  95. display: none;
  96. }
  97. .autocompleter-hint span {
  98. color: transparent;
  99. }
  100. .autocompleter-hint-show {
  101. display: block;
  102. }
  103. .autocompleter-closed {
  104. display: none;
  105. }