.content {
    width: 1000px;
    height: 500px;
}
.excel_body {
    $border-color:rgba(0,102,0,1);
    position: relative;
    [contenteditable=true] {
        caret-color:  $border-color;
    }
    canvas {
        position: absolute;
        top:0px;
        left: 0px;
    }
    button {
        position: absolute;
        top:600px;
        width:100px;
        height:40px;
        background: red;
    }
    .repaint {
        left: 150px;
    }
    .editor_content {
        .editor_excel {
            font-size: 12px;
            padding: 0 3px;
            z-index: 11;
            position: absolute;
            top: 0;
            left: 0;
            border: 2px solid  $border-color;
            display: table-cell;
            word-break: break-word;
            overflow-wrap: break-word;
            width:0;
            height: 0;
            background: #fff;
            box-sizing: border-box;
            white-space: nowrap;
            overflow: hidden;
            outline: none;
            display: table-cell;
            white-space: pre-wrap;
            .content {
                font-family: "Microsoft YaHei", 'å¾®è½¯é›…é»‘';
                font-size: 10pt;
                text-decoration: nonmal;
                width: 100%;
                height: 100%;
                z-index: 2;
                padding: 0px 4px;
                display: table-cell;
                white-space: pre-wrap;
                font-size: 10pt;
                color: #333;
                font-weight: 300;
            }
        }
        .editor_coordinate {
            z-index: 2;
            position: absolute;
            background: rgba(0,102,0, 0.8);
            &.c-t {
                height: 2px;
            }   
            &.c-l {
                width: 2px;
            }
        }
    }
    .current_coordinate {
        position: absolute;
        top:-20px;
    }
   
    .change_size {
        position: absolute;
        // display: contents;
        z-index: 99;
        // display: none
    }
    .change_size_w {
        top: 1px;
        left: 100px;
        width: 1px;
        height: 25px;
        cursor: col-resize;
        .title {
            position: absolute;
            width: 4px;
            height: 500px;
            background:  $border-color;
            left: 0px;
            top: 1;
            z-index: 12;
        }
        .content {
            z-index: 12;
            position: absolute;
            width: 4px;
            height: 500px;
            background:  $border-color;
            left: 0px;
            top: 1;
        };
    }

    .change_size_h {
        top: 1px;
        left: 1px;
        width: 30px;
        height: 0px;
        cursor: row-resize;
        .title {
            position: absolute;
            width: 4px;
            height: 500px;
            background:  $border-color;
            left: 0px;
            top: 1;
            z-index: 12;
        }
        .content {
            position: absolute;
            width: 1000px;
            height: 1px;
            background:  $border-color;
            left: 1;
            top: 0px;
        };
    }
    .currentLabel {
        user-select: none;
        position: absolute;
        top: -22px;
        left: 100px;
        font-size: 12px;
        color: #888;
        border: 1px solid #ddd;
        border-radius: 0px;
        padding: 0px 4px;
        background: #fff;
        z-index: 12;
        .lab {
            padding-right: 8px;
        }
        .val, .unit {
            color:forestgreen;
        }
    }
    .state {
        position:absolute;
        top: -30px;
        left:100px;
    }
}

