Blame view

static/sass/home/_banner-top.scss 1.1 KB
1 2 3 4 5 6 7 8
.banner-top {
    position: relative;
    .swiper-pagination {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20rem / $pxConvertRem;
        text-align: center;
ccbikai authored
9
        z-index: 1;
10 11 12 13 14 15 16 17 18 19
        .pagination-inner {
            display: inline-block;
            span {
                display: inline-block;
                width: 14rem / $pxConvertRem;
                height: 14rem / $pxConvertRem;
                background: #fff;
                opacity: 0.5;
                margin: 0 (9rem / $pxConvertRem);
                border-radius: 50%;
20 21 22 23
                &.swiper-pagination-bullet-active {
                    background: #fff;
                    opacity: 1;
                }
24 25 26 27 28 29
            }
        }
    }
}

.banner-swiper {
梁志锋 authored
30
    position: relative;
31 32
    height: 309rem / $pxConvertRem;
    overflow: hidden;
梁志锋 authored
33
34 35
    ul {
        position: relative;
梁志锋 authored
36 37
        height: 309rem / $pxConvertRem;
38 39
        li {
            float: left;
梁志锋 authored
40
            width: 100%;
41 42 43 44 45 46 47
            height: 100%;
            img {
                width: 100%;
                height: 100%;
            }
        }
    }
48
}