PageRenderTime 55ms CodeModel.GetById 23ms app.highlight 19ms RepoModel.GetById 9ms app.codeStats 0ms

/django/contrib/admin/media/css/rtl.css

https://code.google.com/p/mango-py/
CSS | 244 lines | 181 code | 54 blank | 9 comment | 0 complexity | 4192eb9fc2eb7c4aecae45276cc9e8a4 MD5 | raw file
Possible License(s): BSD-3-Clause
  1body {
  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
 25th {
 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
 49thead th:first-child,
 50tfoot 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
 62div.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
 84table thead th.sorted a {
 85    padding-left: 13px;
 86    padding-right: 0px;
 87}
 88
 89table thead th.ascending a,
 90table thead th.descending a {
 91    background-position: left;
 92}
 93
 94/* dashboard styles */
 95
 96.dashboard .module table td a {
 97    padding-left: .6em;
 98    padding-right: 12px;
 99}
100
101/* changelists styles */
102
103.change-list ul.toplinks li {
104    float: right;
105}
106
107.change-list .filtered {
108    background: white url(../img/admin/changelist-bg_rtl.gif) top left repeat-y !important;
109}
110
111.change-list .filtered table {
112    border-left: 1px solid #ddd;
113    border-right: 0px none;
114}
115
116#changelist-filter {
117    right: auto;
118    left: 0;
119    border-left: 0px none;
120    border-right: 1px solid #ddd;
121}
122
123.change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
124    margin-right: 0px !important;
125    margin-left: 160px !important;
126}
127
128#changelist-filter li.selected {
129    border-left: 0px none;
130    padding-left: 0px;
131    margin-left: 0;
132    border-right: 5px solid #ccc;
133    padding-right: 5px;
134    margin-right: -10px;
135}
136
137.filtered .actions {
138    border-left:1px solid #DDDDDD;
139    margin-left:160px !important;
140    border-right: 0 none;
141    margin-right:0 !important;
142}
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
149/* FORMS */
150
151.aligned label {
152    padding: 0 0 3px 1em;
153    float: right;
154}
155
156.submit-row {
157    text-align: left
158}
159
160.submit-row p.deletelink-box {
161    float: right;
162}
163
164.submit-row .deletelink {
165    background: url(../img/admin/icon_deletelink.gif) 0 50% no-repeat;
166    padding-right: 14px;
167}
168
169.vDateField, .vTimeField {
170    margin-left: 2px;
171}
172
173form ul.inline li {
174    float: right;
175    padding-right: 0;
176    padding-left: 7px;
177}
178
179input[type=submit].default, .submit-row input.default {
180    float: left;
181}
182
183fieldset .field-box {
184    float: right;
185    margin-left: 20px;
186}
187
188.errorlist li {
189    background-position: 100% .3em;
190    padding: 4px 25px 4px 5px;
191}
192
193.errornote {
194    background-position: 100% .3em;
195    padding: 4px 25px 4px 5px;
196}
197
198/* WIDGETS */
199
200.calendarnav-previous {
201    top: 0;
202    left: auto;
203    right: 0;
204}
205
206.calendarnav-next {
207    top: 0;
208    right: auto;
209    left: 0;
210}
211
212.calendar caption, .calendarbox h2 {
213    text-align: center;
214}
215
216.selector {
217    float: right;
218}
219
220.selector .selector-filter {
221    text-align: right;
222}
223
224.inline-deletelink {
225    float: left;
226}
227
228/* MISC */
229
230.inline-related h2, .inline-group h2 {
231    text-align: right
232}
233
234.inline-related h3 span.delete {
235    padding-right: 20px;
236    padding-left: inherit;
237    left: 10px;
238    right: inherit;
239}
240
241.inline-related h3 span.delete label {
242    margin-left: inherit;
243    margin-right: 2px;
244}