Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

224 rindas
4.0 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .quick-facts {
  4. position: relative;
  5. margin: var(--section-margin) 0;
  6. .container {
  7. position: relative;
  8. > h2, h3, h4 {
  9. position: absolute;
  10. left: 0;
  11. right: 0;
  12. top: 0;
  13. text-align: center;
  14. text-transform: uppercase;
  15. font-size: var(--font-size-xs);
  16. line-height: 1;
  17. z-index: 1;
  18. font-weight: 400;
  19. font-family: "Source Sans Pro", sans-serif;
  20. margin-top: 30px;
  21. @media(max-width: 567px) {
  22. margin-top: 20px;
  23. }
  24. }
  25. }
  26. .slider {
  27. position: relative;
  28. display: block;
  29. text-align: center;
  30. background-color: var(--theme-color-primary-dimmed-04);
  31. overflow: hidden;
  32. @media(max-width: 767px) {
  33. margin: 0 -20px;
  34. }
  35. &:before {
  36. content: "";
  37. position: absolute;
  38. width: 374px;
  39. height: 374px;
  40. background-color: #9AD7A3;
  41. top: 50%;
  42. left: 50%;
  43. border-radius: 50%;
  44. transform: translate(-50%, -50%);
  45. @media(max-width: 567px) {
  46. width: 110vw;
  47. height: 110vw;
  48. }
  49. }
  50. }
  51. .slide {
  52. position: relative;
  53. min-height: 400px;
  54. display: flex;
  55. align-items: center;
  56. justify-content: center;
  57. @media(max-width: 567px) {
  58. min-height: 100vw;
  59. }
  60. }
  61. p {
  62. max-width: 100%;
  63. }
  64. .counter {
  65. display: inline-block;
  66. font-size: 180px;
  67. line-height: 1;
  68. font-family: "Korb", sans-serif;
  69. font-weight: 700;
  70. text-align: center;
  71. max-width: 100%;
  72. @media(max-width: 999px) {
  73. font-size: calc(10vw + 50px);
  74. }
  75. }
  76. .fact-label {
  77. display: block;
  78. padding: 10px 20px 0;
  79. line-height: 1.4;
  80. @media(min-width: 768px) {
  81. padding-left: 60px;
  82. padding-right: 60px;
  83. }
  84. }
  85. .like-h4 {
  86. max-width: 60%;
  87. text-align: center;
  88. margin: 40px auto;
  89. @media(max-width: 999px) {
  90. max-width: 80%;
  91. padding: 0 20px;
  92. }
  93. @media(max-width: 767px) {
  94. max-width: 100%;
  95. padding: 0 20px;
  96. }
  97. }
  98. button {
  99. border: 0;
  100. background-color: transparent;
  101. padding: 0;
  102. cursor: pointer;
  103. }
  104. .slider-tabs, .tabs {
  105. position: absolute;
  106. bottom: 0;
  107. left: 50%;
  108. right: 0;
  109. padding: 0;
  110. list-style: none;
  111. transform: translate(-50%, 0);
  112. text-align: center;
  113. font-size: 0;
  114. line-height: 0;
  115. margin: 20px 0;
  116. @media(max-width: 567px) {
  117. margin-bottom: 12px;
  118. }
  119. li {
  120. display: inline-block;
  121. vertical-align: top;
  122. &.active button:before {
  123. background-color: var(--theme-color-primary);
  124. box-shadow: 0 0 0 2px var(--theme-color-primary);
  125. }
  126. }
  127. .btn {
  128. --button-min-size: 24px;
  129. font-size: 0;
  130. line-height: 0;
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. &::before {
  135. content: "";
  136. position: relative;
  137. display: block;
  138. width: 10px;
  139. height: 10px;
  140. border: 2px solid var(--theme-color-primary);
  141. border-radius: 5px;
  142. transition: 0.2s ease;
  143. }
  144. &::after {
  145. display: none;
  146. }
  147. &:hover {
  148. background-color: transparent;
  149. &::before {
  150. background-color: var(--theme-color-primary);
  151. }
  152. }
  153. }
  154. }
  155. .prev, .next {
  156. position: absolute;
  157. top: 50%;
  158. width: 50px;
  159. height: 50px;
  160. text-align: center;
  161. line-height: 50px;
  162. right: 0;
  163. margin: -25px 10px;
  164. color: var(--theme-color-primary);
  165. @media(max-width: 767px) {
  166. display: none;
  167. }
  168. &:before {
  169. @include icon-small-arrow-right-simple;
  170. font-family: "Icons", sans-serif;
  171. font-size: 30px;
  172. }
  173. }
  174. .prev {
  175. left: 0;
  176. transform: rotate(180deg);
  177. }
  178. .count {
  179. position: absolute;
  180. bottom: 0;
  181. left: 0;
  182. right: 0;
  183. text-align: center;
  184. font-size: 18px;
  185. padding-bottom: 20px;
  186. font-family: var(--font-korb);
  187. visibility: hidden;
  188. span {
  189. margin: 0 5px;
  190. }
  191. }
  192. }