swiper.min.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. /**
  2. * Swiper 5.2.0
  3. * Most modern mobile touch slider and framework with hardware accelerated transitions
  4. * http://swiperjs.com
  5. *
  6. * Copyright 2014-2019 Vladimir Kharlampidi
  7. *
  8. * Released under the MIT License
  9. *
  10. * Released on: October 26, 2019
  11. */
  12. :root {
  13. --swiper-theme-color: #51a7ff;
  14. }
  15. .swiper-container {
  16. width: 541px;
  17. height: 241px;
  18. margin: 14px auto;
  19. position: relative;
  20. overflow: hidden;
  21. list-style: none;
  22. padding: 0;
  23. z-index: 1
  24. }
  25. .swiper-slide {
  26. text-align: center;
  27. font-size: 18px;
  28. background: #fff;
  29. display: -webkit-box;
  30. display: -ms-flexbox;
  31. display: -webkit-flex;
  32. display: flex;
  33. -webkit-box-pack: center;
  34. -ms-flex-pack: center;
  35. -webkit-justify-content: center;
  36. justify-content: center;
  37. -webkit-box-align: center;
  38. -ms-flex-align: center;
  39. -webkit-align-items: center;
  40. align-items: center;
  41. }
  42. .swiper-container-vertical>.swiper-wrapper {
  43. flex-direction: column
  44. }
  45. .swiper-wrapper {
  46. position: relative;
  47. width: 100%;
  48. height: 100%;
  49. z-index: 1;
  50. display: flex;
  51. transition-property: transform;
  52. box-sizing: content-box
  53. }
  54. .swiper-container-android .swiper-slide,
  55. .swiper-wrapper {
  56. transform: translate3d(0px, 0, 0)
  57. }
  58. .swiper-container-multirow>.swiper-wrapper {
  59. flex-wrap: wrap
  60. }
  61. .swiper-container-multirow-column>.swiper-wrapper {
  62. flex-wrap: wrap;
  63. flex-direction: column
  64. }
  65. .swiper-container-free-mode>.swiper-wrapper {
  66. transition-timing-function: ease-out;
  67. margin: 0 auto
  68. }
  69. .swiper-slide {
  70. flex-shrink: 0;
  71. width: 100%;
  72. height: 100%;
  73. position: relative;
  74. transition-property: transform
  75. }
  76. .swiper-slide-invisible-blank {
  77. visibility: hidden
  78. }
  79. .swiper-container-autoheight,
  80. .swiper-container-autoheight .swiper-slide {
  81. height: auto
  82. }
  83. .swiper-container-autoheight .swiper-wrapper {
  84. align-items: flex-start;
  85. transition-property: transform, height
  86. }
  87. .swiper-container-3d {
  88. perspective: 1200px
  89. }
  90. .swiper-container-3d .swiper-cube-shadow,
  91. .swiper-container-3d .swiper-slide,
  92. .swiper-container-3d .swiper-slide-shadow-bottom,
  93. .swiper-container-3d .swiper-slide-shadow-left,
  94. .swiper-container-3d .swiper-slide-shadow-right,
  95. .swiper-container-3d .swiper-slide-shadow-top,
  96. .swiper-container-3d .swiper-wrapper {
  97. transform-style: preserve-3d
  98. }
  99. .swiper-container-3d .swiper-slide-shadow-bottom,
  100. .swiper-container-3d .swiper-slide-shadow-left,
  101. .swiper-container-3d .swiper-slide-shadow-right,
  102. .swiper-container-3d .swiper-slide-shadow-top {
  103. position: absolute;
  104. left: 0;
  105. top: 0;
  106. width: 100%;
  107. height: 100%;
  108. pointer-events: none;
  109. z-index: 10
  110. }
  111. .swiper-container-3d .swiper-slide-shadow-left {
  112. background-image: linear-gradient(to left, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0))
  113. }
  114. .swiper-container-3d .swiper-slide-shadow-right {
  115. background-image: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0))
  116. }
  117. .swiper-container-3d .swiper-slide-shadow-top {
  118. background-image: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0))
  119. }
  120. .swiper-container-3d .swiper-slide-shadow-bottom {
  121. background-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0))
  122. }
  123. .swiper-container-css-mode>.swiper-wrapper {
  124. overflow: auto;
  125. scrollbar-width: none;
  126. -ms-overflow-style: none
  127. }
  128. .swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar {
  129. display: none
  130. }
  131. .swiper-container-css-mode>.swiper-wrapper>.swiper-slide {
  132. scroll-snap-align: start start
  133. }
  134. .swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper {
  135. scroll-snap-type: x mandatory
  136. }
  137. .swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper {
  138. scroll-snap-type: y mandatory
  139. }
  140. :root {
  141. --swiper-navigation-size: 44px
  142. }
  143. .swiper-button-next,
  144. .swiper-button-prev {
  145. position: absolute;
  146. top: 50%;
  147. /* width: calc(var(--swiper-navigation-size)/ 44 * 27);
  148. height: var(--swiper-navigation-size); */
  149. margin-top: calc(-1 * var(--swiper-navigation-size)/ 2);
  150. cursor: pointer;
  151. display: flex;
  152. align-items: center;
  153. justify-content: center;
  154. color: #fff;
  155. background-color: rgba(0, 0, 0, 0.7);
  156. border-radius: 50%;
  157. opacity: 0.7;
  158. width: 36px;
  159. height: 36px;
  160. line-height: 36px;
  161. z-index: 12;
  162. filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7F000000,endcolorstr=#7F000000);
  163. }
  164. .swiper-button-next i,
  165. .swiper-button-prev i {
  166. border: solid #fff;
  167. border-width: 0 2px 2px 0;
  168. display: inline-block;
  169. padding: 5px;
  170. }
  171. .swiper-button-prev i {
  172. margin-left: 7px;
  173. transform: rotate(135deg);
  174. -webkit-transform: rotate(135deg);
  175. -moz-transform: rotate(135deg);
  176. filter: progid:DXImageTransform.Microsoft.Matrix(M11=-0.707,M12=-0.707,M21=0.707,M22=-0.707,SizingMethod='auto expand');
  177. }
  178. .swiper-button-next i {
  179. margin-left: -2px;
  180. transform: rotate(-45deg);
  181. -webkit-transform: rotate(-45deg);
  182. -moz-transform: rotate(-45deg);
  183. filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.525,M12=0.525,M21=-0.525,M22=0.525,SizingMethod='auto expand');
  184. }
  185. .swiper-button-prev {
  186. left: 4px;
  187. cursor: pointer;
  188. }
  189. .swiper-button-next {
  190. right: 4px;
  191. cursor: pointer;
  192. }
  193. .swiper-button-next.swiper-button-black,
  194. .swiper-button-prev.swiper-button-black {
  195. --swiper-navigation-color: #000000
  196. }
  197. .swiper-button-lock {
  198. display: none
  199. }
  200. .swiper-pagination {
  201. position: absolute;
  202. text-align: center;
  203. transition: .3s opacity;
  204. transform: translate3d(0, 0, 0);
  205. z-index: 10
  206. }
  207. .swiper-pagination.swiper-pagination-hidden {
  208. opacity: 0
  209. }
  210. .swiper-container-horizontal>.swiper-pagination-bullets,
  211. .swiper-pagination-custom,
  212. .swiper-pagination-fraction {
  213. bottom: 10px;
  214. right: 5px;
  215. width: 20%;
  216. bottom: 8px;
  217. text-align: right;
  218. }
  219. .swiper-pagination-bullets-dynamic {
  220. overflow: hidden;
  221. font-size: 0
  222. }
  223. .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  224. transform: scale(.33);
  225. position: relative
  226. }
  227. .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
  228. transform: scale(1)
  229. }
  230. .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
  231. transform: scale(1)
  232. }
  233. .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
  234. transform: scale(.66)
  235. }
  236. .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
  237. transform: scale(.33)
  238. }
  239. .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
  240. transform: scale(.66)
  241. }
  242. .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
  243. transform: scale(.33)
  244. }
  245. .swiper-pagination-bullet {
  246. width: 10px;
  247. height: 10px;
  248. display: inline-block;
  249. border-radius: 100%;
  250. background: #fff;
  251. }
  252. button.swiper-pagination-bullet {
  253. border: none;
  254. margin: 0;
  255. padding: 0;
  256. box-shadow: none;
  257. -webkit-appearance: none;
  258. -moz-appearance: none;
  259. appearance: none
  260. }
  261. .swiper-pagination-clickable .swiper-pagination-bullet {
  262. cursor: pointer
  263. }
  264. .swiper-pagination-bullet-active {
  265. opacity: 1;
  266. background: var(--swiper-pagination-color, var(--swiper-theme-color))
  267. }
  268. .swiper-container-vertical>.swiper-pagination-bullets {
  269. right: 10px;
  270. top: 50%;
  271. transform: translate3d(0px, -50%, 0)
  272. }
  273. .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet {
  274. margin: 6px 0;
  275. display: block
  276. }
  277. .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  278. top: 50%;
  279. transform: translateY(-50%);
  280. width: 8px
  281. }
  282. .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  283. display: inline-block;
  284. transition: .2s transform, .2s top
  285. }
  286. .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
  287. margin: 0 4px
  288. }
  289. .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  290. left: 50%;
  291. transform: translateX(-50%);
  292. white-space: nowrap
  293. }
  294. .swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  295. transition: .2s transform, .2s left
  296. }
  297. .swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  298. transition: .2s transform, .2s right
  299. }
  300. .swiper-pagination-progressbar {
  301. background: rgba(0, 0, 0, .25);
  302. position: absolute
  303. }
  304. .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  305. background: var(--swiper-pagination-color, var(--swiper-theme-color));
  306. position: absolute;
  307. left: 0;
  308. top: 0;
  309. width: 100%;
  310. height: 100%;
  311. transform: scale(0);
  312. transform-origin: left top
  313. }
  314. .swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  315. transform-origin: right top
  316. }
  317. .swiper-container-horizontal>.swiper-pagination-progressbar,
  318. .swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
  319. width: 100%;
  320. height: 4px;
  321. left: 0;
  322. top: 0
  323. }
  324. .swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
  325. .swiper-container-vertical>.swiper-pagination-progressbar {
  326. width: 4px;
  327. height: 100%;
  328. left: 0;
  329. top: 0
  330. }
  331. .swiper-slide .txt {
  332. width: 100%;
  333. position: absolute;
  334. height: 28px;
  335. left: -1px;
  336. z-index: 111;
  337. bottom: 2px;
  338. background-color: rgba(0, 0, 0, 0.5);
  339. filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7F000000,endcolorstr=#7F000000);
  340. }
  341. .swiper-slide .txt p {
  342. display: block;
  343. font-size: 16px;
  344. width: 440px;
  345. text-align: left;
  346. line-height: 28px;
  347. margin-left: 10px;
  348. color: white;
  349. overflow: hidden;
  350. text-overflow: ellipsis;
  351. white-space: nowrap;
  352. }
  353. .swiper-slide{position: relative;}