rtl.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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 .aligned p.help, form .aligned div.help {
  132. clear: right;
  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. margin-right: 0;
  146. }
  147. .errorlist li {
  148. background-position: 100% 12px;
  149. padding: 0;
  150. }
  151. .errornote {
  152. background-position: 100% 12px;
  153. padding: 10px 12px;
  154. }
  155. /* WIDGETS */
  156. .calendarnav-previous {
  157. top: 0;
  158. left: auto;
  159. right: 10px;
  160. }
  161. .calendarnav-next {
  162. top: 0;
  163. right: auto;
  164. left: 10px;
  165. }
  166. .calendar caption, .calendarbox h2 {
  167. text-align: center;
  168. }
  169. .selector {
  170. float: right;
  171. }
  172. .selector .selector-filter {
  173. text-align: right;
  174. }
  175. .inline-deletelink {
  176. float: left;
  177. }
  178. form .form-row p.datetime {
  179. overflow: hidden;
  180. }
  181. .related-widget-wrapper {
  182. float: right;
  183. }
  184. /* MISC */
  185. .inline-related h2, .inline-group h2 {
  186. text-align: right
  187. }
  188. .inline-related h3 span.delete {
  189. padding-right: 20px;
  190. padding-left: inherit;
  191. left: 10px;
  192. right: inherit;
  193. float:left;
  194. }
  195. .inline-related h3 span.delete label {
  196. margin-left: inherit;
  197. margin-right: 2px;
  198. }
  199. /* IE7 specific bug fixes */
  200. div.colM {
  201. position: relative;
  202. }
  203. .submit-row input {
  204. float: left;
  205. }