show-hint.css 623 B

123456789101112131415161718192021222324252627282930313233343536
  1. .CodeMirror-hints {
  2. position: absolute;
  3. z-index: 10;
  4. overflow: hidden;
  5. list-style: none;
  6. margin: 0;
  7. padding: 2px;
  8. -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  9. -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  10. box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  11. border-radius: 3px;
  12. border: 1px solid silver;
  13. background: white;
  14. font-size: 90%;
  15. font-family: monospace;
  16. max-height: 20em;
  17. overflow-y: auto;
  18. }
  19. .CodeMirror-hint {
  20. margin: 0;
  21. padding: 0 4px;
  22. border-radius: 2px;
  23. white-space: pre;
  24. color: black;
  25. cursor: pointer;
  26. }
  27. li.CodeMirror-hint-active {
  28. background: #08f;
  29. color: white;
  30. }