Fixed lesion table header width problem and added table borders

This commit is contained in:
Rob Lewis 2015-11-11 08:19:53 -05:00
parent 9202d8da55
commit 4221f54144
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,3 @@
.viewerMain .viewerMain
width: 100% width: 100%
height: 75% height: 84%

View File

@ -1,9 +1,13 @@
#lesionTableContainer #lesionTableContainer
width: 100% width: 100%
height: 25% height: 16%
.lesionTable .lesionTable
td, th
border: 1px solid white
border-collapse: collapse
td.lesionNumber, th#thNumber td.lesionNumber, th#thNumber
width: 70px width: 70px
@ -16,7 +20,6 @@
td.lesionTableTimepointCell td.lesionTableTimepointCell
width: 70px width: 70px
thead thead
width: 100% width: 100%
display: block display: block
@ -26,7 +29,6 @@
th th
border-bottom-width: 0 border-bottom-width: 0
float:left
font-weight: normal font-weight: normal
color:white color:white
line-height: 20px line-height: 20px
@ -34,7 +36,8 @@
margin: 0 margin: 0
padding: 5px padding: 5px
background-color: #424242 background-color: #424242
width: 70px
#thTarget #thTarget
width: 1% width: 1%
@ -50,12 +53,12 @@
height: 200px // Seems like this has to be fixed for overflow to work properly! height: 200px // Seems like this has to be fixed for overflow to work properly!
overflow: auto overflow: auto
width: 100% width: 100%
tr.lesionTableRow tr.lesionTableRow
width: 100% width: 100%
&:nth-child(even) &:nth-child(even)
background: #888 background: #888
&:nth-child(odd) &:nth-child(odd)
background: #BBB background: #BBB
&:hover &:hover
@ -65,9 +68,8 @@
td td
border-bottom-width: 0 border-bottom-width: 0
float:left
margin: 0 margin: 0
padding: 5px padding: 5px
&.lesionNumber, &.target, &.lesionTableTimepointCell &.lesionNumber, &.target, &.lesionTableTimepointCell
text-align: center text-align: center