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;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__link {
|
|
|
|
display: block;
|
|
|
|
padding: 0.1rem 0.5rem;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: rgba($colorBlack, 0.7);
|
|
|
|
margin-bottom: 0.2rem;
|
|
|
|
margin-left: -0.5rem;
|
|
|
|
|
|
|
|
&.active,
|
|
|
|
&:hover {
|
|
|
|
color: $colorBlack;
|
|
|
|
background-color: rgba($colorBlack, 0.05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-17 23:06:55 +08:00
|
|
|
&__header {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: 2rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content-inner {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__sidebar {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 18rem;
|
2020-04-18 05:18:18 +08:00
|
|
|
padding-right: 3rem;
|
2020-04-17 23:06:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__main {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__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
|
|
|
}
|
|
|
|
}
|