_testimonials.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. .testimonials-one {
  2. background-color: #fff9ff;
  3. padding-top: 110px;
  4. padding-bottom: 160px;
  5. .container {
  6. position: relative;
  7. }
  8. &__carousel {
  9. position: relative;
  10. padding: 2px;
  11. border-radius: 7px;
  12. &:before {
  13. content: '';
  14. border-radius: 7px;
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. right: 0;
  19. bottom: 0;
  20. background-image: linear-gradient(0deg, #ff4eb5 0%, #ffa065 100%);
  21. }
  22. &-outer {
  23. position: relative;
  24. width: 100%;
  25. max-width: 890px;
  26. margin-left: auto;
  27. margin-right: auto;
  28. box-shadow: 0px 20px 60px 0px rgba(244, 151, 190, 0.3);
  29. }
  30. .owl-item img {
  31. width: auto;
  32. border-radius: 50%;
  33. margin-left: auto;
  34. margin-right: auto;
  35. margin-top: 30px;
  36. }
  37. }
  38. &__single {
  39. padding-top: 71px;
  40. padding-bottom: 71px;
  41. background-color: #fff;
  42. text-align: center;
  43. border-radius: 7px;
  44. h3,
  45. p,
  46. span {
  47. display: block;
  48. margin: 0;
  49. }
  50. p {
  51. color: #74727a;
  52. font-size: 24px;
  53. line-height: 46px;
  54. font-weight: 300;
  55. margin-bottom: 35px;
  56. }
  57. h3 {
  58. color: $thm-black;
  59. font-weight: 500;
  60. font-size: 24px;
  61. line-height: 1em;
  62. margin-bottom: 10px;
  63. }
  64. span {
  65. font-size: 14px;
  66. font-weight: 500;
  67. line-height: 1em;
  68. letter-spacing: .2em;
  69. color: #ff4eb5;
  70. text-transform: uppercase;
  71. }
  72. }
  73. &__inner {}
  74. }
  75. [class*=testimonials-one__nav-] {
  76. display: flex;
  77. width: 61px;
  78. height: 61px;
  79. align-items: center;
  80. justify-content: center;
  81. text-align: center;
  82. background-color: #fff;
  83. color: $thm-black;
  84. border-radius: 50%;
  85. position: absolute;
  86. top: 50%;
  87. transform: translateY(-50%);
  88. &:before {
  89. content: '';
  90. position: absolute;
  91. top: 0;
  92. left: 0;
  93. right: 0;
  94. bottom: 0;
  95. border-radius: 50%;
  96. background-image: linear-gradient(68deg, rgb(255, 78, 181) 0%, rgb(255, 160, 101) 100%);
  97. opacity: 0;
  98. transition: all .4s ease;
  99. }
  100. i {
  101. font-size: 22px;
  102. position: relative;
  103. }
  104. &:hover {
  105. color: #fff;
  106. box-shadow: 0px 20px 60px 0px rgba(244, 151, 190, 0.8);
  107. &:before {
  108. opacity: 1;
  109. }
  110. }
  111. }
  112. .testimonials-one__nav-left {
  113. right: calc(100% + 90px);
  114. }
  115. .testimonials-one__nav-right {
  116. left: calc(100% + 90px);
  117. }
  118. .testimonials-one__carousel__shape-one,
  119. .testimonials-one__carousel__shape-two {
  120. width: 100%;
  121. height: 100%;
  122. background-color: #fff9ff;
  123. position: absolute;
  124. transform-origin: bottom center;
  125. transform: scaleX(.90);
  126. bottom: -20px;
  127. opacity: .2;
  128. border-radius: 7px;
  129. background-image: linear-gradient(68deg, rgb(255, 78, 181) 0%, rgb(255, 160, 101) 100%);
  130. &:after {
  131. content: '';
  132. position: absolute;
  133. top: 2px;
  134. bottom: 2px;
  135. left: 2px;
  136. right: 2px;
  137. border-radius: 7px;
  138. background-color: #fff;
  139. }
  140. }
  141. .testimonials-one__carousel__shape-two {
  142. transform: scaleX(.85);
  143. bottom: -40px;
  144. }