benivo-ui-library 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/swiper.less +144 -109
package/package.json
CHANGED
package/swiper.less
CHANGED
|
@@ -3,157 +3,192 @@
|
|
|
3
3
|
@colors: white #ffffff, black #000000;
|
|
4
4
|
|
|
5
5
|
@font-face {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
@fontBase64: 'd09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGa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hmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA';
|
|
7
|
+
font-family: 'swiper-icons';
|
|
8
|
+
src: url('data:application/font-woff;charset=utf-8;base64, @{fontBase64}') format('woff');
|
|
9
|
+
font-weight: 400;
|
|
10
|
+
font-style: normal;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
:root {
|
|
14
|
-
|
|
14
|
+
--swiper-theme-color: @themeColor;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.swiper
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
17
|
+
.swiper {
|
|
18
|
+
margin-left: auto;
|
|
19
|
+
margin-right: auto;
|
|
20
|
+
position: relative;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
list-style: none;
|
|
23
|
+
padding: 0;
|
|
24
|
+
/* Fix of Webkit flickering */
|
|
25
|
+
z-index: 1;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.swiper-
|
|
29
|
-
|
|
28
|
+
.swiper-vertical > .swiper-wrapper {
|
|
29
|
+
flex-direction: column;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.swiper-wrapper {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
position: relative;
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
z-index: 1;
|
|
37
|
+
display: flex;
|
|
38
|
+
transition-property: transform;
|
|
39
|
+
box-sizing: content-box;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.swiper-
|
|
42
|
+
.swiper-android .swiper-slide,
|
|
43
43
|
.swiper-wrapper {
|
|
44
|
-
|
|
44
|
+
transform: translate3d(0px, 0, 0);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.swiper-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.swiper-container-multirow-column>.swiper-wrapper {
|
|
52
|
-
flex-wrap: wrap;
|
|
53
|
-
flex-direction: column;
|
|
54
|
-
}
|
|
47
|
+
.swiper-pointer-events {
|
|
48
|
+
touch-action: pan-y;
|
|
55
49
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
50
|
+
&.swiper-vertical {
|
|
51
|
+
touch-action: pan-x;
|
|
52
|
+
}
|
|
59
53
|
}
|
|
60
54
|
|
|
61
55
|
.swiper-slide {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
56
|
+
flex-shrink: 0;
|
|
57
|
+
width: 100%;
|
|
58
|
+
height: 100%;
|
|
59
|
+
position: relative;
|
|
60
|
+
transition-property: transform;
|
|
67
61
|
}
|
|
68
62
|
|
|
69
63
|
.swiper-slide-invisible-blank {
|
|
70
|
-
|
|
64
|
+
visibility: hidden;
|
|
71
65
|
}
|
|
72
|
-
|
|
73
66
|
/* Auto Height */
|
|
74
|
-
.swiper-
|
|
75
|
-
.swiper-
|
|
76
|
-
|
|
67
|
+
.swiper-autoheight,
|
|
68
|
+
.swiper-autoheight .swiper-slide {
|
|
69
|
+
height: auto;
|
|
77
70
|
}
|
|
78
71
|
|
|
79
|
-
.swiper-
|
|
80
|
-
|
|
81
|
-
|
|
72
|
+
.swiper-autoheight .swiper-wrapper {
|
|
73
|
+
align-items: flex-start;
|
|
74
|
+
transition-property: transform, height;
|
|
82
75
|
}
|
|
83
76
|
|
|
84
77
|
/* 3D Effects */
|
|
85
|
-
.swiper-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
.swiper-slide-shadow-left,
|
|
91
|
-
.swiper-slide-shadow-right,
|
|
92
|
-
.swiper-slide-shadow-top,
|
|
93
|
-
.swiper-slide-shadow-bottom,
|
|
94
|
-
.swiper-cube-shadow {
|
|
95
|
-
transform-style: preserve-3d;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.swiper-slide-shadow-left,
|
|
99
|
-
.swiper-slide-shadow-right,
|
|
100
|
-
.swiper-slide-shadow-top,
|
|
101
|
-
.swiper-slide-shadow-bottom {
|
|
102
|
-
position: absolute;
|
|
103
|
-
left: 0;
|
|
104
|
-
top: 0;
|
|
105
|
-
width: 100%;
|
|
106
|
-
height: 100%;
|
|
107
|
-
pointer-events: none;
|
|
108
|
-
z-index: 10;
|
|
109
|
-
}
|
|
78
|
+
.swiper-3d {
|
|
79
|
+
&,
|
|
80
|
+
&.swiper-css-mode .swiper-wrapper {
|
|
81
|
+
perspective: 1200px;
|
|
82
|
+
}
|
|
110
83
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
84
|
+
.swiper-wrapper,
|
|
85
|
+
.swiper-slide,
|
|
86
|
+
.swiper-slide-shadow,
|
|
87
|
+
.swiper-slide-shadow-left,
|
|
88
|
+
.swiper-slide-shadow-right,
|
|
89
|
+
.swiper-slide-shadow-top,
|
|
90
|
+
.swiper-slide-shadow-bottom,
|
|
91
|
+
.swiper-cube-shadow {
|
|
92
|
+
transform-style: preserve-3d;
|
|
93
|
+
}
|
|
114
94
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
95
|
+
.swiper-slide-shadow,
|
|
96
|
+
.swiper-slide-shadow-left,
|
|
97
|
+
.swiper-slide-shadow-right,
|
|
98
|
+
.swiper-slide-shadow-top,
|
|
99
|
+
.swiper-slide-shadow-bottom {
|
|
100
|
+
position: absolute;
|
|
101
|
+
left: 0;
|
|
102
|
+
top: 0;
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 100%;
|
|
105
|
+
pointer-events: none;
|
|
106
|
+
z-index: 10;
|
|
107
|
+
}
|
|
118
108
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
109
|
+
.swiper-slide-shadow {
|
|
110
|
+
background: rgba(0, 0, 0, 0.15);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.swiper-slide-shadow-left {
|
|
114
|
+
background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.swiper-slide-shadow-right {
|
|
118
|
+
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
119
|
+
}
|
|
122
120
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
.swiper-slide-shadow-top {
|
|
122
|
+
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.swiper-slide-shadow-bottom {
|
|
126
|
+
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
127
|
+
}
|
|
126
128
|
}
|
|
127
129
|
|
|
128
130
|
/* CSS Mode */
|
|
129
|
-
.swiper-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
&::-webkit-scrollbar {
|
|
138
|
-
display: none;
|
|
131
|
+
.swiper-css-mode {
|
|
132
|
+
> .swiper-wrapper {
|
|
133
|
+
overflow: auto;
|
|
134
|
+
scrollbar-width: none; /* For Firefox */
|
|
135
|
+
-ms-overflow-style: none; /* For Internet Explorer and Edge */
|
|
136
|
+
&::-webkit-scrollbar {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
139
|
}
|
|
140
|
-
}
|
|
141
140
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
> .swiper-wrapper > .swiper-slide {
|
|
142
|
+
scroll-snap-align: start start;
|
|
143
|
+
}
|
|
145
144
|
}
|
|
146
145
|
|
|
147
|
-
.swiper-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
146
|
+
.swiper-horizontal.swiper-css-mode {
|
|
147
|
+
> .swiper-wrapper {
|
|
148
|
+
scroll-snap-type: x mandatory;
|
|
149
|
+
}
|
|
151
150
|
}
|
|
152
151
|
|
|
153
152
|
.swiper-vertical.swiper-css-mode {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
153
|
+
> .swiper-wrapper {
|
|
154
|
+
scroll-snap-type: y mandatory;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.swiper-centered {
|
|
159
|
+
> .swiper-wrapper::before {
|
|
160
|
+
content: '';
|
|
161
|
+
flex-shrink: 0;
|
|
162
|
+
order: 9999;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&.swiper-horizontal {
|
|
166
|
+
> .swiper-wrapper > .swiper-slide:first-child {
|
|
167
|
+
margin-inline-start: var(--swiper-centered-offset-before);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
> .swiper-wrapper::before {
|
|
171
|
+
height: 100%;
|
|
172
|
+
min-height: 1px;
|
|
173
|
+
width: var(--swiper-centered-offset-after);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&.swiper-vertical {
|
|
178
|
+
> .swiper-wrapper > .swiper-slide:first-child {
|
|
179
|
+
margin-block-start: var(--swiper-centered-offset-before);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
> .swiper-wrapper::before {
|
|
183
|
+
width: 100%;
|
|
184
|
+
min-width: 1px;
|
|
185
|
+
height: var(--swiper-centered-offset-after);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
> .swiper-wrapper > .swiper-slide {
|
|
190
|
+
scroll-snap-align: center center;
|
|
191
|
+
}
|
|
157
192
|
}
|
|
158
193
|
|
|
159
194
|
@import "./swiper-a11y.less";
|
|
@@ -165,4 +200,4 @@
|
|
|
165
200
|
@import "./swiper-pagination.less";
|
|
166
201
|
@import "./swiper-scrollbar.less";
|
|
167
202
|
@import "./swiper-thumb.less";
|
|
168
|
-
@import "./swiper-zoom.less";
|
|
203
|
+
@import "./swiper-zoom.less";
|