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,38 +0,0 @@
1
-/* Scrollbar */
2
-.swiper-scrollbar {
3
-  border-radius: 10px;
4
-  position: relative;
5
-  -ms-touch-action: none;
6
-  background: rgba(0, 0, 0, 0.1);
7
-  .swiper-container-horizontal > & {
8
-    position: absolute;
9
-    left: 1%;
10
-    bottom: 3px;
11
-    z-index: 50;
12
-    height: 5px;
13
-    width: 98%;
14
-  }
15
-  .swiper-container-vertical > & {
16
-    position: absolute;
17
-    right: 3px;
18
-    top: 1%;
19
-    z-index: 50;
20
-    width: 5px;
21
-    height: 98%;
22
-  }
23
-}
24
-.swiper-scrollbar-drag {
25
-  height: 100%;
26
-  width: 100%;
27
-  position: relative;
28
-  background: rgba(0, 0, 0, 0.5);
29
-  border-radius: 10px;
30
-  left: 0;
31
-  top: 0;
32
-}
33
-.swiper-scrollbar-cursor-drag {
34
-  cursor: move;
35
-}
36
-.swiper-scrollbar-lock {
37
-  display: none;
38
-}
Browse code

swiper.js version 6.4.5

Benjamin Roth authored on17/01/2021 16:24:34
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,38 @@
1
+/* Scrollbar */
2
+.swiper-scrollbar {
3
+  border-radius: 10px;
4
+  position: relative;
5
+  -ms-touch-action: none;
6
+  background: rgba(0, 0, 0, 0.1);
7
+  .swiper-container-horizontal > & {
8
+    position: absolute;
9
+    left: 1%;
10
+    bottom: 3px;
11
+    z-index: 50;
12
+    height: 5px;
13
+    width: 98%;
14
+  }
15
+  .swiper-container-vertical > & {
16
+    position: absolute;
17
+    right: 3px;
18
+    top: 1%;
19
+    z-index: 50;
20
+    width: 5px;
21
+    height: 98%;
22
+  }
23
+}
24
+.swiper-scrollbar-drag {
25
+  height: 100%;
26
+  width: 100%;
27
+  position: relative;
28
+  background: rgba(0, 0, 0, 0.5);
29
+  border-radius: 10px;
30
+  left: 0;
31
+  top: 0;
32
+}
33
+.swiper-scrollbar-cursor-drag {
34
+  cursor: move;
35
+}
36
+.swiper-scrollbar-lock {
37
+  display: none;
38
+}