CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/frontend/codemirror/addon/show-hint.css
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
.CodeMirror-hints {
7
position: absolute;
8
z-index: 10;
9
overflow: hidden;
10
list-style: none;
11
12
margin: 0;
13
padding: 2px;
14
15
-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
16
-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
17
box-shadow: 2px 3px 5px rgba(0,0,0,.2);
18
border-radius: 3px;
19
border: 1px solid silver;
20
21
background: white !important;
22
font-size: 90%;
23
font-family: monospace;
24
25
max-height: 20em;
26
overflow-y: auto;
27
}
28
29
.CodeMirror-hint {
30
margin: 0;
31
padding: 0 4px;
32
border-radius: 2px;
33
white-space: pre;
34
color: black;
35
cursor: pointer;
36
}
37
38
li.CodeMirror-hint-active {
39
background: #08f;
40
color: white;
41
}
42
43