Skip to content

Commit

Permalink
Fixed #16144 - layout of admin changelist broken for RTL languages.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
spookylukey committed Jun 2, 2011
1 parent 65cc646 commit 78b3797
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion django/contrib/admin/media/css/rtl.css
Expand Up @@ -46,6 +46,11 @@ th {
float: left; float: left;
} }


thead th:first-child,
tfoot td:first-child {
border-left: 1px solid #ddd !important;
}

/* LAYOUT */ /* LAYOUT */


#user-tools { #user-tools {
Expand Down Expand Up @@ -73,6 +78,19 @@ div.breadcrumbs {
margin-right: 10px !important; 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 styles */


.dashboard .module table td a { .dashboard .module table td a {
Expand Down Expand Up @@ -102,7 +120,7 @@ div.breadcrumbs {
border-right: 1px solid #ddd; 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-right: 0px !important;
margin-left: 160px !important; margin-left: 160px !important;
} }
Expand All @@ -123,6 +141,11 @@ div.breadcrumbs {
margin-right:0 !important; 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 */ /* FORMS */


.aligned label { .aligned label {
Expand Down

0 comments on commit 78b3797

Please sign in to comment.