94 lines
1.6 KiB
SCSS
94 lines
1.6 KiB
SCSS
// file: crates/ksp-app-config-desk/frontend/sass/_app.scss
|
|
// version: 3
|
|
|
|
$app-header-height: 72px;
|
|
$app-footer-height: 42px;
|
|
|
|
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-nav {
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.app-nav-button {
|
|
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;
|
|
}
|