2
0

show-hint.css 660 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. max-width: 19em;
  24. overflow: hidden;
  25. white-space: pre;
  26. color: black;
  27. cursor: pointer;
  28. }
  29. .CodeMirror-hint-active {
  30. background: #08f;
  31. color: white;
  32. }