graphiql
Version:
An graphical interactive in-browser GraphQL IDE.
83 lines (74 loc) • 1.73 kB
CSS
.CodeMirror-hints {
background: white;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;
font-size: 13px;
list-style: none;
margin-left: -6px;
margin: 0;
max-height: 14.5em;
overflow: hidden;
overflow-y: auto;
padding: 0;
position: absolute;
z-index: 10;
}
.CodeMirror-hint {
border-top: solid 1px #f7f7f7;
color: #141823;
cursor: pointer;
margin: 0;
max-width: 300px;
overflow: hidden;
padding: 2px 6px;
white-space: pre;
}
li.CodeMirror-hint-active {
background-color: #08f;
border-top-color: white;
color: white;
}
.CodeMirror-hint-information {
border-top: solid 1px #c0c0c0;
max-width: 300px;
padding: 4px 6px;
position: relative;
z-index: 1;
}
.CodeMirror-hint-information:first-child {
border-bottom: solid 1px #c0c0c0;
border-top: none;
margin-bottom: -1px;
}
.CodeMirror-hint-deprecation {
background: #fffae8;
box-shadow: inset 0 1px 1px -1px #bfb063;
color: #867f70;
font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular',
'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande',
arial, sans-serif;
font-size: 13px;
line-height: 16px;
margin-top: 4px;
max-height: 80px;
overflow: hidden;
padding: 6px;
}
.CodeMirror-hint-deprecation .deprecation-label {
color: #c79b2e;
cursor: default;
display: block;
font-size: 9px;
font-weight: bold;
letter-spacing: 1px;
line-height: 1;
padding-bottom: 5px;
text-transform: uppercase;
user-select: none;
}
.CodeMirror-hint-deprecation .deprecation-label + * {
margin-top: 0;
}
.CodeMirror-hint-deprecation :last-child {
margin-bottom: 0;
}