features.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. .sec {
  2. &.features {
  3. .swiper-slide {
  4. height: auto;
  5. }
  6. .swiper-pagination-fraction, .swiper-pagination-custom, .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal {
  7. bottom: -20px;
  8. }
  9. .feature-item {
  10. display: flex;
  11. margin-bottom: 2rem;
  12. text-decoration: none;
  13. color: @baseFontcolor;
  14. .feature-value {
  15. .counter {
  16. font-size: @font-size-base * 3;
  17. font-weight: 700;
  18. color: var(--primary);
  19. }
  20. }
  21. .feature-icon {
  22. position: relative;
  23. font-size: @font-size-base * 1.25;
  24. color: var(--white);
  25. &:before {
  26. content: '';
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. width: 100%;
  31. height: 100%;
  32. background-color: var(--primary);
  33. border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  34. }
  35. [class*=" fa-"], [class^="fa-"] {
  36. z-index: 1;
  37. }
  38. }
  39. .feature-icon, .feature-graphic {
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. width: 3rem;
  44. height: 3rem;
  45. }
  46. .feature-content {
  47. flex: 1;
  48. display: flex;
  49. flex-direction: column;
  50. padding-left: 1rem;
  51. .feature-tlds {
  52. .tld-item {
  53. display: flex;
  54. align-items: center;
  55. .tld, .dots {
  56. font-size: @font-size-base * 2.5;
  57. font-weight: 900;
  58. }
  59. .dots {
  60. color: var(--secondary);
  61. }
  62. .tld-graphics {
  63. display: flex;
  64. align-items: center;
  65. }
  66. }
  67. .tld-footer {
  68. display: flex;
  69. align-items: center;
  70. margin-top: 1rem;
  71. .tld-price {
  72. margin-right: 0.5rem;
  73. .register-price {
  74. font-size: @font-size-base * 1.25;
  75. font-weight: 500;
  76. }
  77. .renewal-price {
  78. opacity: 0.7;
  79. }
  80. }
  81. .tld-action {
  82. margin-left: auto;
  83. }
  84. }
  85. }
  86. .feature-title {
  87. font-size: @font-size-base * 1.25;
  88. font-weight: 500;
  89. margin-bottom: 0.5rem;
  90. line-height: 1.2;
  91. }
  92. .feature-desc {
  93. p:last-child {
  94. margin-bottom: 0;
  95. }
  96. }
  97. }
  98. &.tlds-inline {
  99. .feature-content {
  100. .feature-tlds {
  101. display: flex;
  102. align-items: center;
  103. .tld-item {
  104. .tld, .dots {
  105. font-size: @font-size-base * 1.5;
  106. font-weight: 900;
  107. }
  108. }
  109. .tld-footer {
  110. margin-top: 0;
  111. margin-left: auto;
  112. text-align: right;
  113. .tld-price {
  114. margin-right: 0.75rem;
  115. .register-price {
  116. font-size: @font-size-base;
  117. }
  118. .renewal-price {
  119. font-size: 80%;
  120. }
  121. }
  122. .tld-action {
  123. margin-left: auto;
  124. .btn {
  125. padding: 0.5rem 1rem;
  126. }
  127. }
  128. }
  129. }
  130. }
  131. }
  132. &.has-slider {
  133. margin-top: 2rem;
  134. }
  135. &.top {
  136. flex-direction: column;
  137. .feature-icon, .feature-graphic {
  138. margin-bottom: 1rem;
  139. }
  140. .feature-content {
  141. padding-left: 0;
  142. }
  143. }
  144. &.lg {
  145. .feature-icon {
  146. font-size: @font-size-base * 2;
  147. }
  148. .feature-icon, .feature-graphic {
  149. width: 4rem;
  150. height: 4rem;
  151. }
  152. }
  153. &.sm {
  154. .feature-icon {
  155. font-size: @font-size-base * 1;
  156. }
  157. .feature-icon, .feature-graphic {
  158. width: 2rem;
  159. height: 2rem;
  160. }
  161. }
  162. &.auto {
  163. .feature-icon, .feature-graphic {
  164. width: auto;
  165. height: auto;
  166. }
  167. }
  168. &.square {
  169. .feature-icon {
  170. &:before {
  171. border-radius: @border-radius;
  172. }
  173. }
  174. }
  175. &.circle {
  176. .feature-icon {
  177. &:before {
  178. border-radius: 50%!important;
  179. }
  180. }
  181. }
  182. &.centered {
  183. align-items: center;
  184. text-align: center;
  185. .feature-graphic {
  186. align-items: center;
  187. justify-content: center;
  188. }
  189. .feature-tlds {
  190. .tld-item {
  191. justify-content: center;
  192. margin-bottom: 0.5rem;
  193. }
  194. .tld-footer {
  195. flex-direction: column;
  196. .tld-price {
  197. margin-right: 0;
  198. margin-bottom: 1rem;
  199. }
  200. .tld-action {
  201. width: 100%;
  202. margin-left: 0;
  203. .btn {
  204. display: block;
  205. width: 100%;
  206. }
  207. }
  208. }
  209. }
  210. }
  211. &.box-shadow {
  212. box-shadow: @box-shadow;
  213. }
  214. .feature-action {
  215. margin-top: auto;
  216. .btn-link {
  217. display: inline-flex;
  218. padding: 0;
  219. margin-top: 1rem;
  220. }
  221. }
  222. &.has-link {
  223. cursor: pointer;
  224. }
  225. }
  226. &.bg-primary, &.dark, &.inverse {
  227. .feature-item {
  228. color: var(--white);
  229. .feature-value {
  230. .counter {
  231. color: var(--white);
  232. }
  233. }
  234. .feature-icon {
  235. color: var(--primary);
  236. &:before {
  237. background-color: var(--white);
  238. }
  239. }
  240. .btn-link {
  241. color: var(--white);
  242. }
  243. }
  244. }
  245. }
  246. }
  247. body.dark-mode {
  248. .sec {
  249. &.features {
  250. .feature-item {
  251. color: var(--white);
  252. }
  253. }
  254. }
  255. }