355 lines
8.1 KiB
CSS
355 lines
8.1 KiB
CSS
/* JDE Scoping Tool - Application Styles */
|
|
|
|
html, body {
|
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
#app {
|
|
height: 100%;
|
|
}
|
|
|
|
h1:focus {
|
|
outline: none;
|
|
}
|
|
|
|
a, .btn-link {
|
|
color: #0071c1;
|
|
}
|
|
|
|
.btn-primary {
|
|
color: #fff;
|
|
background-color: #1b6ec2;
|
|
border-color: #1861ac;
|
|
}
|
|
|
|
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
|
|
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
|
|
}
|
|
|
|
.content {
|
|
padding-top: 1.1rem;
|
|
}
|
|
|
|
.valid.modified:not([type=checkbox]) {
|
|
outline: 1px solid #26b050;
|
|
}
|
|
|
|
.invalid {
|
|
outline: 1px solid red;
|
|
}
|
|
|
|
.validation-message {
|
|
color: red;
|
|
}
|
|
|
|
#blazor-error-ui {
|
|
color-scheme: light only;
|
|
background: lightyellow;
|
|
bottom: 0;
|
|
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
|
|
box-sizing: border-box;
|
|
display: none;
|
|
left: 0;
|
|
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
|
|
position: fixed;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
}
|
|
|
|
#blazor-error-ui .dismiss {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
right: 0.75rem;
|
|
top: 0.5rem;
|
|
}
|
|
|
|
.blazor-error-boundary {
|
|
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJ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jMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
|
|
padding: 1rem 1rem 1rem 3.7rem;
|
|
color: white;
|
|
}
|
|
|
|
.blazor-error-boundary::after {
|
|
content: "An error has occurred."
|
|
}
|
|
|
|
.loading-progress {
|
|
position: absolute;
|
|
display: block;
|
|
width: 8rem;
|
|
height: 8rem;
|
|
inset: 20vh 0 auto 0;
|
|
margin: 0 auto 0 auto;
|
|
}
|
|
|
|
.loading-progress circle {
|
|
fill: none;
|
|
stroke: #e0e0e0;
|
|
stroke-width: 0.6rem;
|
|
transform-origin: 50% 50%;
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.loading-progress circle:last-child {
|
|
stroke: #1b6ec2;
|
|
stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
|
|
transition: stroke-dasharray 0.05s ease-in-out;
|
|
}
|
|
|
|
.loading-progress-text {
|
|
position: absolute;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
|
|
}
|
|
|
|
.loading-progress-text:after {
|
|
content: var(--blazor-load-percentage-text, "Loading");
|
|
}
|
|
|
|
code {
|
|
color: #c02d76;
|
|
}
|
|
|
|
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
|
|
color: var(--bs-secondary-color);
|
|
text-align: end;
|
|
}
|
|
|
|
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
|
|
text-align: start;
|
|
}
|
|
|
|
/* Custom Application Styles */
|
|
|
|
/* Status badges */
|
|
.status-badge {
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-badge-success {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.status-badge-danger {
|
|
background-color: #dc3545;
|
|
color: white;
|
|
}
|
|
|
|
.status-badge-warning {
|
|
background-color: #ffc107;
|
|
color: #212529;
|
|
}
|
|
|
|
.status-badge-info {
|
|
background-color: #17a2b8;
|
|
color: white;
|
|
}
|
|
|
|
/* Card styles */
|
|
.rz-card {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Loading container */
|
|
.loading-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2rem;
|
|
min-height: 200px;
|
|
}
|
|
|
|
/* Filter panel styles */
|
|
.filter-panel {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.filter-panel-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Grid content max height */
|
|
.rz-data-grid .rz-data-grid-data {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Radzen Layout adjustments */
|
|
.rz-layout {
|
|
height: 100vh;
|
|
}
|
|
|
|
/* Fixed Top Navbar */
|
|
.navbar-fixed-top {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1030;
|
|
background-color: #222;
|
|
color: white;
|
|
height: 56px;
|
|
padding: 0;
|
|
}
|
|
|
|
.navbar-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
padding: 0 15px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.navbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.navbar-brand {
|
|
color: #fff;
|
|
font-size: 1.25rem;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.navbar-brand:hover {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.navbar-nav {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Ensure top-header nav stays horizontal when host serves Blazor assets. */
|
|
.navbar-fixed-top .navbar-left nav.navbar-nav {
|
|
display: inline-flex !important;
|
|
flex-direction: row !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
.nav-link {
|
|
color: #9d9d9d;
|
|
text-decoration: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.25rem;
|
|
transition: color 0.15s ease-in-out;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: #fff;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.navbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.navbar-user {
|
|
color: #9d9d9d;
|
|
}
|
|
|
|
/* Main body with top padding for fixed navbar */
|
|
.main-body {
|
|
padding-top: 56px;
|
|
}
|
|
|
|
.body-content {
|
|
padding: 20px 15px;
|
|
min-height: calc(100vh - 56px - 50px); /* viewport - navbar - footer */
|
|
}
|
|
|
|
/* Footer */
|
|
.rz-footer {
|
|
background-color: #f8f9fa;
|
|
border-top: 1px solid #dee2e6;
|
|
padding: 0.5rem 0;
|
|
}
|
|
|
|
/* Container fluid */
|
|
.container-fluid {
|
|
padding: 0;
|
|
}
|
|
|
|
/* Legacy-style form labels - bold, above the field */
|
|
.field-label {
|
|
font-weight: bold;
|
|
margin-bottom: 0.25rem;
|
|
font-size: 0.95rem;
|
|
color: #333;
|
|
}
|
|
|
|
/* Read-only input styling - grey background */
|
|
.readonly-input {
|
|
background-color: #eee !important;
|
|
color: #555 !important;
|
|
cursor: default;
|
|
}
|
|
|
|
/* Search details card header bar */
|
|
.search-details-header {
|
|
background-color: #f5f5f5;
|
|
padding: 0.75rem 1rem;
|
|
border-bottom: 1px solid #ddd;
|
|
margin: -1.25rem -1.25rem 1rem -1.25rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Blue submit button (legacy style) */
|
|
.btn-submit-blue {
|
|
background-color: #337ab7 !important;
|
|
border-color: #2e6da4 !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.btn-submit-blue:hover {
|
|
background-color: #286090 !important;
|
|
border-color: #204d74 !important;
|
|
}
|
|
|
|
/* Filter panel input row - align Add button with input bottom */
|
|
.filter-input-row {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.filter-input-row .filter-input-col {
|
|
flex: 0 1 41.67%;
|
|
}
|
|
|
|
/* RadzenUpload inline button style (no drop zone) */
|
|
.rz-upload-inline .rz-fileupload-buttonbar {
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
}
|
|
.rz-upload-inline .rz-fileupload-content {
|
|
display: none;
|
|
}
|