mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 06:28:40 +00:00
87 lines
1.8 KiB
CSS
87 lines
1.8 KiB
CSS
|
.CodeMirror-Tern-completion {
|
||
|
padding-left: 22px;
|
||
|
position: relative;
|
||
|
}
|
||
|
.CodeMirror-Tern-completion:before {
|
||
|
position: absolute;
|
||
|
left: 2px;
|
||
|
bottom: 2px;
|
||
|
border-radius: 50%;
|
||
|
font-size: 12px;
|
||
|
font-weight: bold;
|
||
|
height: 15px;
|
||
|
width: 15px;
|
||
|
line-height: 16px;
|
||
|
text-align: center;
|
||
|
color: white;
|
||
|
-moz-box-sizing: border-box;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
.CodeMirror-Tern-completion-unknown:before {
|
||
|
content: "?";
|
||
|
background: #4bb;
|
||
|
}
|
||
|
.CodeMirror-Tern-completion-object:before {
|
||
|
content: "O";
|
||
|
background: #77c;
|
||
|
}
|
||
|
.CodeMirror-Tern-completion-fn:before {
|
||
|
content: "F";
|
||
|
background: #7c7;
|
||
|
}
|
||
|
.CodeMirror-Tern-completion-array:before {
|
||
|
content: "A";
|
||
|
background: #c66;
|
||
|
}
|
||
|
.CodeMirror-Tern-completion-number:before {
|
||
|
content: "1";
|
||
|
background: #999;
|
||
|
}
|
||
|
.CodeMirror-Tern-completion-string:before {
|
||
|
content: "S";
|
||
|
background: #999;
|
||
|
}
|
||
|
.CodeMirror-Tern-completion-bool:before {
|
||
|
content: "B";
|
||
|
background: #999;
|
||
|
}
|
||
|
|
||
|
.CodeMirror-Tern-completion-guess {
|
||
|
color: #999;
|
||
|
}
|
||
|
|
||
|
.CodeMirror-Tern-tooltip {
|
||
|
border: 1px solid silver;
|
||
|
border-radius: 3px;
|
||
|
color: #444;
|
||
|
padding: 2px 5px;
|
||
|
font-size: 90%;
|
||
|
font-family: monospace;
|
||
|
background-color: white;
|
||
|
white-space: pre-wrap;
|
||
|
|
||
|
max-width: 40em;
|
||
|
position: absolute;
|
||
|
z-index: 10;
|
||
|
-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
|
||
|
-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
|
||
|
box-shadow: 2px 3px 5px rgba(0,0,0,.2);
|
||
|
|
||
|
transition: opacity 1s;
|
||
|
-moz-transition: opacity 1s;
|
||
|
-webkit-transition: opacity 1s;
|
||
|
-o-transition: opacity 1s;
|
||
|
-ms-transition: opacity 1s;
|
||
|
}
|
||
|
|
||
|
.CodeMirror-Tern-hint-doc {
|
||
|
max-width: 25em;
|
||
|
margin-top: -3px;
|
||
|
}
|
||
|
|
||
|
.CodeMirror-Tern-fname { color: black; }
|
||
|
.CodeMirror-Tern-farg { color: #70a; }
|
||
|
.CodeMirror-Tern-farg-current { text-decoration: underline; }
|
||
|
.CodeMirror-Tern-type { color: #07c; }
|
||
|
.CodeMirror-Tern-fhint-guess { opacity: .7; }
|