colors
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
<!-- <th/>-->
|
<!-- <th/>-->
|
||||||
<th />
|
<th />
|
||||||
<th>Saldo</th>
|
<th>Saldo</th>
|
||||||
<th v-for="amount in sums" class="border-left">
|
<th v-for="amount in sums" class="border-left" :class="{ inplus: amount > 0, inminus: amount < 0 }">
|
||||||
<span class="bold">{{ amount }}</span>
|
<span class="bold">{{ amount }}</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -173,3 +173,11 @@ th.rotate > div {
|
|||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
color: lightgray;
|
color: lightgray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.inplus {
|
||||||
|
background-color: lightgreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inminus {
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user