diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2011-06-02 16:18:47 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2011-06-02 16:18:47 +0000 |
| commit | 5434ce231d75004bdbe5cf2b7b24ce67a2a6e737 (patch) | |
| tree | 3e4943eff23623b97fb7423e119c4733eace8aaa /django/contrib/admin/media/css/base.css | |
| parent | 78b37975c9d9f331b9ea9fa609d0596ae30ab6b4 (diff) | |
Fixed #11868 - Multiple sort in admin changelist.
Many thanks to bendavis78 for the initial patch, and for input from others.
Also fixed #7309. If people were relying on the undocumented default ordering
applied by the admin before, they will need to add 'ordering = ["-pk"]' to
their ModelAdmin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/media/css/base.css')
| -rw-r--r-- | django/contrib/admin/media/css/base.css | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/django/contrib/admin/media/css/base.css b/django/contrib/admin/media/css/base.css index c5e385d508..26e2cbf14a 100644 --- a/django/contrib/admin/media/css/base.css +++ b/django/contrib/admin/media/css/base.css @@ -326,6 +326,34 @@ table thead th.descending a { background: url(../img/admin/arrow-down.gif) right .4em no-repeat; } +table thead th.sorted a span.text { + display: block; + float: left; +} + +table thead th.sorted a span.sortpos { + display: block; + float: right; + font-size: .6em; +} + +table thead th.sorted a img { + vertical-align: bottom; +} + +table thead th.sorted a span.clear { + display: block; + clear: both; +} + +#sorting-popup-div { + position: absolute; + background-color: white; + border: 1px solid #ddd; + z-index: 2000; /* more than filters on right */ + padding-right: 10px; +} + /* ORDERABLE TABLES */ table.orderable tbody tr td:hover { |
