/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

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