cms.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  1. /*
  2. CMS Generated Pages:
  3. /about/*, /contact, /legal, /blog/*, /for/*, /events/*
  4. */
  5. @mixin section-row-custom-gap($spacing) {
  6. // only update the padding between columns
  7. // not the padding before the first column
  8. // or the padding after the last column
  9. // rows can be nested, so only select direct col in row
  10. > div[class*='col-'] {
  11. &:not(:first-child, :last-child) {
  12. padding-left: $spacing;
  13. padding-right: $spacing;
  14. }
  15. &:first-child {
  16. padding-right: $spacing;
  17. }
  18. &:last-child {
  19. padding-left: $spacing;
  20. }
  21. }
  22. }
  23. .cms-page {
  24. .sales-contact-form-left-column {
  25. .sales-contact-form-heading-title {
  26. font-size: 2.25rem;
  27. font-family: var(-font-family-san-serif);
  28. font-style: normal;
  29. font-weight: 600;
  30. line-height: 1.333;
  31. padding-top: 8px;
  32. padding-right: 50px;
  33. }
  34. @include media-breakpoint-up(sm) {
  35. .names-container {
  36. display: flex;
  37. gap: 21px;
  38. }
  39. }
  40. .checkbox-label {
  41. font-size: 16px;
  42. font-weight: 400;
  43. }
  44. }
  45. .p-no-text-nodes:has(.btn) {
  46. margin-top: var(--spacing-09);
  47. @include media-breakpoint-down(md) {
  48. .btn {
  49. width: 100%;
  50. margin-left: 0;
  51. margin-top: var(--spacing-05);
  52. }
  53. .btn:first-child {
  54. margin-top: 0;
  55. }
  56. }
  57. }
  58. .btn + .btn {
  59. margin-left: var(--spacing-06);
  60. }
  61. .card + .card {
  62. margin-top: var(--spacing-09);
  63. }
  64. .optional-text {
  65. font-size: 14px;
  66. }
  67. .section-row {
  68. @extend .container;
  69. margin: 0 auto;
  70. }
  71. padding-bottom: 0;
  72. img {
  73. height: auto;
  74. max-width: 100%;
  75. }
  76. /*
  77. Tabs
  78. */
  79. .tab-content {
  80. padding-left: 0;
  81. padding-right: 0;
  82. width: 100%;
  83. }
  84. /*
  85. When on preview mode
  86. */
  87. .cms-preview {
  88. background-color: var(--blue-60);
  89. color: white;
  90. font-weight: bold;
  91. height: 30px;
  92. left: 0;
  93. line-height: 30px;
  94. opacity: 0.8;
  95. position: fixed;
  96. text-align: center;
  97. top: 0;
  98. width: 100%;
  99. z-index: 1000;
  100. &::after {
  101. content: 'Preview';
  102. width: 100%;
  103. top: 0;
  104. left: 0;
  105. }
  106. }
  107. .tab-pane {
  108. .row:first-child {
  109. margin-top: 0;
  110. }
  111. }
  112. /*
  113. Tables
  114. */
  115. .table-styled {
  116. overflow: hidden;
  117. overflow-x: auto;
  118. table {
  119. background: white;
  120. max-width: none;
  121. th,
  122. td {
  123. border: 1px solid var(--neutral-30);
  124. padding: var(--spacing-05);
  125. text-align: center;
  126. word-break: normal;
  127. }
  128. }
  129. }
  130. .table-styled,
  131. .features-table {
  132. .fa-check-square,
  133. .fa-check {
  134. color: var(--green-50);
  135. }
  136. }
  137. .features-table {
  138. max-width: none;
  139. th,
  140. td {
  141. border: 1px solid var(--neutral-30);
  142. hyphens: auto;
  143. padding: var(--spacing-05);
  144. text-align: center;
  145. width: 20%;
  146. }
  147. .btn {
  148. max-width: 100%;
  149. white-space: pre-wrap;
  150. word-wrap: break-word;
  151. }
  152. &.left-align-first-col {
  153. td,
  154. th {
  155. text-align: left;
  156. }
  157. td + td,
  158. th + th {
  159. text-align: center;
  160. }
  161. }
  162. .hidden-row-above-xs {
  163. display: none;
  164. }
  165. @include media-breakpoint-down(md) {
  166. tbody,
  167. thead {
  168. display: block;
  169. }
  170. tr {
  171. display: flex;
  172. flex-flow: row wrap;
  173. justify-content: space-around;
  174. }
  175. td,
  176. th {
  177. display: block;
  178. width: 25%;
  179. }
  180. tr:first-child {
  181. th {
  182. width: 50%;
  183. }
  184. th:first-child {
  185. width: 100%;
  186. }
  187. }
  188. td:first-child {
  189. text-align: center;
  190. width: 100%;
  191. }
  192. .hidden-row-xs {
  193. display: none;
  194. }
  195. .hidden-row-above-xs {
  196. display: flex;
  197. }
  198. .table-header {
  199. text-align: center;
  200. }
  201. }
  202. }
  203. /*
  204. universities page
  205. */
  206. #universities-container {
  207. padding: var(--spacing-07);
  208. width: 100%;
  209. .row {
  210. border-bottom: 1px solid var(--neutral-10);
  211. div {
  212. padding: var(--spacing-07);
  213. vertical-align: middle;
  214. }
  215. }
  216. .row:first-child {
  217. // parent container contains padding
  218. div {
  219. padding-top: 0;
  220. }
  221. }
  222. .row:last-child {
  223. border: 0;
  224. // parent container contains padding
  225. div {
  226. border: 0;
  227. padding-bottom: 0;
  228. }
  229. }
  230. p {
  231. margin: 0 auto;
  232. width: 100%;
  233. }
  234. // Logos
  235. .uni-logo {
  236. margin: 0 auto;
  237. max-height: 55px;
  238. min-width: 55px;
  239. }
  240. .university-claim-btn {
  241. text-align: center;
  242. }
  243. @include media-breakpoint-up(sm) {
  244. display: table;
  245. table-layout: fixed;
  246. .row {
  247. display: table-row;
  248. div {
  249. border-bottom: 1px solid var(--neutral-10);
  250. display: table-cell;
  251. float: none;
  252. }
  253. }
  254. }
  255. }
  256. /*
  257. videos
  258. */
  259. video {
  260. height: auto;
  261. max-width: 100%;
  262. }
  263. /*
  264. cards
  265. */
  266. .card-body {
  267. // card-body all have div before the actual content
  268. // due to option to override font size
  269. > :first-child {
  270. > :first-child {
  271. margin-top: 0;
  272. }
  273. }
  274. > :last-child {
  275. > :last-child {
  276. margin-bottom: 0;
  277. }
  278. }
  279. }
  280. .card,
  281. .no-card {
  282. &.top-margin-sm {
  283. margin-top: var(--spacing-05);
  284. }
  285. &.top-margin-md {
  286. margin-top: var(--spacing-07);
  287. }
  288. &.top-margin-lg {
  289. margin-top: var(--spacing-09);
  290. }
  291. &.top-margin-xl {
  292. margin-top: var(--spacing-10);
  293. }
  294. &.top-margin-xxl {
  295. margin-top: var(--spacing-11);
  296. }
  297. }
  298. }
  299. .icon-with-content {
  300. display: flex;
  301. h2,
  302. h3,
  303. h4 {
  304. margin-top: 15px;
  305. }
  306. .icon-container {
  307. background-color: var(--green-10);
  308. padding: 7.5px;
  309. height: 56px;
  310. width: 56px;
  311. border-radius: 50%;
  312. margin-right: 24px;
  313. .icon-inner-container {
  314. align-items: center;
  315. border: var(--green-30) 3.5px solid;
  316. border-radius: 50%;
  317. display: flex;
  318. justify-content: center;
  319. height: 42px;
  320. width: 42px;
  321. }
  322. i {
  323. color: var(--green-50);
  324. font-size: 21px;
  325. }
  326. }
  327. }
  328. .svg-arrow-icon {
  329. position: relative;
  330. left: 4px;
  331. bottom: 1px;
  332. }
  333. .vertically-center-col {
  334. div[class*='col-'] {
  335. align-self: center;
  336. }
  337. // remove margin to better vertically align
  338. // some elements need to be nested within a container, and others are directly within .no-card/.card
  339. .card:first-child,
  340. .no-card:first-child {
  341. .cms-element-container {
  342. > *:first-child {
  343. margin-top: 0;
  344. }
  345. }
  346. > *:first-child:not(.cms-element-container) {
  347. margin-top: 0;
  348. }
  349. }
  350. .card:last-child,
  351. .no-card:last-child {
  352. .cms-element-container {
  353. > *:last-child {
  354. margin-bottom: 0;
  355. }
  356. }
  357. > *:last-child:not(.cms-element-container) {
  358. margin-bottom: 0;
  359. }
  360. }
  361. }
  362. .row-within-card {
  363. .no-card {
  364. > :first-child {
  365. margin-top: 0;
  366. }
  367. > :last-child {
  368. margin-bottom: 0;
  369. }
  370. }
  371. }
  372. .sidebar-blog {
  373. .card-body {
  374. padding: var(--spacing-06) !important;
  375. h2 {
  376. @extend .h5;
  377. padding: var(--spacing-04) var(--spacing-05);
  378. margin-bottom: unset;
  379. }
  380. .tags-list {
  381. padding: 0 var(--spacing-05);
  382. margin-bottom: 0 !important;
  383. }
  384. .sidebar-register-container {
  385. margin-top: var(--spacing-05);
  386. a {
  387. margin-top: var(--spacing-02);
  388. margin-left: var(--spacing-05);
  389. }
  390. }
  391. }
  392. }
  393. .card-pattern.cta-card {
  394. .font-size-display-xs {
  395. @include media-breakpoint-down(lg) {
  396. font-size: var(--font-size-08);
  397. }
  398. }
  399. }
  400. .contact-form-error-container {
  401. padding-bottom: var(--spacing-08);
  402. }
  403. .row-top-padding-sm {
  404. padding-top: var(--spacing-05);
  405. }
  406. .row-top-padding-md {
  407. padding-top: var(--spacing-07);
  408. }
  409. .row-top-padding-lg {
  410. padding-top: var(--spacing-09);
  411. }
  412. .row-top-padding-xl {
  413. padding-top: var(--spacing-10);
  414. }
  415. .row-top-padding-xxl {
  416. padding-top: var(--spacing-11);
  417. }
  418. .row-bottom-padding-sm {
  419. padding-bottom: var(--spacing-05);
  420. }
  421. .row-bottom-padding-md {
  422. padding-bottom: var(--spacing-07);
  423. }
  424. .row-bottom-padding-lg {
  425. padding-bottom: var(--spacing-09);
  426. }
  427. .row-bottom-padding-xl {
  428. padding-bottom: var(--spacing-10);
  429. }
  430. .row-bottom-padding-xxl {
  431. padding-bottom: var(--spacing-11);
  432. }
  433. // Desktop layout options depdendent on mobile breakpoint
  434. @include media-breakpoint-up(lg) {
  435. .row-equal-column-heights {
  436. div[class*='col-'] {
  437. .card,
  438. .no-card {
  439. height: 100%;
  440. }
  441. }
  442. }
  443. .section-row {
  444. &.section-row-max-800 {
  445. max-width: 800px !important;
  446. }
  447. &.section-row-max-900 {
  448. max-width: 900px !important;
  449. }
  450. &.section-row-max-1000 {
  451. max-width: 1000px !important;
  452. }
  453. &.section-row-max-unset {
  454. max-width: unset !important;
  455. }
  456. &.section-row-gap-spacing-16 {
  457. @include section-row-custom-gap(calc(var(--spacing-16) / 2));
  458. }
  459. &.section-row-gap-spacing-15 {
  460. @include section-row-custom-gap(calc(var(--spacing-15) / 2));
  461. }
  462. &.section-row-gap-spacing-14 {
  463. @include section-row-custom-gap(calc(var(--spacing-14) / 2));
  464. }
  465. &.section-row-gap-spacing-13 {
  466. @include section-row-custom-gap(calc(var(--spacing-13) / 2));
  467. }
  468. &.section-row-gap-spacing-12 {
  469. @include section-row-custom-gap(calc(var(--spacing-12) / 2));
  470. }
  471. &.section-row-gap-spacing-11 {
  472. @include section-row-custom-gap(calc(var(--spacing-11) / 2));
  473. }
  474. &.section-row-gap-spacing-10 {
  475. @include section-row-custom-gap(calc(var(--spacing-10) / 2));
  476. }
  477. &.section-row-gap-spacing-09 {
  478. @include section-row-custom-gap(calc(var(--spacing-09) / 2));
  479. }
  480. }
  481. }
  482. // Mobile layout options depdendent on mobile breakpoint
  483. @include media-breakpoint-down(lg) {
  484. .cms-page {
  485. div.row {
  486. row-gap: var(--spacing-13);
  487. }
  488. .reverse-col-order-mobile {
  489. flex-direction: column-reverse;
  490. }
  491. }
  492. }
  493. .bottom-align-last-entry {
  494. &.no-card {
  495. display: flex;
  496. flex-direction: column;
  497. * {
  498. &:last-child {
  499. flex: 1;
  500. align-content: end;
  501. }
  502. }
  503. }
  504. &.card {
  505. .card-body {
  506. display: flex;
  507. flex-direction: column;
  508. * {
  509. &:last-child {
  510. flex: 1;
  511. align-content: end;
  512. }
  513. }
  514. }
  515. }
  516. }