style.css 3.12 KB
/*imagePreview begin*/
.shade_div {
    background-color: #000000;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}
.shade_div .img_div {
    width: 600px;
    height: 600px;
    margin: 10% auto;
    border-radius: 8px;
    text-align: center;
    cursor:pointer;
    border: solid 10px white;
    -webkit-border-text-align: center;
    -webkit-box-shadow: #666 0px 0px 10px;
    -moz-box-shadow: #666 0px 0px 10px;
    box-shadow: #666 0px 0px 10px;
}
.shade_div .img_div .img_cl {
    height:100%;
}
.shade_div .img_div .close_div {
    position: absolute;
    margin-left: 595px;
    margin-top: -28px;
    color: #bebebe;
    background: white;
    padding: 2px;
    border-radius: 18px;
    line-height: 1;
}
.shade_div .img_div .close_div i {
    font-size:30px;
}
.shade_div .img_div .close_div:hover {
    color:#4a89dc;
}
/*imagePreview end*/

/*imageMagnifier*/
.magnifier_out_div {
    background-color: #f9f9f7;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}
.magnifier_out_div .img_div {
    height: 600px;
    margin: 10% auto;
    text-align: center;
}
.magnifier_out_div .delete_div {
    width: 40px;
    height: 55px;
    float: right;
    border: solid 1px #cdcdcd;
    position: relative;
    z-index: 100;
    background: #cdcdcd;
    opacity: 0.8;
    border-bottom-left-radius: 60px;
    padding-left: 20px;
    padding-top: 5px;
}
.magnifier_out_div .delete_div .icon-delete {
    font-size: 30px;
    cursor: pointer;
}
.magnifier_out_div .delete_div:hover {
    color: #ff0000;
}
.magnifier_out_div .img_div .img_cl {
    max-width: 200px;
    max-height: 150px;
    cursor:pointer;
    animation: mychange 2s;
    -webkit-animation:mychange 2s;
    -moz-animation:mychange 2s;
    -o-animation:mychange 2s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
}
@-webkit-keyframes mychange {
    100% {
        transform:scale(5);
        margin: 10% auto;
        box-shadow: -2px -2px 2px #888888;
        -webkit-box-shadow: -2px -2px 2px #888888;
        -moz-box-shadow: -2px -2px 2px #888888;
        -o-box-shadow: -2px -2px 2px #888888;
    }
}
@keyframes mychange {
    100% {
        transform:scale(5);
        margin: 10% auto;
        box-shadow: -2px -2px 2px #888888;
        -webkit-box-shadow: -2px -2px 2px #888888;
        -moz-box-shadow: -2px -2px 2px #888888;
        -o-box-shadow: -2px -2px 2px #888888;
    }
}
@-moz-keyframes mychange {
    100% {
        transform:scale(5);
        margin: 10% auto;
        box-shadow: -2px -2px 2px #888888;
        -webkit-box-shadow: -2px -2px 2px #888888;
        -moz-box-shadow: -2px -2px 2px #888888;
        -o-box-shadow: -2px -2px 2px #888888;
    }
}
@-o-keyframes mychange {
    100% {
        transform:scale(5);
        margin: 10% auto;
        box-shadow: -2px -2px 2px #888888;
        -webkit-box-shadow: -2px -2px 2px #888888;
        -moz-box-shadow: -2px -2px 2px #888888;
        -o-box-shadow: -2px -2px 2px #888888;
    }
}
/*imageMagnifier*/