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.
 
 
 
 

197 lines
4.1 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .superlist-entry {
  4. position: relative;
  5. display: flex;
  6. justify-content: space-between;
  7. align-items: center;
  8. gap: 15px;
  9. padding: 0 0 20px 0;
  10. &:before {
  11. content: '';
  12. display: block;
  13. position: absolute;
  14. left: 29px;
  15. top: 0;
  16. width: 2px;
  17. height: 100%;
  18. background: var(--theme-color-primary);
  19. @media (min-width: 768px) {
  20. left: 59px;
  21. }
  22. }
  23. &:first-child {
  24. &:before {
  25. top: 50%;
  26. height: 50%;
  27. }
  28. }
  29. &:last-child {
  30. &:before {
  31. height: 50%;
  32. }
  33. }
  34. &:only-child {
  35. &:before {
  36. display: none;
  37. }
  38. }
  39. @media (max-width: 399px) {
  40. &:before {
  41. display: none;
  42. }
  43. }
  44. .graphic {
  45. width: 60px;
  46. height: 60px;
  47. flex-shrink: 0;
  48. background: var(--theme-color-primary);
  49. border-radius: 50%;
  50. @media (min-width: 768px) {
  51. width: 120px;
  52. height: 120px;
  53. }
  54. .icon-box {
  55. position: relative;
  56. width: 100%;
  57. height: auto;
  58. font-family: "Pictograms", sans-serif;
  59. font-size: 35px;
  60. line-height: 60px;
  61. text-align: center;
  62. color: var(--theme-color-white);
  63. @media (min-width: 768px) {
  64. line-height: 120px;
  65. font-size: 70px;
  66. }
  67. }
  68. @media (max-width: 399px) {
  69. display: none;
  70. }
  71. }
  72. .textbox {
  73. flex: 1;
  74. padding: 15px;
  75. background: var(--theme-color-white);
  76. border-radius: var(--border-radius-sm);
  77. @media (min-width: 768px) {
  78. padding: 30px;
  79. border-radius: var(--border-radius-md);
  80. }
  81. h3, .like-h3 {
  82. margin-top: 0;
  83. margin-bottom: 5px;
  84. font-size: 20px;
  85. @media (min-width: 768px) {
  86. font-size: 28px;
  87. }
  88. }
  89. p {
  90. font-size: 16px;
  91. @media (min-width: 768px) {
  92. font-size: 18px;
  93. }
  94. }
  95. }
  96. &.inverted {
  97. .textbox {
  98. background: var(--theme-color-primary);
  99. color: var(--theme-color-white);
  100. .btn {
  101. --button-bg-color: var(--theme-color-white);
  102. --button-text-color: var(--theme-color-primary);
  103. --button-hover-shadow-opacity: 0.35;
  104. }
  105. }
  106. }
  107. }
  108. .superlist.centered {
  109. .superlist-entry {
  110. display: flex;
  111. justify-content: flex-end;
  112. gap: 0;
  113. min-height: 120px;
  114. padding: 0 0 40px 0;
  115. &:before {
  116. left: 29px;
  117. background: var(--theme-color-secondary);
  118. @media (min-width: 768px) {
  119. left: calc(50% - 1px);
  120. }
  121. }
  122. &:first-child {
  123. &:before {
  124. top: 30px;
  125. height: calc(100% - 30px);
  126. @media (min-width: 768px) {
  127. top: 60px;
  128. height: calc(100% - 60px);
  129. }
  130. }
  131. }
  132. &:last-child {
  133. &:before {
  134. display: none;
  135. }
  136. }
  137. .graphic {
  138. position: absolute;
  139. left: 0;
  140. top: 0;
  141. background: var(--theme-color-secondary);
  142. @media (min-width: 768px) {
  143. left: 50%;
  144. transform: translate(-50%, 0);
  145. }
  146. .icon-box {
  147. color: var(--theme-color-primary);
  148. }
  149. }
  150. .textbox {
  151. padding: 18px 0 0 0;
  152. background: none;
  153. border-radius: 0;
  154. margin-left: 76px;
  155. @media (min-width: 768px) {
  156. padding: 15px 0 0 0;
  157. flex: 0 0 calc(50% - 90px);
  158. margin-left: 0;
  159. }
  160. @media (max-width: 399px) {
  161. margin-left: 0;
  162. }
  163. h3, .like-h3 {
  164. padding-bottom: 9px;
  165. margin-bottom: 11px;
  166. border-bottom: 1px solid var(--theme-color-primary-dimmed-02);
  167. @media (min-width: 768px) {
  168. margin-top: 3px;
  169. margin-bottom: 9px;
  170. }
  171. }
  172. .btn {
  173. --button-bg-color: var(--theme-color-white);
  174. --button-text-color: var(--theme-color-primary);
  175. --button-hover-shadow-opacity: 0.35;
  176. }
  177. }
  178. &:nth-child(2n) {
  179. justify-content: flex-start;
  180. }
  181. &.inverted {
  182. .textbox {
  183. background: none;
  184. color: var(--theme-color-primary);
  185. .btn {
  186. --button-bg-color: var(--theme-color-white);
  187. --button-text-color: var(--theme-color-primary);
  188. --button-hover-shadow-opacity: 0.35;
  189. }
  190. }
  191. }
  192. }
  193. }