forked from DamonOehlman/demo-console
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
91 lines (72 loc) · 1.19 KB
/
index.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
div.democonsole {
position: relative;
bottom: 20px;
left: 0px;
z-index: 100;
height: 30%;
width: 100%;
font-family: monospace;
overflow-y: auto;
}
div.democonsole ul {
margin: 0;
padding: 6px;
list-style-type: none;
}
div.democonsole ul li {
padding-left: 14px;
margin-bottom: 5px;
display: flex;
}
div.democonsole ul li:before {
color: #888;
content: '>';
font-weight: bold;
position: absolute;
margin-left: -14px;
}
div.democonsole ul li > * {
margin-right: 8px;
}
div.democonsole ul li.info:before {
content: 'ℹ';
}
div.democonsole ul li.error:before {
content: '☠';
}
div.democonsole ul li.warn:before {
content: '⚠';
}
span[data-type=""] {
font-weight: bold;
}
span[data-type="number"], span[data-type="boolean"] {
color: navy;
}
span[data-type="string"] {
color: green;
white-space: pre;
}
span[data-type="key"] {
vertical-align: top;
}
span[data-type="info"] {
color: blue;
}
span[data-type="error"] {
color: red;
}
span[data-type="warn"] {
color: yellow;
}
div[data-type="object"] {
display: inline-block;
}
div[data-type="object-key"] {
margin-left: 20px;
}
div.comma-float {
clear: both;
float: left;
color: #222;
}