-
Notifications
You must be signed in to change notification settings - Fork 12
/
json-viewer.css
85 lines (75 loc) · 1.35 KB
/
json-viewer.css
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
81
82
83
84
85
.json-container {
font-size: 13px;
line-height: 1.2;
font-family: monospace;
padding-left: 0;
margin-left: 20px;
}
.json-container,
.json-container ul{
list-style: none !important;
}
.json-container ul{
padding: 0px !important;
padding-left: 20px !important;
margin: 0px !important;
}
.json-container li {
position: relative;
}
.json-container > li > .key,
.json-container .array .key{
display: none;
}
.json-container .array .object .key{
display: inline;
}
.json-container li:after {
content: ",";
}
.json-container li:last-child:after {
content: "";
}
.json-container .null{
color: #999;
}
.json-container .string{
color: #4e9a06;
}
.json-container .number{
color: #a40000;
}
.json-container .boolean{
color: #c4a000;
}
.json-container .key{
color: #204a87;
}
.json-container .expanded{
cursor: pointer;
}
.json-container .expanded:before{
content: "-";
font-size: 16px;
width: 13px;
text-align: center;
line-height: 13px;
font-family: sans-serif;
color: #933;
position: absolute;
left: -15px;
top: 3px;
}
.json-container .collapsed:before{
content: "+";
font-size: 14px;
color: #000;
top: 1px;
}
.json-container li .collapsed ~ .close:before {
content: "... ";
color: #999;
}
.json-container .hidden ~ ul {
display: none;
}