show-hint.css 649 B

12345678910111213141516171819202122232425262728293031323334353637
  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. box-sizing: border-box;
  19. }
  20. .CodeMirror-hint {
  21. margin: 0;
  22. padding: 0 4px;
  23. border-radius: 2px;
  24. white-space: pre;
  25. color: black;
  26. cursor: pointer;
  27. }
  28. li.CodeMirror-hint-active {
  29. background: #08f;
  30. color: white;
  31. }