style-rtl.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. /**
  2. * Generic elements.
  3. */
  4. dl dd,
  5. dl dl {
  6. margin-right: 20px;
  7. }
  8. ul,
  9. .block ul,
  10. .item-list ul {
  11. margin: 0.25em 1.5em 0.25em 0;
  12. }
  13. ol {
  14. margin: 0.25em 2em 0.25em 0;
  15. }
  16. /**
  17. * Skip link.
  18. */
  19. #skip-link {
  20. right: 50%;
  21. margin-right: -5.25em;
  22. }
  23. #skip-link a,
  24. #skip-link a:link,
  25. #skip-link a:visited {
  26. padding: 1px 10px 2px 10px;
  27. }
  28. /**
  29. * Branding.
  30. */
  31. #branding {
  32. padding: 20px 20px 0 20px;
  33. }
  34. #branding div.block {
  35. float: left;
  36. padding-left: 0;
  37. padding-right: 10px;
  38. }
  39. #branding div.block form div.form-item {
  40. float: right;
  41. }
  42. #branding div.block form input.form-text {
  43. margin-left: 10px;
  44. margin-right: 0;
  45. }
  46. /**
  47. * Help.
  48. */
  49. #help div.more-help-link {
  50. text-align: left;
  51. }
  52. /**
  53. * Page title.
  54. */
  55. #branding h1.page-title {
  56. float: right;
  57. }
  58. /**
  59. * Tabs.
  60. */
  61. ul.primary li,
  62. ul.primary li a:link,
  63. ul.primary li a.active {
  64. float: right;
  65. }
  66. ul.primary,
  67. ul.secondary {
  68. float: left;
  69. }
  70. ul.secondary li {
  71. float: none;
  72. }
  73. ul.primary {
  74. padding-top: 0;
  75. }
  76. /**
  77. * Page layout.
  78. */
  79. #page {
  80. padding: 20px 0 40px 0;
  81. margin-left: 40px;
  82. margin-right: 40px;
  83. }
  84. #secondary-links ul.links li {
  85. padding: 0 0 10px 10px;
  86. }
  87. ul.links li,
  88. ul.inline li {
  89. padding-left: 1em;
  90. padding-right: 0;
  91. }
  92. ul.admin-list li {
  93. padding: 9px 30px 0 0;
  94. margin-right: 0;
  95. background: url(images/list-item-rtl.png) no-repeat right 11px;
  96. }
  97. ul.admin-list li a {
  98. margin-right: -30px;
  99. margin-left: 0;
  100. padding: 0 30px 4px 0;
  101. }
  102. ul.admin-list.compact li a {
  103. margin-right: 0;
  104. }
  105. ul.admin-list li div.description a {
  106. margin-right: 0;
  107. }
  108. /**
  109. * Tables.
  110. */
  111. table th.active a {
  112. padding: 0 0 0 25px;
  113. }
  114. table th.active img {
  115. left: 3px;
  116. right: auto;
  117. }
  118. /**
  119. * Exception for webkit bug with the right border of the last cell
  120. * in some tables, since it's webkit only, we can use :last-child
  121. */
  122. tr td:last-child {
  123. border-left: 1px solid #bebfb9;
  124. border-right: none;
  125. }
  126. /**
  127. * Fieldsets.
  128. */
  129. fieldset {
  130. padding: 2.5em 0 0 0;
  131. }
  132. fieldset .fieldset-legend {
  133. padding-right: 15px;
  134. right: 0;
  135. }
  136. fieldset .fieldset-wrapper {
  137. padding: 0 15px 13px 13px;
  138. }
  139. /* Filter */
  140. .filter-wrapper .form-item,
  141. .filter-wrapper .filter-guidelines,
  142. .filter-wrapper .filter-help {
  143. padding: 2px 0 0 0;
  144. }
  145. ul.tips li {
  146. margin: 0.25em 1.5em 0.25em 0;
  147. }
  148. body div.form-type-radio div.description,
  149. body div.form-type-checkbox div.description {
  150. margin-left: 0;
  151. margin-right: 1.5em;
  152. }
  153. input.form-submit,
  154. a.button {
  155. margin-left: 1em;
  156. margin-right: 0;
  157. }
  158. ul.action-links li {
  159. float: right;
  160. margin: 0 0 0 1em;
  161. }
  162. ul.action-links a {
  163. padding-left: 0;
  164. padding-right: 15px;
  165. background-position: right center;
  166. }
  167. /* Update options. */
  168. div.admin-options label,
  169. div.admin-options div.form-item {
  170. margin-left: 10px;
  171. margin-right: 0;
  172. float: right;
  173. }
  174. /* Maintenance theming */
  175. body.in-maintenance #sidebar-first {
  176. float: right;
  177. }
  178. body.in-maintenance #content {
  179. float: left;
  180. padding-left: 20px;
  181. padding-right: 0;
  182. }
  183. ol.task-list {
  184. margin-right: 0;
  185. }
  186. ol.task-list li {
  187. padding: 0.5em 20px 0.5em 1em;
  188. }
  189. ol.task-list li.active {
  190. background: transparent url(images/task-item-rtl.png) no-repeat right 50%;
  191. padding: 0.5em 20px 0.5em 1em;
  192. }
  193. /* Overlay theming */
  194. .overlay #branding div.breadcrumb {
  195. float: right;
  196. }
  197. .overlay ul.secondary {
  198. margin: -1.4em 0 0.3em 0;
  199. }
  200. /* Shortcut theming */
  201. div.add-or-remove-shortcuts {
  202. float: none;
  203. padding-left: 0;
  204. padding-right: 6px;
  205. }
  206. /* Dashboard */
  207. #dashboard div.block div.content {
  208. padding: 10px 5px 5px 5px;
  209. }
  210. #dashboard div.block div.content ul.menu {
  211. margin-right: 20px;
  212. }
  213. /* Recent content block */
  214. #block-node-recent .more-link {
  215. padding: 0 0 5px 5px;
  216. }
  217. /* User login block */
  218. #user-login-form .openid-links {
  219. margin-right: 0;
  220. }
  221. #user-login-form .openid-links .user-link {
  222. margin-right: 1.5em;
  223. }