slick.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /* Slider */
  2. .slick-slider {
  3. position: relative;
  4. display: block;
  5. box-sizing: border-box;
  6. -webkit-user-select: none;
  7. -moz-user-select: none;
  8. -ms-user-select: none;
  9. user-select: none;
  10. -webkit-touch-callout: none;
  11. -khtml-user-select: none;
  12. -ms-touch-action: pan-y;
  13. touch-action: pan-y;
  14. -webkit-tap-highlight-color: transparent;
  15. }
  16. .slick-list {
  17. position: relative;
  18. display: block;
  19. overflow: hidden;
  20. margin: 0;
  21. padding: 0;
  22. }
  23. .slick-list:focus {
  24. outline: none;
  25. }
  26. .slick-list.dragging {
  27. cursor: pointer;
  28. cursor: hand;
  29. }
  30. .slick-slider .slick-track,
  31. .slick-slider .slick-list {
  32. -webkit-transform: translate3d(0, 0, 0);
  33. -moz-transform: translate3d(0, 0, 0);
  34. -ms-transform: translate3d(0, 0, 0);
  35. -o-transform: translate3d(0, 0, 0);
  36. transform: translate3d(0, 0, 0);
  37. }
  38. .slick-track {
  39. position: relative;
  40. top: 0;
  41. left: 0;
  42. display: block;
  43. margin-left: auto;
  44. margin-right: auto;
  45. }
  46. .slick-track:before,
  47. .slick-track:after {
  48. display: table;
  49. content: "";
  50. }
  51. .slick-track:after {
  52. clear: both;
  53. }
  54. .slick-loading .slick-track {
  55. visibility: hidden;
  56. }
  57. .slick-slide {
  58. display: none;
  59. float: left;
  60. height: 100%;
  61. min-height: 1px;
  62. }
  63. [dir="rtl"] .slick-slide {
  64. float: right;
  65. }
  66. .slick-slide img {
  67. display: block;
  68. }
  69. .slick-slide.slick-loading img {
  70. display: none;
  71. }
  72. .slick-slide.dragging img {
  73. pointer-events: none;
  74. }
  75. .slick-initialized .slick-slide {
  76. display: block;
  77. }
  78. .slick-loading .slick-slide {
  79. visibility: hidden;
  80. }
  81. .slick-vertical .slick-slide {
  82. display: block;
  83. height: auto;
  84. border: 1px solid transparent;
  85. }
  86. .slick-arrow.slick-hidden {
  87. display: none;
  88. }