2018-12-19 06:44:53 +01:00
|
|
|
.navigation {
|
2019-06-11 20:10:58 +02:00
|
|
|
width: var(--side-nav-width);
|
2019-07-21 23:31:22 +02:00
|
|
|
font-size: var(--font-body);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-21 22:54:44 +02:00
|
|
|
.navigation--placeholder {
|
|
|
|
@extend .navigation;
|
2019-09-26 18:07:11 +02:00
|
|
|
padding: 2rem 1.5rem;
|
2019-08-21 22:54:44 +02:00
|
|
|
border-radius: var(--card-radius);
|
2019-09-26 18:07:11 +02:00
|
|
|
font-size: var(--font-title);
|
|
|
|
font-weight: 600;
|
|
|
|
color: $lbry-white;
|
|
|
|
position: relative;
|
|
|
|
background-color: $lbry-black;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
2019-08-21 22:54:44 +02:00
|
|
|
}
|
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
.navigation-links {
|
|
|
|
@extend .ul--no-style;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
list-style: none;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
.navigation-links--small {
|
|
|
|
@extend .navigation-links;
|
|
|
|
font-size: var(--font-multiplier-small);
|
|
|
|
}
|
|
|
|
|
2019-09-27 20:56:15 +02:00
|
|
|
.navigation-links__inline {
|
2019-09-30 21:52:53 +02:00
|
|
|
margin-left: calc(var(--spacing-medium) + var(--spacing-small));
|
2019-09-27 20:56:15 +02:00
|
|
|
}
|
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
.navigation-link__wrapper {
|
|
|
|
margin: var(--spacing-miniscule) 0;
|
2019-03-28 17:53:13 +01:00
|
|
|
}
|
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
.navigation-link {
|
2018-12-19 06:44:53 +01:00
|
|
|
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-07-21 23:31:22 +02:00
|
|
|
margin-top: var(--spacing-small);
|
2019-06-19 07:05:43 +02:00
|
|
|
|
2019-07-22 04:05:37 +02:00
|
|
|
.icon {
|
|
|
|
stroke: $lbry-gray-5;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2019-07-21 23:31:22 +02: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-10-03 23:40:54 +02:00
|
|
|
color: darken($lbry-white, 30%);
|
2019-07-01 20:42:32 +02:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
svg {
|
2019-10-03 23:40:54 +02:00
|
|
|
stroke: darken($lbry-white, 30%);
|
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,
|
2019-07-21 23:31:22 +02:00
|
|
|
&.navigation-link--active {
|
2019-06-11 20:10:58 +02:00
|
|
|
color: $lbry-teal-4;
|
2019-07-01 20:42:32 +02:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
.icon {
|
2019-07-22 04:05:37 +02:00
|
|
|
stroke: $lbry-teal-4;
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
2019-02-05 15:16:24 +01:00
|
|
|
}
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|