1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<section class="o-page-section ">
<header class="o-page-section__header">
<h2>Overview</h2>
</header>
<div class="o-page-section__main">
<div class="o-page-section__content o-page-section__content--text m-rich-text">
<p>New York City offers unparalleled access to top leaders across every industry. Here, you’ll take on the toughest business problems, and gain the skills to succeed in fast-moving, competitive environments in any industry, anywhere.</p>
<p>Risus at vitae diam ultrices est sit tellus, ac elementum. Integer egestas nunc aliquam est luctus sit laoreet magna mi. Find your path. Hone your strengths. Achieve success.</p>
</div>
<div class="o-page-section__content o-page-section__content--boxes" data-behavior="Accordion" data-accordion-media="small-">
<article class="m-box" data-behavior="Toggle" data-toggle-tween="0.2" data-toggle-media="small-" data-toggle-scroll="true" data-toggle-open-class="m-box--open">
<header class="m-box__header">
<a href="#" data-toggle-trigger aria-controls="box-content-example" aria-expanded="false" class="m-box__link" aria-label="Toggle ">
<svg class="m-box__icon" role="img">
<use class="icon--action--md-plus" role="presentation" xlink:href="#icon--action--md-plus" />
<use class="icon--action--md-minus" role="presentation" xlink:href="#icon--action--md-minus" />
</svg>
</a>
<h2 class="m-box__title">
<span class="m-box__focus">Key Dates</span>
</h2>
</header>
<div id="box-content-example" data-toggle-content>
<div class="m-box__content m-rich-text">
<div class="m-term-list ">
<dl class="m-term-list__inner">
<div class=" ">
<dt class="m-term-list__term">August 2020 Entry</dt>
<dd class="m-term-list__value">Early: <time datetime="2019-10-04">October 4, 2019</time></dd>
<dd class="m-term-list__value">Merit Fellowship: <time datetime="2020-01-03">January 3, 2020</time></dd>
<dd class="m-term-list__value">Final: <time datetime="2020-04-10">April 10, 2020</time></dd>
</div>
<div class=" ">
<dt class="m-term-list__term">Deferred Enrollment Program</dt>
<dd class="m-term-list__value ">
Deadline: <time datetime="2020-04-15">April 15, 2020</time>
</dd>
</div>
<div class=" ">
<dt class="m-term-list__term">January 2020 Entry</dt>
<dd class="m-term-list__value ">
Deadline: <time datetime="2019-10-04">October 4, 2019</time>
</dd>
</div>
</dl>
<span class="m-term-list__footnote">
All deadlines are at <time datetime="23:59">11:59 p.m. EST</time>
</span>
</div>
</div>
</div>
</article>
<article class="m-box" data-behavior="Toggle" data-toggle-tween="0.2" data-toggle-media="small-" data-toggle-scroll="true" data-toggle-open-class="m-box--open">
<header class="m-box__header">
<a href="#" data-toggle-trigger aria-controls="box-content-example" aria-expanded="false" class="m-box__link" aria-label="Toggle ">
<svg class="m-box__icon" role="img">
<use class="icon--action--md-plus" role="presentation" xlink:href="#icon--action--md-plus" />
<use class="icon--action--md-minus" role="presentation" xlink:href="#icon--action--md-minus" />
</svg>
</a>
<h2 class="m-box__title">
<span class="m-box__focus">Application Checklist</span>
</h2>
</header>
<div id="box-content-example" data-toggle-content>
<div class="m-box__content m-rich-text">
<ol>
<li><a href="#">Deadlines</a></li>
<li><a href="#">Transcripts</a></li>
<li><a href="#">GMAT or GRE</a></li>
<li><a href="#">Resume</a></li>
<li><a href="#">Recommendations</a></li>
<li><a href="#">Interview</a></li>
<li><a href="#">Application Fee</a></li>
</ol>
</div>
</div>
</article>
</div>
</div>
<div class="o-page-section__footer">
<ul class="m-btn-list ">
<li class="m-btn-list__item">
<a class=" a-btn a-btn--secondary" href="javascript:void(0)">
Stay in Touch
<span class="a-icon a-btn__icon">
<svg class="icon--arrow--md-right icon" role="img">
<use role="presentation" xlink:href="#icon--arrow--md-right" />
</svg>
</span>
</a>
</li>
<li class="m-btn-list__item">
<a class=" a-btn a-btn--secondary" href="javascript:void(0)">
Attend Info Session
<span class="a-icon a-btn__icon">
<svg class="icon--arrow--md-right icon" role="img">
<use role="presentation" xlink:href="#icon--arrow--md-right" />
</svg>
</span>
</a>
</li>
<li class="m-btn-list__item">
<a class="[object Object] a-btn a-btn--secondary" href="javascript:void(0)" download="MBA program">
Download PDF
<span class="a-icon a-btn__icon">
<svg class="icon--action--download icon" role="img" aria-labelledby="download-pdf-title download-pdf-desc ">
<title id="download-pdf-title">Download document</title>
<desc id="download-pdf-desc"></desc>
<use role="presentation" xlink:href="#icon--action--download" />
</svg>
</span>
</a>
</li>
<li class="m-btn-list__item">
<a class="arrow--md-right a-btn a-btn--primary" href="javascript:void(0)">
Apply Now
<span class="a-icon a-btn__icon">
<svg class="icon--arrow--md-right icon" role="img">
<use role="presentation" xlink:href="#icon--arrow--md-right" />
</svg>
</span>
</a>
</li>
</ul>
</div>
</section>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"title": "Overview",
"blocks": [
{
"type": "text",
"text": [
"<p>New York City offers unparalleled access to top leaders across every industry. Here, you’ll take on the toughest business problems, and gain the skills to succeed in fast-moving, competitive environments in any industry, anywhere.</p>",
"<p>Risus at vitae diam ultrices est sit tellus, ac elementum. Integer egestas nunc aliquam est luctus sit laoreet magna mi. Find your path. Hone your strengths. Achieve success.</p>"
]
},
{
"type": "boxes",
"boxes": [
{
"type": "term-list",
"title": "Key Dates",
"content": {
"terms": [
"[Object]",
"[Object]",
"[Object]"
],
"footnote": "All deadlines are at <time datetime=\"23:59\">11:59 p.m. EST</time>"
}
},
{
"title": "Application Checklist",
"content": [
"<ol>",
"<li><a href=\"#\">Deadlines</a></li>",
"<li><a href=\"#\">Transcripts</a></li>",
"<li><a href=\"#\">GMAT or GRE</a></li>",
"<li><a href=\"#\">Resume</a></li>",
"<li><a href=\"#\">Recommendations</a></li>",
"<li><a href=\"#\">Interview</a></li>",
"<li><a href=\"#\">Application Fee</a></li>",
"</ol>"
]
}
]
}
],
"footerButtons": {
"element": "a",
"buttons": [
{
"text": "Stay in Touch",
"attributes": {
"href": "javascript:void(0)"
},
"style": "secondary"
},
{
"text": "Attend Info Session",
"attributes": {
"href": "javascript:void(0)"
},
"style": "secondary"
},
{
"text": "Download PDF",
"icon": {
"icon": "action--download",
"id": "download-pdf",
"labels": {
"title": "Download document",
"desc": ""
}
},
"attributes": {
"href": "javascript:void(0)",
"download": "MBA program"
},
"style": "secondary"
},
{
"text": "Apply Now",
"attributes": {
"href": "javascript:void(0)"
},
"icon": "arrow--md-right",
"style": "primary"
}
]
}
}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
{% extends './page-section.twig' %} {% if intro %} {% block intro %} {% include './page-section__blocks.twig' with { blocks: intro } only %} {% endblock %} {% endif %} {% block main %} {% include './page-section__blocks.twig' with { blocks: blocks } only %} {% endblock %} {% if footerButtons %} {% block footer %} {% include 'components/molecules/btn-list/btn-list' with footerButtons %} {% endblock %} {% endif %} {% if footerForm %} {% block footer %} {% include 'components/molecules/inline-form/inline-form' with footerForm only %} {% endblock %} {% endif %}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
$o-page-section__header: ( medium: 4, large: 6, xlarge: 6, xxlarge: 6, xxxlarge: 6, ); $o-page-section__header--wide-load: ( medium: 3, large: 3, xlarge: 3, xxlarge: 2, xxxlarge: 2, ); $o-page-section__content: ( medium: 4, large: 6, xlarge: 6, xxlarge: 6, xxxlarge: 6, ); $o-page-section__content--numbers: ( medium: 4, large: 9, xlarge: 9, xxlarge: 9, xxxlarge: 9, ); $o-page-section__content--articles: ( medium: 4, large: 6, xlarge: 9, xxlarge: 9, xxxlarge: 9, ); $o-page-section__content--listing: ( xxxlarge: 12, xxlarge: 12, xlarge: 12, large: 12, medium: 8, small: 6, xsmall: 6, ); $o-page-section__footer: ( medium: 4, large: 6, ); .o-page-section { @include keyline($primary: true); @include bar(flex-start); @include spacing($outer-spacing-01, "margin-top"); flex-wrap: wrap; .m-landing-header + &, .m-section-header + &--no-title { margin-top: 0; &::after { display: none; } } &__anchor { position: absolute; top: 1px; left: 0; } &--inverse { @include theme-inverse; } &--contrast { @include theme-contrast; } &--inverse, &--contrast { background-color: var(--color--background); &::after { display: none; } @include background-fill; @include spacing( ( xsmall: 8px, "xlarge+": 4px, ) ); @include spacing( ( "xsmall": 40px, "medium+": 48px, "xlarge+": 64px, ), "padding-bottom" ); } &__header { @include f-heading-5; @include spacing($inner-spacing-01); @each $bp, $colspan in $o-page-section__header { @include breakpoint($bp) { max-width: colspan($colspan, $bp); } } small { color: var(--color--text--aux); white-space: nowrap; } } @include breakpoint("medium+") { &--wide-load &__header { @each $bp, $colspan in $o-page-section__header--wide-load { @include breakpoint($bp) { max-width: colspan($colspan, $bp); } } } } @include breakpoint("medium+") { &--sticky &__header { @each $bp, $colspan in $o-page-section__header--wide-load { @include breakpoint($bp) { max-width: colspan($colspan, $bp); } } @include sticky; } } &__sticky-index { color: var(--color--action); display: none; @include breakpoint("medium+") { display: block; } } &__main { width: 100%; @include breakpoint("medium+") { width: auto; margin-left: auto; } } &__content { width: 100%; @include width-multi($o-page-section__content); margin-left: auto; } &__content--links { &:first-child { @include spacing( ( "xsmall": 56px, "medium+": 16px, ) ); } } &__content--links-small { &:first-child { @include spacing( ( "xsmall": 16px, "xlarge+": 20px, ) ); } } &__content--listing { @include width-multi($o-page-section__content--listing); @include spacing( ( "xsmall": 56px, "xlarge+": 80px, ) ); } &__content--quotes { @include width-multi($o-page-section__content--listing); @include spacing( ( xsmall: 20px, "medium+": $spacing-03, "xlarge+": $spacing-04, ) ); } &__content--grid { @include width-multi($o-page-section__content--listing); display: flex; flex-wrap: wrap; justify-content: space-between; @include child-spacing-y( ( "xsmall": 32px, ) ); @include spacing( ( "xsmall": 48px, "medium+": 64px, "xlarge+": 72px, ) ); } &__content--numbers { @include width-multi($o-page-section__content--numbers); &:first-child { @include spacing( ( "xsmall": 36px, "medium+": 0px, "xlarge+": 16px, ) ); } @include child-spacing-y( ( "xsmall": 24px, "medium": 40px, "large+": 0px, ), "margin" ); & > * { @include keyline; @include breakpoint("medium+") { &:first-child::after { display: none; } &::after { left: 0; } } @include breakpoint("xlarge+") { &::after { display: none; } } } _::-webkit-full-page-media, _:future, :root & > .m-statistic { // safari fix display: flex; } @include css-columns( ( large: 3, xlarge: 3, xxlarge: 3, xxxlarge: 3, ) ); } &__content--subtitle { @include f-heading-7; &:not(:first-child) { @include spacing( ( "xsmall": 16px, "large": 20px, "xlarge+": 24px, ) ); } @include breakpoint("small-") { &[data-index]:before { content: attr(data-index); display: block; color: var(--color--text--aux); } } } &__content--text, &__content--boxes { @include css-columns($css-columns-2-xlarge); } &__content--form { &:not(:first-child) { @include spacing( ( "xsmall": 24px, "medium+": 36px, "xlarge+": 48px, ) ); } } &__content--text { &:first-child { @include spacing( ( "xsmall": 56px, "medium+": 20px, ) ); } &:not(:first-child) { @include spacing($inner-spacing-03); } } &__content--map, &__content--image { &:first-child { @include spacing( ( "xsmall": 56px, "medium": 16px, "large": 20px, "xlarge+": 24px, ) ); } &:not(:first-child) { @include spacing( ( "xsmall": 64px, // "large": 20px, // "xlarge+": 24px,,,, ) ); } @media print { page-break-inside: avoid; } } &__content--boxes { @include child-spacing-y( ( "medium+": 40px, "xlarge+": 48px, ) ); // @TODO - no example where is first-child &:not(:first-child) { @include spacing( ( "xsmall": 32px, "medium+": 40px, "xlarge+": 48px, ) ); } } &__content--btns { // @TODO - no example where first-child? &:not(:first-child) { @include spacing( ( "xsmall": 24px, "medium+": 36px, "xlarge+": 48px, ) ); } } &__content--articles { @include width-multi($o-page-section__content--articles); @include spacing( ( "xsmall": 72px, "medium+": 16px, "xlarge+": 24px, ) ); } &__footer { width: 100%; @include width-multi($o-page-section__footer); margin-left: auto; @include spacing( ( "xsmall": 24px, "medium+": 72px, "xlarge+": 96px, ) ); } @media print { &__main { width: 100%; } } } .o-page-section__content--map { @include breakpoint("medium+") { padding-top: 0 !important; margin-top: -12px; } @include breakpoint("xlarge+") { padding-top: 0 !important; margin-top: -24px; } }