128 lines
2.3 KiB
SCSS
128 lines
2.3 KiB
SCSS
// file: crates/ksp-app-config-desk/frontend/sass/_app.scss
|
|
// version: 6
|
|
|
|
$app-header-height: 72px;
|
|
$app-footer-height: 42px;
|
|
$app-sidebar-width: 250px;
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
background: $gray-100;
|
|
}
|
|
|
|
.app-header {
|
|
position: fixed;
|
|
inset: 0 0 auto;
|
|
height: $app-header-height;
|
|
z-index: 1020;
|
|
border-bottom: 2px solid rgba($primary, 0.3);
|
|
}
|
|
|
|
.app-footer {
|
|
position: fixed;
|
|
inset: auto 0 0;
|
|
height: $app-footer-height;
|
|
z-index: 1020;
|
|
border-top: 2px solid rgba($primary, 0.3);
|
|
}
|
|
|
|
.app-main {
|
|
position: relative;
|
|
height: calc(100vh - $app-header-height - $app-footer-height);
|
|
margin-top: $app-header-height;
|
|
margin-bottom: $app-footer-height;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-scrollable {
|
|
height: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.app-logo {
|
|
display: block;
|
|
width: auto;
|
|
height: 42px;
|
|
}
|
|
|
|
.app-shell-card {
|
|
max-width: 1320px;
|
|
}
|
|
|
|
.app-shell-status {
|
|
font-family: var(--bs-font-monospace);
|
|
}
|
|
|
|
.app-sidebar {
|
|
width: $app-sidebar-width;
|
|
min-width: $app-sidebar-width;
|
|
max-width: $app-sidebar-width;
|
|
}
|
|
|
|
.app-sidebar-scroll,
|
|
.app-content {
|
|
height: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.app-sidebar .nav-link {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.app-overview-list dd {
|
|
font-family: var(--bs-font-monospace);
|
|
}
|
|
|
|
.app-document-metadata dd,
|
|
.app-document-source,
|
|
#configDocumentsTable td:first-child,
|
|
#configDocumentsTable td:nth-child(2),
|
|
#configDocumentsTable td:nth-child(3) {
|
|
font-family: var(--bs-font-monospace);
|
|
}
|
|
|
|
.app-document-source {
|
|
min-height: 320px;
|
|
resize: vertical;
|
|
white-space: pre;
|
|
tab-size: 4;
|
|
}
|
|
|
|
#configDocumentsTable tbody tr {
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.app-profile-metadata dd,
|
|
.app-profile-json,
|
|
#profileOriginsTable td:first-child,
|
|
#profileEnvironmentProvenanceTable td:first-child,
|
|
#profileEnvironmentProvenanceTable td:nth-child(2) {
|
|
font-family: var(--bs-font-monospace);
|
|
}
|
|
|
|
.app-profile-json {
|
|
min-height: 280px;
|
|
max-height: 460px;
|
|
overflow: auto;
|
|
padding: 0.875rem;
|
|
border: 1px solid var(--bs-border-color);
|
|
border-radius: var(--bs-border-radius);
|
|
background: var(--bs-body-bg);
|
|
white-space: pre;
|
|
}
|
|
|
|
|
|
#environmentReportTable td:first-child,
|
|
#environmentReportTable td:nth-child(4),
|
|
#environmentReportTable td:nth-child(5) {
|
|
font-family: var(--bs-font-monospace);
|
|
}
|