cms.scss 18 KB

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