Blame view

node_modules/swiper/modules/effect-cube.less 1.36 KB
7820380e   “wangming”   1
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
  .swiper-cube {
    overflow: visible;
    .swiper-slide {
      pointer-events: none;
      backface-visibility: hidden;
      z-index: 1;
      visibility: hidden;
      transform-origin: 0 0;
      width: 100%;
      height: 100%;
      .swiper-slide {
        pointer-events: none;
      }
    }
    &.swiper-rtl .swiper-slide {
      transform-origin: 100% 0;
    }
    .swiper-slide-active {
      &,
      & .swiper-slide-active {
        pointer-events: auto;
      }
    }
    .swiper-slide-active,
    .swiper-slide-next,
    .swiper-slide-prev {
      pointer-events: auto;
      visibility: visible;
    }
  
    .swiper-cube-shadow {
      position: absolute;
      left: 0;
      bottom: 0px;
      width: 100%;
      height: 100%;
      opacity: 0.6;
      z-index: 0;
  
      &:before {
        content: '';
        background: #000;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        -webkit-filter: blur(50px);
        filter: blur(50px);
      }
    }
  }
  .swiper-cube {
    .swiper-slide-next + .swiper-slide {
      pointer-events: auto;
      visibility: visible;
    }
  }
  /* Cube slide shadows start */
  .swiper-cube {
    .swiper-slide-shadow-cube.swiper-slide-shadow-top,
    .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,
    .swiper-slide-shadow-cube.swiper-slide-shadow-left,
    .swiper-slide-shadow-cube.swiper-slide-shadow-right {
      z-index: 0;
      backface-visibility: hidden;
    }
  }
  /* Cube slide shadows end */