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