2018-12-19 06:44:53 +01:00
|
|
|
.navigation {
|
2019-06-11 20:10:58 +02:00
|
|
|
width: var(--side-nav-width);
|
|
|
|
font-size: 1.4rem;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation__links {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
.navigation__links--small {
|
|
|
|
@extend .navigation__links;
|
|
|
|
font-size: 1.2rem;
|
2019-06-17 22:32:38 +02:00
|
|
|
margin-top: var(--spacing-small);
|
2019-03-28 17:53:13 +01:00
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.navigation__link {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
text-align: left;
|
|
|
|
transition: color 0.2s;
|
2019-06-11 20:10:58 +02:00
|
|
|
overflow: hidden;
|
2018-12-19 06:44:53 +01:00
|
|
|
white-space: nowrap;
|
2019-06-11 20:10:58 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
color: lighten($lbry-black, 20%);
|
2019-06-17 22:32:38 +02:00
|
|
|
margin-top: var(--spacing-miniscule);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-06-19 07:05:43 +02:00
|
|
|
.icon {
|
|
|
|
margin-right: var(--spacing-small);
|
|
|
|
}
|
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
&:hover {
|
|
|
|
color: $lbry-teal-4;
|
|
|
|
.icon {
|
|
|
|
color: $lbry-teal-4;
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.navigation__link--active {
|
2019-06-11 20:10:58 +02:00
|
|
|
color: $lbry-teal-5;
|
|
|
|
.icon {
|
|
|
|
color: $lbry-teal-4;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
2019-02-05 15:16:24 +01:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
[data-mode='dark'] & {
|
2019-07-01 20:42:32 +02:00
|
|
|
color: var(--dm-color-01);
|
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
svg {
|
2019-07-01 20:42:32 +02:00
|
|
|
color: var(--dm-color-01);
|
2019-02-05 18:05:54 +01:00
|
|
|
}
|
2019-02-05 15:16:24 +01:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
&:hover,
|
|
|
|
&.navigation__link--active {
|
|
|
|
color: $lbry-teal-4;
|
2019-07-01 20:42:32 +02:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
.icon {
|
|
|
|
color: $lbry-teal-4;
|
|
|
|
}
|
2019-02-05 15:16:24 +01:00
|
|
|
}
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation__link--title {
|
2019-06-11 20:10:58 +02:00
|
|
|
margin-top: var(--spacing-large);
|
2018-12-19 06:44:53 +01:00
|
|
|
color: $lbry-gray-5;
|
2019-01-14 19:40:06 +01:00
|
|
|
font-size: 1.15rem;
|
2018-12-19 06:44:53 +01:00
|
|
|
font-weight: 700;
|
|
|
|
letter-spacing: 0.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation__link-items {
|
|
|
|
font-size: 1.15rem;
|
2019-06-11 20:10:58 +02:00
|
|
|
padding-left: var(--spacing-large);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation__link-item {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
width: 0.25rem;
|
|
|
|
height: 0.25rem;
|
|
|
|
top: 44%;
|
|
|
|
left: -1rem;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.navigation__link-item--active) {
|
|
|
|
color: $lbry-gray-5;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
.navigation__link-item--active {
|
|
|
|
&::before {
|
|
|
|
background-color: $lbry-black;
|
|
|
|
|
2019-06-29 00:21:21 +02:00
|
|
|
[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
color: $lbry-gray-1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-06-17 22:32:38 +02:00
|
|
|
|
|
|
|
.navigation__link--indented {
|
|
|
|
padding-left: 2rem;
|
|
|
|
}
|