Première version en Python-Django.
[auf_paf.git] / static / admin / css / rtl.css
1 body {
2 direction: rtl;
3 }
4
5 /* LOGIN */
6
7 .login .form-row {
8 float: right;
9 }
10
11 .login .form-row label {
12 float: right;
13 padding-left: 0.5em;
14 padding-right: 0;
15 text-align: left;
16 }
17
18 .login .submit-row {
19 clear: both;
20 padding: 1em 9.4em 0 0;
21 }
22
23 /* GLOBAL */
24
25 th {
26 text-align: right;
27 }
28
29 .module h2, .module caption {
30 text-align: right;
31 }
32
33 .addlink, .changelink {
34 padding-left: 0px;
35 padding-right: 12px;
36 background-position: 100% 0.2em;
37 }
38
39 .deletelink {
40 padding-left: 0px;
41 padding-right: 12px;
42 background-position: 100% 0.25em;
43 }
44
45 .object-tools {
46 float: left;
47 }
48
49 thead th:first-child,
50 tfoot td:first-child {
51 border-left: 1px solid #ddd !important;
52 }
53
54 /* LAYOUT */
55
56 #user-tools {
57 right: auto;
58 left: 0;
59 text-align: left;
60 }
61
62 div.breadcrumbs {
63 text-align: right;
64 }
65
66 #content-main {
67 float: right;
68 }
69
70 #content-related {
71 float: left;
72 margin-left: -19em;
73 margin-right: auto;
74 }
75
76 .colMS {
77 margin-left: 20em !important;
78 margin-right: 10px !important;
79 }
80
81 /* SORTABLE TABLES */
82
83 table thead th.sorted .sortoptions {
84 float: left;
85 }
86
87 /* dashboard styles */
88
89 .dashboard .module table td a {
90 padding-left: .6em;
91 padding-right: 12px;
92 }
93
94 /* changelists styles */
95
96 .change-list .filtered {
97 background: white url(../img/changelist-bg_rtl.gif) top left repeat-y !important;
98 }
99
100 .change-list .filtered table {
101 border-left: 1px solid #ddd;
102 border-right: 0px none;
103 }
104
105 #changelist-filter {
106 right: auto;
107 left: 0;
108 border-left: 0px none;
109 border-right: 1px solid #ddd;
110 }
111
112 .change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
113 margin-right: 0px !important;
114 margin-left: 160px !important;
115 }
116
117 #changelist-filter li.selected {
118 border-left: 0px none;
119 padding-left: 0px;
120 margin-left: 0;
121 border-right: 5px solid #ccc;
122 padding-right: 5px;
123 margin-right: -10px;
124 }
125
126 .filtered .actions {
127 border-left:1px solid #DDDDDD;
128 margin-left:160px !important;
129 border-right: 0 none;
130 margin-right:0 !important;
131 }
132
133 #changelist table tbody td:first-child, #changelist table tbody th:first-child {
134 border-right: 0;
135 border-left: 1px solid #ddd;
136 }
137
138 /* FORMS */
139
140 .aligned label {
141 padding: 0 0 3px 1em;
142 float: right;
143 }
144
145 .submit-row {
146 text-align: left
147 }
148
149 .submit-row p.deletelink-box {
150 float: right;
151 }
152
153 .submit-row .deletelink {
154 background: url(../img/icon_deletelink.gif) 0 50% no-repeat;
155 padding-right: 14px;
156 }
157
158 .vDateField, .vTimeField {
159 margin-left: 2px;
160 }
161
162 form ul.inline li {
163 float: right;
164 padding-right: 0;
165 padding-left: 7px;
166 }
167
168 input[type=submit].default, .submit-row input.default {
169 float: left;
170 }
171
172 fieldset .field-box {
173 float: right;
174 margin-left: 20px;
175 margin-right: 0;
176 }
177
178 .errorlist li {
179 background-position: 100% .3em;
180 padding: 4px 25px 4px 5px;
181 }
182
183 .errornote {
184 background-position: 100% .3em;
185 padding: 4px 25px 4px 5px;
186 }
187
188 /* WIDGETS */
189
190 .calendarnav-previous {
191 top: 0;
192 left: auto;
193 right: 0;
194 }
195
196 .calendarnav-next {
197 top: 0;
198 right: auto;
199 left: 0;
200 }
201
202 .calendar caption, .calendarbox h2 {
203 text-align: center;
204 }
205
206 .selector {
207 float: right;
208 }
209
210 .selector .selector-filter {
211 text-align: right;
212 }
213
214 .inline-deletelink {
215 float: left;
216 }
217
218 /* MISC */
219
220 .inline-related h2, .inline-group h2 {
221 text-align: right
222 }
223
224 .inline-related h3 span.delete {
225 padding-right: 20px;
226 padding-left: inherit;
227 left: 10px;
228 right: inherit;
229 float:left;
230 }
231
232 .inline-related h3 span.delete label {
233 margin-left: inherit;
234 margin-right: 2px;
235 }
236
237 /* IE7 specific bug fixes */
238
239 div.colM {
240 position: relative;
241 }
242
243 .submit-row input {
244 float: left;
245 }