2016-06-10 04:15:50 +02:00
|
|
|
.nav {
|
2017-07-17 23:09:46 +02:00
|
|
|
height: #{42 / $base-font-size}rem;
|
2019-03-27 17:50:55 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
@include themify() {
|
2020-04-21 23:49:02 +02:00
|
|
|
border-bottom: 1px dashed map-get($theme-map, 'nav-border-color');
|
2019-03-27 17:50:55 +01:00
|
|
|
}
|
|
|
|
|
2017-07-25 21:35:18 +02:00
|
|
|
& button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-07-17 23:09:46 +02:00
|
|
|
}
|
|
|
|
|
2019-03-27 17:50:55 +01:00
|
|
|
.nav__items-left,
|
|
|
|
.nav__items-right {
|
|
|
|
list-style: none;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
2017-07-17 23:09:46 +02:00
|
|
|
height: 100%;
|
2017-07-25 21:35:18 +02:00
|
|
|
align-items: center;
|
2016-06-17 20:11:52 +02:00
|
|
|
}
|
|
|
|
|
2020-04-25 00:34:26 +02:00
|
|
|
// .nav__items-left,
|
|
|
|
// .nav__items-right {
|
|
|
|
// & button, & a {
|
|
|
|
// @include themify() {
|
|
|
|
// color: getThemifyVariable('primary-text-color');
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
2017-03-30 19:22:23 +02:00
|
|
|
|
2016-06-17 20:11:52 +02:00
|
|
|
.nav__item {
|
2019-03-27 17:50:55 +01:00
|
|
|
position: relative;
|
2017-07-17 23:09:46 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2017-07-25 21:35:18 +02:00
|
|
|
height: 100%;
|
2019-03-27 17:50:55 +01:00
|
|
|
|
|
|
|
& button {
|
|
|
|
padding: #{12 / $base-font-size}rem #{10 / $base-font-size}rem;
|
|
|
|
}
|
2016-08-28 02:46:20 +02:00
|
|
|
}
|
|
|
|
|
2019-09-11 20:11:20 +02:00
|
|
|
.nav__item--no-icon {
|
2019-03-27 17:50:55 +01:00
|
|
|
padding-left: #{15 / $base-font-size}rem;
|
2016-12-19 23:52:21 +01:00
|
|
|
}
|
|
|
|
|
2020-04-30 00:34:37 +02:00
|
|
|
.nav__item-header-triangle polygon,
|
|
|
|
.nav__item-header-triangle path {
|
2020-04-21 23:49:02 +02:00
|
|
|
@include themify() {
|
|
|
|
fill: getThemifyVariable('icon-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-11 18:56:44 +02:00
|
|
|
.nav__item:hover {
|
|
|
|
.nav__item-header {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('nav-hover-color');
|
|
|
|
}
|
|
|
|
}
|
2019-09-11 22:46:56 +02:00
|
|
|
|
|
|
|
& g, & path {
|
|
|
|
@include themify() {
|
|
|
|
fill: getThemifyVariable('nav-hover-color');
|
|
|
|
}
|
|
|
|
}
|
2019-03-27 17:50:55 +01:00
|
|
|
|
2020-04-30 00:34:37 +02:00
|
|
|
.nav__item-header-triangle polygon,
|
|
|
|
.nav__item-header-triangle path {
|
2019-03-27 17:50:55 +01:00
|
|
|
@include themify() {
|
2017-10-11 18:56:44 +02:00
|
|
|
fill: getThemifyVariable('nav-hover-color');
|
2019-03-27 17:50:55 +01:00
|
|
|
}
|
2017-10-11 18:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-11 23:46:37 +02:00
|
|
|
.nav__item-header:hover {
|
|
|
|
@include themify() {
|
2019-09-11 22:46:56 +02:00
|
|
|
color: getThemifyVariable('nav-hover-color');
|
|
|
|
}
|
|
|
|
& g, & path {
|
|
|
|
@include themify() {
|
|
|
|
fill: getThemifyVariable('nav-hover-color');
|
2019-06-11 23:46:37 +02:00
|
|
|
}
|
2019-09-11 22:46:56 +02:00
|
|
|
}
|
2019-06-11 23:46:37 +02:00
|
|
|
}
|
|
|
|
|
2019-06-11 23:46:37 +02:00
|
|
|
.nav__item-header-triangle {
|
|
|
|
margin-left: #{5 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2019-06-11 23:46:37 +02:00
|
|
|
.nav__dropdown {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('nav-hover-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__item-header-triangle {
|
|
|
|
margin-left: #{5 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2016-08-28 02:46:20 +02:00
|
|
|
.nav__dropdown {
|
2019-06-12 21:58:02 +02:00
|
|
|
@extend %dropdown-open-left;
|
2017-07-19 23:35:25 +02:00
|
|
|
display: none;
|
2019-03-27 17:50:55 +01:00
|
|
|
.nav__item--open & {
|
|
|
|
display: flex;
|
|
|
|
}
|
2017-07-25 21:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav__items-right {
|
|
|
|
padding-right: #{20 / $base-font-size}rem;
|
2019-03-27 17:50:55 +01:00
|
|
|
|
2017-07-25 21:35:18 +02:00
|
|
|
& .nav__dropdown {
|
2020-07-13 23:16:14 +02:00
|
|
|
width: #{125 / $base-font-size}rem;
|
2017-07-25 21:35:18 +02:00
|
|
|
}
|
2016-12-19 23:52:21 +01:00
|
|
|
}
|
|
|
|
|
2016-12-19 23:56:39 +01:00
|
|
|
.nav__item-spacer {
|
2019-03-27 17:50:55 +01:00
|
|
|
@include themify() {
|
|
|
|
color: map-get($theme-map, 'inactive-text-color');
|
2020-04-22 23:06:05 +02:00
|
|
|
margin-left: #{8 / $base-font-size}rem;
|
2019-03-27 17:50:55 +01:00
|
|
|
}
|
2016-12-20 06:21:04 +01:00
|
|
|
}
|
|
|
|
|
2020-04-22 23:06:05 +02:00
|
|
|
.nav__item-or {
|
|
|
|
@include themify() {
|
|
|
|
color: map-get($theme-map, 'inactive-text-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__auth-button {
|
|
|
|
padding: #{10 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2019-06-12 22:12:19 +02:00
|
|
|
// .nav__dropdown button {
|
|
|
|
// padding: 0;
|
|
|
|
// }
|
2017-03-16 23:25:12 +01:00
|
|
|
|
2017-07-25 21:35:18 +02:00
|
|
|
.nav__dropdown-item {
|
2019-03-27 17:50:55 +01:00
|
|
|
& button,
|
|
|
|
& a {
|
2017-09-01 19:38:40 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2017-07-25 21:35:18 +02:00
|
|
|
}
|
|
|
|
|
2017-01-06 21:13:46 +01: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 23:22:36 +02:00
|
|
|
.nav__item-logo {
|
|
|
|
position: relative;
|
2020-09-09 12:13:51 +02:00
|
|
|
height: #{(42 - 1) / $base-font-size}rem;
|
2017-08-30 23:22:36 +02:00
|
|
|
width: #{56 / $base-font-size}rem;
|
2020-09-09 12:13:51 +02:00
|
|
|
background:$p5js-pink;
|
2019-03-27 17:50:55 +01:00
|
|
|
|
2017-08-30 23:22:36 +02:00
|
|
|
& span {
|
|
|
|
position: absolute;
|
|
|
|
}
|
2020-09-09 12:13:51 +02:00
|
|
|
|
|
|
|
svg{
|
|
|
|
width: 100%;
|
|
|
|
height: 90%;
|
|
|
|
padding-top: 5%;
|
|
|
|
|
|
|
|
path{
|
|
|
|
stroke: $dark;
|
|
|
|
}
|
|
|
|
}
|
2017-08-30 23:22:36 +02:00
|
|
|
}
|
2019-03-28 19:21:43 +01:00
|
|
|
.svg__logo g > path {
|
|
|
|
@include themify() {
|
2020-04-27 22:48:55 +02:00
|
|
|
fill: getThemifyVariable('logo-color');
|
|
|
|
}
|
2019-03-28 19:21:43 +01:00
|
|
|
}
|
|
|
|
.svg__logo g g:first-of-type path {
|
|
|
|
fill: none;
|
|
|
|
}
|
2017-08-30 23:22:36 +02:00
|
|
|
|
2020-04-27 22:48:55 +02:00
|
|
|
.svg__logo g g:first-of-type use {
|
|
|
|
@include themify() {
|
|
|
|
fill: getThemifyVariable('logo-background-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-01 19:38:40 +02:00
|
|
|
.nav__keyboard-shortcut {
|
|
|
|
font-size: #{12 / $base-font-size}rem;
|
|
|
|
font-family: Inconsololata, monospace;
|
2019-03-27 17:50:55 +01:00
|
|
|
|
2017-09-01 19:38:40 +02:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('keyboard-shortcut-color');
|
|
|
|
}
|
2019-03-27 17:50:55 +01:00
|
|
|
|
2017-09-01 19:38:40 +02:00
|
|
|
.nav__dropdown-item:hover & {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('button-hover-color');
|
|
|
|
}
|
|
|
|
}
|
2019-09-11 20:11:20 +02:00
|
|
|
}
|
2019-09-11 22:46:56 +02:00
|
|
|
|
|
|
|
.nav__back-icon {
|
|
|
|
& g, & path {
|
|
|
|
opacity: 1;
|
|
|
|
@include themify() {
|
|
|
|
fill: getThemifyVariable('inactive-text-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
margin-right: #{5 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__back-link {
|
|
|
|
display: flex;
|
|
|
|
}
|