-
Notifications
You must be signed in to change notification settings - Fork 35
/
json-tree.css
78 lines (77 loc) · 1.32 KB
/
json-tree.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
/*
JSON-TREE styles
*/
json-tree {
font-size: 13px;
font-family: monospace;
}
json-tree input[type="text"]{
width: 4em;
height: 12px;
}
json-tree input[type="number"]{
width: 4em;
height: 12px;
vertical-align: middle;
}
json-tree textarea {
width: 5em;
height: 12px;
padding-top: 0;
margin-bottom: -4px;
border-color: gray;
resize: none;
overflow: hidden;
}
json-tree textarea:focus {
width: auto;
min-height: 100px;
height: auto;
position: absolute;
z-index: 10;
resize: inherit;
overflow: auto;
}
json-tree textarea:focus.valid {
background-color: #d6e9c9;
}
json-tree textarea:focus.invalid {
background-color: rgb(237, 200, 188);
}
json-tree ul {
list-style: none;
margin: 0 0 0 -24px;
}
json-tree .key {
color: darkred;
}
json-tree .add {
color: green;
cursor: pointer;
}
json-tree .reset {
color: steelblue;
cursor: pointer;
}
json-tree .remove {
color: red;
cursor: pointer;
}
json-tree .comma {
color: #c0c0c0;
}
json-tree .drag {
position: absolute;
background-color: #e2efff;
opacity:0.5;
cursor: pointer;
}
json-tree .empty {
border: 1px dashed darkred;
background-color: #e2efff;
}
json-tree .add-item-block button {
margin-left: 3px;
font-size:11px;
cursor: pointer;
}