diff --git a/django/contrib/admin/media/css/base.css b/django/contrib/admin/media/css/base.css index 1dde1d210b..0aab2b3f8a 100644 --- a/django/contrib/admin/media/css/base.css +++ b/django/contrib/admin/media/css/base.css @@ -351,7 +351,27 @@ table thead th.sorted a span.clear { background-color: white; border: 1px solid #ddd; z-index: 2000; /* more than filters on right */ - padding-right: 10px; +} + +#sorting-popup-div table { + border-right: 0px; + border-left: 0px; +} + +#sorting-popup-div .reset { + text-align: center; +} + +#sorting-popup-div .cancel { + font-size: 10px; + background: #e1e1e1 url(../img/admin/nav-bg.gif) 0 50% repeat-x; + border-top: 1px solid #ddd; + text-align: center; +} + +#sorting-popup-div .cancel a { + width: 100%; + display: block; } /* ORDERABLE TABLES */ diff --git a/django/contrib/admin/templates/admin/change_list_results.html b/django/contrib/admin/templates/admin/change_list_results.html index e916433cf2..ae62ce8548 100644 --- a/django/contrib/admin/templates/admin/change_list_results.html +++ b/django/contrib/admin/templates/admin/change_list_results.html @@ -12,7 +12,7 @@ {% for header in result_headers %} - {% if header.sortable %}{% endif %} + {% if header.sortable %}{% endif %} {{ header.text|capfirst }} {% if header.sortable %} {% if header.sort_pos > 0 %} @@ -37,47 +37,77 @@ {# Sorting popup: #}