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

.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%;
    }
}

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

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-color {
    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%;
    }
}
.tagwrap{
    padding: 10px;
}
span.tag{
        display: block;
    float: left;
    padding: 2px 5px;
    text-decoration: none;
    background: #1caf9a;
    color: #fff;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 13px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
 span.tag a {
    font-weight: bold;
    color: #fff;
    opacity: 0.5;
    text-decoration: none;
    font-size: 11px;
}
.custom-group img{
    width: 100%;
    height: 100%;
    display: block;
}
.edui-product-content{
    .active-product{
        border: 2px solid #000;
    }
}