From 50fe80969b9ddbfa795b11e303430d58a8e10a8c Mon Sep 17 00:00:00 2001
From: luxagraf
Date: Mon, 16 Mar 2015 22:31:32 -0400
Subject: added expense tracking app
---
design/sass/_projects.scss | 49 ++++++++++++
design/templates/base.html | 1 +
design/templates/details/expenses.html | 132 +++++++++++++++++++++++++++++++++
3 files changed, 182 insertions(+)
create mode 100644 design/templates/details/expenses.html
(limited to 'design')
diff --git a/design/sass/_projects.scss b/design/sass/_projects.scss
index fb3f530..e7cdf09 100644
--- a/design/sass/_projects.scss
+++ b/design/sass/_projects.scss
@@ -204,3 +204,52 @@
}
}
}
+
+//################# EXPENSE TRACKER TABLES #######################
+
+.expense-wrapper {
+ @include constrain_narrow();
+}
+.expense {
+ min-width: 90%;
+ margin-bottom: 3em;
+ caption {
+ text-align: left;
+ padding: 1em 0;
+ @include fontsize(18);
+ }
+ thead tr {
+ border-bottom: 1px solid darken(#eff7ff, 10);
+ padding: 0;
+ font-weight: bold;
+ @include smcaps;
+ font-family: sans-serif;
+ @include fontsize(12);
+ }
+ text-align: left;
+ td {
+ width: 80%;
+ }
+ tr td {
+ padding: .5em .25em;
+ color: lighten($body_font, 10);
+ }
+ .odd, .total {
+ background-color: #eff7ff;
+ }
+ .total {
+ border-top: 1px solid darken(#eff7ff, 10);
+ }
+ tfoot:after {
+ @include faded_line_after;
+ }
+}
+
+.end:after {
+ @include faded_line_after;
+}
+.upfront tfoot:after {
+ margin: 0;
+ height: 0;
+ background: none;
+ }
diff --git a/design/templates/base.html b/design/templates/base.html
index 4fba739..4a8a182 100644
--- a/design/templates/base.html
+++ b/design/templates/base.html
@@ -60,6 +60,7 @@
Scott Gilbertson, except photos, which are licensed under the Creative Commons (details).
+
{% block js %}{% endblock%}