﻿.dropdown-menu {
    max-height:initial;
}

.subBtn {
    line-height:15px;
    width:70px;
    background-color:#3EC4FA !important;
    border:none;
}

.subBtn:hover{
    background-color:#32B9EF !important;
}

.editor-container { /* 编辑器容器样式 */
    padding: 3px 20px 15px;
    background-color: #fff;
    border:1px solid #ccc;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.tooltip-arrow {
    border-top-color:#555 !important;
}

.tooltip-inner {
    background-color:#555;
}

.btn-toolbar {
    font-size: 0;
    margin-bottom: 10px;
}

    .btn-toolbar > div {
        margin-top: 10px;
    }
#editor { /* 编辑框样式 */
    max-height: 200px;
    height: 300px;
    background-color: white;
    border-collapse: separate;
    border: 1px solid rgb(204, 204, 204);
    padding: 4px;
    box-sizing: content-box;
    -webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
    box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    overflow: scroll;
    outline: none;
}

.btn-toolbar .btn {
    /* 工具条里按钮样式，这个样式其实是.btn-default的样式，
    Button按钮之所以没有直接加上.btn-default样式是因为按钮选中后wysiwyg会给选中的按钮加.btn-info样式，
    .btn-default和.btn-info同时存在样式会冲突   */
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    padding: 5px 7px;
}

.btn-toolbar .btn-info {
    /* 这个样式其实是.btn-info的样式，重写一遍是为了提高优先级，
    否则.btn-info的样式会被.btn-toolbar .btn覆盖，这个样式要写在.btn-toolbar .btn之下 */
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

@media (min-width:993px) {
    .editor-modal > .modal-dialog {
        height: calc(100% - 50px);
        padding: 30px;
        float: none;
        width: 1000px;
        margin-top: 25px !important;
    }

    .editor-modal .modal-content {
        border-radius: 3px;
        height: 100%;
    }

    .editor-modal .modal-header {
        padding: 10px 15px;
        height: 42px;
    }
    .editor-modal .modal-body {
        position: relative;
        height: calc(100% - 42px);
        padding-bottom: 50px;
        border-radius: 0px;
    }
}

@media (max-width:992px) {
    .editor-modal > .modal-dialog {
        height: 100%;
        width: 100%;
        margin: 0px auto;
        padding: 50px 0px 0px;
        float: none;
        border-radius: 0px;
    }

    .editor-modal .modal-content {
        border-radius: 0px;
        height: 100%;
        box-shadow: none;
        border: none;
        overflow: hidden;
    }

    .editor-modal .modal-header {
        padding: 10px 15px;
    }

    .editor-modal .modal-body {
        position: relative;
        height: calc(100% - 40px);
        padding-bottom: 50px;
    }

        .editor-modal .modal-body .btn-toolbar {
            display: none;
        }

        .editor-modal .modal-body .editor-editor {
            height: calc(100% - 85px) !important;
            margin-top: 10px;
        }
}