453 lines
8.4 KiB
CSS
453 lines
8.4 KiB
CSS
* { box-sizing: border-box; }
|
|
body {
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: #0b1020;
|
|
color: #e5e7eb;
|
|
}
|
|
.topbar, .controls, .panel {
|
|
background: #121933;
|
|
border: 1px solid #24304f;
|
|
border-radius: 14px;
|
|
}
|
|
.topbar {
|
|
margin: 16px;
|
|
padding: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.topbar h1 { margin: 0 0 6px; font-size: 24px; }
|
|
.topbar p { margin: 0; color: #93a4c3; }
|
|
.health-card {
|
|
padding: 12px 16px;
|
|
min-width: 220px;
|
|
text-align: right;
|
|
background: #0f1530;
|
|
border-radius: 10px;
|
|
}
|
|
.controls {
|
|
margin: 0 16px 12px;
|
|
padding: 16px;
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
.filters-bar {
|
|
margin: 0 16px 16px;
|
|
padding: 10px 14px;
|
|
background: #121933;
|
|
border: 1px solid #24304f;
|
|
border-radius: 14px;
|
|
}
|
|
.controls label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
color: #9db0d3;
|
|
font-size: 13px;
|
|
}
|
|
.controls input, .controls select {
|
|
min-width: 110px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid #31436c;
|
|
background: #0d1430;
|
|
color: #fff;
|
|
}
|
|
.controls button {
|
|
margin-top: 20px;
|
|
padding: 10px 16px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: #4f7cff;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
.last-updated {
|
|
margin-top: 20px;
|
|
color: #9db0d3;
|
|
font-size: 13px;
|
|
}
|
|
.status-pill {
|
|
display: inline-block;
|
|
padding: 4px 8px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
background: #27324f;
|
|
}
|
|
.status-open, .status-awaiting_confirmation, .status-tp1_reached, .status-ok, .status-passed {
|
|
background: rgba(34, 197, 94, 0.18);
|
|
color: #86efac;
|
|
}
|
|
.status-closed, .status-tp2_closed, .status-breakeven {
|
|
background: rgba(79, 124, 255, 0.18);
|
|
color: #93c5fd;
|
|
}
|
|
.status-review, .status-stopped_out, .status-expired, .status-invalidated_before_entry, .status-rejected, .status-loss, .status-missed, .status-blocked {
|
|
background: rgba(239, 68, 68, 0.18);
|
|
color: #fca5a5;
|
|
}
|
|
.status-unknown {
|
|
background: rgba(148, 163, 184, 0.18);
|
|
color: #cbd5e1;
|
|
}
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
padding: 0 16px 16px;
|
|
}
|
|
.panel {
|
|
padding: 16px;
|
|
overflow: hidden;
|
|
}
|
|
.panel-wide { grid-column: span 2; }
|
|
.panel h2 { margin: 0 0 12px; font-size: 18px; }
|
|
.table-wrap { overflow: auto; }
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
th, td {
|
|
padding: 10px 8px;
|
|
border-bottom: 1px solid #24304f;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
background: #121933;
|
|
z-index: 1;
|
|
}
|
|
th { color: #9db0d3; }
|
|
.cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.overview-cards {
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
}
|
|
.card {
|
|
padding: 14px;
|
|
border: 1px solid #2a3657;
|
|
border-radius: 12px;
|
|
background: #0f1530;
|
|
}
|
|
.card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.card-detail {
|
|
margin-top: 10px;
|
|
}
|
|
.metric {
|
|
font-size: 12px;
|
|
color: #91a2c2;
|
|
}
|
|
.info-grid {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
.info-row {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
.info-value {
|
|
color: #e5e7eb;
|
|
font-size: 13px;
|
|
word-break: break-word;
|
|
}
|
|
.value {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin-top: 4px;
|
|
}
|
|
.value-small {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
margin-top: 4px;
|
|
}
|
|
.detail-panel {
|
|
margin: 12px 0 0;
|
|
padding: 14px;
|
|
min-height: 180px;
|
|
overflow: auto;
|
|
border: 1px solid #2a3657;
|
|
border-radius: 12px;
|
|
background: #0f1530;
|
|
color: #dbe6ff;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
.clickable-row {
|
|
cursor: pointer;
|
|
}
|
|
.clickable-row:hover {
|
|
background: rgba(79, 124, 255, 0.08);
|
|
}
|
|
.clickable-row.selected-row {
|
|
background: rgba(79, 124, 255, 0.16);
|
|
}
|
|
.card.clickable-card {
|
|
cursor: pointer;
|
|
}
|
|
.card.clickable-card:hover {
|
|
border-color: #4f7cff;
|
|
}
|
|
.actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 12px;
|
|
}
|
|
.actions button {
|
|
padding: 10px 12px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: #4f7cff;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
}
|
|
.detail-panel input,
|
|
.detail-panel textarea {
|
|
width: 100%;
|
|
margin: 0 0 10px;
|
|
padding: 10px 12px;
|
|
border: 1px solid #31436c;
|
|
border-radius: 8px;
|
|
background: #0d1430;
|
|
color: #fff;
|
|
}
|
|
.detail-panel textarea {
|
|
min-height: 88px;
|
|
resize: vertical;
|
|
}
|
|
.empty-state {
|
|
color: #cbd5e1;
|
|
font-size: 13px;
|
|
}
|
|
.error-state {
|
|
color: #fecaca;
|
|
}
|
|
a:focus-visible,
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
select:focus-visible,
|
|
textarea:focus-visible {
|
|
outline: 2px solid #fbbf24;
|
|
outline-offset: 2px;
|
|
}
|
|
.training-nav {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.training-nav a {
|
|
padding: 7px 10px;
|
|
border: 1px solid #31436c;
|
|
border-radius: 8px;
|
|
color: #dbe6ff;
|
|
text-decoration: none;
|
|
background: #0f1530;
|
|
}
|
|
.training-nav a:hover {
|
|
border-color: #4f7cff;
|
|
}
|
|
.training-transfer {
|
|
margin-bottom: 14px;
|
|
}
|
|
.training-workflow {
|
|
margin: 0 0 14px;
|
|
padding: 12px;
|
|
border: 1px solid #2a3657;
|
|
border-radius: 8px;
|
|
background: #0f1530;
|
|
color: #91a2c2;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
.training-workflow strong {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
color: #dbe6ff;
|
|
font-size: 13px;
|
|
}
|
|
.training-workflow ol {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
}
|
|
.training-workflow span {
|
|
color: #e5e7eb;
|
|
font-weight: 600;
|
|
}
|
|
.training-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) minmax(260px, 0.8fr);
|
|
gap: 16px;
|
|
}
|
|
.training-panel h3 {
|
|
margin: 0 0 10px;
|
|
font-size: 14px;
|
|
color: #cbd5e1;
|
|
}
|
|
.training-toolbar {
|
|
display: grid;
|
|
grid-template-columns: minmax(260px, 1fr) auto auto auto;
|
|
gap: 10px;
|
|
align-items: end;
|
|
}
|
|
.training-field {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
.training-field label {
|
|
color: #cbd5e1;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
.training-help {
|
|
margin: 0 0 8px;
|
|
color: #91a2c2;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
.training-next-step {
|
|
color: #c7d2fe;
|
|
}
|
|
.training-case-list,
|
|
.training-progress {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
.training-case-card,
|
|
.training-progress-row,
|
|
.training-detail {
|
|
padding: 12px;
|
|
border: 1px solid #2a3657;
|
|
border-radius: 8px;
|
|
background: #0f1530;
|
|
}
|
|
.training-detail {
|
|
min-height: 100%;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 8px;
|
|
}
|
|
.training-selected-action {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
.training-case-card {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px 12px;
|
|
align-items: center;
|
|
}
|
|
.training-case-card .metric,
|
|
.training-case-card .status-pill {
|
|
grid-column: 1;
|
|
}
|
|
.training-case-actions {
|
|
grid-column: 2;
|
|
grid-row: 1 / span 4;
|
|
display: grid;
|
|
gap: 8px;
|
|
align-content: center;
|
|
}
|
|
.training-case-card button {
|
|
padding: 8px 12px;
|
|
}
|
|
.training-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-top: 10px;
|
|
}
|
|
.training-actions button,
|
|
.training-toolbar button,
|
|
.training-selected-action button,
|
|
.training-refresh-progress,
|
|
.training-case-card button {
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: #4f7cff;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
.training-actions button,
|
|
.training-toolbar button,
|
|
.training-selected-action button,
|
|
.training-refresh-progress {
|
|
padding: 10px 12px;
|
|
}
|
|
.training-actions button:disabled,
|
|
.training-toolbar button:disabled,
|
|
.training-selected-action button:disabled,
|
|
.training-refresh-progress:disabled,
|
|
.training-case-card button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.55;
|
|
}
|
|
.training-state-error {
|
|
color: #fecaca;
|
|
}
|
|
.training-refresh-progress {
|
|
margin-bottom: 10px;
|
|
}
|
|
.training-empty {
|
|
padding: 10px 0;
|
|
}
|
|
#trainingImportText,
|
|
#trainingAnnotationText {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border: 1px solid #31436c;
|
|
border-radius: 8px;
|
|
background: #0d1430;
|
|
color: #fff;
|
|
resize: vertical;
|
|
}
|
|
#trainingAnnotationText {
|
|
min-height: 92px;
|
|
margin-top: 12px;
|
|
}
|
|
#trainingImportText {
|
|
min-height: 44px;
|
|
}
|
|
.training-import {
|
|
min-width: 0;
|
|
}
|
|
.training-error {
|
|
margin-bottom: 12px;
|
|
padding: 10px 12px;
|
|
border: 1px solid rgba(239, 68, 68, 0.45);
|
|
border-radius: 8px;
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #fecaca;
|
|
font-size: 13px;
|
|
}
|
|
@media (max-width: 960px) {
|
|
.grid { grid-template-columns: 1fr; }
|
|
.panel-wide { grid-column: span 1; }
|
|
.training-toolbar { grid-template-columns: 1fr; }
|
|
.training-grid { grid-template-columns: 1fr; }
|
|
.training-case-card { grid-template-columns: 1fr; }
|
|
.training-case-actions {
|
|
grid-column: 1;
|
|
grid-row: auto;
|
|
}
|
|
}
|