More styling changes for lesion table (alternating row colors and match hover color of worklist

This commit is contained in:
Rob Lewis 2015-10-30 13:17:09 -04:00
parent 90e677fc42
commit 4968fc1811
5 changed files with 19 additions and 13 deletions

View File

@ -6,7 +6,8 @@
background-color: black;
}
#upperHalf {
height: 75%;
width: 100%;
#viewportAndLesionTable {
height: 100%;
width: calc(100% - 120px);
float: right;
}

View File

@ -1,10 +1,10 @@
<template name="viewer">
<div id="viewer" class="viewer">
{{ >lesionDialog }}
<div id="upperHalf">
{{ >hidingPanel }}
{{ >hidingPanel }}
<div id="viewportAndLesionTable">
{{ >viewerMain }}
{{ >lesionTable }}
</div>
{{ >lesionTable }}
</div>
</template>

View File

@ -1,4 +1,4 @@
.viewerMain
width: calc(100% - 120px)
height: 100%
width: 100%
height: 75%
float: left

View File

@ -27,16 +27,21 @@ table.lesionTable > tbody > tr > td {
line-height: 10px;
}
table.lesionTable tbody tr:hover{
background-color: #d1d1d1;
}
table.lesionTable tbody tr{
background-color: #b3b3b3;
color: #424242;
line-height: 14px;
}
table.lesionTable tbody tr.lesionTableRow:nth-child(even) {background: #CCC}
table.lesionTable tbody tr.lesionTableRow:nth-child(odd) {background: #DDD}
table.lesionTable tbody tr.lesionTableRow:hover{
background-color: #009BD2
color: white
}
th#thNumber {
width: 4%;
}

View File

@ -1,5 +1,5 @@
<template name="lesionTableRow">
<tr>
<tr class="lesionTableRow">
<td class='lesionNumber'>{{lesionData.lesionNumber}}</td>
<td class='location'>{{lesionData.location}}</td>
<td class='target'>{{#if lesionData.isTarget}} Y {{else}} N {{/if}}</td>