2020-04-24 22:49:10 +08:00
|
|
|
@require "common/variables.styl";
|
|
|
|
@require "./common/animated.styl";
|
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
$header-progress-height = 3px;
|
2020-10-19 23:02:39 +08:00
|
|
|
$page-aside-width = 258px;
|
2020-09-05 22:41:10 +08:00
|
|
|
|
|
|
|
.page-container {
|
2020-09-07 15:56:13 +08:00
|
|
|
|
|
|
|
transition();
|
|
|
|
|
2020-04-02 11:01:24 +08:00
|
|
|
position: relative;
|
2020-09-05 22:41:10 +08:00
|
|
|
padding-top: $header-progress-height;
|
2020-04-02 11:01:24 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
+ils-tablet() {
|
|
|
|
padding-left: 0 !important;
|
2020-04-01 10:14:18 +08:00
|
|
|
}
|
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.page-header {
|
|
|
|
.header-progress {
|
2020-10-26 12:23:55 +08:00
|
|
|
visibility: hidden;
|
2020-09-05 22:41:10 +08:00
|
|
|
position: fixed;
|
|
|
|
width: 0;
|
|
|
|
height: $header-progress-height;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background: var(--primary-color);
|
|
|
|
transition: all 0.1s ease;
|
|
|
|
z-index: $z-index-7;
|
|
|
|
}
|
|
|
|
}
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-24 22:49:10 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.page-main {
|
2020-04-24 22:49:10 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.page-main-content {
|
|
|
|
padding-top: $header-height;
|
|
|
|
position: relative;
|
2020-04-24 22:49:10 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
+ils-tablet() {
|
|
|
|
padding-top: $header-height - 8px;
|
|
|
|
}
|
2020-04-29 16:37:13 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
+ils-mobile() {
|
|
|
|
padding-top: $header-height - 16px;
|
|
|
|
}
|
2020-04-29 16:37:13 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.page-main-content-top {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: $header-height;
|
|
|
|
|
|
|
|
+ils-tablet() {
|
|
|
|
height: $header-height - 8px;
|
|
|
|
padding-left: 0 !important;
|
2020-04-24 22:49:10 +08:00
|
|
|
}
|
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
+ils-mobile() {
|
|
|
|
height: $header-height - 16px;
|
2020-04-29 16:37:13 +08:00
|
|
|
}
|
2020-09-05 22:41:10 +08:00
|
|
|
|
|
|
|
z-index: $z-index-5;
|
2020-04-24 22:49:10 +08:00
|
|
|
box-sizing: border-box;
|
2020-09-05 22:41:10 +08:00
|
|
|
transition();
|
2020-04-21 10:47:36 +08:00
|
|
|
}
|
|
|
|
|
2020-04-02 11:01:24 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.page-main-content-middle {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding: $component-interspace 0;
|
2020-04-21 10:47:36 +08:00
|
|
|
|
2020-10-28 18:01:59 +08:00
|
|
|
+ils-tablet() {
|
|
|
|
padding: $component-interspace-tablet 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ils-mobile() {
|
|
|
|
padding: $component-interspace-mobile 0;
|
|
|
|
}
|
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.main-content {
|
|
|
|
width: $main-content-width;
|
2020-04-29 16:08:43 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
+ils-tablet() {
|
|
|
|
width: $main-content-width-tablet !important;
|
|
|
|
}
|
2020-04-02 11:01:24 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
+ils-mobile() {
|
|
|
|
width: $main-content-width-mobile !important;
|
|
|
|
}
|
2020-04-28 23:20:17 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2020-04-25 21:45:45 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.page-main-content-bottom {
|
|
|
|
width: 100%;
|
2020-04-25 21:45:45 +08:00
|
|
|
}
|
|
|
|
}
|
2020-04-01 10:14:18 +08:00
|
|
|
|
2020-04-28 23:20:17 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.page-main-content-top-shrink {
|
|
|
|
transition();
|
|
|
|
padding-top: $header-shrink-height;
|
2020-04-01 10:14:18 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.page-main-content-top {
|
|
|
|
height: $header-shrink-height;
|
|
|
|
}
|
2020-06-04 22:11:27 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
}
|
2020-04-03 18:18:42 +08:00
|
|
|
}
|
2020-04-21 10:47:36 +08:00
|
|
|
|
2020-04-03 18:18:42 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
.page-aside {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: - $page-aside-width;
|
|
|
|
width: $page-aside-width;
|
|
|
|
z-index: $z-index-6;
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow-y: auto;
|
2020-11-13 14:43:22 +08:00
|
|
|
border-radius: 0 !important;
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
|
|
|
|
ils-container(1.02, 1.02, 20px);
|
2020-06-04 22:11:27 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
+ils-tablet() {
|
|
|
|
left: 0 !important;
|
|
|
|
display: none !important;
|
|
|
|
}
|
2020-06-04 22:11:27 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
the-transition-ease-out();
|
2020-04-02 11:01:24 +08:00
|
|
|
}
|
2020-04-05 00:42:07 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-04-05 00:42:07 +08:00
|
|
|
.sidebar-tools {
|
2020-09-05 22:41:10 +08:00
|
|
|
position: fixed;
|
|
|
|
top: $header-height + $component-interspace;
|
|
|
|
right: $component-interspace;
|
|
|
|
transition();
|
2020-09-07 16:25:37 +08:00
|
|
|
|
|
|
|
+ils-tablet() {
|
|
|
|
right: 10px;
|
|
|
|
transform: scale(0.82);
|
|
|
|
transform-origin: right top;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ils-mobile() {
|
|
|
|
right: 5px;
|
|
|
|
transform: scale(0.72);
|
|
|
|
transform-origin: right top;
|
|
|
|
}
|
2020-04-21 10:47:36 +08:00
|
|
|
}
|
2020-09-11 15:06:38 +08:00
|
|
|
|
|
|
|
|
2020-11-09 10:02:41 +08:00
|
|
|
.bottom-sidebar-tools {
|
2020-10-25 10:48:07 +08:00
|
|
|
position: fixed;
|
|
|
|
bottom: $component-interspace;
|
|
|
|
right: $component-interspace;
|
|
|
|
width: $circle-button-width;
|
|
|
|
height: $circle-button-width;
|
|
|
|
|
|
|
|
+ils-tablet() {
|
|
|
|
right: 10px;
|
|
|
|
transform: scale(0.82);
|
|
|
|
transform-origin: right bottom;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
+ils-mobile() {
|
|
|
|
right: 5px;
|
|
|
|
transform: scale(0.72);
|
|
|
|
transform-origin: right bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
.sidebar-tools-shrink {
|
|
|
|
transition();
|
|
|
|
top: $header-shrink-height + $component-interspace;
|
|
|
|
}
|
2020-09-02 19:17:24 +08:00
|
|
|
}
|