/*!
 * Jodit Editor (https://xdsoft.net/jodit/)
 * License GNU General Public License version 2 or later;
 * Copyright 2013-2019 Valeriy Chupurnov https://xdsoft.net
 */

.jodit_source {
    display: none;
    position: relative;
    background-color: #f8f8f8;
    font-size: 0;
    min-height: 100%;
    flex: 1;
    overflow: auto;
    .jodit_source_mirror {
    }
    .jodit_source_mirror-fake {
        min-height: 100%;
    }
}

.jodit_container.jodit_source_mode {
    .jodit_wysiwyg,
    .jodit_wysiwyg_iframe {
        display: none !important;
    }
    .jodit_source {
        display: block !important;
    }
}

.jodit_container.jodit_split_mode {
    .jodit_wysiwyg,
    .jodit_wysiwyg_iframe,
    .jodit_source {
        display: block !important;
        width: 50%;
        flex: 1;
    }
}

.jodit_source_mirror {
    border: 0;
    width: 100%;
    background: #3f3f3f;
    margin: 0;
    height: 100%;
    box-shadow: none;
    resize: none;
    box-sizing: border-box;
    color: #f0f0f0;
    outline: none;
    font-family: Menlo, Monaco, monospace, sans-serif;
    font-size: 13px;
    line-height: 1.3em;
    overflow: auto;
    z-index: 2;
    padding: 10px;
    overflow: auto;
    white-space: pre-wrap;
    tab-size: 2em;
    min-height: 100%;
    &::selection {
        background: @color-selection-area;
    }
}
