slick.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. margin-left: auto;
  50. margin-right: auto;
  51. }
  52. .slick-track:before,
  53. .slick-track:after
  54. {
  55. display: table;
  56. content: '';
  57. }
  58. .slick-track:after
  59. {
  60. clear: both;
  61. }
  62. .slick-loading .slick-track
  63. {
  64. visibility: hidden;
  65. }
  66. .slick-slide
  67. {
  68. display: none;
  69. float: left;
  70. height: 100%;
  71. min-height: 1px;
  72. }
  73. [dir='rtl'] .slick-slide
  74. {
  75. float: right;
  76. }
  77. .slick-slide img
  78. {
  79. display: block;
  80. }
  81. .slick-slide.slick-loading img
  82. {
  83. display: none;
  84. }
  85. .slick-slide.dragging img
  86. {
  87. pointer-events: none;
  88. }
  89. .slick-initialized .slick-slide
  90. {
  91. display: block;
  92. }
  93. .slick-loading .slick-slide
  94. {
  95. visibility: hidden;
  96. }
  97. .slick-vertical .slick-slide
  98. {
  99. display: block;
  100. height: auto;
  101. border: 1px solid transparent;
  102. }
  103. .slick-arrow.slick-hidden {
  104. display: none;
  105. }