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

This commit is contained in:
Rob Lewis committed 2015-10-30 13:17:09 -04:00
1 parent 90e677fc42
commit 4968fc1811
5 files changed
+19 -13

No files matched your search

+4 -3
View File
@@ -6,7 +6,8 @@
background-color: black;
}
#upperHalf {
height: 75%;
width: 100%;
#viewportAndLesionTable {
height: 100%;
width: calc(100% - 120px);
float: right;
}
+3 -3
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>
@@ -1,4 +1,4 @@
.viewerMain
width: calc(100% - 120px)
height: 100%
width: 100%
height: 75%
float: left
@@ -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%;
}
@@ -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>