cms.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  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. // create .paragraphs-margin-spacing-00, .paragraphs-margin-spacing-01, .paragraphs-margin-spacing-02, .paragraphs-margin-spacing-03, .paragraphs-margin-spacing-04, .paragraphs-margin-spacing-05, .paragraphs-margin-spacing-06, .paragraphs-margin-spacing-07, .paragraphs-margin-spacing-08, .paragraphs-margin-spacing-09, .paragraphs-margin-spacing-10, .paragraphs-margin-spacing-11, .paragraphs-margin-spacing-12, .paragraphs-margin-spacing-13, .paragraphs-margin-spacing-14, .paragraphs-margin-spacing-15, .paragraphs-margin-spacing-16
  59. @each $spacing-option in $all-spacings {
  60. .paragraphs-margin-#{$spacing-option} {
  61. p {
  62. margin-bottom: var(--#{$spacing-option});
  63. }
  64. }
  65. }
  66. // create .headers-top-margin-spacing-00, .headers-top-margin-spacing-01, .headers-top-margin-spacing-02, .headers-top-margin-spacing-03, .headers-top-margin-spacing-04, .headers-top-margin-spacing-05, .headers-top-margin-spacing-06, .headers-top-margin-spacing-07, .headers-top-margin-spacing-08, .headers-top-margin-spacing-09, .headers-top-margin-spacing-10, .headers-top-margin-spacing-11, .headers-top-margin-spacing-12, .headers-top-margin-spacing-13, .headers-top-margin-spacing-14, .headers-top-margin-spacing-15, .headers-top-margin-spacing-16
  67. @each $spacing-option in $all-spacings {
  68. .headers-top-margin-#{$spacing-option} {
  69. h1,
  70. h2,
  71. h3,
  72. h4,
  73. h5,
  74. h6 {
  75. margin-top: var(--#{$spacing-option});
  76. }
  77. }
  78. }
  79. // create .headers-bottom-margin-spacing-00, .headers-bottom-margin-spacing-01, .headers-bottom-margin-spacing-02, .headers-bottom-margin-spacing-03, .headers-bottom-margin-spacing-04, .headers-bottom-margin-spacing-05, .headers-bottom-margin-spacing-06, .headers-bottom-margin-spacing-07, .headers-bottom-margin-spacing-08, .headers-bottom-margin-spacing-09, .headers-bottom-margin-spacing-10, .headers-bottom-margin-spacing-11, .headers-bottom-margin-spacing-12, .headers-bottom-margin-spacing-13, .headers-bottom-margin-spacing-14, .headers-bottom-margin-spacing-15, .headers-bottom-margin-spacing-16
  80. @each $spacing-option in $all-spacings {
  81. .headers-bottom-margin-#{$spacing-option} {
  82. h1,
  83. h2,
  84. h3,
  85. h4,
  86. h5,
  87. h6 {
  88. margin-bottom: var(--#{$spacing-option});
  89. }
  90. }
  91. }
  92. .font-color-green-bright {
  93. p,
  94. h1,
  95. h2,
  96. h3,
  97. h4,
  98. h5,
  99. h6 {
  100. color: var(--green-bright);
  101. }
  102. }
  103. .card + .card {
  104. margin-top: var(--spacing-09);
  105. }
  106. .optional-text {
  107. font-size: 14px;
  108. }
  109. section {
  110. padding: var(--spacing-16) 0 0 0;
  111. &.no-top-padding {
  112. /* opt out of padding via the CMS */
  113. padding-top: 0;
  114. }
  115. // TODO: confirm if we will still support this and if so what colors to use
  116. // &.color-block {
  117. // &.green-dark {
  118. // background-color: @ol-dark-green;
  119. // }
  120. // &.green {
  121. // background-color: @ol-green;
  122. // .no-card * {
  123. // .btn-primary,
  124. // .btn-success {
  125. // // only correct button colors when green on green
  126. // .btn-primary-on-primary-bg;
  127. // }
  128. // }
  129. // }
  130. // &.blue-gray-dark {
  131. // background-color: @ol-blue-gray-5;
  132. // }
  133. // &.blue-gray-light {
  134. // background-color: @ol-blue-gray-1;
  135. // }
  136. // &.green,
  137. // &.green-dark,
  138. // &.blue-gray-dark {
  139. // .no-card * {
  140. // &:not(.btn) {
  141. // color: @white;
  142. // }
  143. // a {
  144. // text-decoration: underline;
  145. // }
  146. // .btn {
  147. // text-decoration: none;
  148. // }
  149. // .form-control {
  150. // color: @input-color;
  151. // }
  152. // }
  153. // }
  154. // }
  155. }
  156. // only first level of .section-row need to act like containers. We do not want to update .section-row nested within a .section-row
  157. section > .section-row {
  158. @extend .container;
  159. }
  160. padding-bottom: 0;
  161. img {
  162. height: auto;
  163. max-width: 100%;
  164. }
  165. /*
  166. Tabs
  167. */
  168. .tab-content {
  169. padding-left: 0;
  170. padding-right: 0;
  171. width: 100%;
  172. }
  173. /*
  174. When on preview mode
  175. */
  176. .cms-preview {
  177. background-color: var(--blue-60);
  178. color: white;
  179. font-weight: bold;
  180. height: 30px;
  181. left: 0;
  182. line-height: 30px;
  183. opacity: 0.8;
  184. position: fixed;
  185. text-align: center;
  186. top: 0;
  187. width: 100%;
  188. z-index: 1000;
  189. &::after {
  190. content: 'Preview';
  191. width: 100%;
  192. top: 0;
  193. left: 0;
  194. }
  195. }
  196. .tab-pane {
  197. .row:first-child {
  198. margin-top: 0;
  199. }
  200. }
  201. /*
  202. Tables
  203. */
  204. .table-styled {
  205. overflow: hidden;
  206. overflow-x: auto;
  207. table {
  208. background: white;
  209. max-width: none;
  210. th,
  211. td {
  212. border: 1px solid var(--neutral-30);
  213. padding: var(--spacing-05);
  214. text-align: center;
  215. word-break: normal;
  216. }
  217. }
  218. }
  219. .table-styled,
  220. .features-table {
  221. .fa-check-square,
  222. .fa-check {
  223. color: var(--green-50);
  224. }
  225. }
  226. .features-table {
  227. max-width: none;
  228. th,
  229. td {
  230. border: 1px solid var(--neutral-30);
  231. hyphens: auto;
  232. padding: var(--spacing-05);
  233. text-align: center;
  234. width: 20%;
  235. }
  236. .btn {
  237. max-width: 100%;
  238. white-space: pre-wrap;
  239. word-wrap: break-word;
  240. }
  241. &.left-align-first-col {
  242. td,
  243. th {
  244. text-align: left;
  245. }
  246. td + td,
  247. th + th {
  248. text-align: center;
  249. }
  250. }
  251. .hidden-row-above-xs {
  252. display: none;
  253. }
  254. @include media-breakpoint-down(md) {
  255. tbody,
  256. thead {
  257. display: block;
  258. }
  259. tr {
  260. display: flex;
  261. flex-flow: row wrap;
  262. justify-content: space-around;
  263. }
  264. td,
  265. th {
  266. display: block;
  267. width: 25%;
  268. }
  269. tr:first-child {
  270. th {
  271. width: 50%;
  272. }
  273. th:first-child {
  274. width: 100%;
  275. }
  276. }
  277. td:first-child {
  278. text-align: center;
  279. width: 100%;
  280. }
  281. .hidden-row-xs {
  282. display: none;
  283. }
  284. .hidden-row-above-xs {
  285. display: flex;
  286. }
  287. .table-header {
  288. text-align: center;
  289. }
  290. }
  291. }
  292. /*
  293. universities page
  294. */
  295. #universities-container {
  296. padding: var(--spacing-07);
  297. width: 100%;
  298. .row {
  299. border-bottom: 1px solid var(--neutral-10);
  300. div {
  301. padding: var(--spacing-07);
  302. vertical-align: middle;
  303. }
  304. }
  305. .row:first-child {
  306. // parent container contains padding
  307. div {
  308. padding-top: 0;
  309. }
  310. }
  311. .row:last-child {
  312. border: 0;
  313. // parent container contains padding
  314. div {
  315. border: 0;
  316. padding-bottom: 0;
  317. }
  318. }
  319. p {
  320. margin: 0 auto;
  321. width: 100%;
  322. }
  323. // Logos
  324. .uni-logo {
  325. margin: 0 auto;
  326. max-height: 55px;
  327. min-width: 55px;
  328. }
  329. .university-claim-btn {
  330. text-align: center;
  331. }
  332. @include media-breakpoint-up(sm) {
  333. display: table;
  334. table-layout: fixed;
  335. .row {
  336. display: table-row;
  337. div {
  338. border-bottom: 1px solid var(--neutral-10);
  339. display: table-cell;
  340. float: none;
  341. }
  342. }
  343. }
  344. }
  345. /*
  346. videos
  347. */
  348. video {
  349. height: auto;
  350. max-width: 100%;
  351. box-shadow:
  352. 0 8px 16px 0 rgba(30 37 48 / 12%),
  353. 0 4px 6px 0 rgba(30 37 48 / 12%);
  354. }
  355. /*
  356. cards
  357. */
  358. .card-body {
  359. // card-body all have div before the actual content
  360. // due to option to override font size
  361. > :first-child {
  362. > :first-child {
  363. margin-top: 0;
  364. }
  365. }
  366. > :last-child {
  367. > :last-child {
  368. margin-bottom: 0;
  369. }
  370. }
  371. }
  372. .card,
  373. .no-card {
  374. &.top-margin-sm {
  375. margin-top: var(--spacing-05);
  376. }
  377. &.top-margin-md {
  378. margin-top: var(--spacing-07);
  379. }
  380. &.top-margin-lg {
  381. margin-top: var(--spacing-09);
  382. }
  383. &.top-margin-xl {
  384. margin-top: var(--spacing-10);
  385. }
  386. &.top-margin-xxl {
  387. margin-top: var(--spacing-11);
  388. }
  389. // create .top-margin-spacing-00, .top-margin-spacing-01, .top-margin-spacing-02, .top-margin-spacing-03, .top-margin-spacing-04, .top-margin-spacing-05, .top-margin-spacing-06, .top-margin-spacing-07, .top-margin-spacing-08, .top-margin-spacing-09, .top-margin-spacing-10, .top-margin-spacing-11, .top-margin-spacing-12, .top-margin-spacing-13, .top-margin-spacing-14, .top-margin-spacing-15, .top-margin-spacing-16
  390. @each $spacing-option in $all-spacings {
  391. &.top-margin-#{$spacing-option} {
  392. margin-top: var(--#{$spacing-option});
  393. }
  394. }
  395. }
  396. .card {
  397. @each $spacing-option in $all-spacings {
  398. // create .padding-spacing-00, .padding-spacing-01, .padding-spacing-02, .padding-spacing-03, .padding-spacing-04, .padding-spacing-05, .padding-spacing-06, .padding-spacing-07, .padding-spacing-08, .padding-spacing-09, .padding-spacing-10, .padding-spacing-11, .padding-spacing-12, .padding-spacing-13, .padding-spacing-14, .padding-spacing-15, .padding-spacing-16
  399. &.padding-#{$spacing-option} {
  400. .card-body {
  401. padding: var(--#{$spacing-option});
  402. }
  403. }
  404. }
  405. }
  406. .no-card {
  407. @each $spacing-option in $all-spacings {
  408. // create .padding-spacing-00, .padding-spacing-01, .padding-spacing-02, .padding-spacing-03, .padding-spacing-04, .padding-spacing-05, .padding-spacing-06, .padding-spacing-07, .padding-spacing-08, .padding-spacing-09, .padding-spacing-10, .padding-spacing-11, .padding-spacing-12, .padding-spacing-13, .padding-spacing-14, .padding-spacing-15, .padding-spacing-16
  409. &.padding-#{$spacing-option} {
  410. padding: var(--#{$spacing-option});
  411. }
  412. }
  413. }
  414. }
  415. .icon-with-content {
  416. display: flex;
  417. h2,
  418. h3,
  419. h4 {
  420. margin-top: 15px;
  421. }
  422. .icon-container {
  423. background-color: var(--green-10);
  424. padding: 7.5px;
  425. height: 56px;
  426. width: 56px;
  427. border-radius: 50%;
  428. margin-right: 24px;
  429. .icon-inner-container {
  430. align-items: center;
  431. border: var(--green-30) 3.5px solid;
  432. border-radius: 50%;
  433. display: flex;
  434. justify-content: center;
  435. height: 42px;
  436. width: 42px;
  437. }
  438. i {
  439. color: var(--green-50);
  440. font-size: 21px;
  441. }
  442. }
  443. }
  444. .svg-arrow-icon {
  445. position: relative;
  446. left: 4px;
  447. bottom: 1px;
  448. }
  449. .vertically-center-col > div[class*='col-'] {
  450. align-self: center;
  451. // remove margin to better vertically align
  452. // some elements need to be nested within a container, and others are directly within .no-card/.card
  453. .card:first-child,
  454. .no-card:first-child {
  455. .cms-element-container {
  456. > *:first-child {
  457. margin-top: 0;
  458. }
  459. }
  460. > *:first-child:not(.cms-element-container) {
  461. margin-top: 0;
  462. }
  463. }
  464. .card:last-child,
  465. .no-card:last-child {
  466. .cms-element-container {
  467. > *:last-child {
  468. margin-bottom: 0;
  469. }
  470. }
  471. > *:last-child:not(.cms-element-container) {
  472. margin-bottom: 0;
  473. }
  474. }
  475. }
  476. .row-within-card {
  477. .no-card {
  478. div:first-child {
  479. > :first-child {
  480. margin-top: 0;
  481. }
  482. }
  483. div:last-child {
  484. > :last-child {
  485. margin-bottom: 0;
  486. }
  487. }
  488. }
  489. }
  490. .sidebar-blog {
  491. .card-body {
  492. padding: var(--spacing-06) !important;
  493. h2 {
  494. @extend .h5;
  495. padding: var(--spacing-04) var(--spacing-05);
  496. margin-bottom: unset;
  497. }
  498. .badge-link-list {
  499. padding: 0 var(--spacing-05);
  500. margin-bottom: 0 !important;
  501. }
  502. .sidebar-register-container {
  503. margin-top: var(--spacing-05);
  504. a {
  505. margin-top: var(--spacing-02);
  506. margin-left: var(--spacing-05);
  507. }
  508. }
  509. }
  510. }
  511. .contact-form-error-container {
  512. padding-bottom: var(--spacing-08);
  513. }
  514. .row-top-padding-sm {
  515. padding-top: var(--spacing-05);
  516. }
  517. .row-top-padding-md {
  518. padding-top: var(--spacing-07);
  519. }
  520. .row-top-padding-lg {
  521. padding-top: var(--spacing-09);
  522. }
  523. .row-top-padding-xl {
  524. padding-top: var(--spacing-10);
  525. }
  526. .row-top-padding-xxl {
  527. padding-top: var(--spacing-11);
  528. }
  529. .row-bottom-padding-sm {
  530. padding-bottom: var(--spacing-05);
  531. }
  532. .row-bottom-padding-md {
  533. padding-bottom: var(--spacing-07);
  534. }
  535. .row-bottom-padding-lg {
  536. padding-bottom: var(--spacing-09);
  537. }
  538. .row-bottom-padding-xl {
  539. padding-bottom: var(--spacing-10);
  540. }
  541. .row-bottom-padding-xxl {
  542. padding-bottom: var(--spacing-11);
  543. }
  544. // Desktop layout options depdendent on mobile breakpoint
  545. @include media-breakpoint-up(lg) {
  546. .row-equal-column-heights > div[class*='col-'] > .card,
  547. .row-equal-column-heights > div[class*='col-'] > .no-card {
  548. height: 100%;
  549. }
  550. .row {
  551. &.row-max-800 {
  552. max-width: 800px !important;
  553. margin-left: auto;
  554. margin-right: auto;
  555. }
  556. &.row-max-900 {
  557. max-width: 900px !important;
  558. margin-left: auto;
  559. margin-right: auto;
  560. }
  561. &.row-max-1000 {
  562. max-width: 1000px !important;
  563. margin-left: auto;
  564. margin-right: auto;
  565. }
  566. &.row-max-unset {
  567. max-width: unset !important;
  568. margin-left: auto;
  569. margin-right: auto;
  570. }
  571. }
  572. // create .row-gap-spacing-00, .row-gap-spacing-01, .row-gap-spacing-02, .row-gap-spacing-03, .row-gap-spacing-04, .row-gap-spacing-05, .row-gap-spacing-06, .row-gap-spacing-07, .row-gap-spacing-08, .row-gap-spacing-09, .row-gap-spacing-10, .row-gap-spacing-11, .row-gap-spacing-12, .row-gap-spacing-13, .row-gap-spacing-14, .row-gap-spacing-15, .row-gap-spacing-16
  573. @each $spacing-option in $all-spacings {
  574. .row-gap-#{$spacing-option} {
  575. @include section-row-custom-gap(calc(var(--#{$spacing-option}) / 2));
  576. }
  577. }
  578. }
  579. // Mobile layout options depdendent on mobile breakpoint
  580. @include media-breakpoint-down(lg) {
  581. .cms-page {
  582. div.row {
  583. row-gap: var(--spacing-13);
  584. }
  585. .reverse-col-order-mobile {
  586. flex-direction: column-reverse;
  587. }
  588. // create .row-mobile-gap-spacing-00, .row-mobile-gap-spacing-01, .row-mobile-gap-spacing-02, .row-mobile-gap-spacing-03, .row-mobile-gap-spacing-04, .row-mobile-gap-spacing-05, .row-mobile-gap-spacing-06, .row-mobile-gap-spacing-07, .row-mobile-gap-spacing-08, .row-mobile-gap-spacing-09, .row-mobile-gap-spacing-10, .row-mobile-gap-spacing-11, .row-mobile-gap-spacing-12, .row-mobile-gap-spacing-13, .row-mobile-gap-spacing-14, .row-mobile-gap-spacing-15, .row-mobile-gap-spacing-16
  589. @each $spacing-option in $all-spacings {
  590. .row-mobile-gap-#{$spacing-option} {
  591. @include section-row-custom-gap(calc(var(--#{$spacing-option}) / 2));
  592. }
  593. }
  594. }
  595. }
  596. .bottom-align-last-entry {
  597. &.no-card {
  598. display: flex;
  599. flex-direction: column;
  600. * {
  601. &:last-child {
  602. flex: 1;
  603. align-content: end;
  604. }
  605. }
  606. }
  607. &.card {
  608. .card-body {
  609. display: flex;
  610. flex-direction: column;
  611. * {
  612. &:last-child {
  613. flex: 1;
  614. align-content: end;
  615. }
  616. }
  617. }
  618. }
  619. }