-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into a11y-updates-v4
- Loading branch information
Showing
13 changed files
with
662 additions
and
508 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,4 @@ | |
.cta-bar__button { | ||
transition: opacity 0.2s; | ||
background: $white; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
.info-bar { | ||
background: $blue-lighter; | ||
@include breakpoint(md) { | ||
padding-top: $spacing-2; | ||
padding-bottom: $spacing-2; | ||
} | ||
} | ||
|
||
.info-bar__list { | ||
@include breakpoint(md) { | ||
display: flex; | ||
} | ||
} | ||
|
||
.info-bar__item { | ||
font-size: $typescale-2; | ||
padding-top: $spacing-2; | ||
padding-bottom: $spacing-2; | ||
|
||
@include breakpoint(md) { | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
margin-right: $spacing-4; | ||
padding-right: $spacing-4; | ||
} | ||
|
||
&:not(:last-child) { | ||
border-bottom: 1px solid $border-color; | ||
@include breakpoint(md) { | ||
border-bottom: 0; | ||
border-right: 1px solid $border-color; | ||
} | ||
} | ||
} | ||
|
||
.info-bar.link-list { | ||
padding-top: $spacing-2; | ||
padding-bottom: $spacing-2; | ||
|
||
@include breakpoint(lg) { | ||
line-height: $line-height-solid; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
|
||
@include breakpoint(lg) { | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: baseline; | ||
} | ||
} | ||
|
||
.info-bar__list { | ||
display: initial; | ||
text-align: center; | ||
margin-bottom: $spacing-1; | ||
|
||
@include breakpoint(sm) { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
.info-bar__item { | ||
display: inline; | ||
font-weight: $font-weight-semibold; | ||
white-space: nowrap; | ||
padding: 0; | ||
border: 0; | ||
|
||
&:not(:first-child) { | ||
margin-left: $spacing-2; | ||
padding-left: $spacing-2; | ||
|
||
@include breakpoint(lg) { | ||
margin-left: 0; | ||
padding-left: 0; | ||
} | ||
} | ||
|
||
@include breakpoint(lg) { | ||
margin-right: $spacing-4; | ||
padding-right: $spacing-4; | ||
} | ||
|
||
&:last-child { | ||
@include breakpoint(lg) { | ||
border-right: 1px solid $border-color; | ||
} | ||
} | ||
|
||
a { | ||
@include link-border; | ||
} | ||
} | ||
|
||
ul.link-list { | ||
li:first-child { | ||
a { | ||
padding-left: 0 !important; | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
padding-top: percentage(9 / 16); | ||
height: 0; | ||
overflow: hidden; | ||
background-color: #000; | ||
|
||
iframe, | ||
img { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
{% extends "anchor-layout.twig" %} | ||
|
||
{% set page_title = 'Center for Careers and Internships' %} | ||
|
||
{% set office_header_nav = | ||
office_header_nav|default( | ||
[ | ||
{ | ||
text: 'See An Advisor', | ||
active: true, | ||
items: [ | ||
{ | ||
text: 'Helpful Links' | ||
}, | ||
{ | ||
text: 'How to apply' | ||
}, | ||
{ | ||
text: 'Types of aid' | ||
}, | ||
{ | ||
text: 'Education Loans' | ||
} | ||
] | ||
}, | ||
{ | ||
text: 'Events and Programs', | ||
items: [ | ||
{ | ||
text: 'Helpful Links' | ||
}, | ||
{ | ||
text: 'How to apply' | ||
}, | ||
{ | ||
text: 'Types of aid' | ||
}, | ||
{ | ||
text: 'Education Loans' | ||
} | ||
] | ||
}, | ||
{ | ||
text: 'CCI News' | ||
}, | ||
{ | ||
text: 'I Want To...', | ||
items: [ | ||
{ | ||
text: 'Helpful Links' | ||
}, | ||
{ | ||
text: 'How to apply' | ||
}, | ||
{ | ||
text: 'Types of aid' | ||
}, | ||
{ | ||
text: 'Education Loans' | ||
} | ||
] | ||
}, | ||
{ | ||
text: 'Alumni', | ||
items: [ | ||
{ | ||
text: 'Helpful Links' | ||
}, | ||
{ | ||
text: 'How to apply' | ||
}, | ||
{ | ||
text: 'Types of aid' | ||
}, | ||
{ | ||
text: 'Education Loans' | ||
} | ||
] | ||
}, | ||
{ | ||
text: 'Faculty' | ||
}, | ||
{ | ||
text: 'Employers', | ||
items: [ | ||
{ | ||
text: 'Helpful Links' | ||
}, | ||
{ | ||
text: 'How to apply' | ||
}, | ||
{ | ||
text: 'Types of aid' | ||
}, | ||
{ | ||
text: 'Education Loans' | ||
} | ||
] | ||
}, | ||
{ | ||
text: 'Families' | ||
} | ||
] | ||
) | ||
%} | ||
|
||
{% block layout_header %} | ||
{% include 'partials/midd-header.twig' %} | ||
{% embed 'partials/anchor-header.twig' with { | ||
is_front: true | ||
}%} | ||
{% block anchor_header_content %} | ||
{% include 'partials/info-bar.twig' with { | ||
class: 'link-list', | ||
items: [ | ||
{ text: '<a href="#">Appointments and Drop-Ins</a>' }, | ||
{ text: '<a href="#">Handshake</a>' }, | ||
{ text: '<a href="#">Midd2Midd</a>' }, | ||
{ text: '<a href="#">Hire a MiddKid</a>' } | ||
], | ||
show_social_links: { | ||
dark: true, | ||
items: ['linkedin', 'instagram', 'youtube', 'facebook'] | ||
} | ||
} %} | ||
{% endblock %} | ||
{% endembed %} | ||
{% endblock %} | ||
|
||
{% block page %} | ||
{% include 'partials/top-level-layout.twig' %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<a href="{{ link }}" class="cta-bar"> | ||
<a href="{{ link }}" class="cta-bar"> | ||
<span class="cta-bar__text">{{ text }}</span> | ||
<span class="cta-bar__button button button--sm">{{ button }}</span> | ||
</a> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="info-bar {{class}}"> | ||
<div class="container"> | ||
<div class="info-bar__list"> | ||
{% for item in items %} | ||
<div class="info-bar__item"> | ||
{{item.text}} | ||
</div> | ||
{% endfor %} | ||
</div> | ||
{% if show_social_links %} | ||
{% include 'partials/social-links.twig' with show_social_links %} | ||
{% endif %} | ||
</div> | ||
</div> |
Oops, something went wrong.