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