liuxiaolong
2019-05-06 acc45d2ece02563964d7b8a22ff0c40bd8358889
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@import '~node_modules/swiper/dist/css/swiper';
 
.swiper-container {
  overflow: hidden !important;
  width: 100%;
 
  .swiper-pagination-bullet.swiper-pagination-bullet-active.bg-transparent {
    background: transparent !important;
  }
}
 
.swiper-button-prev,
.swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;
 
  &.custom-icon {
    background-image: none;
    font-size: 2rem;
    line-height: 1;
 
    [dir=rtl] & {
      transform: scaleX(-1);
    }
  }
 
  &.swiper-button-white {
    color: #fff;
  }
}
 
[dir=rtl] .swiper-button-next {
  right: auto;
  left: 10px;
}
 
[dir=rtl] .swiper-button-prev {
  right: 10px;
  left: auto;
}
 
.swiper-pagination-bullet {
  background: rgba(0, 0, 0, .7);
}
 
.swiper-pagination-progressbar,
.swiper-scrollbar {
  background: rgba(0, 0, 0, .08);
}
 
.swiper-scrollbar-drag {
  background: rgba(0, 0, 0, .3);
}
 
.swiper-pagination-white {
  .swiper-pagination-bullet {
    background: #fff !important;
  }
 
  .swiper-pagination-bullet-active {
    background: #fff !important;
  }
}
 
.swiper-scrollbar-white {
  background: rgba(255, 255, 255, .2) !important;
 
  .swiper-scrollbar-drag {
    background: #fff !important;
  }
}
 
[dir=rtl] .swiper-container-vertical {
   > .swiper-pagination-bullets {
    right: auto;
    left: 10px;
  }
 
   > .swiper-pagination-progressbar {
    right: 0;
    left: auto;
  }
 
   > .swiper-scrollbar {
    right: auto;
    left: 3px;
  }
}