74 lines
1.1 KiB
Plaintext
74 lines
1.1 KiB
Plaintext
|
table {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
table td.amount {
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
table td.income {
|
||
|
color: var(--green);
|
||
|
}
|
||
|
|
||
|
table td.expense {
|
||
|
color: var(--red);
|
||
|
}
|
||
|
|
||
|
table td.transfer {
|
||
|
color: var(--pink);
|
||
|
}
|
||
|
|
||
|
table td.amount:after {
|
||
|
content: " €";
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
th.middle {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
th.right {
|
||
|
text-align: right
|
||
|
}
|
||
|
|
||
|
tr:nth-child(3n+2) {
|
||
|
background-color: lighten(@dark, 5%);
|
||
|
}
|
||
|
|
||
|
tr:nth-child(3n+3) {
|
||
|
background-color: lighten(@dark, 10%);
|
||
|
}
|
||
|
|
||
|
tr{
|
||
|
td:nth-child(1){
|
||
|
border-left:solid transparent 5px;
|
||
|
text-align: right;
|
||
|
padding-right: 5px;
|
||
|
}
|
||
|
}
|
||
|
table.fullList{
|
||
|
tr.transfer:nth-child(2n+1) {
|
||
|
td:nth-child(1) {
|
||
|
border-top: 1px solid @pink;
|
||
|
border-left: 5px solid @pink;
|
||
|
}
|
||
|
|
||
|
td:nth-child(2) {
|
||
|
border-top: 1px solid @pink;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
tr.transfer:nth-child(2n+2) {
|
||
|
td:nth-child(1) {
|
||
|
border-left: 5px solid @pink;
|
||
|
border-bottom: 1px solid @pink;
|
||
|
}
|
||
|
|
||
|
td:nth-child(2) {
|
||
|
border-bottom: 1px solid @pink;
|
||
|
}
|
||
|
}
|
||
|
}
|