168 lines
2.8 KiB
SCSS
168 lines
2.8 KiB
SCSS
// file: crates/ksp-app-raw-transaction-ingest-desk/frontend/sass/_app.scss
|
|
// version: 3
|
|
|
|
$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-main > .row {
|
|
flex-wrap: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-logo {
|
|
display: block;
|
|
width: auto;
|
|
height: 42px;
|
|
}
|
|
|
|
.app-scrollable {
|
|
height: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.app-shell-card {
|
|
width: 100%;
|
|
max-width: 1320px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.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-content {
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-sidebar .nav-link {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.app-runtime-list dd,
|
|
.app-route-code {
|
|
font-family: var(--bs-font-monospace);
|
|
}
|
|
|
|
.app-route-grid {
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.app-route-grid > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-route-card {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
border-left: 4px solid rgba($primary, 0.55);
|
|
}
|
|
|
|
.app-route-code {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.app-route-monitoring-summary {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.app-monitoring-detail {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-monitoring-list dt,
|
|
.app-monitoring-list dd {
|
|
margin-bottom: 0.45rem;
|
|
}
|
|
|
|
.app-monitoring-list dd,
|
|
.app-monitoring-gaps,
|
|
.app-monitoring-detail .app-route-code {
|
|
font-family: var(--bs-font-monospace);
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.app-monitoring-gaps .list-group-item {
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-placeholder {
|
|
min-height: 320px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
padding: 2rem;
|
|
border: 1px dashed var(--bs-border-color);
|
|
border-radius: var(--bs-border-radius-lg);
|
|
color: var(--bs-secondary-color);
|
|
background: var(--bs-body-bg);
|
|
text-align: center;
|
|
}
|
|
|
|
.app-placeholder i {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
.app-sidebar {
|
|
width: 190px;
|
|
min-width: 190px;
|
|
max-width: 190px;
|
|
}
|
|
}
|