slick.css 1.7 KB

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