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-19 04:35:29 +08:00
|
|
|
&__header,
|
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 62rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding-left: 2rem;
|
|
|
|
padding-right: 2rem;
|
|
|
|
}
|
|
|
|
|
2020-04-17 23:06:55 +08:00
|
|
|
&__header {
|
2020-04-23 03:23:24 +08:00
|
|
|
align-self: center;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 2;
|
|
|
|
width: 100%;
|
|
|
|
top: 0;
|
2020-04-17 23:06:55 +08:00
|
|
|
flex: 0 0 auto;
|
2020-04-19 04:35:29 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-top: 2rem;
|
|
|
|
padding-bottom: 2rem;
|
2020-04-23 03:23:24 +08:00
|
|
|
background-color: rgba($colorBackground, 0.8);
|
|
|
|
backdrop-filter: blur(10px);
|
2020-04-17 23:06:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
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:23:24 +08:00
|
|
|
padding-top: 100px;
|
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-17 23:06:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__main {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
min-width: 0;
|
2020-04-23 03:23:24 +08:00
|
|
|
padding-top: 100px;
|
2020-04-17 23:06:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__inner {
|
|
|
|
max-width: 62rem;
|
|
|
|
margin: 0 auto;
|
2020-04-18 05:18:18 +08:00
|
|
|
padding: 0 2rem;
|
2020-04-17 23:06:55 +08:00
|
|
|
}
|
|
|
|
}
|