html {
    overflow-x: hidden;
    touch-action: pan-y; 
}
.mdiv{
    display: flex;
}
.mlf{
    
}
.mlr{
    width:20rem;
    padding-left: 0.75rem;
}
.mlr>div{
    padding: 0.25rem;
    border: 1px solid #e8e8fd;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}
.night .mlr>div{
    border:1px solid #444;
}
:root {
    --ww:50%;
    --hh:30%;
}
.mlf{
    width:calc(100% - 20rem);
    height: 30rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border: 1px solid #e8e8fd;
}
.night .mlf{
    border: 1px solid #444;
}
.demodiv{
    width:var(--ww);
    height:var(--hh);
    border: 1px solid #e8e8fd;
    border-radius: 4px;
}
.night .demodiv{
    border: 1px solid #444444;
}
.butdivbut{
    height: 1.8rem;
    line-height: 1.8rem;
    display: block;
    background-color: #06b672;
    text-align: center;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}
.layui-colorpicker{
    border-top: 0;
    border-bottom: 0;
    padding: 0.25rem 0.25rem 0.25rem 0.25rem;
    border-right: 0;
}
.night .layui-colorpicker{
    border: 1px solid #444;
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    background-color: #181a1b;
}
.colorselect{
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    display: inline-block !important;
    float: left;
    clear: none !important;
}
.color_inp{
    border-top: 0;
    border-right: 0px;
    border-bottom: 0px;
    width: calc(100% - 1.9rem);
    float: left;
}
.colorlist{
    border-bottom: 1px solid #FFC107;
    margin-bottom: 0.4rem;
    padding-top: 0.15rem;
}
.colorlist>div{
    margin-bottom: 0.4rem;
    padding: 0.25rem;
    border: 1px solid #e8e8fd;
    border-radius: 4px;
    background-color: #fff;
}
.night .colorlist>div{
    border: 1px solid #444;
    background-color: #232627;
}
.colorlist>div>div:last-child{
    margin-bottom: 0;
}
.addbuts{
    height: 1.8rem;
    line-height: 1.8rem;
    display: block;
    background-color: #f5f5f5;
    text-align: center;
    color: #444;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #e8e8fd;
}
.night .addbuts{
    background-color: #333;
    color: #bbb;
    border: 1px solid #444;
}
.buss{
    padding: 0.2rem;
    border: 1px solid #eeeeee;
    border-radius: 4px;
}
.night .buss{
    border: 1px solid #444;
}
.buss span{
    height: 1.8rem;
    line-height: 1.8rem;
    display: inline-block;
    background-color: #4CAF50;
    text-align: center;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    width: calc(50% - 0.1rem);
}
.buss span.del{
    background-color: #FF9800;
    float: right;
}
@media screen and (max-width: 1290px){
    .mdiv {
        display:block;
    }
    .mlf {
        width:100%;
        height: 15rem;
    }
    .mlr {
        width: 100%;
        padding-left:0rem;
        margin-top: 0.75rem;
    }
}