2015-12-28 00:36:59 +08:00
|
|
|
/* dark styling of the editor */
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor,
|
|
|
|
div.jsoneditor-menu {
|
2015-12-28 00:36:59 +08:00
|
|
|
border-color: #4b4b4b;
|
|
|
|
}
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-menu {
|
2015-12-28 00:36:59 +08:00
|
|
|
background-color: #4b4b4b;
|
|
|
|
}
|
2016-10-28 18:14:47 +08:00
|
|
|
div.jsoneditor-tree-contents,
|
|
|
|
textarea.jsoneditor-text {
|
2015-12-28 00:36:59 +08:00
|
|
|
background-color: #666666;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
2016-10-28 18:14:47 +08:00
|
|
|
|
|
|
|
.jsoneditor-menu button.jsoneditor-undo:disabled {
|
|
|
|
background-position: -24px -96px;
|
|
|
|
}
|
|
|
|
.jsoneditor-menu button.jsoneditor-redo:disabled {
|
|
|
|
background-position: -48px -96px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.jsoneditor-property,
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-value {
|
2015-12-28 00:36:59 +08:00
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
2016-10-28 18:14:47 +08:00
|
|
|
.jsoneditor-property:hover,
|
|
|
|
.jsoneditor-value:hover {
|
2015-12-28 00:36:59 +08:00
|
|
|
background-color: #808080;
|
|
|
|
}
|
|
|
|
|
2016-10-28 18:14:47 +08:00
|
|
|
.jsoneditor-readonly:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-field[contenteditable=true]:focus,
|
|
|
|
div.jsoneditor-field[contenteditable=true]:hover,
|
|
|
|
div.jsoneditor-value[contenteditable=true]:focus,
|
|
|
|
div.jsoneditor-value[contenteditable=true]:hover,
|
|
|
|
div.jsoneditor-field.jsoneditor-highlight,
|
|
|
|
div.jsoneditor-value.jsoneditor-highlight {
|
2015-12-28 00:36:59 +08:00
|
|
|
background-color: #808080;
|
|
|
|
}
|
|
|
|
|
2016-10-28 18:14:47 +08:00
|
|
|
button.jsoneditor-button.jsoneditor-actionmenu {
|
|
|
|
background-position: -50px -50px;
|
2015-12-28 00:36:59 +08:00
|
|
|
}
|
|
|
|
|
2016-10-28 18:14:47 +08:00
|
|
|
button.jsoneditor-button:hover,
|
|
|
|
button.jsoneditor-button:focus,
|
|
|
|
button.jsoneditor-button:active {
|
|
|
|
background-color: #808080;
|
|
|
|
outline: #808080 solid 1px;
|
2015-12-28 00:36:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* coloring of JSON in tree mode */
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-readonly {
|
2015-12-28 00:36:59 +08:00
|
|
|
color: #acacac;
|
|
|
|
}
|
2015-12-28 04:46:53 +08:00
|
|
|
div.jsoneditor td.jsoneditor-separator {
|
2015-12-28 00:36:59 +08:00
|
|
|
color: #acacac;
|
|
|
|
}
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-string {
|
2016-10-28 18:14:47 +08:00
|
|
|
color: #8bb54b;
|
2015-12-28 00:36:59 +08:00
|
|
|
}
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-object,
|
|
|
|
div.jsoneditor-value.jsoneditor-array {
|
2015-12-28 00:36:59 +08:00
|
|
|
color: #bababa;
|
|
|
|
}
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-number {
|
2015-12-28 00:36:59 +08:00
|
|
|
color: #ff4040;
|
|
|
|
}
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-boolean {
|
2015-12-28 00:36:59 +08:00
|
|
|
color: #ff8048;
|
|
|
|
}
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-null {
|
2016-10-28 18:14:47 +08:00
|
|
|
color: #3B8EEA;
|
2015-12-28 00:36:59 +08:00
|
|
|
}
|
2015-12-28 04:43:18 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-invalid {
|
2015-12-28 00:36:59 +08:00
|
|
|
color: white;
|
|
|
|
}
|