index.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. /* stylelint-disable */
  4. /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
  5. .ant-carousel {
  6. box-sizing: border-box;
  7. margin: 0;
  8. padding: 0;
  9. color: rgba(0, 0, 0, 0.85);
  10. font-size: 14px;
  11. font-variant: tabular-nums;
  12. line-height: 1.5715;
  13. list-style: none;
  14. font-feature-settings: 'tnum';
  15. }
  16. .ant-carousel .slick-slider {
  17. position: relative;
  18. display: block;
  19. box-sizing: border-box;
  20. touch-action: pan-y;
  21. -webkit-touch-callout: none;
  22. -webkit-tap-highlight-color: transparent;
  23. }
  24. .ant-carousel .slick-list {
  25. position: relative;
  26. display: block;
  27. margin: 0;
  28. padding: 0;
  29. overflow: hidden;
  30. }
  31. .ant-carousel .slick-list:focus {
  32. outline: none;
  33. }
  34. .ant-carousel .slick-list.dragging {
  35. cursor: pointer;
  36. }
  37. .ant-carousel .slick-list .slick-slide {
  38. pointer-events: none;
  39. }
  40. .ant-carousel .slick-list .slick-slide input.ant-radio-input,
  41. .ant-carousel .slick-list .slick-slide input.ant-checkbox-input {
  42. visibility: hidden;
  43. }
  44. .ant-carousel .slick-list .slick-slide.slick-active {
  45. pointer-events: auto;
  46. }
  47. .ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input,
  48. .ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input {
  49. visibility: visible;
  50. }
  51. .ant-carousel .slick-list .slick-slide > div > div {
  52. vertical-align: bottom;
  53. }
  54. .ant-carousel .slick-slider .slick-track,
  55. .ant-carousel .slick-slider .slick-list {
  56. transform: translate3d(0, 0, 0);
  57. touch-action: pan-y;
  58. }
  59. .ant-carousel .slick-track {
  60. position: relative;
  61. top: 0;
  62. left: 0;
  63. display: block;
  64. }
  65. .ant-carousel .slick-track::before,
  66. .ant-carousel .slick-track::after {
  67. display: table;
  68. content: '';
  69. }
  70. .ant-carousel .slick-track::after {
  71. clear: both;
  72. }
  73. .slick-loading .ant-carousel .slick-track {
  74. visibility: hidden;
  75. }
  76. .ant-carousel .slick-slide {
  77. display: none;
  78. float: left;
  79. height: 100%;
  80. min-height: 1px;
  81. }
  82. .ant-carousel .slick-slide img {
  83. display: block;
  84. }
  85. .ant-carousel .slick-slide.slick-loading img {
  86. display: none;
  87. }
  88. .ant-carousel .slick-slide.dragging img {
  89. pointer-events: none;
  90. }
  91. .ant-carousel .slick-initialized .slick-slide {
  92. display: block;
  93. }
  94. .ant-carousel .slick-loading .slick-slide {
  95. visibility: hidden;
  96. }
  97. .ant-carousel .slick-vertical .slick-slide {
  98. display: block;
  99. height: auto;
  100. }
  101. .ant-carousel .slick-arrow.slick-hidden {
  102. display: none;
  103. }
  104. .ant-carousel .slick-prev,
  105. .ant-carousel .slick-next {
  106. position: absolute;
  107. top: 50%;
  108. display: block;
  109. width: 20px;
  110. height: 20px;
  111. margin-top: -10px;
  112. padding: 0;
  113. color: transparent;
  114. font-size: 0;
  115. line-height: 0;
  116. background: transparent;
  117. border: 0;
  118. outline: none;
  119. cursor: pointer;
  120. }
  121. .ant-carousel .slick-prev:hover,
  122. .ant-carousel .slick-next:hover,
  123. .ant-carousel .slick-prev:focus,
  124. .ant-carousel .slick-next:focus {
  125. color: transparent;
  126. background: transparent;
  127. outline: none;
  128. }
  129. .ant-carousel .slick-prev:hover::before,
  130. .ant-carousel .slick-next:hover::before,
  131. .ant-carousel .slick-prev:focus::before,
  132. .ant-carousel .slick-next:focus::before {
  133. opacity: 1;
  134. }
  135. .ant-carousel .slick-prev.slick-disabled::before,
  136. .ant-carousel .slick-next.slick-disabled::before {
  137. opacity: 0.25;
  138. }
  139. .ant-carousel .slick-prev {
  140. left: -25px;
  141. }
  142. .ant-carousel .slick-prev::before {
  143. content: '←';
  144. }
  145. .ant-carousel .slick-next {
  146. right: -25px;
  147. }
  148. .ant-carousel .slick-next::before {
  149. content: '→';
  150. }
  151. .ant-carousel .slick-dots {
  152. position: absolute;
  153. right: 0;
  154. bottom: 0;
  155. left: 0;
  156. z-index: 15;
  157. display: flex !important;
  158. justify-content: center;
  159. margin-right: 15%;
  160. margin-left: 15%;
  161. padding-left: 0;
  162. list-style: none;
  163. }
  164. .ant-carousel .slick-dots-bottom {
  165. bottom: 12px;
  166. }
  167. .ant-carousel .slick-dots-top {
  168. top: 12px;
  169. bottom: auto;
  170. }
  171. .ant-carousel .slick-dots li {
  172. position: relative;
  173. display: inline-block;
  174. flex: 0 1 auto;
  175. box-sizing: content-box;
  176. width: 16px;
  177. height: 3px;
  178. margin: 0 2px;
  179. margin-right: 3px;
  180. margin-left: 3px;
  181. padding: 0;
  182. text-align: center;
  183. text-indent: -999px;
  184. vertical-align: top;
  185. transition: all 0.5s;
  186. }
  187. .ant-carousel .slick-dots li button {
  188. display: block;
  189. width: 100%;
  190. height: 3px;
  191. padding: 0;
  192. color: transparent;
  193. font-size: 0;
  194. background: #fff;
  195. border: 0;
  196. border-radius: 1px;
  197. outline: none;
  198. cursor: pointer;
  199. opacity: 0.3;
  200. transition: all 0.5s;
  201. }
  202. .ant-carousel .slick-dots li button:hover,
  203. .ant-carousel .slick-dots li button:focus {
  204. opacity: 0.75;
  205. }
  206. .ant-carousel .slick-dots li.slick-active {
  207. width: 24px;
  208. }
  209. .ant-carousel .slick-dots li.slick-active button {
  210. background: #fff;
  211. opacity: 1;
  212. }
  213. .ant-carousel .slick-dots li.slick-active:hover,
  214. .ant-carousel .slick-dots li.slick-active:focus {
  215. opacity: 1;
  216. }
  217. .ant-carousel-vertical .slick-dots {
  218. top: 50%;
  219. bottom: auto;
  220. flex-direction: column;
  221. width: 3px;
  222. height: auto;
  223. margin: 0;
  224. transform: translateY(-50%);
  225. }
  226. .ant-carousel-vertical .slick-dots-left {
  227. right: auto;
  228. left: 12px;
  229. }
  230. .ant-carousel-vertical .slick-dots-right {
  231. right: 12px;
  232. left: auto;
  233. }
  234. .ant-carousel-vertical .slick-dots li {
  235. width: 3px;
  236. height: 16px;
  237. margin: 4px 2px;
  238. vertical-align: baseline;
  239. }
  240. .ant-carousel-vertical .slick-dots li button {
  241. width: 3px;
  242. height: 16px;
  243. }
  244. .ant-carousel-vertical .slick-dots li.slick-active {
  245. width: 3px;
  246. height: 24px;
  247. }
  248. .ant-carousel-vertical .slick-dots li.slick-active button {
  249. width: 3px;
  250. height: 24px;
  251. }
  252. .ant-carousel-rtl {
  253. direction: rtl;
  254. }
  255. .ant-carousel-rtl .ant-carousel .slick-track {
  256. right: 0;
  257. left: auto;
  258. }
  259. .ant-carousel-rtl .ant-carousel .slick-prev {
  260. right: -25px;
  261. left: auto;
  262. }
  263. .ant-carousel-rtl .ant-carousel .slick-prev::before {
  264. content: '→';
  265. }
  266. .ant-carousel-rtl .ant-carousel .slick-next {
  267. right: auto;
  268. left: -25px;
  269. }
  270. .ant-carousel-rtl .ant-carousel .slick-next::before {
  271. content: '←';
  272. }
  273. .ant-carousel-rtl.ant-carousel .slick-dots {
  274. flex-direction: row-reverse;
  275. }
  276. .ant-carousel-rtl.ant-carousel-vertical .slick-dots {
  277. flex-direction: column;
  278. }