Author: lukeplant
Date: 2011-06-02 05:19:32 -0700 (Thu, 02 Jun 2011)
New Revision: 16314

Modified:
   django/trunk/django/contrib/admin/media/css/rtl.css
Log:
Fixed #16144 - layout of admin changelist broken for RTL languages.

Modified: django/trunk/django/contrib/admin/media/css/rtl.css
===================================================================
--- django/trunk/django/contrib/admin/media/css/rtl.css 2011-06-02 00:24:37 UTC 
(rev 16313)
+++ django/trunk/django/contrib/admin/media/css/rtl.css 2011-06-02 12:19:32 UTC 
(rev 16314)
@@ -46,6 +46,11 @@
     float: left;
 }
 
+thead th:first-child,
+tfoot td:first-child {
+    border-left: 1px solid #ddd !important;
+}
+
 /* LAYOUT */
 
 #user-tools {
@@ -73,6 +78,19 @@
     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 @@
     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 @@
     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 {

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to