/*
 * Copyright (C) Pootle contributors.
 *
 * This file is a part of the Pootle project. It is distributed under the GPL3
 * or later license. See the LICENSE file for a copy of the license and the
 * AUTHORS file for copyright and authorship information.
 */

/* ContentEditor */

.content-editor
{
    border: 1px solid #dadada;
}

.content-editor .CodeMirror
{
    border: 0;
    cursor: text;
}


/* ContentPreview */

.content-preview
{
    border: 1px solid #dadada;
}

.content-preview .staticpage
{
    margin: 0 auto;
    padding: 0;
}

.placeholder
{
    font-style: italic;
    color: #999;
}


/* LiveEditor */

.live-editor
{
    display: flex;
    flex-direction: column;
}

.content-editor,
.content-preview
{
    flex: 1;
}

.content-preview
{
    overflow-y: scroll;
}

.content-editor
{
    margin-bottom: 1.5em;
}

.content-editor .CodeMirror
{
    height: 100%;
}

@media screen and (min-width: 1600px)
{
    .live-editor
    {
        flex-direction: row;
    }

    .content-editor
    {
        border-right: 0;
        margin-bottom: 0;
    }
}
