_clients.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /* Clients style 01 */
  2. .clients-style-01 {
  3. .client-image {
  4. &:hover {
  5. > img {
  6. @include prefix(transform, scale(1.1), webkit);
  7. -webkit-filter: blur(3px);
  8. filter: blur(3px);
  9. }
  10. }
  11. }
  12. }
  13. /* Clients style 02 */
  14. .clients-style-02 {
  15. .swiper-slide {
  16. @include prefix(transition, all 350ms ease-in-out, webkit);
  17. &:hover {
  18. -webkit-filter: grayscale(1);
  19. filter: grayscale(1);
  20. }
  21. }
  22. .swiper-button-prev {
  23. left: -110px;
  24. }
  25. .swiper-button-next {
  26. right: -110px;
  27. }
  28. }
  29. /* Clients style 03 */
  30. .clients-style-03 {
  31. .client-box {
  32. @include prefix(transition, all 350ms cubic-bezier(0.12, 0, 0.39, 0), webkit);
  33. will-change: transform;
  34. &:hover {
  35. @include prefix(transform, scale(1.1), webkit);
  36. }
  37. }
  38. }
  39. /* Clients style 04 */
  40. .clients-style-04 {
  41. .client-box {
  42. &:hover {
  43. opacity: 0.5;
  44. }
  45. }
  46. }
  47. /* Clients style 05 */
  48. .clients-style-05 {
  49. .client-box {
  50. position: relative;
  51. @include prefix(transition, 0.3s cubic-bezier(0.12, 0, 0.39, 0), webkit);
  52. img {
  53. z-index: 2;
  54. position: relative;
  55. }
  56. &:hover {
  57. opacity: 0.5;
  58. @include prefix(transform, translateY(-8px), webkit);
  59. }
  60. }
  61. }
  62. /* Clients style 06 */
  63. .clients-style-06 {
  64. .client-box {
  65. @include prefix(transition, all 0.3s cubic-bezier(0.12, 0, 0.39, 0), webkit);
  66. img {
  67. max-width: inherit;
  68. }
  69. }
  70. &:hover {
  71. .client-box {
  72. opacity: .4;
  73. &:hover {
  74. opacity: 1;
  75. }
  76. }
  77. }
  78. }
  79. /* Clients style 07 */
  80. .clients-style-07 {
  81. .client-box {
  82. .client-info {
  83. position: absolute;
  84. top: 0;
  85. right: 0;
  86. width: 100%;
  87. height: 100%;
  88. .client-content {
  89. position: absolute;
  90. bottom: 0;
  91. right: 0;
  92. @include prefix(transition, all 0.5s cubic-bezier(0.77, 0, 0.175, 1), webkit);
  93. overflow: hidden;
  94. .client-link {
  95. position: absolute;
  96. opacity: 0;
  97. width: 100%;
  98. height: 100%;
  99. z-index: 2;
  100. left: 0;
  101. right: 0;
  102. }
  103. }
  104. &:hover {
  105. .client-content {
  106. margin: 0;
  107. width: 100% !important;
  108. height: 100% !important;
  109. border-radius: 0;
  110. .client-icon {
  111. opacity: 0;
  112. visibility: hidden;
  113. }
  114. .client-link {
  115. opacity: 1;
  116. @include prefix(transition-delay, 0.5s, webkit);
  117. }
  118. .box-overlay {
  119. opacity: 1;
  120. visibility: visible;
  121. }
  122. }
  123. }
  124. }
  125. }
  126. }
  127. /* Clients style 08 */
  128. .clients-style-08 {
  129. .client-box {
  130. @include prefix(transition, all 0.3s ease, webkit);
  131. opacity: .5;
  132. &:hover {
  133. opacity: 1;
  134. }
  135. }
  136. }