jsoneditor/examples/css/darktheme.css

82 lines
1.7 KiB
CSS
Raw Normal View History

/* dark styling of the editor */
div.jsoneditor,
div.jsoneditor-menu {
border-color: #4b4b4b;
}
div.jsoneditor-menu {
background-color: #4b4b4b;
}
2016-10-28 18:14:47 +08:00
div.jsoneditor-tree-contents,
textarea.jsoneditor-text {
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,
div.jsoneditor-value {
color: #ffffff;
}
2016-10-28 18:14:47 +08:00
.jsoneditor-property:hover,
.jsoneditor-value:hover {
background-color: #808080;
}
2016-10-28 18:14:47 +08:00
.jsoneditor-readonly:hover {
background-color: transparent;
}
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 {
background-color: #808080;
}
2016-10-28 18:14:47 +08:00
button.jsoneditor-button.jsoneditor-actionmenu {
background-position: -50px -50px;
}
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;
}
/* coloring of JSON in tree mode */
div.jsoneditor-readonly {
color: #acacac;
}
2015-12-28 04:46:53 +08:00
div.jsoneditor td.jsoneditor-separator {
color: #acacac;
}
div.jsoneditor-value.jsoneditor-string {
2016-10-28 18:14:47 +08:00
color: #8bb54b;
}
div.jsoneditor-value.jsoneditor-object,
div.jsoneditor-value.jsoneditor-array {
color: #bababa;
}
div.jsoneditor-value.jsoneditor-number {
color: #ff4040;
}
div.jsoneditor-value.jsoneditor-boolean {
color: #ff8048;
}
div.jsoneditor-value.jsoneditor-null {
2016-10-28 18:14:47 +08:00
color: #3B8EEA;
}
div.jsoneditor-value.jsoneditor-invalid {
color: white;
}