completer.css 907 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*!
  2. * Completer v0.1.3
  3. * https://github.com/fengyuanchen/completer
  4. *
  5. * Copyright (c) 2014-2016 Fengyuan Chen
  6. * Released under the MIT license
  7. *
  8. * Date: 2016-06-13T12:43:37.946Z
  9. */
  10. .completer-container {
  11. font-family: inherit;
  12. font-size: 14px;
  13. line-height: normal;
  14. position: absolute;
  15. -webkit-box-sizing: border-box;
  16. -moz-box-sizing: border-box;
  17. box-sizing: border-box;
  18. margin: 0;
  19. padding: 0;
  20. list-style: none;
  21. border: 1px solid #ccc;
  22. border-bottom-color: #39f;
  23. background-color: #fff;
  24. }
  25. .completer-container li {
  26. overflow: hidden;
  27. margin: 0;
  28. padding: .5em .8em;
  29. cursor: pointer;
  30. white-space: nowrap;
  31. text-overflow: ellipsis;
  32. border-bottom: 1px solid #eee;
  33. background-color: #fff;
  34. }
  35. .completer-container .completer-selected,
  36. .completer-container li:hover {
  37. margin-left: -1px;
  38. border-left: 1px solid #39f;
  39. background-color: #eee;
  40. }