2023-05-19 16:11:19 +08:00
|
|
|
body {
|
2023-06-01 18:14:27 +08:00
|
|
|
min-width: 1140px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.navigator-collapsed {
|
2023-05-19 16:11:19 +08:00
|
|
|
min-width: 900px;
|
|
|
|
}
|
|
|
|
|
2023-03-16 19:54:24 +08:00
|
|
|
.sci--layout {
|
2023-05-24 04:52:39 +08:00
|
|
|
--breadcrumbs-navigation-height: 44px;
|
2023-05-17 20:18:16 +08:00
|
|
|
--left-navigation-width: 192px;
|
2023-05-04 16:06:42 +08:00
|
|
|
--navbar-height: calc(var(--top-navigation-height) + var(--breadcrumbs-navigation-height));
|
2023-06-29 17:17:41 +08:00
|
|
|
--title-row-height: 4em;
|
2023-06-13 17:51:00 +08:00
|
|
|
--top-navigation-height: 72px;
|
2023-03-16 19:54:24 +08:00
|
|
|
display: grid;
|
2023-06-12 20:23:26 +08:00
|
|
|
grid-template-areas: "left top top"
|
2023-03-16 19:54:24 +08:00
|
|
|
"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-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-06-12 20:23:26 +08:00
|
|
|
height: 100vh;
|
2023-05-19 16:11:19 +08:00
|
|
|
position: sticky;
|
|
|
|
position: -webkit-sticky;
|
2023-06-12 20:23:26 +08:00
|
|
|
top: 0;
|
2023-05-04 16:06:42 +08:00
|
|
|
width: var(--left-navigation-width);
|
2023-03-16 19:54:24 +08:00
|
|
|
z-index: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci--layout-navigation-navigator {
|
2023-08-22 22:20:21 +08:00
|
|
|
--navigator-top-margin: 0px;
|
2023-08-09 17:01:20 +08:00
|
|
|
background-color: var(--sn-white);
|
2023-03-16 19:54:24 +08:00
|
|
|
grid-area: navigator;
|
2023-08-22 22:20:21 +08:00
|
|
|
height: calc(100vh - var(--navbar-height) - 1rem - var(--navigator-top-margin));
|
2023-05-19 16:11:19 +08:00
|
|
|
position: sticky;
|
|
|
|
position: -webkit-sticky;
|
2023-08-22 22:20:21 +08:00
|
|
|
top: 1rem;
|
|
|
|
transition: width .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 {
|
2023-08-09 17:01:20 +08:00
|
|
|
background-color: var(--sn-white);
|
2023-03-16 19:54:24 +08:00
|
|
|
grid-area: breadcrumbs;
|
2023-05-04 16:06:42 +08:00
|
|
|
height: var(--breadcrumbs-navigation-height);
|
2023-04-19 20:16:22 +08:00
|
|
|
transition: .4s $timing-function-sharp;
|
2023-05-19 16:11:19 +08:00
|
|
|
width: 100%;
|
2023-03-16 19:54:24 +08:00
|
|
|
z-index: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci--layout-content {
|
2023-08-09 17:01:20 +08:00
|
|
|
background-color: var(--sn-white);
|
2023-03-16 19:54:24 +08:00
|
|
|
grid-area: content;
|
2023-08-31 21:50:35 +08:00
|
|
|
padding: 0 1rem;
|
2023-04-12 21:23:35 +08:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.container-fluid {
|
2023-05-17 20:18:16 +08:00
|
|
|
padding: 1em; // override bootstrap and old pages support
|
2023-04-12 21:23:35 +08:00
|
|
|
}
|
2023-03-16 19:54:24 +08:00
|
|
|
}
|
2023-08-09 17:01:20 +08:00
|
|
|
|
|
|
|
&[data-grey-background="true"] {
|
2023-08-22 22:20:21 +08:00
|
|
|
background-color: var(--sn-super-light-grey);
|
|
|
|
|
2023-08-09 17:01:20 +08:00
|
|
|
.sci--layout-content,
|
|
|
|
.sci--layout-navigation-breadcrumbs,
|
|
|
|
.sci--layout-navigation-navigator {
|
|
|
|
background-color: var(--sn-super-light-grey);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
2023-10-12 20:40:13 +08:00
|
|
|
|
|
|
|
.resizable-r {
|
|
|
|
cursor: url("/images/icon_small/Resize.svg") 0 0, auto !important;
|
|
|
|
padding: 0 .8rem;
|
|
|
|
}
|
2023-03-16 19:54:24 +08:00
|
|
|
}
|
2023-06-27 15:39:24 +08:00
|
|
|
|
|
|
|
.w-98 {
|
|
|
|
width: 98%;
|
|
|
|
}
|