.file-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    border-radius: 18px 18px 0 0;
    overflow: hidden;

    .preview-iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 0 0;
        border: 0;
        float: none;
        margin: -1px 0 0;
        max-width: none;
        outline: 0;
        padding: 0;
    }

    .edit-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        height: 42px;
        background-color: #ffffff;
        box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 99;
        .header-title {
            flex: 1;
            color: #333333;
            padding-left: 24px;
            padding-right: 24px;
            line-height: 24px;
            font-size: 16px;
            overflow: hidden;
            text-overflow:ellipsis;
            white-space: nowrap;
            .file-unsave-tip {
                color: #333333;
                padding-right: 6px;
                font-weight: 500;
                cursor: pointer;
                transition: color 0.3s;
                &:hover {
                    color: #000000;
                }
            }
        }
        .header-user {
            margin-right: 24px;
            > ul {
                display: flex;
                align-items: center;
                > li {
                    list-style: none;
                    margin-right: -4px;
                    &.more {
                        width: 28px;
                        height: 28px;
                        text-align: center;
                        line-height: 24px;
                        font-size: 12px;
                        border: 2px solid #ffffff;
                        background-color: #8bcf70;
                        color: #ffffff;
                        z-index: 1;
                        border-radius: 50%;
                    }
                }
            }
        }
        .header-hint {
            padding-right: 22px;
            font-size: 12px;
            color: #666;
            white-space: nowrap;
            .ivu-btn {
                font-size: 12px;
                padding: 0 10px;
            }
            .ivu-dropdown-item {
                font-size: 12px !important;
            }
        }
        .header-button {
            font-size: 12px;
            margin-right: 24px;
        }
    }

    .content-body {
        flex: 1;
        display: flex;
        position: relative;

        .teditor-wrapper,
        .mdeditor-wrapper {
            flex: 1;
            display: flex;
        }

        .mdeditor-box {
            position: relative;
            width: 100%;

            .markdown {
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                right: 0;
                overflow: auto;
                transform: translateZ(0);

                .markdown-toolbars {
                    border-bottom: 1px solid #eeeeee;
                }

                &.border {
                    border: 0 !important;
                }
            }
        }

        .teditor-loadedstyle {
            height: 100%;

            .tox-tinymce {
                border: 0;
                border-radius: 0;
            }

            .tox-mbtn {
                height: 36px;
            }

            .tox-menubar,
            .tox-toolbar-overlord {
                padding: 0 12%;
                background: #ffffff;
            }

            .tox-toolbar__overflow,
            .tox-toolbar__primary {
                background: none !important;
                border-top: 1px solid #eaeaea !important;
            }

            .tox-toolbar-overlord {
                border-bottom: 1px solid #E9E9E9 !important;
            }

            .tox-toolbar__group:not(:last-of-type) {
                border-right: 1px solid #eaeaea !important;
            }

            .tox-sidebar-wrap {
                margin: 22px 12%;
                border: 1px solid #e8e8e8;
                border-radius: 2px;
                box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);

                .tox-edit-area {
                    border-top: 0;
                }
            }

            .tox-statusbar {
                border-top: 1px solid #E9E9E9;

                .tox-statusbar__resize-handle {
                    display: none;
                }
            }
        }

        .luckysheet {
            border: 0;
        }
    }

    .content-load {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 42px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        .common-loading {
            margin: 0;
        }
    }
}
.luckysheet-input-box {
    z-index: 99999 !important;
}

@media (max-width: 1200px) {
    .file-content {
        overflow: auto;
        .edit-header,
        .content-body {
            min-width: 1200px;
        }
    }
}
