_testimonials.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. /* Testimonial style 01 */
  2. .testimonials-style-01 {
  3. .testimonial-arrow {
  4. &:after {
  5. content: '';
  6. top: 100%;
  7. left: 50px;
  8. height: 0;
  9. width: 0;
  10. z-index: 9;
  11. margin-left: -14px;
  12. position: absolute;
  13. pointer-events: none;
  14. border: solid transparent;
  15. border-width: 14px;
  16. border-top-color: var(--white);
  17. }
  18. }
  19. .author-detail {
  20. img {
  21. width: 60px;
  22. height: 60px;
  23. }
  24. }
  25. }
  26. /* Testimonial style 04 */
  27. .testimonials-style-04 {
  28. &.swiper-horizontal-3d {
  29. &.swiper {
  30. margin-left: auto;
  31. margin-right: auto;
  32. position: relative;
  33. overflow: hidden;
  34. z-index: 1;
  35. }
  36. .swiper-wrapper {
  37. position: relative;
  38. width: 100%;
  39. height: 100%;
  40. z-index: 1;
  41. display: flex;
  42. transition-property: transform;
  43. transition-property: transform, -webkit-transform;
  44. box-sizing: content-box;
  45. }
  46. &.swiper-pagination-bottom {
  47. .swiper-wrapper {
  48. margin-bottom: 0;
  49. }
  50. }
  51. .swiper-slide {
  52. filter: grayscale(100%);
  53. opacity: 0;
  54. -webkit-flex-shrink: 0;
  55. -ms-flex: 0 0 auto;
  56. -ms-flex-negative: 0;
  57. flex-shrink: 0;
  58. width: 100%;
  59. height: 100%;
  60. position: relative;
  61. &.swiper-slide-prev, &.swiper-slide-next {
  62. opacity: .7
  63. }
  64. &.swiper-slide-active {
  65. opacity: 1;
  66. filter: grayscale(0);
  67. box-shadow: 0 0 60px rgba(0,0,0,.17);
  68. .slider-image {
  69. &:hover {
  70. .preview-icon {
  71. opacity: 1;
  72. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  73. z-index: 1;
  74. }
  75. }
  76. }
  77. }
  78. img {
  79. opacity: 0;
  80. }
  81. }
  82. &.swiper {
  83. width: 100%;
  84. padding-bottom: 60px;
  85. }
  86. &.swiper-3d {
  87. .swiper-slide-shadow-left, .swiper-slide-shadow-right {
  88. background-image: none;
  89. }
  90. }
  91. .swiper-slide-active {
  92. img {
  93. opacity: 1;
  94. }
  95. }
  96. }
  97. }
  98. /* Testimonial style 05 */
  99. .testimonials-style-05 {
  100. .testimonials-bubble {
  101. position: relative;
  102. border: 1px solid;
  103. @include prefix(transition, 0.2s, webkit);
  104. &:after, &:before {
  105. top: 100%;
  106. left: 50px;
  107. border: solid transparent;
  108. content: " ";
  109. height: 0;
  110. width: 0;
  111. position: absolute;
  112. pointer-events: none;
  113. }
  114. &:after {
  115. border-color: rgba(255, 255, 255, 0);
  116. border-top-color: var(--white);
  117. border-width: 15px 15px 0 0;
  118. margin-left: 1px;
  119. }
  120. &:before {
  121. border-color: rgba(237, 237, 237, 0);
  122. border-top-color: var(--extra-medium-gray);
  123. border-width: 18px 18px 0 0;
  124. }
  125. }
  126. }
  127. /* Testimonial style 12 */
  128. .testimonials-style-12 {
  129. .swiper-button-next-nav {
  130. right: -8px;
  131. &:hover{
  132. opacity: 1;
  133. }
  134. }
  135. .swiper-button-previous-nav {
  136. left: -8px;
  137. &:hover{
  138. opacity: 1;
  139. }
  140. }
  141. }
  142. /* Testimonial style 13 */
  143. .testimonials-style-13 {
  144. .swiper-slide {
  145. opacity: 0.1;
  146. &.swiper-slide-active {
  147. opacity: 1;
  148. }
  149. &.swiper-slide-next {
  150. opacity: 0.4;
  151. }
  152. }
  153. }