Browse code

Refactor and rewrite as contao bundle

Benjamin Roth authored on04/11/2022 22:32:32
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,59 +0,0 @@
1
-.swiper-container-cube {
2
-  overflow: visible;
3
-  .swiper-slide {
4
-    pointer-events: none;
5
-    backface-visibility: hidden;
6
-    z-index: 1;
7
-    visibility: hidden;
8
-    transform-origin: 0 0;
9
-    width: 100%;
10
-    height: 100%;
11
-    .swiper-slide {
12
-      pointer-events: none;
13
-    }
14
-  }
15
-  &.swiper-container-rtl .swiper-slide {
16
-    transform-origin: 100% 0;
17
-  }
18
-  .swiper-slide-active {
19
-    &,
20
-    & .swiper-slide-active {
21
-      pointer-events: auto;
22
-    }
23
-  }
24
-  .swiper-slide-active,
25
-  .swiper-slide-next,
26
-  .swiper-slide-prev,
27
-  .swiper-slide-next + .swiper-slide {
28
-    pointer-events: auto;
29
-    visibility: visible;
30
-  }
31
-  .swiper-slide-shadow-top,
32
-  .swiper-slide-shadow-bottom,
33
-  .swiper-slide-shadow-left,
34
-  .swiper-slide-shadow-right {
35
-    z-index: 0;
36
-    backface-visibility: hidden;
37
-  }
38
-  .swiper-cube-shadow {
39
-    position: absolute;
40
-    left: 0;
41
-    bottom: 0px;
42
-    width: 100%;
43
-    height: 100%;
44
-    opacity: 0.6;
45
-    z-index: 0;
46
-
47
-    &:before {
48
-      content: '';
49
-      background: #000;
50
-      position: absolute;
51
-      left: 0;
52
-      top: 0;
53
-      bottom: 0;
54
-      right: 0;
55
-      -webkit-filter: blur(50px);
56
-      filter: blur(50px);
57
-    }
58
-  }
59
-}
Browse code

swiper.js version 6.5.0

Benjamin Roth authored on14/03/2021 15:29:46
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,59 @@
1
+.swiper-container-cube {
2
+  overflow: visible;
3
+  .swiper-slide {
4
+    pointer-events: none;
5
+    backface-visibility: hidden;
6
+    z-index: 1;
7
+    visibility: hidden;
8
+    transform-origin: 0 0;
9
+    width: 100%;
10
+    height: 100%;
11
+    .swiper-slide {
12
+      pointer-events: none;
13
+    }
14
+  }
15
+  &.swiper-container-rtl .swiper-slide {
16
+    transform-origin: 100% 0;
17
+  }
18
+  .swiper-slide-active {
19
+    &,
20
+    & .swiper-slide-active {
21
+      pointer-events: auto;
22
+    }
23
+  }
24
+  .swiper-slide-active,
25
+  .swiper-slide-next,
26
+  .swiper-slide-prev,
27
+  .swiper-slide-next + .swiper-slide {
28
+    pointer-events: auto;
29
+    visibility: visible;
30
+  }
31
+  .swiper-slide-shadow-top,
32
+  .swiper-slide-shadow-bottom,
33
+  .swiper-slide-shadow-left,
34
+  .swiper-slide-shadow-right {
35
+    z-index: 0;
36
+    backface-visibility: hidden;
37
+  }
38
+  .swiper-cube-shadow {
39
+    position: absolute;
40
+    left: 0;
41
+    bottom: 0px;
42
+    width: 100%;
43
+    height: 100%;
44
+    opacity: 0.6;
45
+    z-index: 0;
46
+
47
+    &:before {
48
+      content: '';
49
+      background: #000;
50
+      position: absolute;
51
+      left: 0;
52
+      top: 0;
53
+      bottom: 0;
54
+      right: 0;
55
+      -webkit-filter: blur(50px);
56
+      filter: blur(50px);
57
+    }
58
+  }
59
+}