2016-06-10 02:15:50 +00:00
|
|
|
.nav {
|
|
|
|
width: 100%;
|
2016-08-28 00:46:20 +00:00
|
|
|
padding: #{10 / $base-font-size}rem #{70 / $base-font-size}rem;
|
2016-09-22 01:46:23 +00:00
|
|
|
padding-left: #{33 / $base-font-size}rem;
|
2016-06-10 02:15:50 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2016-06-17 18:11:52 +00:00
|
|
|
justify-content: space-between;
|
2016-09-22 01:46:23 +00:00
|
|
|
font-size: #{12 / $base-font-size}rem;
|
2016-06-10 02:15:50 +00:00
|
|
|
}
|
|
|
|
|
2016-06-17 18:11:52 +00:00
|
|
|
.nav__items-left, .nav__items-right {
|
2016-09-14 22:38:57 +00:00
|
|
|
@include themify() {
|
2016-09-22 01:46:23 +00:00
|
|
|
border-bottom: 1px dashed map-get($theme-map, 'inactive-text-color');
|
2016-09-14 22:38:57 +00:00
|
|
|
}
|
2016-06-10 02:15:50 +00:00
|
|
|
list-style: none;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
|
|
|
padding: #{5 / $base-font-size}rem #{10 / $base-font-size}rem;
|
2016-06-17 18:11:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav__item {
|
|
|
|
& + & {
|
2016-09-22 01:46:23 +00:00
|
|
|
margin-left: #{0 / $base-font-size}rem;
|
2016-06-17 18:11:52 +00:00
|
|
|
}
|
2016-08-28 00:46:20 +00:00
|
|
|
position: relative;
|
2016-09-22 01:46:23 +00:00
|
|
|
min-width: #{72 / $base-font-size}rem;
|
2016-08-28 00:46:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav__dropdown {
|
2016-09-21 23:00:24 +00:00
|
|
|
@include themify() {
|
|
|
|
background-color: map-get($theme-map, 'background-color');
|
|
|
|
border: 1px solid map-get($theme-map, 'ide-border-color');
|
|
|
|
}
|
|
|
|
@extend %hidden-element;
|
2016-08-28 00:46:20 +00:00
|
|
|
& li + li {
|
|
|
|
margin-top: #{10 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
width: #{140 / $base-font-size}rem;
|
2016-09-21 23:00:24 +00:00
|
|
|
.nav__item:hover & {
|
|
|
|
display: flex;
|
|
|
|
position: absolute;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: #{10 / $base-font-size}rem;
|
|
|
|
left: #{-10 / $base-font-size}rem;
|
|
|
|
height: auto;
|
|
|
|
}
|
2016-06-10 02:15:50 +00:00
|
|
|
}
|