2020-02-20 14:38:25 -08:00
|
|
|
|
|
|
|
@mixin header--active {
|
|
|
|
min-height: 0;
|
|
|
|
color: #555;
|
|
|
|
background: #fff;
|
|
|
|
box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
|
|
|
|
|
|
|
|
a {
|
|
|
|
&:hover, &:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
body.inner-page header {
|
|
|
|
@include header--active;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
color: white;
|
|
|
|
padding: 0 3rem;
|
|
|
|
position: fixed;
|
|
|
|
top: -1px;
|
|
|
|
left: -1px;
|
|
|
|
right: -1px;
|
|
|
|
|
|
|
|
z-index: 100;
|
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
padding: 0.5rem 1rem 0;
|
2021-03-02 08:10:04 -08:00
|
|
|
// position: static;
|
2020-02-20 14:38:25 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
transition-property: min-height, background, box-shadow;
|
|
|
|
transition-duration: 0.4s;
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
// width: 100%;
|
|
|
|
min-height: 100px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
// transition: none;
|
|
|
|
&:hover, &:focus {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.top-brand {
|
|
|
|
text-align: center;
|
|
|
|
color: inherit;
|
|
|
|
font-family: $font-brand;
|
|
|
|
font-size: 2em;
|
|
|
|
white-space: nowrap;
|
2021-03-02 08:10:04 -08:00
|
|
|
transition: max-height 0.5s ease-out;
|
|
|
|
overflow: hidden;
|
2020-02-20 14:38:25 -08:00
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
font-size: 1.8em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-02 08:10:04 -08:00
|
|
|
&.active {
|
|
|
|
@include header--active;
|
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
.top-brand {
|
|
|
|
max-height: 0;
|
|
|
|
}
|
2020-02-20 14:38:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-03-02 08:10:04 -08:00
|
|
|
nav {
|
2020-02-20 14:38:25 -08:00
|
|
|
flex: 1;
|
|
|
|
max-width: 1200px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
|
2020-02-20 18:19:34 -08:00
|
|
|
@media (max-width: 800px) {
|
2020-02-20 14:38:25 -08:00
|
|
|
flex-direction: column;
|
|
|
|
// align-items: stretch; // uncomment after menu items are added back
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.top-nav-inner {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0 0 0 1em;
|
|
|
|
padding: 0;
|
|
|
|
|
2021-03-02 08:10:04 -08:00
|
|
|
@media (max-width: 800px) {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2020-02-20 14:38:25 -08:00
|
|
|
|
|
|
|
.top-nav-item {
|
|
|
|
transition-property: color, padding, margin;
|
|
|
|
transition-duration: 0.3s;
|
|
|
|
transition-timing-function: ease;
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
text-align: center;
|
|
|
|
border-top: 5px solid transparent;
|
|
|
|
border-bottom: 5px solid transparent;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2020-03-05 19:42:57 -08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2020-02-20 14:38:25 -08:00
|
|
|
&:hover {
|
|
|
|
border-bottom: 5px solid $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.break {
|
|
|
|
flex-basis: 100%;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.top-nav-item {
|
|
|
|
padding: 0.5rem 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
.top-nav-item {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 400px) {
|
2021-03-02 08:10:04 -08:00
|
|
|
.disposable {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2021-03-25 14:11:42 -07:00
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
max-height: 90vh;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2021-03-02 08:10:04 -08:00
|
|
|
}
|
2020-02-20 14:38:25 -08:00
|
|
|
|
2021-03-02 08:10:04 -08:00
|
|
|
@media (max-width: 500px) {
|
2020-02-20 14:38:25 -08:00
|
|
|
|
2021-03-02 08:10:04 -08:00
|
|
|
.top-nav-inner .disposable {
|
|
|
|
transition: max-width 0.5s ease-out;
|
|
|
|
max-width: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active .top-nav-inner .disposable {
|
|
|
|
max-width: 0;
|
|
|
|
overflow: hidden;
|
2020-02-20 14:38:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-03-02 08:10:04 -08:00
|
|
|
// @media (min-width: 500px) {
|
2021-03-25 14:11:42 -07:00
|
|
|
body:not(.front-page) header + * {
|
2020-02-29 18:29:13 -08:00
|
|
|
margin-top: $header-full-height;
|
|
|
|
}
|
2021-03-02 08:10:04 -08:00
|
|
|
// }
|
2020-02-29 18:29:13 -08:00
|
|
|
|
2020-02-20 14:38:25 -08:00
|
|
|
.disclaimer {
|
|
|
|
$cwColor: darken($gray-100, 2%);
|
|
|
|
|
|
|
|
border-bottom: 1px solid $gutter-border;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 1200px;
|
|
|
|
padding: 10px 1em;
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
padding: 10px 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
background-color: $cwColor;
|
|
|
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
font-weight: 300;
|
|
|
|
|
2020-03-06 19:38:16 -08:00
|
|
|
.container {
|
|
|
|
max-width: 600px;
|
|
|
|
}
|
|
|
|
|
2020-02-20 14:38:25 -08:00
|
|
|
.strong {
|
|
|
|
display: block;
|
|
|
|
font-weight: 600;
|
|
|
|
margin: 5px -10px;
|
|
|
|
padding: 0px 10px 5px;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-family: $font-secondary;
|
|
|
|
|
|
|
|
p { margin: 0; }
|
|
|
|
}
|
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|