_edit.scss 7.25 KB
.panel-default .panel-heading {
    border-top: 1px solid #e7e7e7;
}

.red {
    color: red;
    font-family: bold;
}

.list-img {
    display: block;
    width: 78px;
    height: 78px;
    line-height: 78px;
    font-size: 0;
    text-align: center;

    img {
        vertical-align: middle;
        max-width: 100%;
        max-height: 100%;
    }
}

input[type=date], input[type=time], input[type=datetime-local], input[type=month] {
    line-height: 0 !important;
}

.form-group .control-label {
    margin-top: 3px;
}
.smalltxt{
    width:20px;
    border:0 none;
    border-bottom:1px solid #ccc;
}
.tao-noborder{
    border:0 none;
    background-color:transparent;
}
.tao-border{
    border:1px solid #ccc;
}


.cover-image-list {
    li {
        float: left;
        width: 135px;
        height: auto;
        border: none;
    }

    

    .goods-img {
        margin: 10px auto 0;
        border: 2px dashed #CCC;
    }

    input[type="file"] {
        width: 100%;
        height: 100%;
    }
}

.cover-image-list {
    .cover-color {
        width: auto;
        text-align: center;
        height: 40px;
        line-height: 40px;
        .btn {
            padding: 2px 5px;
        }
    }

}

.fm-side {
    width: 110px;
    .cover-color {
        text-align: left;
    }
    .goods-img {
        margin: 10px 0 0;
    }
}

.goods-img {
    position: relative;
    width: 110px;
    height: 150px;
    

    .fileinput-button-icon {
        width: 100%;
        height: 100%;
        line-height: 150px;
        overflow: hidden;

        img {
            max-width: 100%;
            max-height: 100%;
        }
    }

    .remove-item-btn {
        position: absolute;
        font-size: 20px;
        top: -10px;
        right: -10px;
        cursor: pointer;
        color: #ccc;

        &:hover {
            color: #000;
        }
    }
}
.poseditimg{
    position: relative;
    width: auto;
    height: auto;
    display: inline-block;
    img{
        display: block;
    }
    .pos{
        position: absolute;
        z-index: 10;
        width: 220px;
        .pos-text{
            border:0 none;
            border-bottom:1px solid #ccc; 
        }
    }
}

#dapei-form {
    label {
        min-width: 60px;
    }
}
.btn.info{
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

.floatnav{
    padding: 0;
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 999;
    margin: -280px 0 0;
    transform: translateX(150px);

    ul {
        padding: 0;
    }

    li {
        width: 150px;
        line-height: 40px;
        
        a {
            position: relative;
            padding: 0 0 0 10px;
            display: block;
            height: 100%;
            border-top-left-radius: 3px;
            border-top-right-radius: 3px;
            background-color: #f2dede;
            border: 1px solid #ebccd1;
            color: #a94442;
        }

        .required-icon {
            position: absolute;
            top: 12px;
            bottom: 12px;
            left: 5px;
            width: 3px;
            background: red;
        }
    }


    .sub-floatnav {
        padding: 0;
        a {
            padding: 0 0 0 20px;
            background: #fff;

            .required-icon {
                left: 15px;
            }
        }

    }

    .glyphicon {
        position: absolute;
        font-size: 20px;
        width: 30px;
        height: 40px;
        background: #f2dede; 
        border-radius: 10px 0 0 10px;
        border: 1px solid #ebccd1;
        left: -30px;
        top: 50%;
        margin: -20px 0 0 0;
        color: #fff;
        text-align: center;
        line-height: 40px;
        cursor: pointer;

        &.glyphicon-chevron-right {
            display: none;
        }
    }
}

.floatnav.show {
    transform: translateX(0);
    transition: transform .5s;
    
    .glyphicon-chevron-right {
        display: inline;
    }
    .glyphicon-chevron-left {
        display: none;
    }
    

}

.netsale-position {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: -100%;
    z-index:-1;
}
.w-goods-text{
    border-radius: 3px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px;
}
.modal-dialog{
    margin-top: 70px;
}

.subhhead{
    span{
        width: 100px;
        display: inline-block;
        height: 100%;
        text-align: center;
    }
}

.edui-editor-body {
    img {
        max-width: 100%;
    }
}

.edui-dialog-image .edui-image-wrapper{font-size: 12px;margin: 15px;}

/*upload*/
.edui-dialog-image .edui-image-upload1{position: absolute;top:50%;left:50%;width:44px;height:38px;margin-top:-19px; margin-left: -22px;}
.edui-dialog-image .edui-image-upload2{position:relative;float:left;width:120px;height:120px;margin:5px 0 0 5px;}

.edui-dialog-image .edui-image-form{position: absolute;left: 0px;top: 0px;width: 100%;height: 100%;opacity: 0;cursor: pointer;}
.edui-dialog-image .edui-image-form .edui-image-file{width: 100%;height:100%;filter: alpha(opacity=0)}

.edui-dialog-image .edui-image-upload1 .edui-image-icon{display: inline-block;width:44px;height:38px;background-image: url('assets/images/upload1.png')}
.edui-dialog-image .edui-image-upload1 .edui-image-icon.hover{background-position: -50px 0;}
.edui-dialog-image .edui-image-upload2 .edui-image-icon{display: inline-block;width:120px;height:120px;background-image: url('assets/images/upload2.png')}

.edui-dialog-image .edui-image-dragTip{position: absolute;display:none;top:50%;left:50%;margin-top:30px;margin-left: -60px;
    color: #222;font-size:14px;text-shadow: 0px 2px 3px #555;}

.edui-dialog-image .edui-image-content{height:330px;width:100%;position: relative;}

.edui-dialog-image .edui-image-mask{display: none;position: absolute;top:0;left:0;width: 100%; height: 100%;background-color:#fff;
    text-align: center;line-height:300px;color:#000;font-size:14px;font-weight:bold;opacity: 0.6;filter: alpha(opacity=60);}
.edui-dialog-image .edui-image-mask.edui-active{display: block;}

/*network*/
.edui-dialog-image .edui-image-searchBar{margin: 10px;}
.edui-dialog-image .edui-image-searchBar .edui-image-searchTxt{display: inline-block !important;*display: inline !important;*zoom:1;width:400px; border: 1px solid #c5d2ff; height: 20px; line-height: 18px; font-size: 14px; padding: 3px; margin: 0;outline:0;}
.edui-dialog-image .edui-image-searchBar .edui-image-searchAdd{display: inline-block !important;*display: inline !important;*zoom:1;
    width:60px; text-align:center;height: 25px;text-align: center;line-height: 25px;
    background-color: #ffffff;padding: 0; border: 1px solid #ababab;margin-left: 20px;cursor: pointer;
}
.edui-dialog-image .edui-image-searchBar .edui-image-searchAdd.hover{
    background-color: #d5e1f2;
    padding: 0;
    border: 1px solid #a3bde3;
}
.edui-dialog-image .edui-image-searchRes{height:280px;overflow:auto;}


/*common*/
.edui-dialog-image .edui-image-item{position:relative;float:left;width:120px;height:120px;border: 1px solid #CCC;cursor: default;margin: 5px 0 0 5px;}
.edui-dialog-image .edui-image-item .edui-image-pic{position: absolute;left:-9999px;}
.edui-dialog-image .edui-image-item .edui-image-close{position:absolute;right:0;background: url('assets/images/close.png');width:17px;height:17px;cursor:pointer;z-index:1}
.edui-dialog-image .edui-image-item.hover .edui-image-close{display: block;}