Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.3.X] Fixed #16144 - layout of admin changelist broken for RTL lang…

…uages.

Backport of [16314] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0e90de0a15de6308da07877bc482c07feb866442 1 parent 9f71bef
@spookylukey spookylukey authored
Showing with 24 additions and 1 deletion.
  1. +24 −1 django/contrib/admin/media/css/rtl.css
View
25 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 {

0 comments on commit 0e90de0

Please sign in to comment.
Something went wrong with that request. Please try again.