feat(platform): add reusable history report view
This commit is contained in:
@@ -6819,6 +6819,76 @@ button.vp-realtime-command-item:focus-visible {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.vp-history-saved-report {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.vp-history-saved-report-summary {
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(14, 173, 105, 0.2);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #f5fcf8;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-history-saved-report-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-history-saved-report-item {
|
||||
min-height: 158px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #fbfefc;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-history-saved-report-item:hover,
|
||||
.vp-history-saved-report-item:focus-visible {
|
||||
border-color: rgba(14, 173, 105, 0.42);
|
||||
box-shadow: 0 10px 24px rgba(24, 39, 75, 0.08);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-history-saved-report-item:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.62;
|
||||
}
|
||||
|
||||
.vp-history-saved-report-item strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
font-weight: 700;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-history-saved-report-item span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-history-saved-report-item em {
|
||||
color: #0a8f56;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.vp-history-question-board {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
|
||||
@@ -8773,6 +8843,8 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-history-report-template-grid,
|
||||
.vp-history-report-cadence,
|
||||
.vp-history-report-cadence-grid,
|
||||
.vp-history-saved-report,
|
||||
.vp-history-saved-report-grid,
|
||||
.vp-history-question-board,
|
||||
.vp-history-question-grid,
|
||||
.vp-history-replay-nav,
|
||||
|
||||
Reference in New Issue
Block a user