Skip to content
Browse files

Some minor tweaks to the admin changelist styles for the new action m…

…enus. 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
  • Loading branch information...
1 parent 937ded3 commit c0ee4c5cac528310ad2807bed7f3e10d63fc87ba Wilson Miner committed
Showing with 14 additions and 4 deletions.
  1. +14 −4 django/contrib/admin/media/css/changelists.css
View
18 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;
+}

0 comments on commit c0ee4c5

Please sign in to comment.
Something went wrong with that request. Please try again.