rtl.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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. .module ul, .module ol {
  26. margin-left: 0;
  27. margin-right: 1.5em;
  28. }
  29. .addlink, .changelink {
  30. padding-left: 0;
  31. padding-right: 16px;
  32. background-position: 100% 1px;
  33. }
  34. .deletelink {
  35. padding-left: 0;
  36. padding-right: 16px;
  37. background-position: 100% 1px;
  38. }
  39. .object-tools {
  40. float: left;
  41. }
  42. thead th:first-child,
  43. tfoot td:first-child {
  44. border-left: none;
  45. }
  46. /* LAYOUT */
  47. #user-tools {
  48. right: auto;
  49. left: 0;
  50. text-align: left;
  51. }
  52. div.breadcrumbs {
  53. text-align: right;
  54. }
  55. #content-main {
  56. float: right;
  57. }
  58. #content-related {
  59. float: left;
  60. margin-left: -300px;
  61. margin-right: auto;
  62. }
  63. .colMS {
  64. margin-left: 300px;
  65. margin-right: 0;
  66. }
  67. /* SORTABLE TABLES */
  68. table thead th.sorted .sortoptions {
  69. float: left;
  70. }
  71. thead th.sorted .text {
  72. padding-right: 0;
  73. padding-left: 42px;
  74. }
  75. /* dashboard styles */
  76. .dashboard .module table td a {
  77. padding-left: .6em;
  78. padding-right: 16px;
  79. }
  80. /* changelists styles */
  81. .change-list .filtered table {
  82. border-left: none;
  83. border-right: 0px none;
  84. }
  85. #changelist-filter {
  86. right: auto;
  87. left: 0;
  88. border-left: none;
  89. border-right: none;
  90. }
  91. .change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
  92. margin-right: 0;
  93. margin-left: 280px;
  94. }
  95. #changelist-filter li.selected {
  96. border-left: none;
  97. padding-left: 10px;
  98. margin-left: 0;
  99. border-right: 5px solid #eaeaea;
  100. padding-right: 10px;
  101. margin-right: -15px;
  102. }
  103. .filtered .actions {
  104. margin-left: 280px;
  105. margin-right: 0;
  106. }
  107. #changelist table tbody td:first-child, #changelist table tbody th:first-child {
  108. border-right: none;
  109. border-left: none;
  110. }
  111. /* FORMS */
  112. .aligned label {
  113. padding: 0 0 3px 1em;
  114. float: right;
  115. }
  116. .submit-row {
  117. text-align: left
  118. }
  119. .submit-row p.deletelink-box {
  120. float: right;
  121. }
  122. .submit-row input.default {
  123. margin-left: 0;
  124. }
  125. .vDateField, .vTimeField {
  126. margin-left: 2px;
  127. }
  128. .aligned .form-row input {
  129. margin-left: 5px;
  130. }
  131. form ul.inline li {
  132. float: right;
  133. padding-right: 0;
  134. padding-left: 7px;
  135. }
  136. input[type=submit].default, .submit-row input.default {
  137. float: left;
  138. }
  139. fieldset .field-box {
  140. float: right;
  141. margin-left: 20px;
  142. margin-right: 0;
  143. }
  144. .errorlist li {
  145. background-position: 100% 12px;
  146. padding: 0;
  147. }
  148. .errornote {
  149. background-position: 100% 12px;
  150. padding: 10px 12px;
  151. }
  152. /* WIDGETS */
  153. .calendarnav-previous {
  154. top: 0;
  155. left: auto;
  156. right: 10px;
  157. }
  158. .calendarnav-next {
  159. top: 0;
  160. right: auto;
  161. left: 10px;
  162. }
  163. .calendar caption, .calendarbox h2 {
  164. text-align: center;
  165. }
  166. .selector {
  167. float: right;
  168. }
  169. .selector .selector-filter {
  170. text-align: right;
  171. }
  172. .inline-deletelink {
  173. float: left;
  174. }
  175. form .form-row p.datetime {
  176. overflow: hidden;
  177. }
  178. /* MISC */
  179. .inline-related h2, .inline-group h2 {
  180. text-align: right
  181. }
  182. .inline-related h3 span.delete {
  183. padding-right: 20px;
  184. padding-left: inherit;
  185. left: 10px;
  186. right: inherit;
  187. float:left;
  188. }
  189. .inline-related h3 span.delete label {
  190. margin-left: inherit;
  191. margin-right: 2px;
  192. }
  193. /* IE7 specific bug fixes */
  194. div.colM {
  195. position: relative;
  196. }
  197. .submit-row input {
  198. float: left;
  199. }