_slider.css 1.28 KB
.slider {
    position: relative;
    height: 327px;
    width: 100%;
    overflow: hidden;

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

.slide-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 80px;
    text-align: center;
}

.slide-pagination-inner {
    display: inline-block;
    position: relative;
    padding: 7px;
    vertical-align: middle;
}

.slide-shade {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

/*
.slide-pagination-last span {
    display: block;
    float: left;
    position: relative;
    margin: 0 3px;
    width: 6px;
    height: 6px;
    background: #fff;
    cursor: pointer;
    opacity: 0.6;
    z-index: 2;

}
*/

.slide-switch {
    display: none;

    &.show {
        display: block;
    }

    a {
        display: block;
        position: absolute;
        top: 50%;
        margin: -30px 0 0;
        width: 30px;
        height: 60px;
        line-height: 56px;
        text-align: center;
        z-index: 2;
        background: #000;
        opacity: 0.55;

        &:hover {
            opacity: 0.9;
        }

        .iconfont {
            font-size: 32px;
            color: #59585a;
        }
    }

    .prev {
        left: 0;
    }

    .next {
        right: 0;
    }
}