rtl.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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 .sortoptions {
  65. float: left;
  66. }
  67. /* dashboard styles */
  68. .dashboard .module table td a {
  69. padding-left: .6em;
  70. padding-right: 12px;
  71. }
  72. /* changelists styles */
  73. .change-list .filtered {
  74. background: white url(../img/changelist-bg_rtl.gif) top left repeat-y !important;
  75. }
  76. .change-list .filtered table {
  77. border-left: 1px solid #ddd;
  78. border-right: 0px none;
  79. }
  80. #changelist-filter {
  81. right: auto;
  82. left: 0;
  83. border-left: 0px none;
  84. border-right: 1px solid #ddd;
  85. }
  86. .change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
  87. margin-right: 0px !important;
  88. margin-left: 160px !important;
  89. }
  90. #changelist-filter li.selected {
  91. border-left: 0px none;
  92. padding-left: 0px;
  93. margin-left: 0;
  94. border-right: 5px solid #ccc;
  95. padding-right: 5px;
  96. margin-right: -10px;
  97. }
  98. .filtered .actions {
  99. border-left:1px solid #DDDDDD;
  100. margin-left:160px !important;
  101. border-right: 0 none;
  102. margin-right:0 !important;
  103. }
  104. #changelist table tbody td:first-child, #changelist table tbody th:first-child {
  105. border-right: 0;
  106. border-left: 1px solid #ddd;
  107. }
  108. /* FORMS */
  109. .aligned label {
  110. padding: 0 0 3px 1em;
  111. float: right;
  112. }
  113. .submit-row {
  114. text-align: left
  115. }
  116. .submit-row p.deletelink-box {
  117. float: right;
  118. }
  119. .submit-row .deletelink {
  120. background: url(../img/icon_deletelink.gif) 0 50% no-repeat;
  121. padding-right: 14px;
  122. }
  123. .vDateField, .vTimeField {
  124. margin-left: 2px;
  125. }
  126. form ul.inline li {
  127. float: right;
  128. padding-right: 0;
  129. padding-left: 7px;
  130. }
  131. input[type=submit].default, .submit-row input.default {
  132. float: left;
  133. }
  134. fieldset .field-box {
  135. float: right;
  136. margin-left: 20px;
  137. margin-right: 0;
  138. }
  139. .errorlist li {
  140. background-position: 100% .3em;
  141. padding: 4px 25px 4px 5px;
  142. }
  143. .errornote {
  144. background-position: 100% .3em;
  145. padding: 4px 25px 4px 5px;
  146. }
  147. /* WIDGETS */
  148. .calendarnav-previous {
  149. top: 0;
  150. left: auto;
  151. right: 0;
  152. }
  153. .calendarnav-next {
  154. top: 0;
  155. right: auto;
  156. left: 0;
  157. }
  158. .calendar caption, .calendarbox h2 {
  159. text-align: center;
  160. }
  161. .selector {
  162. float: right;
  163. }
  164. .selector .selector-filter {
  165. text-align: right;
  166. }
  167. .inline-deletelink {
  168. float: left;
  169. }
  170. /* MISC */
  171. .inline-related h2, .inline-group h2 {
  172. text-align: right
  173. }
  174. .inline-related h3 span.delete {
  175. padding-right: 20px;
  176. padding-left: inherit;
  177. left: 10px;
  178. right: inherit;
  179. float:left;
  180. }
  181. .inline-related h3 span.delete label {
  182. margin-left: inherit;
  183. margin-right: 2px;
  184. }
  185. /* IE7 specific bug fixes */
  186. div.colM {
  187. position: relative;
  188. }
  189. .submit-row input {
  190. float: left;
  191. }