Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 78b37975c9d9f331b9ea9fa609d0596ae30ab6b4 1 parent 65cc646
Luke Plant authored June 02, 2011

Showing 1 changed file with 24 additions and 1 deletion. Show diff stats Hide diff stats

  1. 25  django/contrib/admin/media/css/rtl.css
25  django/contrib/admin/media/css/rtl.css
@@ -46,6 +46,11 @@ th {
46 46
     float: left;
47 47
 }
48 48
 
  49
+thead th:first-child,
  50
+tfoot td:first-child {
  51
+    border-left: 1px solid #ddd !important;
  52
+}
  53
+
49 54
 /* LAYOUT */
50 55
 
51 56
 #user-tools {
@@ -73,6 +78,19 @@ div.breadcrumbs {
73 78
     margin-right: 10px !important;
74 79
 }
75 80
 
  81
+/* SORTABLE TABLES */
  82
+
  83
+
  84
+table thead th.sorted a {
  85
+    padding-left: 13px;
  86
+    padding-right: 0px;
  87
+}
  88
+
  89
+table thead th.ascending a,
  90
+table thead th.descending a {
  91
+    background-position: left;
  92
+}
  93
+
76 94
 /* dashboard styles */
77 95
 
78 96
 .dashboard .module table td a {
@@ -102,7 +120,7 @@ div.breadcrumbs {
102 120
     border-right: 1px solid #ddd;
103 121
 }
104 122
 
105  
-.change-list .filtered table, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
  123
+.change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
106 124
     margin-right: 0px !important;
107 125
     margin-left: 160px !important;
108 126
 }
@@ -123,6 +141,11 @@ div.breadcrumbs {
123 141
     margin-right:0 !important;
124 142
 }
125 143
 
  144
+#changelist table tbody td:first-child, #changelist table tbody th:first-child {
  145
+    border-right: 0;
  146
+    border-left: 1px solid #ddd;
  147
+}
  148
+
126 149
 /* FORMS */
127 150
 
128 151
 .aligned label {

0 notes on commit 78b3797

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