* Add disable state for invalid data * fix: 🐛 Disable seg panel when data for seg unavailable We need to gracefully handle errors if data for segmentation is unavailable and disable the segmentation panel ✅ Closes: #1728 * Bump dcmjs version dcmjs * @ohif/core: ^0.12.2 → ^0.13.0 * @ohif/extension-cornerstone: ^0.12.3 → ^0.13.0 * @ohif/extension-dicom-html: ^0.12.3 → ^0.13.0 * @ohif/extension-dicom-rt: ^0.12.3 → ^0.13.0 * @ohif/extension-dicom-segmentation: ^0.12.2 → ^0.13.0 * @ohif/extension-vtk: ^0.12.2 → ^0.13.0 * @ohif/viewer: ^0.12.2 → ^0.13.0 * Remove error barrier * Fix e2e Co-authored-by: James Petts <jamesapetts@gmail.com>
67 lines
1.3 KiB
CSS
67 lines
1.3 KiB
CSS
.dcmseg-segmentation-panel {
|
|
color: white;
|
|
min-height: 200px;
|
|
background-color: var(--primary-background-color);
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.dcmseg-segmentation-panel.disabled {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dcmseg-segmentation-panel h3 {
|
|
padding-left: 20px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.dcmseg-segmentation-panel .segmentations {
|
|
padding: 0 20px 20px 20px;
|
|
}
|
|
|
|
.dcmseg-segmentation-panel .cog-icon {
|
|
margin: 20px 20px 0 0;
|
|
align-self: flex-end;
|
|
color: var(--default-color);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dcmseg-segmentation-panel .cog-icon:hover {
|
|
color: var(--hover-color);
|
|
}
|
|
|
|
.dcmseg-segmentation-panel .segmentation-icon {
|
|
margin-right: 8px;
|
|
margin-top: 12px;
|
|
min-width: 14px;
|
|
}
|
|
|
|
.dcmseg-segmentation-panel .selector-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px;
|
|
height: 150px;
|
|
}
|
|
|
|
.dcmseg-segmentation-panel .selector-form>div {
|
|
width: 100%;
|
|
}
|
|
|
|
.dcmseg-segmentation-panel .selector-form>div:first-of-type {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
.dcmseg-segmentation-panel .tableList .tableListHeader .numberOfItems {
|
|
float: unset;
|
|
max-width: unset;
|
|
flex: unset;
|
|
margin-right: 16px;
|
|
}
|