From a59465c9a5fa18be31f5698e07800387d0a8c4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Sureau?= Date: Sat, 28 Jan 2012 01:35:04 +0100 Subject: Changed delete feature to only support POST method. Fix #21. --- budget/static/css/main.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'budget/static') diff --git a/budget/static/css/main.css b/budget/static/css/main.css index 0174af2..ebfa67c 100644 --- a/budget/static/css/main.css +++ b/budget/static/css/main.css @@ -182,17 +182,22 @@ tr.payer_line .balance-name{ opacity: 0.6; text-align: center; } -.action a, .action a:hover { - height: 16px; - padding-left: 20px; +.action form { + margin: 0; + padding: 0; +} +.action button, .action button:hover { + width: auto; + margin: 0; + padding: 0 0 0 20px; } -.delete a, .delete a:hover { +.delete button, .delete button:hover { background: url('images/deleter.png') left no-repeat; color: red; } -.reactivate a, .reactivate a:hover { +.reactivate button, .reactivate button:hover { background: url('images/reactivate.png') left no-repeat; color: white; } -- cgit v1.1