From c0ee4c5cac528310ad2807bed7f3e10d63fc87ba Mon Sep 17 00:00:00 2001 From: Wilson Miner Date: Sun, 29 Mar 2009 23:05:51 +0000 Subject: [PATCH] Some minor tweaks to the admin changelist styles for the new action menus. Cut out extranous margins around checkboxes on changelists and styled the action row to stack better with the date hierarchy browser. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10181 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/media/css/changelists.css | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/django/contrib/admin/media/css/changelists.css b/django/contrib/admin/media/css/changelists.css index 649cff7ae9..2d27a855e9 100644 --- a/django/contrib/admin/media/css/changelists.css +++ b/django/contrib/admin/media/css/changelists.css @@ -228,11 +228,16 @@ border-right: 1px solid #ddd; } +#changelist table input { + margin: 0; +} + #changelist .actions { - color: #666; + color: #999; padding: 3px; + border-top: 1px solid #fff; border-bottom: 1px solid #ddd; - background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x; + background: white url(../img/admin/nav-bg-reverse.gif) 0 -10px repeat-x; } #changelist .actions:last-child { @@ -241,15 +246,20 @@ #changelist .actions select { border: 1px solid #aaa; - margin: 0 0.5em; + margin-left: 0.5em; padding: 1px 2px; } #changelist .actions label { font-size: 11px; - margin: 0 0.5em; + margin-left: 0.5em; } #changelist #action-toggle { display: none; } + +#changelist .actions .button { + font-size: 11px; + padding: 1px 2px; +}