forked from richard-livingston/json-view
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevtools.css
125 lines (101 loc) · 2.06 KB
/
devtools.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
.jsonView{
margin-left: 20px;
font-family: Consolas, "Lucida Console", Menlo, "dejavu sans mono", monospace;
font-size: 16px;
line-height: 16px;
padding: 2px;
cursor: default;
color: rgb(66, 66, 66);
white-space: nowrap;
-webkit-user-select: none;
}
.jsonView>div{
display: inline-block;
}
.jsonView>.children, .jsonView.insert{
display: block;
}
.jsonView>.name{
color: rgb(136, 19, 145);
}
.jsonView>.separator:before{
content: ":";
}
.jsonView>.separator {
padding-right: 5px;
}
.jsonView>.value.null{
color: rgb(128, 128, 128);
}
.jsonView>.value.boolean, .jsonView>.value.number{
color: rgb(28, 0, 207);
}
.jsonView>.value.string:not(.edit):before, .jsonView>.value.string:not(.edit):after{
content: "\"";
}
.jsonView>.value.string {
color: rgb(196, 26, 22);
}
.jsonView>.name:hover, .jsonView>.value:hover{
background-color: rgba(56, 121, 217, 0.1);
}
.jsonView>.expand, .jsonView>.collapse{
min-width: 20px;
margin-left: -20px;
cursor: pointer;
}
.jsonView>.expand:before{
content: '\25B6';
}
.jsonView>.collapse:before{
content: '\25BC';
}
.jsonView>.edit{
padding: 0px 5px 0px 5px;
white-space: nowrap;
overflow: hidden;
background-color: transparent;
}
.jsonView>.edit br{
display: none;
}
.jsonView>.edit *{
display: inline;
white-space: nowrap;
}
.jsonView>.value.edit{
color: rgb(0, 0, 0);
}
.jsonView>.delete:before{
content: 'X';
}
.jsonView>.delete{
opacity: 0;
display: inline;
padding: 3px;
margin-left: 20px;
cursor: pointer;
color: rgb(150, 150, 150);
}
.jsonView>.delete:hover{
opacity: 1;
color: rgb(0, 0, 0);
background: rgb(220, 220, 220);
}
.jsonView>.insert:before{
content: '+';
}
.jsonView>.insert{
display: none;
color: rgb(150, 150, 150);
cursor: pointer;
}
.jsonView.expanded>.insert, .jsonView.expanded>.insert{
display: inline-block;
margin-left: 20px;
padding: 3px;
}
.jsonView>.insert:hover{
color: rgb(0, 0, 0);
background: rgb(220, 220, 220);
}