diff --git a/gaehsnitz/static/gaehsnitz/style.css b/gaehsnitz/static/gaehsnitz/style.css index af93573..6659b3c 100644 --- a/gaehsnitz/static/gaehsnitz/style.css +++ b/gaehsnitz/static/gaehsnitz/style.css @@ -2,7 +2,7 @@ html, body, div, h1, h2, h3, h4, h5, h6, a, p, b, i, form, label, input, -table, thead, tbody, tr, td { +table, thead, tfoot, tr, td { margin: 0; border: none; padding: 0; @@ -104,18 +104,41 @@ p, ul { table { margin-top: 12px; margin-bottom: 12px; - border-spacing: 0; - border-right: 1px solid #664422; - border-bottom: 1px solid #664422; + border-spacing: 1px; +} + +thead { + color: #EECC66; +} + +.odd-row { + background-color: rgba(102, 68, 24, 0.3); +} + +.even-row { + background-color: rgba(102, 68, 24, 0.1); } td { - white-space: nowrap; + padding: 3px 8px; +} + +.align-right { text-align: right; +} + +#drinks-table { font-size: 0.9rem; - border-top: 1px solid #664422; - border-left: 1px solid #664422; - padding: 3px 6px; +} + +#drinks-table td { + padding: 2px 5px; + text-align: right; + white-space: nowrap; +} + +#drinks-table tfoot { + color: #EE9933; } .bandbox { diff --git a/gaehsnitz/templates/gaehsnitz/finance.html b/gaehsnitz/templates/gaehsnitz/finance.html index 7a46115..2fba20b 100644 --- a/gaehsnitz/templates/gaehsnitz/finance.html +++ b/gaehsnitz/templates/gaehsnitz/finance.html @@ -32,9 +32,9 @@
{{ topic }}:
| {{ payment.date|date:"d.m." }} | -{{ payment.amount }}€ | +{{ payment.amount }}€ | {{ payment.other_party }} |
{% if payment.is_estimated %}(geschätzt){% endif %}
@@ -46,92 +46,16 @@
{% endfor %}
geplante Getränke-Wir haben hier mal mit der Erfahrung des letzten Jahres grob überschlagen: -
|