2016-12-13 03:13:38 +00:00
|
|
|
|
2016-09-20 16:22:12 +00:00
|
|
|
|
|
|
|
#main-nav {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
2016-09-21 21:42:42 +00:00
|
|
|
z-index: 1000;
|
2016-09-20 16:22:12 +00:00
|
|
|
width: 100%;
|
2016-12-13 03:13:38 +00:00
|
|
|
background: $color_white;
|
2016-09-30 16:37:43 +00:00
|
|
|
transition: top 0.3s ease;
|
2017-02-24 04:46:54 +00:00
|
|
|
box-shadow: 0 0 10px rgba(151, 110, 229, 0.1);
|
2016-09-20 16:22:12 +00:00
|
|
|
|
|
|
|
@include nav-large {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 100;
|
|
|
|
width: $side-nav-width;
|
2016-09-29 21:56:09 +00:00
|
|
|
}
|
2016-09-26 19:45:24 +00:00
|
|
|
|
2016-09-29 21:56:09 +00:00
|
|
|
&.is-fixed-bottom {
|
|
|
|
@include nav-large {
|
2016-09-30 16:37:43 +00:00
|
|
|
top: auto !important;
|
2016-09-26 19:45:24 +00:00
|
|
|
position: absolute;
|
|
|
|
}
|
2016-09-29 21:56:09 +00:00
|
|
|
|
2017-02-24 04:46:54 +00:00
|
|
|
@media screen and (min-width: 640px) and (max-width: 879px) {
|
2016-09-29 21:56:09 +00:00
|
|
|
bottom: 156px;
|
|
|
|
}
|
|
|
|
|
2017-02-24 04:46:54 +00:00
|
|
|
@media screen and (min-width: 880px) {
|
2016-09-29 21:56:09 +00:00
|
|
|
bottom: 141px;
|
|
|
|
}
|
2016-09-20 16:22:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-nav--link-ctas {
|
|
|
|
padding: 9px 0 9px $side-nav-padding-small;
|
2016-12-13 03:13:38 +00:00
|
|
|
border-bottom: 1px solid lighten($color_gray, 40%);
|
2016-09-20 16:22:12 +00:00
|
|
|
|
|
|
|
& > .button {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-nav--logo {
|
2017-01-06 08:06:40 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 130px;
|
|
|
|
float: left;
|
2016-09-20 16:22:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-nav--links {
|
|
|
|
@extend .no-bullet;
|
|
|
|
|
|
|
|
@include nav-small {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-09-26 19:45:24 +00:00
|
|
|
|
|
|
|
.sidebar-layout-docs & {
|
|
|
|
max-height: calc(100vh - 64px);
|
|
|
|
overflow-y: scroll;
|
2016-09-29 21:56:09 +00:00
|
|
|
|
|
|
|
@include nav-large {
|
|
|
|
max-height: calc(100vh - 107px);
|
|
|
|
}
|
2016-09-26 19:45:24 +00:00
|
|
|
}
|
2016-09-20 16:22:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-nav--link-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 13px;
|
|
|
|
left: $side-nav-padding-small;
|
|
|
|
font-size: 0.9em;
|
|
|
|
|
|
|
|
@include nav-large {
|
|
|
|
left: $side-nav-padding-large;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include nav-large {
|
|
|
|
margin-left: 34px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-nav-ctas {
|
2016-09-30 16:37:43 +00:00
|
|
|
transition: top 0.3s ease;
|
2017-02-24 04:46:54 +00:00
|
|
|
-webkit-transition: top 0.3s ease;
|
|
|
|
-moz-transition: top 0.3s ease;
|
|
|
|
-o-transition: top 0.3s ease;
|
2016-12-13 03:13:38 +00:00
|
|
|
background: $color_white;
|
2017-01-06 08:06:40 +00:00
|
|
|
padding-left: 40px;
|
|
|
|
padding-right: 40px;
|
2017-02-24 04:46:54 +00:00
|
|
|
box-shadow: 0 0 10px rgba(151, 110, 229, 0.1);
|
2017-01-06 08:06:40 +00:00
|
|
|
|
2017-01-18 04:59:40 +00:00
|
|
|
@include nav-small {
|
|
|
|
padding-left: .9375rem;
|
|
|
|
padding-right: .9375rem;
|
|
|
|
box-shadow: initial;
|
|
|
|
}
|
|
|
|
|
2017-01-06 08:06:40 +00:00
|
|
|
.main-nav--link-text {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
2016-09-20 16:22:12 +00:00
|
|
|
@include nav-large {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 90;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2017-01-06 08:06:40 +00:00
|
|
|
line-height: 80px;
|
2016-09-20 16:22:12 +00:00
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
& > .button {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-12-13 03:13:38 +00:00
|
|
|
}
|
2017-01-06 08:06:40 +00:00
|
|
|
|
2017-01-09 22:11:49 +00:00
|
|
|
//Hannah's Styles'
|
|
|
|
|
2017-01-23 02:50:12 +00:00
|
|
|
.main-nav--link {
|
|
|
|
a {
|
|
|
|
color: $color_gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover, a.btn, a:active {
|
|
|
|
color: $color_purple;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.btn:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-09 22:11:49 +00:00
|
|
|
nav {
|
|
|
|
z-index: 200;
|
|
|
|
height: 80px;
|
2017-01-18 04:59:40 +00:00
|
|
|
margin-bottom: 80px;
|
|
|
|
|
|
|
|
@include nav-small {
|
|
|
|
height: 60px;
|
|
|
|
}
|
2017-01-09 22:11:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav li {
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 80px;
|
2017-01-18 04:59:40 +00:00
|
|
|
|
|
|
|
@include nav-small {
|
|
|
|
line-height: 60px;
|
|
|
|
clear:both;
|
|
|
|
display:block;
|
|
|
|
line-height: initial;
|
|
|
|
padding-top: $percent_sm/2;
|
|
|
|
padding-bottom: $percent_sm/2;
|
|
|
|
border-bottom: 1px solid $color_lt_blue;
|
2017-02-24 04:46:54 +00:00
|
|
|
text-align: center;
|
2017-01-18 04:59:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nav li:first-child{
|
|
|
|
@include nav-small {
|
2017-02-24 04:46:54 +00:00
|
|
|
padding-top: $percent_sm;
|
2017-01-18 04:59:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-24 04:46:54 +00:00
|
|
|
nav li.nav-cta {
|
2017-01-18 04:59:40 +00:00
|
|
|
@include nav-small {
|
|
|
|
padding-top: $percent_sm;
|
|
|
|
padding-bottom: $percent_sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-nav-ctas > i {
|
2017-02-24 04:46:54 +00:00
|
|
|
display: none;
|
|
|
|
color: $color_purple;
|
|
|
|
cursor: pointer;
|
2017-01-18 04:59:40 +00:00
|
|
|
|
|
|
|
@include nav-small {
|
2017-02-24 04:46:54 +00:00
|
|
|
display: block;
|
|
|
|
font-size: 1.5em;
|
|
|
|
float: right;
|
|
|
|
margin-top: 0.75em;
|
2017-01-18 04:59:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
span.toggle {
|
|
|
|
font-size: 1.25em;
|
|
|
|
float: right;
|
2017-01-09 22:11:49 +00:00
|
|
|
}
|
|
|
|
|
2017-01-06 08:06:40 +00:00
|
|
|
a.main-nav--logo {
|
|
|
|
display: inline-block;
|
|
|
|
width: 130px;
|
|
|
|
float: left;
|
2017-02-24 04:46:54 +00:00
|
|
|
margin-left: initial !important;
|
2017-01-18 04:59:40 +00:00
|
|
|
|
|
|
|
@include nav-small {
|
2017-02-24 04:46:54 +00:00
|
|
|
margin-top: 0.8em;
|
2017-01-18 04:59:40 +00:00
|
|
|
}
|
2017-01-06 08:06:40 +00:00
|
|
|
}
|