cambio en el estilo de las tablas

This commit is contained in:
Gerard 2018-04-19 15:18:44 +02:00
parent 846b3fb96e
commit 0e7e8f68b7
2 changed files with 25 additions and 1 deletions

View File

@ -21,5 +21,29 @@
}
& > tbody > tr {
border-bottom: 1px solid #9D9D9D;
transition: background-color 200ms ease-in-out;
&.clickable {
cursor: pointer;
&:hover {
background-color: #e5e5e5;
}
}
&.success {
background-color: rgba(163, 209, 49, 0.3);
&:hover {
background-color: rgba(163, 209, 49, 0.5);
}
}
&.warning {
background-color: rgba(247, 147, 30, 0.3);
&:hover {
background-color: rgba(247, 147, 30, 0.5);
}
}
}
}

View File

@ -15,7 +15,7 @@
</tr>
</thead>
<tbody>
<tr ng-repeat="sale in index.model.instances track by sale.id">
<tr ng-repeat="sale in index.model.instances track by sale.id" class="list list-element">
<td number>{{::sale.itemFk}}</td>
<td><vn-fetched-tags sale="sale"/></td>
<td number>{{::sale.quantity}}</td>