2016-06-10 02:15:50 +00:00
|
|
|
.nav {
|
2017-07-17 21:09:46 +00:00
|
|
|
height: #{42 / $base-font-size}rem;
|
2019-03-27 16:50:55 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
@include themify() {
|
|
|
|
border-bottom: 1px dashed map-get($theme-map, 'inactive-text-color');
|
|
|
|
}
|
|
|
|
|
2017-07-25 19:35:18 +00:00
|
|
|
& button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-07-17 21:09:46 +00:00
|
|
|
}
|
|
|
|
|
2019-03-27 16:50:55 +00:00
|
|
|
.nav__items-left,
|
|
|
|
.nav__items-right {
|
|
|
|
list-style: none;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
2017-07-17 21:09:46 +00:00
|
|
|
height: 100%;
|
2017-07-25 19:35:18 +00:00
|
|
|
align-items: center;
|
2016-06-17 18:11:52 +00:00
|
|
|
}
|
|
|
|
|
2017-03-30 17:22:23 +00:00
|
|
|
.nav__items-left {
|
|
|
|
& button {
|
|
|
|
@include themify() {
|
2017-07-25 19:35:18 +00:00
|
|
|
color: getThemifyVariable('secondary-text-color');
|
2017-03-30 17:22:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-17 18:11:52 +00:00
|
|
|
.nav__item {
|
2019-03-27 16:50:55 +00:00
|
|
|
position: relative;
|
2017-07-17 21:09:46 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2017-07-25 19:35:18 +00:00
|
|
|
height: 100%;
|
2019-03-27 16:50:55 +00:00
|
|
|
|
|
|
|
& button {
|
|
|
|
padding: #{12 / $base-font-size}rem #{10 / $base-font-size}rem;
|
|
|
|
}
|
2016-08-28 00:46:20 +00:00
|
|
|
}
|
|
|
|
|
2016-12-19 22:52:21 +00:00
|
|
|
.nav__item:first-child {
|
2019-03-27 16:50:55 +00:00
|
|
|
padding-left: #{15 / $base-font-size}rem;
|
2016-12-19 22:52:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav__item:last-child {
|
2019-03-27 16:50:55 +00:00
|
|
|
padding-right: #{15 / $base-font-size}rem;
|
2016-12-19 22:52:21 +00:00
|
|
|
}
|
|
|
|
|
2017-10-11 16:56:44 +00:00
|
|
|
.nav__item:hover {
|
|
|
|
.nav__item-header {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('nav-hover-color');
|
|
|
|
}
|
|
|
|
}
|
2019-03-27 16:50:55 +00:00
|
|
|
|
2017-10-11 16:56:44 +00:00
|
|
|
.nav__item-header-triangle polygon {
|
2019-03-27 16:50:55 +00:00
|
|
|
@include themify() {
|
2017-10-11 16:56:44 +00:00
|
|
|
fill: getThemifyVariable('nav-hover-color');
|
2019-03-27 16:50:55 +00:00
|
|
|
}
|
2017-10-11 16:56:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-11 21:46:37 +00:00
|
|
|
.nav__item-header:hover {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('nav-hover-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__item-header-triangle {
|
|
|
|
margin-left: #{5 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2016-08-28 00:46:20 +00:00
|
|
|
.nav__dropdown {
|
2019-06-12 19:58:02 +00:00
|
|
|
@extend %dropdown-open-left;
|
2017-07-19 21:35:25 +00:00
|
|
|
display: none;
|
2019-03-27 16:50:55 +00:00
|
|
|
.nav__item--open & {
|
|
|
|
display: flex;
|
|
|
|
}
|
2017-07-25 19:35:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav__items-right {
|
|
|
|
padding-right: #{20 / $base-font-size}rem;
|
2019-03-27 16:50:55 +00:00
|
|
|
|
2017-07-25 19:35:18 +00:00
|
|
|
& .nav__dropdown {
|
|
|
|
width: #{121 / $base-font-size}rem;
|
|
|
|
}
|
2016-12-19 22:52:21 +00:00
|
|
|
}
|
|
|
|
|
2016-12-19 22:56:39 +00:00
|
|
|
.nav__item-spacer {
|
2019-03-27 16:50:55 +00:00
|
|
|
@include themify() {
|
|
|
|
color: map-get($theme-map, 'inactive-text-color');
|
2017-08-07 19:56:30 +00:00
|
|
|
margin: 0 #{8 / $base-font-size}rem;
|
2019-03-27 16:50:55 +00:00
|
|
|
}
|
2016-12-20 05:21:04 +00:00
|
|
|
}
|
|
|
|
|
2019-06-12 20:12:19 +00:00
|
|
|
// .nav__dropdown button {
|
|
|
|
// padding: 0;
|
|
|
|
// }
|
2017-03-16 22:25:12 +00:00
|
|
|
|
2017-07-25 19:35:18 +00:00
|
|
|
.nav__dropdown-item {
|
2019-03-27 16:50:55 +00:00
|
|
|
& button,
|
|
|
|
& a {
|
2017-09-01 17:38:40 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2017-07-25 19:35:18 +00:00
|
|
|
}
|
|
|
|
|
2017-01-06 20:13:46 +00:00
|
|
|
.nav__announce {
|
|
|
|
position: absolute;
|
|
|
|
top: #{40 / $base-font-size}rem;
|
|
|
|
right: #{88 / $base-font-size}rem;
|
|
|
|
width: #{398 / $base-font-size}rem;
|
|
|
|
padding: #{5 / $base-font-size}rem 0;
|
|
|
|
text-transform: uppercase;
|
|
|
|
background-color: #ffbc00;
|
|
|
|
color: white;
|
|
|
|
text-align: center;
|
|
|
|
padding: #{7 / $base-font-size}rem #{8 / $base-font-size}rem;
|
|
|
|
line-height: 145%;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
|
2017-08-30 21:22:36 +00:00
|
|
|
.nav__item-logo {
|
|
|
|
position: relative;
|
|
|
|
height: #{42 / $base-font-size}rem;
|
|
|
|
width: #{56 / $base-font-size}rem;
|
2019-03-27 16:50:55 +00:00
|
|
|
|
2017-08-30 21:22:36 +00:00
|
|
|
& span {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
}
|
2019-03-28 18:21:43 +00:00
|
|
|
.svg__logo g > path {
|
|
|
|
@include themify() {
|
|
|
|
fill: getThemifyVariable('logo-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.svg__logo g g:first-of-type path {
|
|
|
|
fill: none;
|
|
|
|
}
|
2017-08-30 21:22:36 +00:00
|
|
|
|
2017-09-01 17:38:40 +00:00
|
|
|
.nav__keyboard-shortcut {
|
|
|
|
font-size: #{12 / $base-font-size}rem;
|
|
|
|
font-family: Inconsololata, monospace;
|
2019-03-27 16:50:55 +00:00
|
|
|
|
2017-09-01 17:38:40 +00:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('keyboard-shortcut-color');
|
|
|
|
}
|
2019-03-27 16:50:55 +00:00
|
|
|
|
2017-09-01 17:38:40 +00:00
|
|
|
.nav__dropdown-item:hover & {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('button-hover-color');
|
|
|
|
}
|
|
|
|
}
|
2019-03-27 16:50:55 +00:00
|
|
|
}
|