/
json-formatter.css
174 lines (172 loc) · 3.81 KB
/
json-formatter.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/*!
* jsonformatter
*
* Version: 0.4.1 - 2015-12-03T03:38:59.933Z
* License: MIT
*/
.json-formatter-row {
font-family: monospace;
}
.json-formatter-row,
.json-formatter-row a,
.json-formatter-row a:hover {
color: black;
text-decoration: none;
}
.json-formatter-row .json-formatter-row {
margin-left: 1em;
}
.json-formatter-row .children.empty {
opacity: 0.5;
margin-left: 1em;
}
.json-formatter-row .children.empty.object:after {
content: "No properties";
}
.json-formatter-row .children.empty.array:after {
content: "[]";
}
.json-formatter-row .string {
color: green;
white-space: pre;
word-wrap: break-word;
}
.json-formatter-row .number {
color: blue;
}
.json-formatter-row .boolean {
color: red;
}
.json-formatter-row .null {
color: #855a00;
}
.json-formatter-row .undefined {
color: #ca0b69;
}
.json-formatter-row .function {
color: #ff20ed;
}
.json-formatter-row .date {
background-color: rgba(0, 0, 0, 0.05);
}
.json-formatter-row .url {
text-decoration: underline;
color: blue;
cursor: pointer;
}
.json-formatter-row .bracket {
color: blue;
}
.json-formatter-row .key {
color: #00008b;
cursor: pointer;
}
.json-formatter-row .constructor-name {
cursor: pointer;
}
.json-formatter-row .toggler {
font-size: 0.8em;
line-height: 1.2em;
vertical-align: middle;
opacity: 0.6;
cursor: pointer;
}
.json-formatter-row .toggler:after {
display: inline-block;
transition: transform 100ms ease-in;
content: "►";
}
.json-formatter-row .toggler.open:after {
transform: rotate(90deg);
}
.json-formatter-row > a > .thumbnail-text {
opacity: 0;
transition: opacity 0.15s ease-in;
font-style: italic;
}
.json-formatter-row:hover > a > .thumbnail-text {
opacity: 0.6;
}
.json-formatter-dark.json-formatter-row {
font-family: monospace;
}
.json-formatter-dark.json-formatter-row,
.json-formatter-dark.json-formatter-row a,
.json-formatter-dark.json-formatter-row a:hover {
color: white;
text-decoration: none;
}
.json-formatter-dark.json-formatter-row .json-formatter-row {
margin-left: 1em;
}
.json-formatter-dark.json-formatter-row .children.empty {
opacity: 0.5;
margin-left: 1em;
}
.json-formatter-dark.json-formatter-row .children.empty.object:after {
content: "No properties";
}
.json-formatter-dark.json-formatter-row .children.empty.array:after {
content: "[]";
}
.json-formatter-dark.json-formatter-row .string {
color: #31f031;
white-space: pre;
word-wrap: break-word;
}
.json-formatter-dark.json-formatter-row .number {
color: #66c2ff;
}
.json-formatter-dark.json-formatter-row .boolean {
color: #ec4242;
}
.json-formatter-dark.json-formatter-row .null {
color: #eec97d;
}
.json-formatter-dark.json-formatter-row .undefined {
color: #ef8fbe;
}
.json-formatter-dark.json-formatter-row .function {
color: #fd48cb;
}
.json-formatter-dark.json-formatter-row .date {
background-color: rgba(255, 255, 255, 0.05);
}
.json-formatter-dark.json-formatter-row .url {
text-decoration: underline;
color: #027bff;
cursor: pointer;
}
.json-formatter-dark.json-formatter-row .bracket {
color: #9494ff;
}
.json-formatter-dark.json-formatter-row .key {
color: #23a0db;
cursor: pointer;
}
.json-formatter-dark.json-formatter-row .constructor-name {
cursor: pointer;
}
.json-formatter-dark.json-formatter-row .toggler {
font-size: 0.8em;
line-height: 1.2em;
vertical-align: middle;
opacity: 0.6;
cursor: pointer;
}
.json-formatter-dark.json-formatter-row .toggler:after {
display: inline-block;
transition: transform 100ms ease-in;
content: "►";
}
.json-formatter-dark.json-formatter-row .toggler.open:after {
transform: rotate(90deg);
}
.json-formatter-dark.json-formatter-row > a > .thumbnail-text {
opacity: 0;
transition: opacity 0.15s ease-in;
font-style: italic;
}
.json-formatter-dark.json-formatter-row:hover > a > .thumbnail-text {
opacity: 0.6;
}