Commit b936b66fbac14a09c1230ada2491b19f23bb82d9
1 parent
f5bd1ba0
add service swiper效果
Showing
3 changed files
with
669 additions
and
2 deletions
css/services.css
... | ... | @@ -45,7 +45,7 @@ |
45 | 45 | margin: 0 auto; |
46 | 46 | width: 100%; |
47 | 47 | } |
48 | -.part{ height: 535px; position: relative; overflow: hidden; width: 1000px; padding: 0;} | |
48 | +.part{ height: 480px; position: relative; overflow: hidden; width: 1000px; padding: 0;} | |
49 | 49 | .part .con{ width: 100%; } |
50 | 50 | .part .bd, .part .bd ul { |
51 | 51 | width: 100%; | ... | ... |
css/swiper.ser.css
0 → 100644
1 | +/** | |
2 | + * Swiper 4.4.1 | |
3 | + * Most modern mobile touch slider and framework with hardware accelerated transitions | |
4 | + * http://www.idangero.us/swiper/ | |
5 | + * | |
6 | + * Copyright 2014-2018 Vladimir Kharlampidi | |
7 | + * | |
8 | + * Released under the MIT License | |
9 | + * | |
10 | + * Released on: September 14, 2018 | |
11 | + */ | |
12 | +.swiper-container { | |
13 | + margin: 0 auto; | |
14 | + position: relative; | |
15 | + /*overflow: hidden;*/ | |
16 | + list-style: none; | |
17 | + padding: 0; | |
18 | + /* Fix of Webkit flickering */ | |
19 | + z-index: 1; | |
20 | +} | |
21 | +.swiper-slide-main{ | |
22 | + width: 1200px; | |
23 | + height: 100%; | |
24 | + margin: 0 auto; | |
25 | + position: relative; | |
26 | +} | |
27 | +.swiper-container-no-flexbox .swiper-slide { | |
28 | + float: left; | |
29 | +} | |
30 | +.swiper-slide-1{ | |
31 | + background: url("../images/swiper-slide-1.png") no-repeat; | |
32 | + background-size:100% 100% ; | |
33 | +} | |
34 | + | |
35 | +.swiper-slide-2{ | |
36 | + background: url("../images/swiper-slide-2.png") no-repeat; | |
37 | + background-size:100% 100% ; | |
38 | +} | |
39 | +.swiper-slide-main-2{ | |
40 | + background: url("../images/swiper-slide-main-2.png") no-repeat center right; | |
41 | +} | |
42 | + | |
43 | +.swiper-slide-3{ | |
44 | + background: url("../images/swiper-slide-3.png") no-repeat; | |
45 | + background-size:100% 100% ; | |
46 | +} | |
47 | +.swiper-slide-main-3{ | |
48 | + background: url("../images/swiper-slide-main-3.png") no-repeat center right; | |
49 | +} | |
50 | +.swiper-slide-large{ | |
51 | + padding-top: 168px; | |
52 | + margin: 0 0 25px 0; | |
53 | + font-size: 44px; | |
54 | + color: #fff; | |
55 | +} | |
56 | +.swiper-slide-middle{ | |
57 | + margin-bottom: 37px; | |
58 | + font-size: 24px; | |
59 | + color: #fff; | |
60 | +} | |
61 | +.swiper-slide-more{ | |
62 | + width:92px; | |
63 | + height:32px; | |
64 | + line-height: 32px; | |
65 | + text-align: center; | |
66 | + font-size: 14px; | |
67 | + color: #fff; | |
68 | + border: 1px solid rgba(255,255,255,.5); | |
69 | + border-radius: 2px; | |
70 | + cursor: pointer; | |
71 | +} | |
72 | +.swiper-container-vertical > .swiper-wrapper { | |
73 | + -webkit-box-orient: vertical; | |
74 | + -webkit-box-direction: normal; | |
75 | + -webkit-flex-direction: column; | |
76 | + -ms-flex-direction: column; | |
77 | + flex-direction: column; | |
78 | +} | |
79 | +.swiper-wrapper { | |
80 | + position: relative; | |
81 | + width: 100%; | |
82 | + height: 100%; | |
83 | + z-index: 1; | |
84 | + display: -webkit-box; | |
85 | + display: -webkit-flex; | |
86 | + display: -ms-flexbox; | |
87 | + display: flex; | |
88 | + -webkit-transition-property: -webkit-transform; | |
89 | + transition-property: -webkit-transform; | |
90 | + -o-transition-property: transform; | |
91 | + transition-property: transform; | |
92 | + transition-property: transform, -webkit-transform; | |
93 | + -webkit-box-sizing: content-box; | |
94 | + box-sizing: content-box; | |
95 | +} | |
96 | +.swiper-container-android .swiper-slide, | |
97 | +.swiper-wrapper { | |
98 | + -webkit-transform: translate3d(0px, 0, 0); | |
99 | + transform: translate3d(0px, 0, 0); | |
100 | +} | |
101 | +.swiper-container-multirow > .swiper-wrapper { | |
102 | + -webkit-flex-wrap: wrap; | |
103 | + -ms-flex-wrap: wrap; | |
104 | + flex-wrap: wrap; | |
105 | +} | |
106 | +.swiper-container-free-mode > .swiper-wrapper { | |
107 | + -webkit-transition-timing-function: ease-out; | |
108 | + -o-transition-timing-function: ease-out; | |
109 | + transition-timing-function: ease-out; | |
110 | + margin: 0 auto; | |
111 | +} | |
112 | +.swiper-slide { | |
113 | + -webkit-flex-shrink: 0; | |
114 | + -ms-flex-negative: 0; | |
115 | + flex-shrink: 0; | |
116 | + width: 100%; | |
117 | + height: 100%; | |
118 | + position: relative; | |
119 | + -webkit-transition-property: -webkit-transform; | |
120 | + transition-property: -webkit-transform; | |
121 | + -o-transition-property: transform; | |
122 | + transition-property: transform; | |
123 | + transition-property: transform, -webkit-transform; | |
124 | +} | |
125 | +.swiper-slide-invisible-blank { | |
126 | + visibility: hidden; | |
127 | +} | |
128 | +/* Auto Height */ | |
129 | +.swiper-container-autoheight, | |
130 | +.swiper-container-autoheight .swiper-slide { | |
131 | + height: auto; | |
132 | +} | |
133 | +.swiper-container-autoheight .swiper-wrapper { | |
134 | + -webkit-box-align: start; | |
135 | + -webkit-align-items: flex-start; | |
136 | + -ms-flex-align: start; | |
137 | + align-items: flex-start; | |
138 | + -webkit-transition-property: height, -webkit-transform; | |
139 | + transition-property: height, -webkit-transform; | |
140 | + -o-transition-property: transform, height; | |
141 | + transition-property: transform, height; | |
142 | + transition-property: transform, height, -webkit-transform; | |
143 | +} | |
144 | +/* 3D Effects */ | |
145 | +.swiper-container-3d { | |
146 | + -webkit-perspective: 1200px; | |
147 | + perspective: 1200px; | |
148 | +} | |
149 | +.swiper-container-3d .swiper-wrapper, | |
150 | +.swiper-container-3d .swiper-slide, | |
151 | +.swiper-container-3d .swiper-slide-shadow-left, | |
152 | +.swiper-container-3d .swiper-slide-shadow-right, | |
153 | +.swiper-container-3d .swiper-slide-shadow-top, | |
154 | +.swiper-container-3d .swiper-slide-shadow-bottom, | |
155 | +.swiper-container-3d .swiper-cube-shadow { | |
156 | + -webkit-transform-style: preserve-3d; | |
157 | + transform-style: preserve-3d; | |
158 | +} | |
159 | +.swiper-container-3d .swiper-slide-shadow-left, | |
160 | +.swiper-container-3d .swiper-slide-shadow-right, | |
161 | +.swiper-container-3d .swiper-slide-shadow-top, | |
162 | +.swiper-container-3d .swiper-slide-shadow-bottom { | |
163 | + position: absolute; | |
164 | + left: 0; | |
165 | + top: 0; | |
166 | + width: 100%; | |
167 | + height: 100%; | |
168 | + pointer-events: none; | |
169 | + z-index: 10; | |
170 | +} | |
171 | +.swiper-container-3d .swiper-slide-shadow-left { | |
172 | + background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0))); | |
173 | + background-image: -webkit-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
174 | + background-image: -o-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
175 | + background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
176 | +} | |
177 | +.swiper-container-3d .swiper-slide-shadow-right { | |
178 | + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0))); | |
179 | + background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
180 | + background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
181 | + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
182 | +} | |
183 | +.swiper-container-3d .swiper-slide-shadow-top { | |
184 | + background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0))); | |
185 | + background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
186 | + background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
187 | + background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
188 | +} | |
189 | +.swiper-container-3d .swiper-slide-shadow-bottom { | |
190 | + background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0))); | |
191 | + background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
192 | + background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
193 | + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | |
194 | +} | |
195 | +/* IE10 Windows Phone 8 Fixes */ | |
196 | +.swiper-container-wp8-horizontal, | |
197 | +.swiper-container-wp8-horizontal > .swiper-wrapper { | |
198 | + -ms-touch-action: pan-y; | |
199 | + touch-action: pan-y; | |
200 | +} | |
201 | +.swiper-container-wp8-vertical, | |
202 | +.swiper-container-wp8-vertical > .swiper-wrapper { | |
203 | + -ms-touch-action: pan-x; | |
204 | + touch-action: pan-x; | |
205 | +} | |
206 | +.swiper-button-prev, | |
207 | +.swiper-button-next { | |
208 | + position: absolute; | |
209 | + top: 50%; | |
210 | + width: 27px; | |
211 | + height: 44px; | |
212 | + margin-top: -22px; | |
213 | + z-index: 10; | |
214 | + cursor: pointer; | |
215 | + background-size: 27px 44px; | |
216 | + background-position: center; | |
217 | + background-repeat: no-repeat; | |
218 | +} | |
219 | +.swiper-button-prev.swiper-button-disabled, | |
220 | +.swiper-button-next.swiper-button-disabled { | |
221 | + opacity: 0.35; | |
222 | + cursor: auto; | |
223 | + pointer-events: none; | |
224 | +} | |
225 | +.swiper-button-prev, | |
226 | +.swiper-container-rtl .swiper-button-next { | |
227 | + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E"); | |
228 | + left: 10px; | |
229 | + right: auto; | |
230 | +} | |
231 | +.swiper-button-next, | |
232 | +.swiper-container-rtl .swiper-button-prev { | |
233 | + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E"); | |
234 | + right: 10px; | |
235 | + left: auto; | |
236 | +} | |
237 | +.swiper-button-prev.swiper-button-white, | |
238 | +.swiper-container-rtl .swiper-button-next.swiper-button-white { | |
239 | + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); | |
240 | +} | |
241 | +.swiper-button-next.swiper-button-white, | |
242 | +.swiper-container-rtl .swiper-button-prev.swiper-button-white { | |
243 | + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); | |
244 | +} | |
245 | +.swiper-button-prev.swiper-button-black, | |
246 | +.swiper-container-rtl .swiper-button-next.swiper-button-black { | |
247 | + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E"); | |
248 | +} | |
249 | +.swiper-button-next.swiper-button-black, | |
250 | +.swiper-container-rtl .swiper-button-prev.swiper-button-black { | |
251 | + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E"); | |
252 | +} | |
253 | +.swiper-button-lock { | |
254 | + display: none; | |
255 | +} | |
256 | +.swiper-pagination { | |
257 | + position: absolute; | |
258 | + text-align: center; | |
259 | + -webkit-transition: 300ms opacity; | |
260 | + -o-transition: 300ms opacity; | |
261 | + transition: 300ms opacity; | |
262 | + -webkit-transform: translate3d(0, 0, 0); | |
263 | + transform: translate3d(0, 0, 0); | |
264 | + z-index: 10; | |
265 | +} | |
266 | +.swiper-pagination.swiper-pagination-hidden { | |
267 | + opacity: 0; | |
268 | +} | |
269 | +/* Common Styles */ | |
270 | +.swiper-pagination-fraction, | |
271 | +.swiper-pagination-custom, | |
272 | +.swiper-container-horizontal > .swiper-pagination-bullets { | |
273 | + bottom: 30px; | |
274 | + left: 0; | |
275 | + width: 100%; | |
276 | +} | |
277 | +/* Bullets */ | |
278 | +.swiper-pagination-bullets-dynamic { | |
279 | + overflow: hidden; | |
280 | + font-size: 0; | |
281 | +} | |
282 | +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { | |
283 | + -webkit-transform: scale(0.33); | |
284 | + -ms-transform: scale(0.33); | |
285 | + transform: scale(0.33); | |
286 | + position: relative; | |
287 | +} | |
288 | +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active { | |
289 | + -webkit-transform: scale(1); | |
290 | + -ms-transform: scale(1); | |
291 | + transform: scale(1); | |
292 | +} | |
293 | +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main { | |
294 | + -webkit-transform: scale(1); | |
295 | + -ms-transform: scale(1); | |
296 | + transform: scale(1); | |
297 | +} | |
298 | +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev { | |
299 | + -webkit-transform: scale(0.66); | |
300 | + -ms-transform: scale(0.66); | |
301 | + transform: scale(0.66); | |
302 | +} | |
303 | +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev { | |
304 | + -webkit-transform: scale(0.33); | |
305 | + -ms-transform: scale(0.33); | |
306 | + transform: scale(0.33); | |
307 | +} | |
308 | +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next { | |
309 | + -webkit-transform: scale(0.66); | |
310 | + -ms-transform: scale(0.66); | |
311 | + transform: scale(0.66); | |
312 | +} | |
313 | +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next { | |
314 | + -webkit-transform: scale(0.33); | |
315 | + -ms-transform: scale(0.33); | |
316 | + transform: scale(0.33); | |
317 | +} | |
318 | +.swiper-pagination-bullet { | |
319 | + width:48px; | |
320 | + height:4px; | |
321 | + background:rgba(255,255,255,1); | |
322 | + opacity:0.2; | |
323 | + | |
324 | + display: inline-block; | |
325 | + border-radius: 2px; | |
326 | +} | |
327 | +button.swiper-pagination-bullet { | |
328 | + border: none; | |
329 | + margin: 0; | |
330 | + padding: 0; | |
331 | + -webkit-box-shadow: none; | |
332 | + box-shadow: none; | |
333 | + -webkit-appearance: none; | |
334 | + -moz-appearance: none; | |
335 | + appearance: none; | |
336 | +} | |
337 | +.swiper-pagination-clickable .swiper-pagination-bullet { | |
338 | + cursor: pointer; | |
339 | +} | |
340 | +.swiper-pagination-bullet-active { | |
341 | + opacity: 1; | |
342 | + background: #fff; | |
343 | +} | |
344 | +.swiper-container-vertical > .swiper-pagination-bullets { | |
345 | + right: 10px; | |
346 | + top: 50%; | |
347 | + -webkit-transform: translate3d(0px, -50%, 0); | |
348 | + transform: translate3d(0px, -50%, 0); | |
349 | +} | |
350 | +.swiper-container-vertical > .swiper-pagination-bullets .swiper-pagination-bullet { | |
351 | + margin: 6px 0; | |
352 | + display: block; | |
353 | +} | |
354 | +.swiper-container-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic { | |
355 | + top: 50%; | |
356 | + -webkit-transform: translateY(-50%); | |
357 | + -ms-transform: translateY(-50%); | |
358 | + transform: translateY(-50%); | |
359 | + width: 8px; | |
360 | +} | |
361 | +.swiper-container-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { | |
362 | + display: inline-block; | |
363 | + -webkit-transition: 200ms top, 200ms -webkit-transform; | |
364 | + transition: 200ms top, 200ms -webkit-transform; | |
365 | + -o-transition: 200ms transform, 200ms top; | |
366 | + transition: 200ms transform, 200ms top; | |
367 | + transition: 200ms transform, 200ms top, 200ms -webkit-transform; | |
368 | +} | |
369 | +.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet { | |
370 | + margin: 0 4px; | |
371 | +} | |
372 | +.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic { | |
373 | + left: 50%; | |
374 | + -webkit-transform: translateX(-50%); | |
375 | + -ms-transform: translateX(-50%); | |
376 | + transform: translateX(-50%); | |
377 | + white-space: nowrap; | |
378 | +} | |
379 | +.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { | |
380 | + -webkit-transition: 200ms left, 200ms -webkit-transform; | |
381 | + transition: 200ms left, 200ms -webkit-transform; | |
382 | + -o-transition: 200ms transform, 200ms left; | |
383 | + transition: 200ms transform, 200ms left; | |
384 | + transition: 200ms transform, 200ms left, 200ms -webkit-transform; | |
385 | +} | |
386 | +.swiper-container-horizontal.swiper-container-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet { | |
387 | + -webkit-transition: 200ms right, 200ms -webkit-transform; | |
388 | + transition: 200ms right, 200ms -webkit-transform; | |
389 | + -o-transition: 200ms transform, 200ms right; | |
390 | + transition: 200ms transform, 200ms right; | |
391 | + transition: 200ms transform, 200ms right, 200ms -webkit-transform; | |
392 | +} | |
393 | +/* Progress */ | |
394 | +.swiper-pagination-progressbar { | |
395 | + background: rgba(0, 0, 0, 0.25); | |
396 | + position: absolute; | |
397 | +} | |
398 | +.swiper-pagination-progressbar .swiper-pagination-progressbar-fill { | |
399 | + background: #007aff; | |
400 | + position: absolute; | |
401 | + left: 0; | |
402 | + top: 0; | |
403 | + width: 100%; | |
404 | + height: 100%; | |
405 | + -webkit-transform: scale(0); | |
406 | + -ms-transform: scale(0); | |
407 | + transform: scale(0); | |
408 | + -webkit-transform-origin: left top; | |
409 | + -ms-transform-origin: left top; | |
410 | + transform-origin: left top; | |
411 | +} | |
412 | +.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill { | |
413 | + -webkit-transform-origin: right top; | |
414 | + -ms-transform-origin: right top; | |
415 | + transform-origin: right top; | |
416 | +} | |
417 | +.swiper-container-horizontal > .swiper-pagination-progressbar, | |
418 | +.swiper-container-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { | |
419 | + width: 100%; | |
420 | + height: 4px; | |
421 | + left: 0; | |
422 | + top: 0; | |
423 | +} | |
424 | +.swiper-container-vertical > .swiper-pagination-progressbar, | |
425 | +.swiper-container-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { | |
426 | + width: 4px; | |
427 | + height: 100%; | |
428 | + left: 0; | |
429 | + top: 0; | |
430 | +} | |
431 | +.swiper-pagination-white .swiper-pagination-bullet-active { | |
432 | + background: #ffffff; | |
433 | +} | |
434 | +.swiper-pagination-progressbar.swiper-pagination-white { | |
435 | + background: rgba(255, 255, 255, 0.25); | |
436 | +} | |
437 | +.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill { | |
438 | + background: #ffffff; | |
439 | +} | |
440 | +.swiper-pagination-black .swiper-pagination-bullet-active { | |
441 | + background: #000000; | |
442 | +} | |
443 | +.swiper-pagination-progressbar.swiper-pagination-black { | |
444 | + background: rgba(0, 0, 0, 0.25); | |
445 | +} | |
446 | +.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill { | |
447 | + background: #000000; | |
448 | +} | |
449 | +.swiper-pagination-lock { | |
450 | + display: none; | |
451 | +} | |
452 | +/* Scrollbar */ | |
453 | +.swiper-scrollbar { | |
454 | + border-radius: 10px; | |
455 | + position: relative; | |
456 | + -ms-touch-action: none; | |
457 | + background: rgba(0, 0, 0, 0.1); | |
458 | +} | |
459 | +.swiper-container-horizontal > .swiper-scrollbar { | |
460 | + position: absolute; | |
461 | + left: 1%; | |
462 | + bottom: 3px; | |
463 | + z-index: 50; | |
464 | + height: 5px; | |
465 | + width: 98%; | |
466 | +} | |
467 | +.swiper-container-vertical > .swiper-scrollbar { | |
468 | + position: absolute; | |
469 | + right: 3px; | |
470 | + top: 1%; | |
471 | + z-index: 50; | |
472 | + width: 5px; | |
473 | + height: 98%; | |
474 | +} | |
475 | +.swiper-scrollbar-drag { | |
476 | + height: 100%; | |
477 | + width: 100%; | |
478 | + position: relative; | |
479 | + background: rgba(0, 0, 0, 0.5); | |
480 | + border-radius: 10px; | |
481 | + left: 0; | |
482 | + top: 0; | |
483 | +} | |
484 | +.swiper-scrollbar-cursor-drag { | |
485 | + cursor: move; | |
486 | +} | |
487 | +.swiper-scrollbar-lock { | |
488 | + display: none; | |
489 | +} | |
490 | +.swiper-zoom-container { | |
491 | + width: 100%; | |
492 | + height: 100%; | |
493 | + display: -webkit-box; | |
494 | + display: -webkit-flex; | |
495 | + display: -ms-flexbox; | |
496 | + display: flex; | |
497 | + -webkit-box-pack: center; | |
498 | + -webkit-justify-content: center; | |
499 | + -ms-flex-pack: center; | |
500 | + justify-content: center; | |
501 | + -webkit-box-align: center; | |
502 | + -webkit-align-items: center; | |
503 | + -ms-flex-align: center; | |
504 | + align-items: center; | |
505 | + text-align: center; | |
506 | +} | |
507 | +.swiper-zoom-container > img, | |
508 | +.swiper-zoom-container > svg, | |
509 | +.swiper-zoom-container > canvas { | |
510 | + max-width: 100%; | |
511 | + max-height: 100%; | |
512 | + -o-object-fit: contain; | |
513 | + object-fit: contain; | |
514 | +} | |
515 | +.swiper-slide-zoomed { | |
516 | + cursor: move; | |
517 | +} | |
518 | +/* Preloader */ | |
519 | +.swiper-lazy-preloader { | |
520 | + width: 42px; | |
521 | + height: 42px; | |
522 | + position: absolute; | |
523 | + left: 50%; | |
524 | + top: 50%; | |
525 | + margin-left: -21px; | |
526 | + margin-top: -21px; | |
527 | + z-index: 10; | |
528 | + -webkit-transform-origin: 50%; | |
529 | + -ms-transform-origin: 50%; | |
530 | + transform-origin: 50%; | |
531 | + -webkit-animation: swiper-preloader-spin 1s steps(12, end) infinite; | |
532 | + animation: swiper-preloader-spin 1s steps(12, end) infinite; | |
533 | +} | |
534 | +.swiper-lazy-preloader:after { | |
535 | + display: block; | |
536 | + content: ''; | |
537 | + width: 100%; | |
538 | + height: 100%; | |
539 | + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); | |
540 | + background-position: 50%; | |
541 | + background-size: 100%; | |
542 | + background-repeat: no-repeat; | |
543 | +} | |
544 | +.swiper-lazy-preloader-white:after { | |
545 | + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); | |
546 | +} | |
547 | +@-webkit-keyframes swiper-preloader-spin { | |
548 | + 100% { | |
549 | + -webkit-transform: rotate(360deg); | |
550 | + transform: rotate(360deg); | |
551 | + } | |
552 | +} | |
553 | +@keyframes swiper-preloader-spin { | |
554 | + 100% { | |
555 | + -webkit-transform: rotate(360deg); | |
556 | + transform: rotate(360deg); | |
557 | + } | |
558 | +} | |
559 | +/* a11y */ | |
560 | +.swiper-container .swiper-notification { | |
561 | + position: absolute; | |
562 | + left: 0; | |
563 | + top: 0; | |
564 | + pointer-events: none; | |
565 | + opacity: 0; | |
566 | + z-index: -1000; | |
567 | +} | |
568 | +.swiper-container-fade.swiper-container-free-mode .swiper-slide { | |
569 | + -webkit-transition-timing-function: ease-out; | |
570 | + -o-transition-timing-function: ease-out; | |
571 | + transition-timing-function: ease-out; | |
572 | +} | |
573 | +.swiper-container-fade .swiper-slide { | |
574 | + pointer-events: none; | |
575 | + -webkit-transition-property: opacity; | |
576 | + -o-transition-property: opacity; | |
577 | + transition-property: opacity; | |
578 | +} | |
579 | +.swiper-container-fade .swiper-slide .swiper-slide { | |
580 | + pointer-events: none; | |
581 | +} | |
582 | +.swiper-container-fade .swiper-slide-active, | |
583 | +.swiper-container-fade .swiper-slide-active .swiper-slide-active { | |
584 | + pointer-events: auto; | |
585 | +} | |
586 | +.swiper-container-cube { | |
587 | + overflow: visible; | |
588 | +} | |
589 | +.swiper-container-cube .swiper-slide { | |
590 | + pointer-events: none; | |
591 | + -webkit-backface-visibility: hidden; | |
592 | + backface-visibility: hidden; | |
593 | + z-index: 1; | |
594 | + visibility: hidden; | |
595 | + -webkit-transform-origin: 0 0; | |
596 | + -ms-transform-origin: 0 0; | |
597 | + transform-origin: 0 0; | |
598 | + width: 100%; | |
599 | + height: 100%; | |
600 | +} | |
601 | +.swiper-container-cube .swiper-slide .swiper-slide { | |
602 | + pointer-events: none; | |
603 | +} | |
604 | +.swiper-container-cube.swiper-container-rtl .swiper-slide { | |
605 | + -webkit-transform-origin: 100% 0; | |
606 | + -ms-transform-origin: 100% 0; | |
607 | + transform-origin: 100% 0; | |
608 | +} | |
609 | +.swiper-container-cube .swiper-slide-active, | |
610 | +.swiper-container-cube .swiper-slide-active .swiper-slide-active { | |
611 | + pointer-events: auto; | |
612 | +} | |
613 | +.swiper-container-cube .swiper-slide-active, | |
614 | +.swiper-container-cube .swiper-slide-next, | |
615 | +.swiper-container-cube .swiper-slide-prev, | |
616 | +.swiper-container-cube .swiper-slide-next + .swiper-slide { | |
617 | + pointer-events: auto; | |
618 | + visibility: visible; | |
619 | +} | |
620 | +.swiper-container-cube .swiper-slide-shadow-top, | |
621 | +.swiper-container-cube .swiper-slide-shadow-bottom, | |
622 | +.swiper-container-cube .swiper-slide-shadow-left, | |
623 | +.swiper-container-cube .swiper-slide-shadow-right { | |
624 | + z-index: 0; | |
625 | + -webkit-backface-visibility: hidden; | |
626 | + backface-visibility: hidden; | |
627 | +} | |
628 | +.swiper-container-cube .swiper-cube-shadow { | |
629 | + position: absolute; | |
630 | + left: 0; | |
631 | + bottom: 0px; | |
632 | + width: 100%; | |
633 | + height: 100%; | |
634 | + background: #000; | |
635 | + opacity: 0.6; | |
636 | + -webkit-filter: blur(50px); | |
637 | + filter: blur(50px); | |
638 | + z-index: 0; | |
639 | +} | |
640 | +.swiper-container-flip { | |
641 | + overflow: visible; | |
642 | +} | |
643 | +.swiper-container-flip .swiper-slide { | |
644 | + pointer-events: none; | |
645 | + -webkit-backface-visibility: hidden; | |
646 | + backface-visibility: hidden; | |
647 | + z-index: 1; | |
648 | +} | |
649 | +.swiper-container-flip .swiper-slide .swiper-slide { | |
650 | + pointer-events: none; | |
651 | +} | |
652 | +.swiper-container-flip .swiper-slide-active, | |
653 | +.swiper-container-flip .swiper-slide-active .swiper-slide-active { | |
654 | + pointer-events: auto; | |
655 | +} | |
656 | +.swiper-container-flip .swiper-slide-shadow-top, | |
657 | +.swiper-container-flip .swiper-slide-shadow-bottom, | |
658 | +.swiper-container-flip .swiper-slide-shadow-left, | |
659 | +.swiper-container-flip .swiper-slide-shadow-right { | |
660 | + z-index: 0; | |
661 | + -webkit-backface-visibility: hidden; | |
662 | + backface-visibility: hidden; | |
663 | +} | |
664 | +.swiper-container-coverflow .swiper-wrapper { | |
665 | + /* Windows 8 IE 10 fix */ | |
666 | + -ms-perspective: 1200px; | |
667 | +} | ... | ... |
services.html
... | ... | @@ -23,7 +23,7 @@ |
23 | 23 | <link type="text/css" rel="stylesheet" href="css/magnific-popup.css"> |
24 | 24 | <link type="text/css" rel="stylesheet" href="css/font-awesome.min.css"> |
25 | 25 | |
26 | - <link type="text/css" rel="stylesheet" href="css/swiper.css"> | |
26 | + <link type="text/css" rel="stylesheet" href="css/swiper.ser.css"> | |
27 | 27 | <!--<link href="http://files.cnblogs.com/files/heyiming/swiper3.3.1.min.css" rel="stylesheet" type="text/css">--> |
28 | 28 | <!-- Ruby CSS --> |
29 | 29 | <link type="text/css" rel="stylesheet" href="css/normalize.css"> | ... | ... |