-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathjson.human.css
110 lines (88 loc) · 1.89 KB
/
json.human.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
.jh-root, .jh-type-object, .jh-type-array, .jh-key, .jh-value, .jh-root tr{
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
font-weight: bold;
}
.jh-key, .jh-value{
margin: 0;
padding: 0.2em;
font-weight: bold;
}
.jh-value{
border-left: 1px solid #ddd;
}
.jh-type-number{
text-align: center;
color: #5286BC;
}
.jh-type-bool-true{
text-align: center;
color: #5A811C;
}
.jh-type-bool-false{
text-align: center;
color: #D45317;
}
.jh-type-bool-image {
width: 20px;
height: 20px;
margin-right: 5px;
vertical-align: bottom;
}
.jh-type-string{
font-style: italic;
color: #6E6E6E;
}
.jh-array-key{
font-style: italic;
font-size: small;
text-align: center;
}
.jh-object-key, .jh-array-key{
color: #444;
vertical-align: top;
}
.jh-type-object > tbody > tr:nth-child(odd), .jh-type-array > tbody > tr:nth-child(odd){
background-color: #f5f5f5;
}
.jh-type-object > tbody > tr:nth-child(even), .jh-type-array > tbody > tr:nth-child(even){
background-color: #fff;
}
.jh-type-object, .jh-type-array{
width: 100%;
border-collapse: collapse;
}
.jh-root{
border: 1px solid #ccc;
margin: 0.2em;
}
th.jh-key{
text-align: left;
}
.jh-type-object > tbody > tr, .jh-type-array > tbody > tr{
border: 1px solid #ddd;
border-bottom: none;
}
.jh-type-object > tbody > tr:last-child, .jh-type-array > tbody > tr:last-child{
border-bottom: 1px solid #ddd;
}
.jh-type-object > tbody > tr:hover, .jh-type-array > tbody > tr:hover{
border: 1px solid #F99927;
}
.jh-empty{
font-style: italic;
color: #999;
font-size: small;
}
.jh-a {
text-decoration: none;
}
.jh-a:hover{
text-decoration: underline;
}
.jh-a span.jh-type-string {
text-decoration: none;
color : #268ddd;
font-style: normal;
}