From 4e1819523f50114ce5e3f0524fc27eb85701da37 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Tue, 18 Oct 2011 18:39:38 +0200 Subject: [PATCH] Minor changes to the slidebar. See #34 --- budget/static/main.css | 13 ++++++++----- budget/templates/layout.html | 2 +- budget/templates/list_bills.html | 2 ++ 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/budget/static/main.css b/budget/static/main.css index 7a0e974..0dfffb8 100644 --- a/budget/static/main.css +++ b/budget/static/main.css @@ -16,18 +16,21 @@ div.topbar ul.secondary-nav { padding-right: 75px; } .sidebar { background-color: #ABE128; - background-image: url("gradient.png"); - background-position: center top; - background-position-x: 50%; - background-position-y: 0%; + background-position: center bottom; background-repeat: no-repeat; height: 100%; width: 220px; padding-left: 10px; padding-right: 10px; + padding-top: 10px; + margin-left: -10px; + margin-top: -10px; + margin-right: 15px; + color: black; + } .sidebar h2 { text-align: center; } -.sidebar button{ margin-top: 10px; float: right; } +.sidebar button { margin-top: 10px; float: right; } .right h3 { float: right; } #bills { color: black; } diff --git a/budget/templates/layout.html b/budget/templates/layout.html index 55650d2..f94c421 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -78,7 +78,7 @@ {% block header %}{% endblock %} {% block container %}
- + {% block sidebar %}{% endblock %}
{% for message in get_flashed_messages() %}

{{ message }}

diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index a6ab5fc..d163f7e 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -52,6 +52,7 @@ {% endblock %} {% block sidebar %} +