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 #eee;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.mlr>div.twodiv{
    padding: 0;
    border: 0;
}

.night .mlr>div{
    border:1px solid #444;
}

.night .mlr>div.twodiv{
    padding: 0;
    border: 0;
}

:root {
    --ww:50%;
    --hh:30%;
}
.mlf{
    width:calc(100% - 20rem);
    height: 28.15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border: 1px solid #eee;
}
.night .mlf{
    border: 1px solid #444;
}
.demodiv{
    width:var(--ww);
    height:var(--hh);
    border: 1px solid #eee;
    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;
    width: 100%;
    border:0;
}

.color_inp{
    width: calc(100% - 1.9rem);
    float: left;
}
.layui-colorpicker{
    padding: 0.25rem 0.25rem 0.25rem 0.25rem;
    border-left: 0;
}
.night .layui-colorpicker{
    border: 1px solid #444;
    border-left: 0;
    background-color: #181a1b;
}
.colorselect{
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    display: inline-block !important;
    clear: none !important;
    float: left;
}

.colorlist{
    margin-bottom: 0.4rem;
}

.colorlist>div{
    margin-bottom: 0.75rem;
    padding: 0.25rem;
    border: 1px solid #eee;
    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: #2096f3;
    text-align: center;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #2096f3;
}

.night .addbuts{
    background-color: #333;
    color: #bbb;
    border: 1px solid #444;
}

.buss{
  
}

.night .buss{
   
}

.buss span{
    height: 1.4rem;
    line-height: 1.4rem;
    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;
    }
}