Code

Ticket #9181: 9181.diff

File 9181.diff, 1.2 KB (added by SmileyChris, 4 years ago)

Update for css changes and admin bar addition

Line 
1diff --git a/django/contrib/admin/media/css/changelists.css b/django/contrib/admin/media/css/changelists.css
2index 4303378..32864e2 100644
3--- a/django/contrib/admin/media/css/changelists.css
4+++ b/django/contrib/admin/media/css/changelists.css
5@@ -9,24 +9,18 @@
6     width: 100%;
7 }
8 
9-.change-list .filtered table {
10+#changelist.filtered table {
11     border-right: 1px solid #ddd;
12 }
13 
14-.change-list .filtered {
15+#changelist.filtered {
16     min-height: 400px;
17-}
18-
19-.change-list .filtered {
20     background: white url(../img/admin/changelist-bg.gif) top right repeat-y !important;
21+    padding-right:160px;
22+    width:auto;
23 }
24 
25-.change-list .filtered table, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
26-    margin-right: 160px !important;
27-    width: auto !important;
28-}
29-
30-.change-list .filtered table tbody th {
31+#changelist.filtered table tbody th {
32     padding-right: 1em;
33 }
34 
35@@ -42,7 +36,7 @@
36     overflow: hidden;
37 }
38 
39-.change-list .filtered .paginator {
40+#changelist.filtered .paginator {
41     border-right: 1px solid #ddd;
42 }
43 
44@@ -224,7 +218,6 @@
45 /* ACTIONS */
46 
47 .filtered .actions {
48-    margin-right: 160px !important;
49     border-right: 1px solid #ddd;
50 }
51