111 lines
2.8 KiB
CSS
111 lines
2.8 KiB
CSS
/*
|
|
* ISC License
|
|
*
|
|
* Copyright (c) 2024 idnovate.com
|
|
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*
|
|
* @author idnovate
|
|
* @copyright 2024 idnovate
|
|
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
|
*/
|
|
|
|
.CodeMirror-Tern-completion {
|
|
padding-left: 22px;
|
|
position: relative;
|
|
line-height: 1.5;
|
|
}
|
|
.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; }
|