2020-04-23 03:57:26 +08:00
|
|
|
$navHeight: 4.5rem;
|
|
|
|
|
2020-04-17 23:06:55 +08:00
|
|
|
.app {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100%;
|
|
|
|
|
2020-04-18 05:18:18 +08:00
|
|
|
&__logo {
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
|
2020-04-18 18:48:20 +08:00
|
|
|
&__link-group {
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__link-group-title {
|
|
|
|
font-weight: 700;
|
2020-04-18 23:05:29 +08:00
|
|
|
letter-spacing: 0.025rem;
|
2020-04-18 18:48:20 +08:00
|
|
|
font-size: 0.75rem;
|
|
|
|
text-transform: uppercase;
|
2020-04-19 05:53:05 +08:00
|
|
|
color: rgba($colorBlack, 0.3);
|
2020-04-18 18:48:20 +08:00
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2020-04-18 05:18:18 +08:00
|
|
|
&__link {
|
|
|
|
display: block;
|
|
|
|
padding: 0.1rem 0.5rem;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-weight: 500;
|
2020-04-19 05:00:47 +08:00
|
|
|
color: rgba($colorBlack, 0.6);
|
2020-04-18 05:18:18 +08:00
|
|
|
margin-bottom: 0.2rem;
|
|
|
|
margin-left: -0.5rem;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $colorBlack;
|
2020-04-19 05:00:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $colorBlack;
|
2020-04-18 05:18:18 +08:00
|
|
|
background-color: rgba($colorBlack, 0.05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-17 23:06:55 +08:00
|
|
|
&__header {
|
2020-04-23 03:23:24 +08:00
|
|
|
align-self: center;
|
|
|
|
position: fixed;
|
2020-04-23 03:57:26 +08:00
|
|
|
top: 0;
|
2020-04-23 03:23:24 +08:00
|
|
|
z-index: 2;
|
2020-04-23 03:57:26 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-04-23 03:23:24 +08:00
|
|
|
width: 100%;
|
2020-04-23 03:57:26 +08:00
|
|
|
height: $navHeight;
|
2020-04-17 23:06:55 +08:00
|
|
|
flex: 0 0 auto;
|
2020-04-23 03:23:24 +08:00
|
|
|
background-color: rgba($colorBackground, 0.8);
|
2020-04-23 03:57:26 +08:00
|
|
|
border-bottom: 1px solid rgba($colorBlack, 0.05);
|
2020-04-23 03:23:24 +08:00
|
|
|
backdrop-filter: blur(10px);
|
2020-04-17 23:06:55 +08:00
|
|
|
}
|
2020-04-23 03:57:26 +08:00
|
|
|
|
|
|
|
&__header-inner {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
max-width: 62rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0 1rem;
|
|
|
|
|
|
|
|
@media (min-width: 750px) {
|
|
|
|
padding: 0 2rem;
|
|
|
|
}
|
|
|
|
}
|
2020-04-17 23:06:55 +08:00
|
|
|
|
|
|
|
&__content {
|
|
|
|
flex: 1 1 auto;
|
2020-04-23 03:57:26 +08:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 62rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding-left: 1rem;
|
|
|
|
padding-right: 1rem;
|
|
|
|
|
|
|
|
@media (min-width: 750px) {
|
|
|
|
padding-left: 2rem;
|
|
|
|
padding-right: 2rem;
|
|
|
|
}
|
2020-04-17 23:06:55 +08:00
|
|
|
}
|
|
|
|
|
2020-04-23 03:23:24 +08:00
|
|
|
&__sidebar-wrapper {
|
2020-04-17 23:06:55 +08:00
|
|
|
flex: 0 0 auto;
|
2020-04-23 03:23:24 +08:00
|
|
|
align-self: flex-start;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2020-04-17 23:06:55 +08:00
|
|
|
width: 18rem;
|
2020-04-23 03:23:24 +08:00
|
|
|
height: 100vh;
|
2020-04-18 05:18:18 +08:00
|
|
|
padding-right: 3rem;
|
2020-04-23 03:57:26 +08:00
|
|
|
padding-top: $navHeight;
|
2020-04-23 03:26:03 +08:00
|
|
|
|
|
|
|
@media (max-width: 750px) {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-04-23 03:23:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__sidebar {
|
|
|
|
overflow: auto;
|
|
|
|
height: 100%;
|
2020-04-23 03:57:26 +08:00
|
|
|
padding-top: 2rem;
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
margin-left: -0.5rem;
|
2020-04-17 23:06:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__main {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
min-width: 0;
|
2020-04-23 03:57:26 +08:00
|
|
|
padding-top: $navHeight + 2rem;
|
2020-04-17 23:06:55 +08:00
|
|
|
}
|
|
|
|
}
|