No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_buttons.scss 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /*--------------------------------------------------------------
  2. 10. Button
  3. ----------------------------------------------------------------*/
  4. .cs_btn.cs_style_1 {
  5. display: inline-block;
  6. background-color: $primary;
  7. color: $white;
  8. border: 2px solid $primary;
  9. padding: 13px 32px;
  10. text-align: center;
  11. &:hover {
  12. background-color: transparent;
  13. color: $primary;
  14. }
  15. @media (max-width: 991px) {
  16. padding: 10px 25px;
  17. }
  18. &.cs_accent_btn {
  19. background-color: $accent;
  20. border-color: $accent;
  21. &:hover {
  22. background-color: transparent;
  23. color: $accent;
  24. }
  25. }
  26. &.cs_type_1 {
  27. background-color: transparent;
  28. color: $primary;
  29. &:hover {
  30. background-color: $primary;
  31. color: #fff;
  32. }
  33. }
  34. }
  35. /*---------------------------------
  36. Single product page btn styling
  37. -----------------------------------*/
  38. .cs_heart_btn {
  39. display: inline-flex;
  40. align-items: center;
  41. justify-content: center;
  42. width: 50px;
  43. height: 50px;
  44. border: 1px solid $primary;
  45. background-color: transparent;
  46. font-size: 18px;
  47. color: $primary;
  48. @media (max-width: 991px) {
  49. width: 44px;
  50. height: 44px;
  51. }
  52. &:hover {
  53. color: #fff;
  54. border-color: $accent;
  55. background-color: $accent;
  56. }
  57. }
  58. .cs_action_btns {
  59. display: flex;
  60. align-items: center;
  61. flex-wrap: wrap;
  62. gap: 20px;
  63. @media (max-width: 991px) {
  64. gap: 10px;
  65. }
  66. }
  67. /*---------------------------------
  68. Scroll To Top btn styling
  69. -----------------------------------*/
  70. .cs_scrollup_btn {
  71. width: 45px;
  72. height: 45px;
  73. background-color: $accent;
  74. color: $white;
  75. border-radius: 50%;
  76. position: fixed;
  77. bottom: 20px;
  78. right: 20px;
  79. transform: scale(0);
  80. display: flex;
  81. justify-content: center;
  82. align-items: center;
  83. transition: all 0.4s ease;
  84. z-index: 99;
  85. &::after {
  86. content: '';
  87. width: 100%;
  88. height: 100%;
  89. background-color: $white;
  90. border-radius: 50%;
  91. position: absolute;
  92. left: 0;
  93. top: 0;
  94. transform: scale(0.6);
  95. animation: scale_full 3s cubic-bezier(0.28, 1.84, 0.55, -0.11) infinite;
  96. }
  97. cursor: pointer;
  98. &.cs_scrollup_show {
  99. transform: scale(1);
  100. }
  101. i {
  102. position: relative;
  103. z-index: 2;
  104. color: $primary;
  105. }
  106. }
  107. @keyframes scale_full {
  108. 50% {
  109. transform: scale(1);
  110. // border: 1px solid $accent;
  111. }
  112. }