1
0

tern.css 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .CodeMirror-Tern-completion {
  2. padding-left: 22px;
  3. position: relative;
  4. }
  5. .CodeMirror-Tern-completion:before {
  6. position: absolute;
  7. left: 2px;
  8. bottom: 2px;
  9. border-radius: 50%;
  10. font-size: 12px;
  11. font-weight: bold;
  12. height: 15px;
  13. width: 15px;
  14. line-height: 16px;
  15. text-align: center;
  16. color: white;
  17. -moz-box-sizing: border-box;
  18. box-sizing: border-box;
  19. }
  20. .CodeMirror-Tern-completion-unknown:before {
  21. content: "?";
  22. background: #4bb;
  23. }
  24. .CodeMirror-Tern-completion-object:before {
  25. content: "O";
  26. background: #77c;
  27. }
  28. .CodeMirror-Tern-completion-fn:before {
  29. content: "F";
  30. background: #7c7;
  31. }
  32. .CodeMirror-Tern-completion-array:before {
  33. content: "A";
  34. background: #c66;
  35. }
  36. .CodeMirror-Tern-completion-number:before {
  37. content: "1";
  38. background: #999;
  39. }
  40. .CodeMirror-Tern-completion-string:before {
  41. content: "S";
  42. background: #999;
  43. }
  44. .CodeMirror-Tern-completion-bool:before {
  45. content: "B";
  46. background: #999;
  47. }
  48. .CodeMirror-Tern-completion-guess {
  49. color: #999;
  50. }
  51. .CodeMirror-Tern-tooltip {
  52. border: 1px solid silver;
  53. border-radius: 3px;
  54. color: #444;
  55. padding: 2px 5px;
  56. font-size: 90%;
  57. font-family: monospace;
  58. background-color: white;
  59. white-space: pre-wrap;
  60. max-width: 40em;
  61. position: absolute;
  62. z-index: 10;
  63. -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  64. -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  65. box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  66. transition: opacity 1s;
  67. -moz-transition: opacity 1s;
  68. -webkit-transition: opacity 1s;
  69. -o-transition: opacity 1s;
  70. -ms-transition: opacity 1s;
  71. }
  72. .CodeMirror-Tern-hint-doc {
  73. max-width: 25em;
  74. margin-top: -3px;
  75. }
  76. .CodeMirror-Tern-fname { color: black; }
  77. .CodeMirror-Tern-farg { color: #70a; }
  78. .CodeMirror-Tern-farg-current { text-decoration: underline; }
  79. .CodeMirror-Tern-type { color: #07c; }
  80. .CodeMirror-Tern-fhint-guess { opacity: .7; }