/*
 * Copyright (c) 2002-2017 "Neo Technology,"
 * Network Engine for Objects in Lund AB [http://neotechnology.com]
 *
 * This file is part of Neo4j.
 *
 * Neo4j is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

@import "_solarized.css";

/***********
 * Editor
 */
.CodeMirror.cm-s-cypher {
    background-color: var(--color-base3);
    line-height: 1.4375;
    color: var(--color-base00);
}
.CodeMirror.cm-s-cypher.cm-s-cypher-dark {
    background-color: var(--color-base03);
    color: var(--color-base0);
}

.cm-s-cypher pre {
    padding: 0;
}

.cm-s-cypher .CodeMirror-lines {
    padding: 0;
}

.cm-s-cypher .CodeMirror-cursor {
    width: auto;
    border: 0;
    background: color(var(--color-base1) alpha(-63%));
    z-index: 1;
}
.cm-s-cypher.cm-s-cypher-dark .CodeMirror-cursor {
    background: color(var(--color-base0) alpha(-63%));
}

/***********
 * Gutter
 */
.cm-s-cypher .CodeMirror-gutters {
    border: none;
    padding-left: 5px;
    padding-right: 3px;
    background-color: var(--color-base2);
    border-right: 3px solid var(--color-base3);
}
.cm-s-cypher.cm-s-cypher-dark .CodeMirror-gutters {
    background-color: var(--color-base02);
    border-right: 3px solid var(--color-base03);
}

.cm-s-cypher .CodeMirror-linenumber {
    padding-left: 5px;
    padding-right: 3px;
    color: var(--color-base00);
}
.cm-s-cypher.cm-s-cypher-dark .CodeMirror-linenumber {
    color: var(--color-base0);
}
