OHIF-121: Adding responsiveness to Worklist

This commit is contained in:
Eloízio Salgado 2016-11-02 10:14:04 -02:00
parent e03ebc43e9
commit b0195a1a57
2 changed files with 63 additions and 9 deletions

View File

@ -32,9 +32,12 @@
theme('color', '$activeColor') theme('color', '$activeColor')
.active .active
a a
theme('background-color', '$uiGray') theme('background-color', '$uiGray')
border-color: #ddd border-color: #ddd
color: white color: white
.disabled
a:hover
color: inherit

View File

@ -49,7 +49,6 @@ $bodyCellHeight = 40px
width: 100% width: 100%
padding: 0 $tablePadding padding: 0 $tablePadding
position: absolute position: absolute
overflow: hidden
z-index: 2 z-index: 2
.loadingTextDiv .loadingTextDiv
@ -163,18 +162,70 @@ $bodyCellHeight = 40px
border-bottom: 1px solid #436270 border-bottom: 1px solid #436270
background-color: $tableHoverColor background-color: $tableHoverColor
@media only screen and (max-width: 1000px)
$tablePaddingMediumScreen = 10px @media only screen and (max-width: 1362px)
$tablePadding = 5%
#studyListContainer
padding: 0 $tablePadding
table#tblStudyList
thead,
tbody
tr
th,
td
&:first-child
padding-left: $tablePadding
&:last-child
padding-right: $tablePadding
@media only screen and (max-width: 1161px)
$tablePadding = 3%
#studyListContainer
padding: 0 $tablePadding
table#tblStudyList
thead,
tbody
tr
th,
td
&:first-child
padding-left: $tablePadding
&:last-child
padding-right: $tablePadding
@media only screen and (max-width: 1069px)
$tablePaddingMediumScreen = 5px
.studyListToolbar
padding: 0 $tablePaddingMediumScreen
#studyListContainer #studyListContainer
padding: 0 padding: 0
table#tblStudyList table#tblStudyList
thead > tr > th thead > tr > th
&:first-child &:first-child
padding-left: $tablePaddingMediumScreen padding-left: $tablePaddingMediumScreen
&:last-child &:last-child
padding-right: $tablePaddingMediumScreen padding-right: $tablePaddingMediumScreen
input.worklist-search
padding: 10px
div.sortingCell
padding: 10px 5px
min-width: auto
i
width: auto
tbody > tr > td tbody > tr > td
&:first-child &:first-child
@ -182,8 +233,8 @@ $bodyCellHeight = 40px
&:last-child &:last-child
padding-right: $tablePaddingMediumScreen padding-right: $tablePaddingMediumScreen
th.accessionNumber, td.accessionNumber, .worklistPagination
th.modalities, td.modalities, .row
th.numberOfStudyRelatedInstances, td.numberOfStudyRelatedInstances margin-left: 0
display: none margin-right: 0