You are here

slick.theme--d3-back.css in Slick extras 7.3

Same filename and directory in other branches
  1. 8 css/theme/slick.theme--d3-back.css

. Adds 3d view with focal point at back, best with centerMode + 3 slidesToShow. Detailed stylings are all yours, get yourself dirty.

File

css/theme/slick.theme--d3-back.css
View source
  1. /**
  2. * @file.
  3. * Adds 3d view with focal point at back, best with centerMode + 3 slidesToShow.
  4. * Detailed stylings are all yours, get yourself dirty.
  5. */
  6. .slick--skin--d3-back .slick-initialized {
  7. overflow: hidden;
  8. padding-bottom: 30px;
  9. padding-top: 30px;
  10. }
  11. .slick--skin--d3-back .slick-initialized .slick-list {
  12. margin: 0 -120px;
  13. }
  14. @media (min-width: 65em) {
  15. .slick--skin--d3-back .slick-initialized .slick-list {
  16. margin: 0 -210px;
  17. }
  18. }
  19. .slick--skin--d3-back .slick-initialized .slide {
  20. overflow: hidden;
  21. }
  22. .slick--skin--d3-back .slick-initialized .slide .slide__content {
  23. -webkit-perspective: 1500px;
  24. -ms-perspective: 1500px;
  25. perspective: 1500px;
  26. -webkit-transform-style: preserve-3d;
  27. -ms-transform-style: preserve-3d;
  28. transform-style: preserve-3d;
  29. }
  30. .slick--skin--d3-back .slick-initialized .slide .slide__media {
  31. margin: 30px 0;
  32. outline: 1px solid transparent;
  33. -ms-transform: rotateY(25deg);
  34. -webkit-transform: rotateY(25deg);
  35. transform: rotateY(25deg);
  36. -webkit-backface-visibility: hidden;
  37. backface-visibility: hidden;
  38. -webkit-transition: opacity 1s ease 0s, -webkit-transform 1s;
  39. transition: opacity 1s ease 0s, transform 1s;
  40. -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  41. transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  42. }
  43. .slick--skin--d3-back .slick-initialized .slide .slide__caption {
  44. bottom: 0;
  45. padding: 0;
  46. position: relative;
  47. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  48. opacity: 0;
  49. visibility: hidden;
  50. -webkit-transition: all 0.4s ease-in-out 0s;
  51. transition: all 0.4s ease-in-out 0s;
  52. -webkit-backface-visibility: hidden;
  53. -webkit-transform: scale(0);
  54. -ms-transform: scale(0);
  55. transform: scale(0);
  56. }
  57. .slick--skin--d3-back .slick-initialized .slick-current ~ .slide .slide__media {
  58. -ms-transform: rotateY(-25deg);
  59. -webkit-transform: rotateY(-25deg);
  60. transform: rotateY(-25deg);
  61. }
  62. .slick--skin--d3-back .slick-initialized .slick-current.slide .slide__media {
  63. -ms-transform: rotateY(0deg);
  64. -webkit-transform: rotateY(0deg);
  65. transform: rotateY(0deg);
  66. }
  67. .slick--skin--d3-back .slick-initialized .slick-current.slide .slide__caption {
  68. bottom: auto;
  69. position: relative;
  70. filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  71. opacity: 1;
  72. visibility: visible;
  73. -webkit-transform: scale(1);
  74. -ms-transform: scale(1);
  75. transform: scale(1);
  76. }
  77. .slick--skin--d3-back .slick-initialized .slick__arrow {
  78. left: 50%;
  79. margin-left: -25%;
  80. width: 50%;
  81. }
  82. .slick--skin--d3-back .slick-initialized .slick-dots {
  83. bottom: 0;
  84. }