Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

_buttons.scss 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. /****************************
  2. button style
  3. ****************************/
  4. // theme btn Normal
  5. .btn {
  6. font-family: $raleway;
  7. font-size: 14px;
  8. font-weight: fontweight(medium);
  9. line-height: 1;
  10. text-transform: uppercase;
  11. @include border-radius(0px);
  12. &:focus {
  13. outline: 0;
  14. box-shadow: none;
  15. }
  16. }
  17. .btn-secondary {
  18. color: $color-white;
  19. background: $theme-color;
  20. border-color: $theme-color;
  21. &:hover {
  22. color: $color-white;
  23. background: $color-dark;
  24. border-color: $color-dark;
  25. }
  26. &:focus {
  27. box-shadow: none !important;
  28. outline: 0;
  29. }
  30. }
  31. .btn-outline-primary {
  32. color: $color-dark;
  33. border-color: $color-dark;
  34. &:hover {
  35. color: $color-white;
  36. background: $theme-color;
  37. border-color: $theme-color;
  38. }
  39. &:focus {
  40. box-shadow: none !important;
  41. outline: 0;
  42. }
  43. }
  44. .btn-primary {
  45. color: $color-white;
  46. background: $theme-color;
  47. border-color: $theme-color;
  48. &:hover {
  49. background: $color-dark;
  50. color: $color-white;
  51. border-color: $color-dark;
  52. }
  53. &:focus {
  54. box-shadow: none !important;
  55. outline: 0;
  56. }
  57. }
  58. // theme btn dark
  59. .btn-dark {
  60. color: $color-white;
  61. background: $color-dark;
  62. &:hover {
  63. color: $color-white;
  64. border-color: $theme-color;
  65. background: $theme-color;
  66. }
  67. &:focus {
  68. box-shadow: none !important;
  69. outline: 0;
  70. }
  71. }
  72. // btn md
  73. .btn--sm {
  74. padding: 5px 20px;
  75. }
  76. .btn--md {
  77. padding: 10px 25px;
  78. }
  79. // btn lg
  80. .btn--lg {
  81. padding: 15px 30px;
  82. }
  83. // btn xl
  84. .btn--xl {
  85. padding: 18px 35px;
  86. }
  87. /* border radius in rounded class*/
  88. .rounded {
  89. @include border-radius(3rem !important);
  90. }
  91. .btn-rounded {
  92. @include border-radius(0 5px 5px 0);
  93. }
  94. /* custom button styles */
  95. .search-btn {
  96. position: absolute;
  97. top: 0;
  98. right: 0;
  99. width: 65px;
  100. height: 100%;
  101. color: $color-white;
  102. font-size: 21px;
  103. text-align: center;
  104. &.position-left {
  105. right: auto;
  106. left: 0;
  107. }
  108. @include transition(0.3s);
  109. &.theme-bg {
  110. &:hover {
  111. background-color: $color-dark !important;
  112. color: $color-white;
  113. }
  114. }
  115. &.bg-dark {
  116. &:hover {
  117. background-color: $color-dark2 !important;
  118. color: $color-white;
  119. }
  120. }
  121. &.bg-white {
  122. width: 45px;
  123. font-size: 28px;
  124. background-color: transparent !important;
  125. padding: 0;
  126. color: $color-dark !important;
  127. &:hover {
  128. color: $color-dark !important;
  129. }
  130. }
  131. }
  132. .news-letter-btn {
  133. position: absolute;
  134. top: 0;
  135. right: 0;
  136. font-weight: fontweight(regular);
  137. font-size: 14px;
  138. color: $color-white;
  139. padding: 0 20px;
  140. line-height: 47px;
  141. height: 47px;
  142. @include border-radius(0 30px 30px 0);
  143. }
  144. // theme1
  145. .theme1 {
  146. .news-letter-btn {
  147. background: $theme-color;
  148. border: 0px solid $theme-color;
  149. &:hover {
  150. background-color: $color-dark;
  151. color: $color-white;
  152. border-color: $color-dark;
  153. }
  154. }
  155. }
  156. .banner-btn {
  157. top: 50%;
  158. left: 50%;
  159. @include transform(translate(-50%, -50%));
  160. }
  161. // shop-now-btn
  162. .shop-now-btn {
  163. font-size: 14px;
  164. font-weight: fontweight(medium);
  165. line-height: 1;
  166. padding: 10px 30px;
  167. color: $color-white;
  168. background: $theme-color;
  169. @include border-radius(0px);
  170. &:hover {
  171. color: $color-white;
  172. background: $color-dark;
  173. }
  174. }
  175. .blog-search-btn {
  176. position: absolute;
  177. top: 0;
  178. right: 0;
  179. font-weight: fontweight(regular);
  180. font-size: 18px;
  181. color: $color-white;
  182. padding: 0 20px;
  183. line-height: 47px;
  184. height: 100%;
  185. @include border-radius(0 30px 30px 0);
  186. }
  187. .theme1 {
  188. .blog-search-btn {
  189. background: $theme-color;
  190. border: 1px solid $theme-color;
  191. &:hover {
  192. background-color: $color-dark;
  193. color: $color-white;
  194. border-color: $color-dark;
  195. }
  196. }
  197. }
  198. /****************************
  199. button style END
  200. ****************************/