Newer
Older
@keyframes showIn
0%
opacity: 0
100%
opacity: 1
0%
opacity: 0
@include media-breakpoint-down(md)
-webkit-flex-basis: 100vw
display: none
flex-basis: 100vw
margin-top: 1.875rem
max-height: 70vh
overflow: auto
ul
display: flex
list-style: none
margin: 0
padding: 0
a,
span
font-size: px2rem(18)
line-height: px2rem(26)
cursor: pointer
transition: text-decoration 0.15s
&:not(:hover)
text-decoration-color: transparent
&[aria-expanded]
font-size: px2rem(6)
margin-left: px2rem(5)
transition: transform 0.15s
&[aria-expanded="true"]
&::after
transform: rotate(180deg)
@include media-breakpoint-up(md)
a:hover,
a:focus
color: $header-hover-color
@include media-breakpoint-up(md)
inset: 100% 0 auto 0
position: absolute
animation-duration: $header-dropdown-transition
animation-fill-mode: both
animation-name: showIn
font-size: px2rem(16)
line-height: px2rem(26)
@include media-breakpoint-up(lg)
font-size: px2rem(18)
.nav-level-3
@include media-breakpoint-down(md)
&.is-opened
display: block
a, span
text-decoration: none
.nav-level-1
display: block
li
a, span
padding: 1rem 0
> li:not(:last-child)
border-bottom: 1px solid #adb5bd
li.has-children
[role="button"]
align-items: center
display: flex
justify-content: space-between
@include icon("caret-bottom", after)
&::after
font-size: .375rem
line-height: 1
.dropdown-menu
display: none
padding-top: 0
[aria-expanded=true] + .dropdown-menu
display: block
background-color: $body-overlay-color
content: ""
opacity: 0
visibility: hidden
transition: opacity $header-transition
html.has-menu-opened &
&::after
display: block
opacity: 1
pointer-events: inherit
visibility: inherit
html.is-animating:not(.has-menu-opened) &
&::after
display: block
visibility: inherit
opacity: 0
.share
display: flex
list-style: none
margin: 0
padding: 0
li:not(:last-child)
margin-right: 1rem
a
font-size: px2rem(13)
text-decoration: none
&:hover
opacity: 0.7
&::after
content: none
span
display: none
vertical-align: middle
@include media-breakpoint-up(md)
font-size: $program-share-font-size-md