2016-06-10 02:15:50 +00:00
|
|
|
.nav {
|
|
|
|
width: 100%;
|
2017-07-17 21:09:46 +00:00
|
|
|
height: #{42 / $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-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
|
|
|
}
|
2017-07-25 19:35:18 +00:00
|
|
|
& button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-07-17 21:09:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav__items-left, .nav__items-right {
|
2016-06-10 02:15:50 +00:00
|
|
|
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 {
|
2016-08-28 00:46:20 +00:00
|
|
|
position: relative;
|
2017-07-25 19:35:18 +00:00
|
|
|
padding: 0 #{10 / $base-font-size}rem;
|
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%;
|
2016-08-28 00:46:20 +00:00
|
|
|
}
|
|
|
|
|
2016-12-19 22:52:21 +00:00
|
|
|
.nav__item:first-child {
|
|
|
|
padding-left: #{15 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__item:last-child {
|
|
|
|
padding-right: #{15 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2017-07-25 19:35:18 +00:00
|
|
|
.nav__item-header {
|
|
|
|
margin-right: #{5 / $base-font-size}rem;
|
|
|
|
}
|
2016-12-19 22:52:21 +00:00
|
|
|
|
2016-08-28 00:46:20 +00:00
|
|
|
.nav__dropdown {
|
2016-09-21 23:00:24 +00:00
|
|
|
@include themify() {
|
2016-12-20 05:21:04 +00:00
|
|
|
background-color: map-get($theme-map, 'modal-background-color');
|
|
|
|
border: 1px solid map-get($theme-map, 'modal-border-color');
|
2017-07-25 19:35:18 +00:00
|
|
|
box-shadow: 0 0 18px 0 getThemifyVariable('shadow-color');
|
|
|
|
color: getThemifyVariable('dropdown-color');
|
2016-08-28 00:46:20 +00:00
|
|
|
}
|
2017-07-19 21:35:25 +00:00
|
|
|
display: none;
|
2016-12-20 05:21:04 +00:00
|
|
|
text-align: left;
|
2017-07-25 19:35:18 +00:00
|
|
|
width: #{180 / $base-font-size}rem;
|
2017-07-19 21:35:25 +00:00
|
|
|
.nav__item:hover &, .nav__item--open & {
|
2016-09-21 23:00:24 +00:00
|
|
|
display: flex;
|
|
|
|
position: absolute;
|
|
|
|
flex-direction: column;
|
2017-07-25 19:35:18 +00:00
|
|
|
top: 4px;
|
2017-07-19 21:35:25 +00:00
|
|
|
left: 0;
|
2016-09-21 23:00:24 +00:00
|
|
|
height: auto;
|
|
|
|
}
|
2017-07-25 19:35:18 +00:00
|
|
|
z-index: 9999;
|
|
|
|
border-radius: #{6 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__items-right {
|
|
|
|
padding-right: #{20 / $base-font-size}rem;
|
|
|
|
& .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 {
|
2016-12-19 22:52:21 +00:00
|
|
|
@include themify() {
|
|
|
|
color: map-get($theme-map, 'inactive-text-color');
|
2017-03-16 22:25:12 +00:00
|
|
|
}
|
2016-12-20 05:21:04 +00:00
|
|
|
}
|
|
|
|
|
2017-03-16 22:25:12 +00:00
|
|
|
.nav__dropdown a, button {
|
2016-12-20 05:21:04 +00:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('secondary-text-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-16 22:25:12 +00:00
|
|
|
.nav__dropdown button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2016-12-20 05:21:04 +00:00
|
|
|
.nav__dropdown a:hover {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('primary-text-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__dropdown-heading {
|
|
|
|
@include themify() {
|
|
|
|
border-bottom: 1px dashed map-get($theme-map, 'inactive-text-color');
|
|
|
|
}
|
2017-07-25 19:35:18 +00:00
|
|
|
height: #{(42 - 5) / $base-font-size}rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: 0 #{16 / $base-font-size}rem;
|
2016-12-20 05:21:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav__dropdown-heading a, .nav__dropdown-heading a:hover {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('inactive-text-color');
|
|
|
|
}
|
|
|
|
cursor: default;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2017-07-25 19:35:18 +00:00
|
|
|
.nav__dropdown-heading svg {
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__dropdown-item {
|
|
|
|
height: #{32 / $base-font-size}rem;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 #{16 / $base-font-size}rem;
|
|
|
|
cursor: pointer;
|
|
|
|
& button, & a {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('dropdown-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('button-background-hover-color');
|
|
|
|
color: getThemifyVariable('button-hover-color')
|
|
|
|
}
|
|
|
|
& button, & a {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('button-hover-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__dropdown-item:last-child {
|
|
|
|
border-radius: 0 0 #{6 / $base-font-size}rem #{6 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|