OHIF-79: Study Browser side panel (#1614)

* Initial code changes for StudyBrowser

* StudyItem component basic strucure

* Adding new icon

* Updates to get StudyItem working

* Small fix on side panel open header

* Adding new icons

* Thumbnail List

* ThumbnailSR WIP

* Thumanil WIP

* Export new components into ohif/ui

* Updates on style

* Update ThumbnailSR style

* Margin updates

* MAke it scrollable

* Make it scrollable

* Style updates

* Fixing tooltip

* Tunning the mock data and testing scenarios

* Update mock data

* make all studies collapsed

* small fix on tooltip

* Removing empty mdx files

* Updating viewer docz page

* Style updates

* Update button font-size

* Fix: Make cancel button only visible on hover

* Fixing callouts

* Fix eslint
This commit is contained in:
Gustavo André Lelis authored and James A. Petts committed 2020-05-15 13:49:24 +02:00
1 parent 51750c6ede
commit eda99a0bac
23 files changed
+569 -123

No files matched your search

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<g fill="none" fill-rule="evenodd">
<circle cx="8" cy="8" r="8" fill="currentColor"/>
<path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.556 5.333L7.824 11.11c-.168.259-.424.42-.703.444-.278.023-.552-.095-.75-.324L4.444 8.993"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 366 B

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<path fill="none" fill-rule="evenodd" stroke="currentColor" stroke-dasharray="1.5 3.8" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8 15c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z"/>
</svg>

After

Width:  |  Height:  |  Size: 295 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<g fill="none" fill-rule="evenodd">
<circle cx="8" cy="8" r="8" fill="currentColor"/>
<path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.556 5.333L7.824 11.11c-.168.259-.424.42-.703.444-.278.023-.552-.095-.75-.324L4.444 8.993"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 366 B

+32 -14
View File
@@ -16,25 +16,12 @@
@apply bg-primary-main;
}
/* INVISIBLE SCROLLBAR */
.invisible-scrollbar::-webkit-scrollbar {
@apply hidden;
}
.invisible-scrollbar::-webkit-scrollbar-track {
@apply hidden;
}
.invisible-scrollbar::-webkit-scrollbar-thumb {
@apply hidden;
}
.invisible-scrollbar::-webkit-scrollbar-thumb:window-inactive {
@apply hidden;
}
/* TOOLTIP WORKAROUND FOR ARROW UP */
.tooltip::before {
.tooltip.tooltip-up::before {
@apply bg-primary-dark absolute z-10;
content: '';
width: 14px;
@@ -43,3 +30,34 @@
left: 50%;
transform: translateX(-50%);
}
.tooltip.tooltip-right {
left: calc(100% + 15px);
}
.tooltip.tooltip-right::before {
@apply bg-black absolute z-10;
content: '';
width: 2px;
height: 15px;
left: -1px;
top: 50%;
transform: translateY(-50%);
}
/* TOOLTIP WORKAROUND FOR ARROW */
.showTooltipOnHover .tooltip {
display: none;
}
.showTooltipOnHover:hover .tooltip {
display: block;
}
.showExcludeButtonOnHover .excludeButton {
display: none;
}
.showExcludeButtonOnHover:hover .excludeButton {
display: block;
}