/* 画板样式 */
.drawBox {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background:none;
    z-index: 100;
}
#canvasWrapper {
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
    /*padding: 0 10px 10px 0;*/
    box-sizing: border-box;
}

.wScroll {
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100000;
}

.hScroll {
    width: 30px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 100000;
    top: 20px;
}

#canvasBox {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    width: 100%;
    height: 100%;
}

.dragBox {
    position: absolute;
    left: 46%;
    top: 46.9%;
    width: 81px;
    height: 12px;
    cursor: n-resize;
}

    .dragBox img {
        width: 100%;
        height: 100%;
    }

.actions {
    position: fixed;
    top: 48.7%;
    left: 0;
    width: 100%;
    height: 46px;
    background: #FCFCFC;
    line-height: 46px;
    border-top: 1px solid #D8D8D8;
}

    .actions > li {
        float: left;
        margin: 2px 30px 0px 30px;;
        cursor: pointer;
        width: 42px;
        height: 38px;
        border-radius: 4px;
        border: 2px solid #FCFCFC;
        text-align: center;
        line-height: 50px;
    }

        .actions > li > img {
            width: 23px;
            height: 23px;
        }

        .actions > li.active {
            background: rgba(0, 132, 255, 0.11);
            border-color: #3892F7;
        }

.penSetting {
    width: 300px;
    height: 218px;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 4px;
    position: absolute;
    top: 48px;
    left: 317px;
    display: none;
}

    .penSetting .pTit {
        width: 100%;
        height: 48px;
        text-align: center;
        line-height: 48px;
        font-size: 13px;
        color: #FFFFFF;
    }

.pSize {
    padding: 0px 17px 15px;
}

    .pSize p {
        font-size: 13px;
        color: #fff;
        line-height: 20px;
    }

    .pSize .el-slider__runway {
        background: #D2D2D2;
        height: 2px;
    }

    .pSize .el-slider__bar {
        background: #0078D7;
        height: 2px;
    }

    .pSize .el-slider__button {
        background: #0078D7;
        width: 15px;
        height: 15px;
        margin-top: -14px;
    }

.pColor {
    padding: 0 17px;
}

    .pColor > li {
        width: 38px;
        height: 38px;
        cursor: pointer;
        float: left;
    }

        .pColor > li.active {
            box-shadow: 0 0 3px rgba(0, 0, 0, 0.95);
            transform: scale(1.2);
        }

.sizes {
    position: fixed;
    right: 20px;
    top: 10px;
}

    .sizes > li {
        margin: 20px 0;
    }

    .sizes > .thin {
        height: 0;
        width: 20px;
        border-top: 3px solid black;
    }

    .sizes > .thick {
        height: 0;
        width: 20px;
        border-top: 6px solid black;
    }

.drawBoardBox {
    background: #fff;
    width: 100%;
    height: 384px;
    position: absolute;
    bottom: 0;
    left: 0;
}

    .drawBoardBox div:nth-child(2) {
        height: 282px !important;
    }

    .drawBoardBox canvas {
        width: 100% !important;
        height: 282px !important;
    }

.controlBox .controlBar {
    width: 20%;
}
/* 修改input[type=range]样式 */

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    /* background: #0084FF; */
    background: -webkit-linear-gradient(#0084FF, #0084FF) no-repeat, #D2D2D2;
    background-size: 0% 100%;
    height: 2px;
}

    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
    }

    input[type=range]::-webkit-slider-runnable-track {
        height: 2px;
        background: #D2D2D2;
    }

    input[type=range]:focus {
        outline: none;
    }

    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 20px;
        width: 20px;
        margin-top: -9px;
        background: #0078D7;
        border-radius: 50%;
    }

#canvasWrapper::-webkit-scrollbar {
    width: 20px;
    height: 20px;
}

#canvasWrapper::-webkit-scrollbar-track {
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

#canvasWrapper::-webkit-scrollbar-thumb {
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #101431;
    border-radius: 6px;
}

/*滚动条颜色*/
::-webkit-scrollbar-thumb {
    background: #D2D2D2;
    border-radius: 4px;
}


::scrollbar-track {
    background: #101431;
    border-radius: 4px;
}

::scrollbar-thumb {
    background: #D2D2D2;
    border-radius: 4px;
}