-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJson.module.css
More file actions
80 lines (73 loc) · 992 Bytes
/
Json.module.css
File metadata and controls
80 lines (73 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.jsonView {
background-color: #22222b;
color: #d6d6d6;
flex: 1;
overflow: auto;
padding: 8px 8px 8px 20px;
}
.json {
white-space: pre-wrap;
}
.json * {
font-family: monospace;
}
.json ul {
border-left: 1px solid #556;
list-style-type: none;
padding: 0;
}
.json li {
margin: 4px 0 4px 20px;
}
.clickable {
cursor: pointer;
/* drill */
&::before {
content: '▶';
color: #556;
font-size: 10pt;
margin-left: -12px;
margin-right: 4px;
padding: 2px 0;
user-select: none;
}
&:hover::before {
color: #778;
}
&[aria-expanded="true"]::before {
content: '▼';
}
}
.key {
color: #aad;
font-weight: bold;
}
.array {
color: #79e;
}
.number {
color: #eea;
}
.object {
color: #d8d;
}
.string {
color: #eaa;
}
.boolean {
color: #9ce;
}
.other {
color: #d6d6d6;
}
.comment {
color: #ccd8;
}
.showMore {
cursor: pointer;
color: #ccd8;
background: none;
border: none;
padding: 0;
font: inherit;
}