﻿

/*****uploader 4.0样式*****/
.uploader {
    width: 74px;
    height: 25px;
    line-height: 25px;
    margin-right: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
    font-size: 12px;
    cursor: pointer;
    color: #333;
    text-align: center;
    background-color: #fdfcfc;
    background: -webkit-gradient(linear,left top,left bottom,from(#fdfcfc),to(#eee));
    background: -moz-linear-gradient(top,#fdfcfc,#eee);
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

    .uploader:hover {
        color: #333;
        text-decoration: none;
        border: 1px solid #369bd7;
        background-color: #fdfcfc;
        background: -webkit-gradient(linear,left top,left bottom,from(#fdfcfc),to(#e2f1fc));
    }

.uploader_text {
}

.uploader_file {
    border: 0px solid red;
    position: absolute;
    background-color: transparent;
    left: 0;
    top: 0;
}

    .uploader_file input[type=file] {
        display: block;
        height: 500px;
        width: 220px;
        cursor: pointer;
        font-size: 100px;
        margin-top: -50px;
        position: absolute;
        left: 0;
        top: -200px;
        opacity: 0;
        filter: alpha(opacity = 0);
        z-index: 14;
    }

.uploader_progress {
    background-color:transparent;
    background:url(circleThree.gif) no-repeat center center;
    width:100%;
    height:100%;
}


/***对话框模式****/
.coverInner {
    border: 0px solid red;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.coverInner-hot {
    box-shadow: 0px 0px 20px 5px rgba(255,0,0,0.2);
}

.contentElem {
    font-size: 13px;
    font-family: 'Microsoft YaHei';
    position: relative;
}

    .contentElem .top {
        height: 25px;
        line-height: 25px;
        padding-bottom: 5px;
    }

        .contentElem .top .title {
            font-weight: bold;
            float: left;
        }

    .contentElem .closeBtn {
        font-family: "wbficonregular" !important;
        display: inline-block;
        -webkit-font-smoothing: antialiased;
        float: right;
        margin-right: 10px;
    }

        .contentElem .closeBtn a {
            display: inline-block;
            padding: 0px 10px;
            font-size: 16px;
            color: inherit;
            font-weight: bold;
        }

            .contentElem .closeBtn a:hover {
                color: #188532;
            }

    /*左侧部分**/
    .contentElem .leftItem {
        border: 0px solid blue;
        float: left;
        margin-right: 20px;
        width: 360px;
        height: 360px;
        background-color: #E5E5E5;
        position:relative;
    }

.uploadItem {
    width:380px;
    height: 380px;
}

    .uploadItem .uploader {
        display: inline-block;
    }

    .uploadItem .upBtnDiv {
        text-align: center;
        height: 60px;
        padding-top: 114px;
    }
    .uploadItem .btnDesc {
        color:#ff0000;
        line-height:30px;
        padding:5px 0px;
    }

    .uploadItem .extention {
        font-size: 12px;
        padding: 5px 0px;
    }

    .uploadItem .progressDiv {
        width: 100%;
        border: 0px solid blue;
        padding-top: 110px;
    }

.progressDiv .progressImg {
    background: url(circleTwo.gif) no-repeat center center;
    width: 100%;
    height: 100px;
}

.progressDiv .progressText {
    text-align: center;
    width: 100%;
    height: 25px;
    line-height: 25px;
}



.uploader_middle .imgItem {
    display: none;

}

.imgItem img {
    max-height: 360px;
    max-width: 360px;
    position:absolute;
}

/*右侧部分**/
.contentElem .rightItem {
    border: 0px solid blue;
    float: left;
    height: 380px;
    padding: 0px 15px;
    background-color: #E5E5E5;
}

.previewDiv {
    padding-top: 100px;
    border:0px solid red;
}

.targetOne {
    border: 0px solid blue;
    overflow: hidden;
}

    .targetOne img {
        width: 100%;
        height: 100%;
    }

.contentElem .targetText {
    height: 25px;
    line-height: 25px;
    font-size: 12px;
    text-align: center;
}

.uploader_btnDiv {
    /*position: absolute;
    bottom: 10px;*/
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

    .uploader_btnDiv span {
        display: inline-block;
        margin: 0px 10px;
        color: white;
        background-color: #3ba354;
        height: 25px;
        line-height: 25px;
        text-align: center;
        padding: 0px 10px;
        cursor: pointer;
    }

        .uploader_btnDiv span:hover {
            background-color: #188532;
        }

    .uploader_btnDiv .uploader {
        left: 0px;
        position: absolute;
    }

#canvasUp {
    position: absolute;
    left: 0px;
    top: 0px;
    border: 1px solid #6464A2;
    cursor: move;
}

.canvasBack {
    position: absolute;
    /*background-color: rgba(255,255,255,0.6);*/
    background-color: rgba(0,0,0,0.6);
    cursor: url('cursor_drag.ico'),pointer;
}

.divSquare {
    border: 0px solid blue;
    width: 5px;
    height: 5px;
    position: absolute;
    cursor:nwse-resize;
    background:white;
}
.divSquare_lb {
    border: 1px solid blue;
    width: 5px;
    height: 5px;
    position: absolute;
    cursor:nesw-resize;
    background:white;
}
.divSquare_lt {
    border: 1px solid blue;
    width: 5px;
    height: 5px;
    position: absolute;
    cursor:nwse-resize;
    background:white;
}
.divSquare_rt {
    border: 1px solid blue;
    width: 5px;
    height: 5px;
    position: absolute;
    cursor:nesw-resize;
    background:white;
}