mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-26 13:01:53 +00:00
39 lines
662 B
CSS
39 lines
662 B
CSS
|
.CodeMirror-hints {
|
||
|
position: absolute;
|
||
|
z-index: 10;
|
||
|
overflow: hidden;
|
||
|
list-style: none;
|
||
|
|
||
|
margin: 0;
|
||
|
padding: 2px;
|
||
|
|
||
|
-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);
|
||
|
border-radius: 3px;
|
||
|
border: 1px solid silver;
|
||
|
|
||
|
background: white;
|
||
|
font-size: 90%;
|
||
|
font-family: monospace;
|
||
|
|
||
|
max-height: 20em;
|
||
|
overflow-y: auto;
|
||
|
}
|
||
|
|
||
|
.CodeMirror-hint {
|
||
|
margin: 0;
|
||
|
padding: 0 4px;
|
||
|
border-radius: 2px;
|
||
|
max-width: 19em;
|
||
|
overflow: hidden;
|
||
|
white-space: pre;
|
||
|
color: black;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
li.CodeMirror-hint-active {
|
||
|
background: #08f;
|
||
|
color: white;
|
||
|
}
|