Skip to content

Commit 4dae1ca

Browse files
authored
Minor changes
1 parent e52acd1 commit 4dae1ca

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

json-editor.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.json-editor-container {
2-
transition : all 0.5s ease-in-out;
2+
transition : all 0.5s ease-in-out;
33
position : relative;
44
border : 1px solid #000000;
55
background : #999999;
@@ -9,14 +9,14 @@
99
overflow : hidden;
1010
vertical-align : top;
1111
opacity : 1;
12-
max-height : 10000px;
12+
max-height : 10000px;
1313
}
1414

1515
.json-editor-container.root {}
1616

1717
.json-editor-container.hidden-property {
18-
opacity: 0.5;
19-
max-height: 40px;
18+
opacity : 0.5;
19+
max-height : 40px;
2020
}
2121

2222
.json-editor-container input[type="checkbox"] {
@@ -50,3 +50,12 @@
5050
width : calc(70% - 10px);
5151
margin : 5px;
5252
}
53+
54+
.json-editor-container label ~ input[type="checkbox"]:after {
55+
content : "unchecked";
56+
padding-left : 20px;
57+
}
58+
59+
.json-editor-container label ~ input[type="checkbox"]:checked:after {
60+
content : "checked";
61+
}

0 commit comments

Comments
 (0)