cms.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  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. .features-table {
  245. max-width: none;
  246. th,
  247. td {
  248. border: 1px solid var(--neutral-30);
  249. hyphens: auto;
  250. padding: var(--spacing-05);
  251. text-align: center;
  252. width: 20%;
  253. }
  254. .btn {
  255. max-width: 100%;
  256. white-space: pre-wrap;
  257. word-wrap: break-word;
  258. }
  259. &.left-align-first-col {
  260. td,
  261. th {
  262. text-align: left;
  263. }
  264. td + td,
  265. th + th {
  266. text-align: center;
  267. }
  268. }
  269. .hidden-row-above-xs {
  270. display: none;
  271. }
  272. @include media-breakpoint-down(md) {
  273. tbody,
  274. thead {
  275. display: block;
  276. }
  277. tr {
  278. display: flex;
  279. flex-flow: row wrap;
  280. justify-content: space-around;
  281. }
  282. td,
  283. th {
  284. display: block;
  285. width: 25%;
  286. }
  287. tr:first-child {
  288. th {
  289. width: 50%;
  290. }
  291. th:first-child {
  292. width: 100%;
  293. }
  294. }
  295. td:first-child {
  296. text-align: center;
  297. width: 100%;
  298. }
  299. .hidden-row-xs {
  300. display: none;
  301. }
  302. .hidden-row-above-xs {
  303. display: flex;
  304. }
  305. .table-header {
  306. text-align: center;
  307. }
  308. }
  309. }
  310. /*
  311. universities page
  312. */
  313. #universities-container {
  314. padding: var(--spacing-07);
  315. width: 100%;
  316. .row {
  317. border-bottom: 1px solid var(--neutral-10);
  318. div {
  319. padding: var(--spacing-07);
  320. vertical-align: middle;
  321. }
  322. }
  323. .row:first-child {
  324. // parent container contains padding
  325. div {
  326. padding-top: 0;
  327. }
  328. }
  329. .row:last-child {
  330. border: 0;
  331. // parent container contains padding
  332. div {
  333. border: 0;
  334. padding-bottom: 0;
  335. }
  336. }
  337. p {
  338. margin: 0 auto;
  339. width: 100%;
  340. }
  341. // Logos
  342. .uni-logo {
  343. margin: 0 auto;
  344. max-height: 55px;
  345. min-width: 55px;
  346. }
  347. .university-claim-btn {
  348. text-align: center;
  349. }
  350. @include media-breakpoint-up(sm) {
  351. display: table;
  352. table-layout: fixed;
  353. .row {
  354. display: table-row;
  355. div {
  356. border-bottom: 1px solid var(--neutral-10);
  357. display: table-cell;
  358. float: none;
  359. }
  360. }
  361. }
  362. }
  363. /*
  364. videos
  365. */
  366. video {
  367. height: auto;
  368. max-width: 100%;
  369. box-shadow:
  370. 0 8px 16px 0 rgba(30 37 48 / 12%),
  371. 0 4px 6px 0 rgba(30 37 48 / 12%);
  372. &.no-shadow {
  373. box-shadow: none;
  374. }
  375. }
  376. /*
  377. cards
  378. */
  379. .card-body {
  380. // card-body all have div before the actual content
  381. // due to option to override font size
  382. > :first-child {
  383. > :first-child {
  384. margin-top: 0;
  385. }
  386. }
  387. > :last-child {
  388. > :last-child {
  389. margin-bottom: 0;
  390. :last-child {
  391. margin-bottom: 0;
  392. }
  393. }
  394. }
  395. }
  396. .card,
  397. .no-card {
  398. &.top-margin-sm {
  399. margin-top: var(--spacing-05);
  400. }
  401. &.top-margin-md {
  402. margin-top: var(--spacing-07);
  403. }
  404. &.top-margin-lg {
  405. margin-top: var(--spacing-09);
  406. }
  407. &.top-margin-xl {
  408. margin-top: var(--spacing-10);
  409. }
  410. &.top-margin-xxl {
  411. margin-top: var(--spacing-11);
  412. }
  413. // 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
  414. @each $spacing-option in $all-spacings {
  415. &.top-margin-#{$spacing-option} {
  416. margin-top: var(--#{$spacing-option});
  417. }
  418. }
  419. }
  420. .card {
  421. @each $spacing-option in $all-spacings {
  422. // 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
  423. &.padding-#{$spacing-option} {
  424. .card-body {
  425. padding: var(--#{$spacing-option});
  426. }
  427. }
  428. }
  429. }
  430. .no-card {
  431. @each $spacing-option in $all-spacings {
  432. // 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
  433. &.padding-#{$spacing-option} {
  434. padding: var(--#{$spacing-option});
  435. }
  436. }
  437. }
  438. .table-of-contents {
  439. --link-color: var(--neutral-70);
  440. --link-visited-color: var(--neutral-70);
  441. border-top: 1px solid var(--neutral-30);
  442. border-bottom: 1px solid var(--neutral-30);
  443. padding: var(--spacing-09) 0;
  444. margin-right: var(--spacing-13);
  445. h2 {
  446. @include heading-xs;
  447. color: var(--green-60);
  448. margin: 0;
  449. margin-bottom: var(--spacing-06);
  450. }
  451. ul {
  452. list-style: none;
  453. margin: 0;
  454. padding: 0;
  455. li {
  456. margin-top: var(--spacing-06);
  457. }
  458. li:first-child {
  459. margin-top: 0;
  460. }
  461. }
  462. a {
  463. text-decoration: none;
  464. font-weight: 500;
  465. &:hover {
  466. text-decoration: none !important;
  467. }
  468. }
  469. }
  470. }
  471. .icon-with-content {
  472. display: flex;
  473. h2,
  474. h3,
  475. h4 {
  476. margin-top: 15px;
  477. }
  478. .icon-container {
  479. background-color: var(--green-10);
  480. padding: 7.5px;
  481. height: 56px;
  482. width: 56px;
  483. border-radius: 50%;
  484. margin-right: 24px;
  485. .icon-inner-container {
  486. align-items: center;
  487. border: var(--green-30) 3.5px solid;
  488. border-radius: 50%;
  489. display: flex;
  490. justify-content: center;
  491. height: 42px;
  492. width: 42px;
  493. }
  494. i {
  495. color: var(--green-50);
  496. font-size: 21px;
  497. }
  498. }
  499. }
  500. .visual-with-content {
  501. display: flex;
  502. gap: var(--spacing-06);
  503. align-items: flex-start;
  504. }
  505. .svg-arrow-icon {
  506. position: relative;
  507. left: 4px;
  508. bottom: 1px;
  509. }
  510. .vertically-center-col > div[class*='col-'] {
  511. align-self: center;
  512. // remove margin to better vertically align
  513. // some elements need to be nested within a container, and others are directly within .no-card/.card
  514. .card:first-child,
  515. .no-card:first-child {
  516. .cms-element-container {
  517. > *:first-child {
  518. margin-top: 0;
  519. }
  520. }
  521. > *:first-child:not(.cms-element-container) {
  522. margin-top: 0;
  523. }
  524. }
  525. .card:last-child,
  526. .no-card:last-child {
  527. .cms-element-container {
  528. > *:last-child {
  529. margin-bottom: 0;
  530. }
  531. }
  532. > *:last-child:not(.cms-element-container) {
  533. margin-bottom: 0;
  534. }
  535. }
  536. }
  537. .row-within-card {
  538. .no-card {
  539. div:first-child {
  540. > :first-child {
  541. margin-top: 0;
  542. }
  543. }
  544. div:last-child {
  545. > :last-child {
  546. margin-bottom: 0;
  547. }
  548. }
  549. }
  550. }
  551. .sidebar-blog {
  552. .card-body {
  553. padding: var(--spacing-06) !important;
  554. h2 {
  555. @extend .h5;
  556. padding: var(--spacing-04) var(--spacing-05);
  557. margin-bottom: unset;
  558. }
  559. .badge-link-list {
  560. padding: 0 var(--spacing-05);
  561. margin-bottom: 0 !important;
  562. }
  563. .sidebar-register-container {
  564. margin-top: var(--spacing-05);
  565. a {
  566. margin-top: var(--spacing-02);
  567. margin-left: var(--spacing-05);
  568. }
  569. }
  570. }
  571. }
  572. .contact-form-error-container {
  573. padding-bottom: var(--spacing-08);
  574. }
  575. .message-received {
  576. color: var(--neutral-70);
  577. margin-bottom: 0;
  578. }
  579. // Desktop layout options depdendent on mobile breakpoint
  580. @include media-breakpoint-up(lg) {
  581. .row-equal-column-heights > div[class*='col-'] > .card,
  582. .row-equal-column-heights > div[class*='col-'] > .no-card {
  583. height: 100%;
  584. }
  585. .row {
  586. &.row-max-800 {
  587. max-width: 800px !important;
  588. margin-left: auto;
  589. margin-right: auto;
  590. }
  591. &.row-max-900 {
  592. max-width: 900px !important;
  593. margin-left: auto;
  594. margin-right: auto;
  595. }
  596. &.row-max-1000 {
  597. max-width: 1000px !important;
  598. margin-left: auto;
  599. margin-right: auto;
  600. }
  601. &.row-max-unset {
  602. max-width: unset !important;
  603. margin-left: auto;
  604. margin-right: auto;
  605. }
  606. }
  607. // 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
  608. @each $spacing-option in $all-spacings {
  609. .row-gap-#{$spacing-option} {
  610. @include section-row-custom-gap(calc(var(--#{$spacing-option}) / 2));
  611. }
  612. }
  613. }
  614. // Mobile layout options depdendent on mobile breakpoint
  615. @include media-breakpoint-down(lg) {
  616. .cms-page {
  617. .reverse-col-order-mobile {
  618. flex-direction: column-reverse;
  619. }
  620. // 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
  621. @each $spacing-option in $all-spacings {
  622. .row-mobile-gap-#{$spacing-option} {
  623. @include section-row-custom-gap(calc(var(--#{$spacing-option}) / 2));
  624. }
  625. }
  626. }
  627. }
  628. .bottom-align-last-entry {
  629. &.no-card {
  630. display: flex;
  631. flex-direction: column;
  632. * {
  633. &:last-child {
  634. flex: 1;
  635. align-content: end;
  636. }
  637. }
  638. }
  639. &.card {
  640. .card-body {
  641. display: flex;
  642. flex-direction: column;
  643. * {
  644. &:last-child {
  645. flex: 1;
  646. align-content: end;
  647. }
  648. }
  649. }
  650. }
  651. }