cms.scss 10.0 KB

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