.img-preview-dialog {
    color: #ccc;
    position: relative;
    height: inherit;
    width: inherit;
    @include setFont(12px, 16px);
    .contant_ip {
        @include clearfix();
        height: inherit;
    }
    .bg_ip {
        background: #34434e;
        @include opacity(90);
        position: absolute;
        z-index: 1;
    }
    .wrap_ip {
        position: absolute;
        z-index: 2;
        height: inherit;
        width: inherit;
    }
    .see_ip {
        position: relative;
        width: 300px;
        height: 300px;
        text-align: initial;
        margin: 0 60px;
        overflow: hidden;
        .tt_common_loading {
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -50px;
            margin-top: -25px;
        }
        img {
            position: absolute;
            @include box-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
        }
        &.cursor-zoom-in {
            cursor: -moz-zoom-in;
            cursor: -webkit-zoom-in;
            cursor: zoom-in; // cursor: url(/static/img/zoom-in.cur);
        }
        &.cursor-zoom-out {
            cursor: -moz-zoom-out;
            cursor: -webkit-zoom-out;
            cursor: zoom-out; // cursor: url(/static/img/zoom-out.cur);
        }
        &.cursor-grab {
            cursor: -webkit-grab;
            cursor: -moz-grab;
            cursor: grab;
            cursor: move\0;
        }
        &.cursor-grabbing {
            cursor: -webkit-grabbing;
            cursor: -moz-grabbing;
            cursor: grabbing;
            cursor: move\0;
        }
    }
    .origin_ip {
        position: relative;
        float: left;
        text-align: center;
        overflow: hidden;
    }
    .left_oip,
    .right_oip {
        font-size: 50px;
    }
    .left_oip {
        position: absolute;
        left: 10px;
        cursor: pointer;
        z-index: 1;
    }
    .right_oip {
        position: absolute;
        right: 10px;
        cursor: pointer;
        z-index: 1;
    }
    .thumbnail_ip {
        width: 80px;
        float: right;
        padding: 30px 0;
        li {
            width: 60px;
            height: 60px;
            margin-top: 20px;
            cursor: pointer;
            background-color: #f5f8fa;
            @include box-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
            @include border-radius(4px);
            &:hover {
                @include box-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
            }
        }
        .img_ip {
            position: relative;
            width: 60px;
            height: 60px;
            text-align: center;
            img {
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                margin: auto;
                max-width: 60px;
                max-height: 60px;
                z-index: 1;
            }
        }
        .img_border {
            position: absolute;
            left: 0;
            top: 0;
            z-index: 2;
            width: 54px;
            height: 54px;
            border: 3px solid #48b2ff;
            @include opacity(0);
            @include border-radius(4px);
        }
        .active {
            @include box-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
            .img_border {
                @include opacity(100);
            }
        }
        .list_tip {
            overflow: hidden;
            margin: 0px 0 20px -10px;
            padding: 0px 10px;
            ul {
                // margin-top: -20px;
            }
        }
        .action_tip {
            height: 40px;
            line-height: 40px;
            width: 60px;
            text-align: center;
            span {
                font-size: 40px;
                color: #a9b8bf;
                &:hover {
                    cursor: pointer;
                    color: #fff;
                }
            }
        }
    }
    .left-ip {
        position: absolute;
        left: 10px;
        cursor: pointer;
    }
    .right-ip {
        position: absolute;
        right: 0px;
        cursor: pointer;
    }
    .info_ip {
        @include clearfix();
        height: 50px;
        line-height: 50px;
        padding: 0 20px;
        background-color: #34434e;
        color: #e3ecf1;
        @include box-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
        .name_ip {
            float: left;
            display: inline;
            max-width: 500px;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }
        .action_ip {
            float: right;
        }
        .action_ip_item {
            float: left;
            margin-left: 20px;
            a {
                display: inline-block;
                color: #e3ecf1;
            }
            &:hover .icon-circle {
                padding: 0;
                border-width: 2px;
            }
            &.img-zoom {
                display: none;
            }
        }
        .icon-circle {
            display: inline-block;
            width: 30px;
            height: 30px;
            line-height: 30px;
            border: 1px solid #e3ecf1;
            padding: 1px;
            margin-right: 5px;
            @include border-radius(50%);
            font-size: 16px;
            text-align: center;
        }
        .icon-close {
            font-size: 20px;
            margin-left: 10px;
            &:hover {
                font-weight: bold;
            }
        }
    }
    .visible-area {
        position: absolute;
        right: 70px;
        bottom: 10px;
        display: none;
        width: 100px;
        height: 100px;
        border: 3px solid #fff;
        background: #f5f8fa;
        @include box-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    }
}

.img-preview-visible-area {
    position: relative;
    height: inherit;
    overflow: hidden;
    .visible-img-wrap {
        width: inherit;
        height: inherit;
        img {
            position: absolute;
        }
    }
    .visible-layer-item {
        position: absolute;
        background: #fff;
        @include opacity(50);
    }
    .visible-layer-left {
        left: 0;
        top: 0;
    }
    .visible-layer-top {
        top: 0;
    }
    .visible-layer-right {
        right: 0;
        top: 0;
    }
    .visible-layer-bottom {
        bottom: 0;
    }
    .visible-scope {
        position: absolute;
        border: 2px solid #0094ff;
    }
}

.img-previe-close {
    display: inline-block;
    background: url(#{$baseImgUrl}/closed.png) no-repeat;
    width: 32px;
    height: 32px;
    margin-left: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10000000;
    &:hover {
        background-position: 0 -40px;
    }
}