UNPKG

1.74 kBCSSView Raw
1.CodeMirror-info {
2 background: white;
3 border-radius: 2px;
4 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
5 box-sizing: border-box;
6 color: #555;
7 font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular',
8 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande',
9 arial, sans-serif;
10 font-size: 13px;
11 line-height: 16px;
12 margin: 8px -8px;
13 max-width: 400px;
14 opacity: 0;
15 overflow: hidden;
16 padding: 8px 8px;
17 position: fixed;
18 transition: opacity 0.15s;
19 z-index: 50;
20}
21
22.CodeMirror-info :first-child {
23 margin-top: 0;
24}
25
26.CodeMirror-info :last-child {
27 margin-bottom: 0;
28}
29
30.CodeMirror-info p {
31 margin: 1em 0;
32}
33
34.CodeMirror-info .info-description {
35 color: #777;
36 line-height: 16px;
37 margin-top: 1em;
38 max-height: 80px;
39 overflow: hidden;
40}
41
42.CodeMirror-info .info-deprecation {
43 background: #fffae8;
44 box-shadow: inset 0 1px 1px -1px #bfb063;
45 color: #867f70;
46 line-height: 16px;
47 margin: -8px;
48 margin-top: 8px;
49 max-height: 80px;
50 overflow: hidden;
51 padding: 8px;
52}
53
54.CodeMirror-info .info-deprecation-label {
55 color: #c79b2e;
56 cursor: default;
57 display: block;
58 font-size: 9px;
59 font-weight: bold;
60 letter-spacing: 1px;
61 line-height: 1;
62 padding-bottom: 5px;
63 text-transform: uppercase;
64 user-select: none;
65}
66
67.CodeMirror-info .info-deprecation-label + * {
68 margin-top: 0;
69}
70
71.CodeMirror-info a {
72 text-decoration: none;
73}
74
75.CodeMirror-info a:hover {
76 text-decoration: underline;
77}
78
79.CodeMirror-info .type-name {
80 color: #ca9800;
81}
82
83.CodeMirror-info .field-name {
84 color: #1f61a0;
85}
86
87.CodeMirror-info .enum-value {
88 color: #0b7fc7;
89}
90
91.CodeMirror-info .arg-name {
92 color: #8b2bb9;
93}
94
95.CodeMirror-info .directive-name {
96 color: #b33086;
97}