_services.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /* Services box style 01 */
  2. .services-box-style-01 {
  3. .icon-box {
  4. opacity: 0;
  5. margin-top: 15px;
  6. }
  7. .box-image {
  8. overflow: hidden;
  9. img {
  10. width: 100%;
  11. }
  12. }
  13. .box-overlay {
  14. z-index: 1;
  15. @include prefix(transition, all 500ms cubic-bezier(0.61, 1, 0.88, 1), webkit);
  16. }
  17. &:hover {
  18. img{
  19. @include prefix(transform, scale(1.1), webkit);
  20. @include prefix(transition, all 500ms cubic-bezier(61, 10, 88, 10), webkit);
  21. }
  22. .icon-box {
  23. opacity: 1;
  24. margin-top: 0;
  25. }
  26. .box-overlay {
  27. opacity: 0.8;
  28. }
  29. }
  30. }
  31. /* Services box style 02 */
  32. .services-box-style-02 {
  33. .box-overlay {
  34. z-index: 1;
  35. @include prefix(transition, all 450ms ease-in-out, webkit);
  36. }
  37. &.hover-box {
  38. &:hover {
  39. .box-overlay {
  40. opacity: 1;
  41. }
  42. }
  43. }
  44. }
  45. /* Services box style 05 */
  46. .services-box-style-05 {
  47. img {
  48. @include prefix(transition, 0.3s, webkit);
  49. width: 100%;
  50. }
  51. figure {
  52. position: relative;
  53. figcaption {
  54. position: absolute;
  55. top: 0;
  56. a {
  57. display: inline-block;
  58. color: var(--dark-gray);
  59. }
  60. .content-box {
  61. margin-bottom: -80px;
  62. }
  63. }
  64. &:hover {
  65. figcaption {
  66. .btn-link {
  67. color: var(--white);
  68. border-color: var(--white);
  69. }
  70. .box-title {
  71. color: var(--white);
  72. }
  73. .box-overlay {
  74. opacity: 1;
  75. visibility: visible;
  76. }
  77. }
  78. }
  79. }
  80. }
  81. /* Services box style 06 */
  82. .services-box-style-06 {
  83. .services-text {
  84. &:after{
  85. content: "\f309";
  86. display: inline-block;
  87. font-family: bootstrap-icons;
  88. vertical-align: middle;
  89. margin: -2px 2px 0;
  90. font-size: 22px;
  91. color: var(--medium-gray);
  92. opacity: .7;
  93. }
  94. }
  95. &:hover {
  96. img{
  97. @include prefix(transform, scale(1.1), webkit);
  98. @include prefix(transition, all 500ms cubic-bezier(61, 10, 88, 10), webkit);
  99. }
  100. }
  101. }
  102. /* Services box style 07 */
  103. .services-box-style-07 {
  104. .btn-hover {
  105. position: absolute;
  106. left: 0;
  107. top: 100%;
  108. width: 100%;
  109. height: 100%;
  110. @include prefix(transition, all 0.3s linear, webkit);
  111. }
  112. .text-down {
  113. @include prefix(transition, all 0.3s linear, webkit);
  114. }
  115. &:hover {
  116. .btn-hover {
  117. top: 0;
  118. }
  119. .text-down {
  120. @include prefix(transform, translateY(20px), webkit);
  121. }
  122. }
  123. }