2019-04-30 11:11:25 +08:00
|
|
|
.#{$ns}Page {
|
2020-07-28 13:14:33 +08:00
|
|
|
width: 100%;
|
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&-header {
|
2020-12-21 10:08:40 +08:00
|
|
|
padding: var(--Page-header-paddingY) var(--Page-header-paddingX);
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&-main {
|
2020-12-21 10:08:40 +08:00
|
|
|
background: var(--Page-main-bg);
|
2020-02-14 16:11:33 +08:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&-content {
|
2020-12-21 10:08:40 +08:00
|
|
|
padding: var(--Page-content-paddingY) var(--Page-content-paddingX);
|
2020-10-14 11:09:04 +08:00
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&-main > &-header {
|
2020-12-21 10:08:40 +08:00
|
|
|
border-bottom: var(--borderWidth) solid var(--borderColor);
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&-headerRow {
|
2020-12-21 10:08:40 +08:00
|
|
|
border-bottom: var(--borderWidth) solid var(--borderColor);
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2020-07-28 13:14:33 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
.#{$ns}Page-header,
|
|
|
|
.#{$ns}Page-toolbar {
|
2020-07-28 13:14:33 +08:00
|
|
|
flex-grow: 1;
|
2020-10-29 11:47:57 +08:00
|
|
|
min-height: 100%;
|
2019-04-30 11:11:25 +08:00
|
|
|
}
|
2019-05-15 16:10:20 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
.#{$ns}Page-toolbar {
|
|
|
|
text-align: right;
|
2020-12-21 10:08:40 +08:00
|
|
|
padding-right: var(--gap-base);
|
2020-11-05 12:36:09 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
2019-04-30 11:11:25 +08:00
|
|
|
}
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&-title {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-12-21 10:08:40 +08:00
|
|
|
color: var(--Page-title-color);
|
|
|
|
line-height: var(--Page-title-lineHeight);
|
|
|
|
font-size: var(--Page-title-fontSize);
|
|
|
|
font-weight: var(--Page-title-fontWeight);
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&-body {
|
2020-12-21 10:08:40 +08:00
|
|
|
padding: var(--Page-body-padding);
|
2020-02-14 16:11:33 +08:00
|
|
|
flex: 1 auto;
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-asideTplWrapper {
|
2020-12-21 10:08:40 +08:00
|
|
|
padding: var(--gap-xs);
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
}
|
|
|
|
|
2019-07-22 15:42:30 +08:00
|
|
|
.#{$ns}Page-toolbar {
|
2020-10-19 10:44:09 +08:00
|
|
|
> * + * {
|
2020-12-21 10:08:40 +08:00
|
|
|
margin-left: var(--gap-xs);
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-07-22 15:42:30 +08:00
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-07-22 15:42:30 +08:00
|
|
|
.#{$ns}Page-aside {
|
2020-12-21 10:08:40 +08:00
|
|
|
background: var(--Page-aside-bg);
|
2019-04-30 11:11:25 +08:00
|
|
|
}
|
|
|
|
|
2019-07-22 15:42:30 +08:00
|
|
|
@include media-breakpoint-up(md) {
|
2019-12-06 09:58:08 +08:00
|
|
|
.#{$ns}Page-aside {
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: inherit;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: -1;
|
2020-12-21 10:08:40 +08:00
|
|
|
background: inherit;
|
2019-12-06 09:58:08 +08:00
|
|
|
border: inherit;
|
2019-04-30 11:11:25 +08:00
|
|
|
}
|
2019-12-06 09:58:08 +08:00
|
|
|
|
2020-12-21 10:08:40 +08:00
|
|
|
width: var(--Page-aside-width);
|
|
|
|
max-width: var(--Page-aside-maxWidth);
|
|
|
|
border-right: var(--borderWidth) solid var(--borderColor);
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.#{$ns}Page--withSidebar {
|
2020-07-28 13:14:33 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2020-07-28 14:55:00 +08:00
|
|
|
align-items: stretch;
|
2019-12-06 09:58:08 +08:00
|
|
|
|
2020-07-29 13:28:33 +08:00
|
|
|
> .#{$ns}Page-content {
|
2020-07-28 13:14:33 +08:00
|
|
|
width: 0;
|
|
|
|
flex-grow: 1;
|
2019-04-30 11:11:25 +08:00
|
|
|
}
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2019-05-15 16:10:20 +08:00
|
|
|
}
|