2023-03-16 19:54:24 +08:00
|
|
|
.sci--layout {
|
2023-05-04 16:06:42 +08:00
|
|
|
--breadcrumbs-navigation-height: 56px;
|
|
|
|
--left-navigation-width: 204px;
|
|
|
|
--navbar-height: calc(var(--top-navigation-height) + var(--breadcrumbs-navigation-height));
|
2023-05-09 20:53:50 +08:00
|
|
|
--navigator-navigation-width: 216px;
|
2023-05-04 16:06:42 +08:00
|
|
|
--top-navigation-height: 52px;
|
2023-03-16 19:54:24 +08:00
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "top top top"
|
|
|
|
"left breadcrumbs breadcrumbs"
|
|
|
|
"left navigator content";
|
2023-05-04 16:06:42 +08:00
|
|
|
grid-template-columns: var(--left-navigation-width)
|
|
|
|
var(--navigator-navigation-width)
|
|
|
|
calc(100% - var(--left-navigation-width) - var(--navigator-navigation-width));
|
|
|
|
grid-template-rows: var(--top-navigation-height)
|
|
|
|
var(--breadcrumbs-navigation-height)
|
|
|
|
calc(100% - var(--top-navigation-height) - var(--breadcrumbs-navigation-height));
|
2023-04-14 17:38:28 +08:00
|
|
|
height: 100%;
|
2023-03-16 19:54:24 +08:00
|
|
|
position: relative;
|
2023-03-24 17:42:37 +08:00
|
|
|
transition: .4s $timing-function-sharp;
|
2023-03-16 19:54:24 +08:00
|
|
|
width: 100%;
|
|
|
|
|
2023-04-19 20:16:22 +08:00
|
|
|
.sci--layout--navigator-open {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-03-16 19:54:24 +08:00
|
|
|
&[data-breadcrumbs-collapsed="true"] {
|
2023-05-04 16:06:42 +08:00
|
|
|
--breadcrumbs-navigation-height: 0px;
|
2023-03-16 19:54:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&[data-navigator-collapsed="true"] {
|
2023-05-04 16:06:42 +08:00
|
|
|
--navigator-navigation-width: 0px;
|
2023-04-19 20:16:22 +08:00
|
|
|
|
|
|
|
.sci--layout--navigator-open {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2023-03-16 19:54:24 +08:00
|
|
|
}
|
|
|
|
|
2023-04-18 16:50:16 +08:00
|
|
|
&[data-left-navigation-collapsed="true"] {
|
2023-05-04 16:06:42 +08:00
|
|
|
--left-navigation-width: 0px;
|
2023-04-18 16:50:16 +08:00
|
|
|
}
|
|
|
|
|
2023-03-16 19:54:24 +08:00
|
|
|
.sci--layout-navigation-top {
|
|
|
|
grid-area: top;
|
2023-05-04 16:06:42 +08:00
|
|
|
height: var(--top-navigation-height);
|
2023-03-16 19:54:24 +08:00
|
|
|
position: fixed;
|
2023-04-14 17:38:28 +08:00
|
|
|
width: 100%;
|
2023-03-22 16:42:54 +08:00
|
|
|
z-index: 610;
|
2023-03-16 19:54:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sci--layout-navigation-left {
|
|
|
|
grid-area: left;
|
2023-05-04 16:06:42 +08:00
|
|
|
height: calc(100% - var(--top-navigation-height));
|
2023-03-16 19:54:24 +08:00
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
2023-05-04 16:06:42 +08:00
|
|
|
top: var(--top-navigation-height);
|
|
|
|
width: var(--left-navigation-width);
|
2023-03-16 19:54:24 +08:00
|
|
|
z-index: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci--layout-navigation-navigator {
|
|
|
|
grid-area: navigator;
|
2023-05-04 16:06:42 +08:00
|
|
|
height: calc(100% - var(--top-navigation-height) - var(--breadcrumbs-navigation-height));
|
|
|
|
left: var(--left-navigation-width);
|
2023-03-16 19:54:24 +08:00
|
|
|
position: fixed;
|
2023-05-04 16:06:42 +08:00
|
|
|
top: calc(var(--top-navigation-height) + var(--breadcrumbs-navigation-height));
|
2023-04-19 20:16:22 +08:00
|
|
|
transition: .4s $timing-function-sharp;
|
2023-05-04 16:06:42 +08:00
|
|
|
width: var(--navigator-navigation-width);
|
2023-03-16 19:54:24 +08:00
|
|
|
z-index: 550;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci--layout-navigation-breadcrumbs {
|
|
|
|
grid-area: breadcrumbs;
|
2023-05-04 16:06:42 +08:00
|
|
|
height: var(--breadcrumbs-navigation-height);
|
|
|
|
left: var(--left-navigation-width);
|
2023-03-16 19:54:24 +08:00
|
|
|
position: fixed;
|
2023-05-04 16:06:42 +08:00
|
|
|
top: var(--top-navigation-height);
|
2023-04-19 20:16:22 +08:00
|
|
|
transition: .4s $timing-function-sharp;
|
2023-05-04 16:06:42 +08:00
|
|
|
width: calc(100% - var(--left-navigation-width));
|
2023-03-16 19:54:24 +08:00
|
|
|
z-index: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci--layout-content {
|
|
|
|
grid-area: content;
|
2023-04-12 21:23:35 +08:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.container-fluid {
|
2023-04-17 17:36:08 +08:00
|
|
|
padding: 0 1em; // override bootstrap and old pages support
|
2023-04-12 21:23:35 +08:00
|
|
|
}
|
2023-03-16 19:54:24 +08:00
|
|
|
}
|
|
|
|
}
|