-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathquicklook.css
79 lines (71 loc) · 1.21 KB
/
quicklook.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
.prop {
font-weight: bold;
}
.null {
color: red;
}
.bool, .num {
color: blue;
}
.string {
color: green;
white-space: pre-wrap;
}
h1 {
font-size: 1.2em;
}
.error {
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
border: 1px solid #970000;
background: #F7E8E8;
margin: 0.5em;
padding: 0.5em;
}
.json {
white-space: pre-wrap;
font-family: monospace;
font-size: 1.1em;
}
.callback {
font-family: monospace;
color: #A52A2A;
}
.folded * {
position: absolute;
color: transparent;
height: 0;
width: 0;
outline: 5px solid red;
white-space: normal;
top: -100000cm;
left: -100000cm;
}
*.folded.array:before {
content: "[\002026 ]"; /* [...] */
}
.folded.obj:before {
content: "{\002026 }"; /* {...} */
}
.callback + .json > .folded:after {
content: "";
}
.folded:after {
content: " ";
}
.folded {
background: #FFF;
}
.folded:hover {
background: rgba(255,192,203,0.5);
}
.folded {
cursor: se-resize;
}
.unfolded {
cursor: nw-resize;
}
.unfolded.hovered {
background: rgba(255,192,203,0.5);
}