| 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 |
|
| 49 |
.CodeMirror-Tern-completion-guess { |
| 50 |
color: #999; |
| 51 |
} |
| 52 |
|
| 53 |
.CodeMirror-Tern-tooltip { |
| 54 |
border: 1px solid silver; |
| 55 |
border-radius: 3px; |
| 56 |
color: #444; |
| 57 |
padding: 2px 5px; |
| 58 |
font-size: 90%; |
| 59 |
font-family: monospace; |
| 60 |
background-color: white; |
| 61 |
white-space: pre-wrap; |
| 62 |
|
| 63 |
max-width: 40em; |
| 64 |
position: absolute; |
| 65 |
z-index: 10; |
| 66 |
-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); |
| 67 |
-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); |
| 68 |
box-shadow: 2px 3px 5px rgba(0,0,0,.2); |
| 69 |
|
| 70 |
transition: opacity 1s; |
| 71 |
-moz-transition: opacity 1s; |
| 72 |
-webkit-transition: opacity 1s; |
| 73 |
-o-transition: opacity 1s; |
| 74 |
-ms-transition: opacity 1s; |
| 75 |
} |
| 76 |
|
| 77 |
.CodeMirror-Tern-hint-doc { |
| 78 |
max-width: 25em; |
| 79 |
} |
| 80 |
|
| 81 |
.CodeMirror-Tern-fname { color: black; } |
| 82 |
.CodeMirror-Tern-farg { color: #70a; } |
| 83 |
.CodeMirror-Tern-farg-current { text-decoration: underline; } |
| 84 |
.CodeMirror-Tern-type { color: #07c; } |
| 85 |
.CodeMirror-Tern-fhint-guess { opacity: .7; } |
| 86 |
|