slick.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. }
  44. .slick-track:before,
  45. .slick-track:after {
  46. display: table;
  47. content: '';
  48. }
  49. .slick-track:after {
  50. clear: both;
  51. }
  52. .slick-loading .slick-track {
  53. visibility: hidden;
  54. }
  55. .slick-slide {
  56. display: none;
  57. float: left;
  58. height: 100%;
  59. min-height: 1px;
  60. }
  61. [dir='rtl'] .slick-slide {
  62. float: right;
  63. }
  64. .slick-slide img {
  65. display: block;
  66. }
  67. .slick-slide.slick-loading img {
  68. display: none;
  69. }
  70. .slick-slide.dragging img {
  71. pointer-events: none;
  72. }
  73. .slick-initialized .slick-slide {
  74. display: block;
  75. }
  76. .slick-loading .slick-slide {
  77. visibility: hidden;
  78. }
  79. .slick-vertical .slick-slide {
  80. display: block;
  81. height: auto;
  82. border: 1px solid transparent;
  83. }
  84. .slick-arrow.slick-hidden {
  85. display: none;
  86. }