diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2011-06-02 12:19:32 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2011-06-02 12:19:32 +0000 |
| commit | 78b37975c9d9f331b9ea9fa609d0596ae30ab6b4 (patch) | |
| tree | 106b1de3ae717ab849fe1a5762216d4f644d95c7 /django/contrib/admin/media/css/rtl.css | |
| parent | 65cc646c4801e3f3e1df1ab06dfaa763fa4b7b22 (diff) | |
Fixed #16144 - layout of admin changelist broken for RTL languages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/media/css/rtl.css')
| -rw-r--r-- | django/contrib/admin/media/css/rtl.css | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/django/contrib/admin/media/css/rtl.css b/django/contrib/admin/media/css/rtl.css index 6d731ea0a9..975c035e0f 100644 --- a/django/contrib/admin/media/css/rtl.css +++ b/django/contrib/admin/media/css/rtl.css @@ -46,6 +46,11 @@ th { float: left; } +thead th:first-child, +tfoot td:first-child { + border-left: 1px solid #ddd !important; +} + /* LAYOUT */ #user-tools { @@ -73,6 +78,19 @@ div.breadcrumbs { margin-right: 10px !important; } +/* SORTABLE TABLES */ + + +table thead th.sorted a { + padding-left: 13px; + padding-right: 0px; +} + +table thead th.ascending a, +table thead th.descending a { + background-position: left; +} + /* dashboard styles */ .dashboard .module table td a { @@ -102,7 +120,7 @@ div.breadcrumbs { border-right: 1px solid #ddd; } -.change-list .filtered table, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull { +.change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull { margin-right: 0px !important; margin-left: 160px !important; } @@ -123,6 +141,11 @@ div.breadcrumbs { margin-right:0 !important; } +#changelist table tbody td:first-child, #changelist table tbody th:first-child { + border-right: 0; + border-left: 1px solid #ddd; +} + /* FORMS */ .aligned label { |
