You are here

slick.theme--asnavfor.css in Slick Carousel 7.2

asNavFor. Main display has class "slick--display--main". Thumbnail has class "slick--display--thumbnail". Tips: make sure to use odd number for slideToShow with centerMode on.

File

css/theme/slick.theme--asnavfor.css
View source
  1. /**
  2. * @file
  3. * asNavFor.
  4. * Main display has class "slick--display--main".
  5. * Thumbnail has class "slick--display--thumbnail".
  6. * Tips: make sure to use odd number for slideToShow with centerMode on.
  7. */
  8. .slick--display--thumbnail.slick--skin--asnavfor {
  9. margin-left: auto;
  10. margin-right: auto;
  11. padding: 0;
  12. width: 96%;
  13. }
  14. .slick--display--thumbnail.slick--skin--asnavfor .slick-list {
  15. margin: 0 -20px;
  16. padding: 30px 40px;
  17. }
  18. .slick--display--thumbnail.slick--skin--asnavfor .slide__caption p {
  19. margin: 0;
  20. }
  21. .slick--display--thumbnail.slick--skin--asnavfor .slick-current {
  22. background: #fff;
  23. }
  24. .slick--display--thumbnail.slick--skin--asnavfor .slick__slide {
  25. margin: 0 2px;
  26. overflow: visible;
  27. -webkit-backface-visibility: hidden;
  28. backface-visibility: hidden;
  29. -webkit-transition: -webkit-transform 0.4s ease-in-out 0.2s;
  30. transition: transform 0.4s ease-in-out 0.2s;
  31. }
  32. .slick--display--thumbnail.slick--skin--asnavfor .slick__slide img {
  33. border: 6px solid transparent;
  34. cursor: pointer;
  35. position: relative;
  36. width: 100%;
  37. }
  38. .slick--display--thumbnail.slick--skin--asnavfor .slick__slide.slick-current {
  39. box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  40. -ms-transform: scale(1.3);
  41. -webkit-transform: scale(1.3);
  42. transform: scale(1.3);
  43. -webkit-transition-delay: 0s;
  44. transition-delay: 0s;
  45. z-index: 3;
  46. }
  47. .slick--display--thumbnail.slick--skin--asnavfor .slick__slide.slick-current::before {
  48. content: '';
  49. display: block;
  50. border: 8px solid transparent;
  51. border-top: 0;
  52. border-bottom-color: #fff;
  53. height: 0;
  54. left: 50%;
  55. margin-left: -8px;
  56. position: absolute;
  57. top: -5px;
  58. width: 0;
  59. z-index: 1;
  60. }
  61. .slick--display--thumbnail.slick--skin--asnavfor .slick__slide.slick-current img {
  62. border-color: #fff;
  63. }
  64. .slick--display--thumbnail.slick--skin--asnavfor.slick--center .slick-track {
  65. padding-bottom: 40px;
  66. padding-top: 40px;
  67. }
  68. .slick--display--thumbnail.slick--skin--asnavfor .slick__arrow .slick-disabled {
  69. pointer-events: none;
  70. opacity: 0;
  71. }
  72. .slick--display--thumbnail.slick--skin--asnavfor .slick__arrow .slick-prev {
  73. left: -20px;
  74. }
  75. .slick--display--thumbnail.slick--skin--asnavfor .slick__arrow .slick-next {
  76. right: -20px;
  77. }