25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

210 lines
3.7 KiB

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