﻿/* dark styling of the editor */
div.jsoneditor,
div.jsoneditor-menu {
    border-color: red;
}

.invalid-feedback, .invalid-tooltip {
    /* position: absolute; */
    position: inherit;
    margin-top: .25rem;
}

div.card {
    background-color: #303030!important;
}

.json-editor-btntype-toggle,
.json-editor-btntype-toggle:hover,
.json-editor-btntype-toggle:active,
.json-editor-btntype-toggle:focus {
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.form-control.je-switcher {
    display: none !important;
}

div.jsoneditor,
div.jsoneditor-menu {
    background-color: #303030;
}

div.jsoneditor-tree,
div.jsoneditor textarea.jsoneditor-text {
    background-color: #666666;
    color: #ffffff;
}

div.jsoneditor-field,
div.jsoneditor-value {
    color: #ffffff;
}

table.jsoneditor-search div.jsoneditor-frame {
    background: #808080;
}

tr.jsoneditor-highlight,
tr.jsoneditor-selected {
    background-color: #808080;
}

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;
    border-color: #808080;
}

div.jsoneditor-field.highlight-active,
div.jsoneditor-field.highlight-active:focus,
div.jsoneditor-field.highlight-active:hover,
div.jsoneditor-value.highlight-active,
div.jsoneditor-value.highlight-active:focus,
div.jsoneditor-value.highlight-active:hover {
    background-color: #b1b1b1;
    border-color: #b1b1b1;
}

div.jsoneditor-tree button:focus {
    background-color: #868686;
}

/* coloring of JSON in tree mode */
div.jsoneditor-readonly {
    color: #acacac;
}

div.jsoneditor td.jsoneditor-separator {
    color: #acacac;
}

div.jsoneditor-value.jsoneditor-string {
    color: #00ff88;
}

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 {
    color: #49a7fc;
}

div.jsoneditor-value.jsoneditor-invalid {
    color: white;
}
