/* 通用样式 */
html {
    color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ol,
ul {
    list-style: none;
}

input,
textarea {
    outline: none;
    border: none;
    resize: none;
}

img {
    width: 100%;
}

body {
    height: 100vh;
}

main#template_main_box {
    width: 100%;
    height: 100%;
    overflow: auto;
}

table tr td {
    white-space: pre-line;
}

/* 可编辑单元格 hover / focus */
.revisability_td[contenteditable="true"]:hover {
    background: #fdf6e5 !important;
    cursor: text;
}

.revisability_td[contenteditable="true"]:focus {
    background: #fdf6e5 !important;
    color: #333 !important;
    cursor: text;
}

/* 列对齐浮窗 */
.quote_align_header {
    cursor: default;
}

.column_align_panel {
    position: fixed;
    z-index: 9999;
    display: none;
    padding: 4px;
    white-space: nowrap;
    background: #ffffff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.column_align_panel button {
    height: 28px;
    padding: 0 10px;
    color: #606266;
    font-size: 12px;
    line-height: 28px;
    background: transparent;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
}

.column_align_panel button:hover,
.column_align_panel button.active {
    color: #ffffff;
    background: #409eff;
}
