Newer
Older
@include media-breakpoint-down(md)
-webkit-flex-basis: 100vw
display: none
flex-basis: 100vw
margin-top: 1.875rem
max-height: 70vh
overflow: auto
a,
a:hover,
a:focus,
a:active
color: $header-color
ul
display: flex
list-style: none
margin: 0
padding: 0
a,
span
font-size: px2rem(18)
line-height: px2rem(26)
color: $header-color
@include media-breakpoint-up(md)
a:hover,
a:focus
color: $header-hover-color
.dropdown-menu
display: none
background: $header-background-color
@include media-breakpoint-up(md)
inset: 100% 0 auto 0
position: absolute
li.has-children:hover
.dropdown-menu
display: block
.nav-level-2
> li
&,
& > a,
& > span
font-size: px2rem(16)
line-height: px2rem(26)
@include media-breakpoint-up(lg)
font-size: px2rem(18)
.nav-level-3
a,
span
font-size: px2rem(14)
@include media-breakpoint-down(md)
&.is-opened
flex-grow: 1
display: block
a
text-decoration: none
.nav-level-1
li
a
padding: 1rem 0
> li:not(:last-child)
border-bottom: 1px solid #adb5bd
li.has-children
a[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
a[aria-expanded=true]
@include icon("caret-top", after)
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
.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
padding: 0.75rem
&:hover
opacity: 0.7
&::after
content: none
&:last-child
margin-right: -0.75rem
span
display: none
vertical-align: middle
// .dropdown-share
// @extend .dropdown
// > button
// @extend .btn
// @extend .btn-lg
// @extend .btn-outline-light
// &::after
// @include icon
// content: map-get($icons, "social")
// margin-left: px2rem(10)
// .dropdown-menu
// padding: 0
// .share
// li
// margin: 0
// a
// @extend .dropdown-item
// color: $body-color